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 : 3171714 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 (2585384) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2585384) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20524003 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2585384'] with mtr_portfolio_ids : ['20524003'] and first list_photo_ids : [] new path : /proc/3171714/ Name: python3 Umask: 0002 State: R (running) Tgid: 3171714 Ngid: 0 Pid: 3171714 PPid: 3171713 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 3171714 NSpid: 3171714 NSpgid: 3170983 NSsid: 3170983 VmPeak: 1106580 kB VmSize: 1106556 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 97664 kB VmRSS: 97664 kB RssAnon: 59736 kB RssFile: 37928 kB RssShmem: 0 kB VmData: 865308 kB VmStk: 132 kB VmExe: 2640 kB VmLib: 130468 kB VmPTE: 548 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 0/63054 SigPnd: 0000000000000000 ShdPnd: 0000000000000000 SigBlk: 0000000000000000 SigIgn: 0000000001001000 SigCgt: 0000000180000002 CapInh: 0000000000000000 CapPrm: 0000000000000000 CapEff: 0000000000000000 CapBnd: 000001ffffffffff CapAmb: 0000000000000000 NoNewPrivs: 0 Seccomp: 0 Seccomp_filters: 0 Speculation_Store_Bypass: thread vulnerable SpeculationIndirectBranch: conditional enabled Cpus_allowed: ffffffff,ffffffff,ffffffff,ffffffff Cpus_allowed_list: 0-127 Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001 Mems_allowed_list: 0 voluntary_ctxt_switches: 37 nonvoluntary_ctxt_switches: 206 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '3171714', 'Ngid': '0', 'Pid': '3171714', 'PPid': '3171713', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '3171714', 'NSpid': '3171714', 'NSpgid': '3170983', 'NSsid': '3170983', 'VmPeak': '1106580 kB', 'VmSize': '1106556 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '97664 kB', 'VmRSS': '97664 kB', 'RssAnon': '59736 kB', 'RssFile': '37928 kB', 'RssShmem': '0 kB', 'VmData': '865308 kB', 'VmStk': '132 kB', 'VmExe': '2640 kB', 'VmLib': '130468 kB', 'VmPTE': '548 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '0/63054', 'SigPnd': '0000000000000000', 'ShdPnd': '0000000000000000', 'SigBlk': '0000000000000000', 'SigIgn': '0000000001001000', 'SigCgt': '0000000180000002', 'CapInh': '0000000000000000', 'CapPrm': '0000000000000000', 'CapEff': '0000000000000000', 'CapBnd': '000001ffffffffff', 'CapAmb': '0000000000000000', 'NoNewPrivs': '0', 'Seccomp': '0', 'Seccomp_filters': '0', 'Speculation_Store_Bypass': 'thread vulnerable', 'SpeculationIndirectBranch': 'conditional enabled', 'Cpus_allowed': 'ffffffff,ffffffff,ffffffff,ffffffff', 'Cpus_allowed_list': '0-127', 'Mems_allowed': '00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001', 'Mems_allowed_list': '0', 'voluntary_ctxt_switches': '37', 'nonvoluntary_ctxt_switches': '206'} ('datou_batch_current', '3171714', '1106580', '0', '1106556', '865308', '97664', b'', 'marlene', '2585384') 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 (20524003) 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 (2585384 ) ) 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 (20524003) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1337448382, 'portfolio_id': 20524003}, {'photo_id': 1337448346, 'portfolio_id': 20524003}, {'photo_id': 1337448345, 'portfolio_id': 20524003}, {'photo_id': 1337448337, 'portfolio_id': 20524003}, {'photo_id': 1337448336, 'portfolio_id': 20524003}, {'photo_id': 1337448332, 'portfolio_id': 20524003}, {'photo_id': 1337448331, 'portfolio_id': 20524003}, {'photo_id': 1337448319, 'portfolio_id': 20524003}, {'photo_id': 1337448314, 'portfolio_id': 20524003}, {'photo_id': 1337448308, 'portfolio_id': 20524003}, {'photo_id': 1337448304, 'portfolio_id': 20524003}, {'photo_id': 1337448300, 'portfolio_id': 20524003}, {'photo_id': 1337448250, 'portfolio_id': 20524003}, {'photo_id': 1337448247, 'portfolio_id': 20524003}, {'photo_id': 1337448245, 'portfolio_id': 20524003}, {'photo_id': 1337448209, 'portfolio_id': 20524003}, {'photo_id': 1337448206, 'portfolio_id': 20524003}, {'photo_id': 1337448203, 'portfolio_id': 20524003}, {'photo_id': 1337448201, 'portfolio_id': 20524003}, {'photo_id': 1337448163, 'portfolio_id': 20524003}, {'photo_id': 1337448160, 'portfolio_id': 20524003}, {'photo_id': 1337448147, 'portfolio_id': 20524003}, {'photo_id': 1337448127, 'portfolio_id': 20524003}, {'photo_id': 1337448081, 'portfolio_id': 20524003}, {'photo_id': 1337448079, 'portfolio_id': 20524003}, {'photo_id': 1337448059, 'portfolio_id': 20524003}, {'photo_id': 1337448056, 'portfolio_id': 20524003}, {'photo_id': 1337448053, 'portfolio_id': 20524003}, {'photo_id': 1337448051, 'portfolio_id': 20524003}, {'photo_id': 1337448028, 'portfolio_id': 20524003}, {'photo_id': 1337448026, 'portfolio_id': 20524003}, {'photo_id': 1337448024, 'portfolio_id': 20524003}, {'photo_id': 1337448022, 'portfolio_id': 20524003}, {'photo_id': 1337448021, 'portfolio_id': 20524003}, {'photo_id': 1337447990, 'portfolio_id': 20524003}, {'photo_id': 1337447989, 'portfolio_id': 20524003}, {'photo_id': 1337447966, 'portfolio_id': 20524003}, {'photo_id': 1337447963, 'portfolio_id': 20524003}, {'photo_id': 1337447960, 'portfolio_id': 20524003}, {'photo_id': 1337447956, 'portfolio_id': 20524003}, {'photo_id': 1337447954, 'portfolio_id': 20524003}] map_portfolio_id_photo_id: {20524003: [1337448382, 1337448346, 1337448345, 1337448337, 1337448336, 1337448332, 1337448331, 1337448319, 1337448314, 1337448308, 1337448304, 1337448300, 1337448250, 1337448247, 1337448245, 1337448209, 1337448206, 1337448203, 1337448201, 1337448163, 1337448160, 1337448147, 1337448127, 1337448081, 1337448079, 1337448059, 1337448056, 1337448053, 1337448051, 1337448028, 1337448026, 1337448024, 1337448022, 1337448021, 1337447990, 1337447989, 1337447966, 1337447963, 1337447960, 1337447956, 1337447954]} ##### 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.2298784255981445 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Fri Feb 14 06:10:31 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 (20524003) 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 : 20524003 get user id for portfolio 20524003 get sub ptf for main ptf 20524003, type 3726 and hashtags ['Carton_gris', 'plastique', 'cartonnette', 'autre_refus', 'mal_croppe', 'metal', 'kraft', 'Carton_brun', 'Teint_Dans_La_Masse', 'environnement', 'papier', 'flou'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20524003 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','plastique','cartonnette','autre_refus','mal_croppe','metal','kraft','Carton_brun','Teint_Dans_La_Masse','environnement','papier','flou')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20524003 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','plastique','cartonnette','autre_refus','mal_croppe','metal','kraft','Carton_brun','Teint_Dans_La_Masse','environnement','papier','flou')) AND mptpi.`min_score`=0.5 To do returned map {'Teint_Dans_La_Masse': {'main_port_id': 20524003, 'sub_port_id': 20524005, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13190738, 'last_updated_at': datetime.datetime(2025, 2, 13, 22, 2, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 13, 22, 2, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 13, 21, 54, 59)}, 'environnement': {'main_port_id': 20524003, 'sub_port_id': 20524006, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13190739, 'last_updated_at': datetime.datetime(2025, 2, 13, 22, 2, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 13, 22, 2, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 13, 21, 54, 59)}, 'metal': {'main_port_id': 20524003, 'sub_port_id': 20524007, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13190740, 'last_updated_at': datetime.datetime(2025, 2, 13, 22, 2, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 13, 22, 2, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 13, 21, 54, 59)}, 'papier': {'main_port_id': 20524003, 'sub_port_id': 20524008, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13190741, 'last_updated_at': datetime.datetime(2025, 2, 13, 22, 2, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 13, 22, 2, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 13, 21, 54, 59)}, 'kraft': {'main_port_id': 20524003, 'sub_port_id': 20524009, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13190742, 'last_updated_at': datetime.datetime(2025, 2, 13, 22, 2, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 13, 22, 2, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 13, 21, 54, 59)}, 'plastique': {'main_port_id': 20524003, 'sub_port_id': 20524010, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13190743, 'last_updated_at': datetime.datetime(2025, 2, 13, 22, 2, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 13, 22, 2, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 13, 21, 54, 59)}, 'mal_croppe': {'main_port_id': 20524003, 'sub_port_id': 20524011, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13190744, 'last_updated_at': datetime.datetime(2025, 2, 13, 22, 2, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 13, 22, 2, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 13, 21, 54, 59)}, 'flou': {'main_port_id': 20524003, 'sub_port_id': 20524012, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13190745, 'last_updated_at': datetime.datetime(2025, 2, 13, 22, 2, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 13, 22, 2, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 13, 21, 54, 59)}, 'Carton_gris': {'main_port_id': 20524003, 'sub_port_id': 20524013, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13190746, 'last_updated_at': datetime.datetime(2025, 2, 13, 22, 2, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 13, 22, 2, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 13, 21, 54, 59)}, 'autre_refus': {'main_port_id': 20524003, 'sub_port_id': 20524014, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13190747, 'last_updated_at': datetime.datetime(2025, 2, 13, 22, 2, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 13, 22, 2, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 13, 21, 54, 59)}, 'Carton_brun': {'main_port_id': 20524003, 'sub_port_id': 20524015, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13190748, 'last_updated_at': datetime.datetime(2025, 2, 13, 22, 2, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 13, 22, 2, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 13, 21, 54, 59)}, 'cartonnette': {'main_port_id': 20524003, 'sub_port_id': 20524016, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13190749, 'last_updated_at': datetime.datetime(2025, 2, 13, 22, 2, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 13, 22, 2, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 13, 21, 54, 59)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20524005 , 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=20524003 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 (20524005) result : ((1337448218,), (1337448238,), (1337448239,), (1337448240,), (1337448284,), (1337448293,), (1337448340,), (1337448341,), (1337448342,), (1337448343,), (1337448344,), (1337448407,), (1337448408,), (1337448472,), (1337448473,), (1337448474,), (1337448475,), (1337455160,), (1337455161,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20524003) result : ((1337447954,), (1337447956,), (1337447960,), (1337447963,), (1337447966,), (1337447989,), (1337447990,), (1337448021,), (1337448022,), (1337448024,), (1337448026,), (1337448028,), (1337448051,), (1337448053,), (1337448056,), (1337448059,), (1337448079,), (1337448081,), (1337448127,), (1337448147,), (1337448160,), (1337448163,), (1337448201,), (1337448203,), (1337448206,), (1337448209,), (1337448245,), (1337448247,), (1337448250,), (1337448300,), (1337448304,), (1337448308,), (1337448314,), (1337448319,), (1337448331,), (1337448332,), (1337448336,), (1337448337,), (1337448345,), (1337448346,), (1337448382,)) 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 (1337448300) 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 20524006 , 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=20524003 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 (20524006) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20524003) result : ((1337447954,), (1337447956,), (1337447960,), (1337447963,), (1337447966,), (1337447989,), (1337447990,), (1337448021,), (1337448022,), (1337448024,), (1337448026,), (1337448028,), (1337448051,), (1337448053,), (1337448056,), (1337448059,), (1337448079,), (1337448081,), (1337448127,), (1337448147,), (1337448160,), (1337448163,), (1337448201,), (1337448203,), (1337448206,), (1337448209,), (1337448245,), (1337448247,), (1337448250,), (1337448300,), (1337448304,), (1337448308,), (1337448314,), (1337448319,), (1337448331,), (1337448332,), (1337448336,), (1337448337,), (1337448345,), (1337448346,), (1337448382,)) 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 (1337448300) 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 20524007 , 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=20524003 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 (20524007) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20524003) result : ((1337447954,), (1337447956,), (1337447960,), (1337447963,), (1337447966,), (1337447989,), (1337447990,), (1337448021,), (1337448022,), (1337448024,), (1337448026,), (1337448028,), (1337448051,), (1337448053,), (1337448056,), (1337448059,), (1337448079,), (1337448081,), (1337448127,), (1337448147,), (1337448160,), (1337448163,), (1337448201,), (1337448203,), (1337448206,), (1337448209,), (1337448245,), (1337448247,), (1337448250,), (1337448300,), (1337448304,), (1337448308,), (1337448314,), (1337448319,), (1337448331,), (1337448332,), (1337448336,), (1337448337,), (1337448345,), (1337448346,), (1337448382,)) 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 (1337448300) 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 20524008 , 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=20524003 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 (20524008) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20524003) result : ((1337447954,), (1337447956,), (1337447960,), (1337447963,), (1337447966,), (1337447989,), (1337447990,), (1337448021,), (1337448022,), (1337448024,), (1337448026,), (1337448028,), (1337448051,), (1337448053,), (1337448056,), (1337448059,), (1337448079,), (1337448081,), (1337448127,), (1337448147,), (1337448160,), (1337448163,), (1337448201,), (1337448203,), (1337448206,), (1337448209,), (1337448245,), (1337448247,), (1337448250,), (1337448300,), (1337448304,), (1337448308,), (1337448314,), (1337448319,), (1337448331,), (1337448332,), (1337448336,), (1337448337,), (1337448345,), (1337448346,), (1337448382,)) 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 (1337448300) 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 20524009 , 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=20524003 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 (20524009) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20524003) result : ((1337447954,), (1337447956,), (1337447960,), (1337447963,), (1337447966,), (1337447989,), (1337447990,), (1337448021,), (1337448022,), (1337448024,), (1337448026,), (1337448028,), (1337448051,), (1337448053,), (1337448056,), (1337448059,), (1337448079,), (1337448081,), (1337448127,), (1337448147,), (1337448160,), (1337448163,), (1337448201,), (1337448203,), (1337448206,), (1337448209,), (1337448245,), (1337448247,), (1337448250,), (1337448300,), (1337448304,), (1337448308,), (1337448314,), (1337448319,), (1337448331,), (1337448332,), (1337448336,), (1337448337,), (1337448345,), (1337448346,), (1337448382,)) 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 (1337448300) 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 20524010 , 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=20524003 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 (20524010) result : ((1337448215,), (1337448299,), (1337448405,), (1337448481,), (1337448482,), (1337448483,), (1337448484,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20524003) result : ((1337447954,), (1337447956,), (1337447960,), (1337447963,), (1337447966,), (1337447989,), (1337447990,), (1337448021,), (1337448022,), (1337448024,), (1337448026,), (1337448028,), (1337448051,), (1337448053,), (1337448056,), (1337448059,), (1337448079,), (1337448081,), (1337448127,), (1337448147,), (1337448160,), (1337448163,), (1337448201,), (1337448203,), (1337448206,), (1337448209,), (1337448245,), (1337448247,), (1337448250,), (1337448300,), (1337448304,), (1337448308,), (1337448314,), (1337448319,), (1337448331,), (1337448332,), (1337448336,), (1337448337,), (1337448345,), (1337448346,), (1337448382,)) 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 (1337448300) 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 20524011 , 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=20524003 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 (20524011) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20524003) result : ((1337447954,), (1337447956,), (1337447960,), (1337447963,), (1337447966,), (1337447989,), (1337447990,), (1337448021,), (1337448022,), (1337448024,), (1337448026,), (1337448028,), (1337448051,), (1337448053,), (1337448056,), (1337448059,), (1337448079,), (1337448081,), (1337448127,), (1337448147,), (1337448160,), (1337448163,), (1337448201,), (1337448203,), (1337448206,), (1337448209,), (1337448245,), (1337448247,), (1337448250,), (1337448300,), (1337448304,), (1337448308,), (1337448314,), (1337448319,), (1337448331,), (1337448332,), (1337448336,), (1337448337,), (1337448345,), (1337448346,), (1337448382,)) 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 (1337448300) 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 20524012 , 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=20524003 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 (20524012) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20524003) result : ((1337447954,), (1337447956,), (1337447960,), (1337447963,), (1337447966,), (1337447989,), (1337447990,), (1337448021,), (1337448022,), (1337448024,), (1337448026,), (1337448028,), (1337448051,), (1337448053,), (1337448056,), (1337448059,), (1337448079,), (1337448081,), (1337448127,), (1337448147,), (1337448160,), (1337448163,), (1337448201,), (1337448203,), (1337448206,), (1337448209,), (1337448245,), (1337448247,), (1337448250,), (1337448300,), (1337448304,), (1337448308,), (1337448314,), (1337448319,), (1337448331,), (1337448332,), (1337448336,), (1337448337,), (1337448345,), (1337448346,), (1337448382,)) 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 (1337448300) 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 20524013 , 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=20524003 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 (20524013) result : ((1337448000,), (1337448001,), (1337448054,), (1337448210,), (1337448286,), (1337448295,), (1337448296,), (1337448402,), (1337448403,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20524003) result : ((1337447954,), (1337447956,), (1337447960,), (1337447963,), (1337447966,), (1337447989,), (1337447990,), (1337448021,), (1337448022,), (1337448024,), (1337448026,), (1337448028,), (1337448051,), (1337448053,), (1337448056,), (1337448059,), (1337448079,), (1337448081,), (1337448127,), (1337448147,), (1337448160,), (1337448163,), (1337448201,), (1337448203,), (1337448206,), (1337448209,), (1337448245,), (1337448247,), (1337448250,), (1337448300,), (1337448304,), (1337448308,), (1337448314,), (1337448319,), (1337448331,), (1337448332,), (1337448336,), (1337448337,), (1337448345,), (1337448346,), (1337448382,)) 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 (1337448300) 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 20524014 , 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=20524003 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 (20524014) result : ((1337448220,), (1337448241,), (1337448294,), (1337448322,), (1337448409,), (1337448410,), (1337448411,), (1337448479,), (1337448480,), (1337455163,), (1337455164,), (1337455165,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20524003) result : ((1337447954,), (1337447956,), (1337447960,), (1337447963,), (1337447966,), (1337447989,), (1337447990,), (1337448021,), (1337448022,), (1337448024,), (1337448026,), (1337448028,), (1337448051,), (1337448053,), (1337448056,), (1337448059,), (1337448079,), (1337448081,), (1337448127,), (1337448147,), (1337448160,), (1337448163,), (1337448201,), (1337448203,), (1337448206,), (1337448209,), (1337448245,), (1337448247,), (1337448250,), (1337448300,), (1337448304,), (1337448308,), (1337448314,), (1337448319,), (1337448331,), (1337448332,), (1337448336,), (1337448337,), (1337448345,), (1337448346,), (1337448382,)) 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 (1337448300) 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 20524015 , 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=20524003 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 (20524015) result : ((1337448002,), (1337448212,), (1337448213,), (1337448214,), (1337448243,), (1337448297,), (1337448298,), (1337448323,), (1337448324,), (1337448325,), (1337448353,), (1337448354,), (1337448355,), (1337448356,), (1337448357,), (1337448358,), (1337448404,), (1337448412,), (1337448413,), (1337455166,), (1337455167,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20524003) result : ((1337447954,), (1337447956,), (1337447960,), (1337447963,), (1337447966,), (1337447989,), (1337447990,), (1337448021,), (1337448022,), (1337448024,), (1337448026,), (1337448028,), (1337448051,), (1337448053,), (1337448056,), (1337448059,), (1337448079,), (1337448081,), (1337448127,), (1337448147,), (1337448160,), (1337448163,), (1337448201,), (1337448203,), (1337448206,), (1337448209,), (1337448245,), (1337448247,), (1337448250,), (1337448300,), (1337448304,), (1337448308,), (1337448314,), (1337448319,), (1337448331,), (1337448332,), (1337448336,), (1337448337,), (1337448345,), (1337448346,), (1337448382,)) 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 (1337448300) 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 20524016 , 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=20524003 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 (20524016) result : ((1337448242,), (1337448347,), (1337448348,), (1337448349,), (1337448350,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20524003) result : ((1337447954,), (1337447956,), (1337447960,), (1337447963,), (1337447966,), (1337447989,), (1337447990,), (1337448021,), (1337448022,), (1337448024,), (1337448026,), (1337448028,), (1337448051,), (1337448053,), (1337448056,), (1337448059,), (1337448079,), (1337448081,), (1337448127,), (1337448147,), (1337448160,), (1337448163,), (1337448201,), (1337448203,), (1337448206,), (1337448209,), (1337448245,), (1337448247,), (1337448250,), (1337448300,), (1337448304,), (1337448308,), (1337448314,), (1337448319,), (1337448331,), (1337448332,), (1337448336,), (1337448337,), (1337448345,), (1337448346,), (1337448382,)) 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 (1337448300) 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`=20524003 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','plastique','cartonnette','autre_refus','mal_croppe','metal','kraft','Carton_brun','Teint_Dans_La_Masse','environnement','papier','flou')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20524003 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','plastique','cartonnette','autre_refus','mal_croppe','metal','kraft','Carton_brun','Teint_Dans_La_Masse','environnement','papier','flou')) AND mptpi.`min_score`=0.5 To do returned map {'Teint_Dans_La_Masse': {'main_port_id': 20524003, 'sub_port_id': 20524017, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13190750, 'last_updated_at': datetime.datetime(2025, 2, 13, 21, 55), 'last_updated_at_desc': datetime.datetime(2025, 2, 13, 21, 55), 'last_updated_at_asc': datetime.datetime(2025, 2, 13, 21, 55)}, 'environnement': {'main_port_id': 20524003, 'sub_port_id': 20524018, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13190751, 'last_updated_at': datetime.datetime(2025, 2, 13, 21, 55), 'last_updated_at_desc': datetime.datetime(2025, 2, 13, 21, 55), 'last_updated_at_asc': datetime.datetime(2025, 2, 13, 21, 55)}, 'metal': {'main_port_id': 20524003, 'sub_port_id': 20524019, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13190752, 'last_updated_at': datetime.datetime(2025, 2, 13, 21, 55), 'last_updated_at_desc': datetime.datetime(2025, 2, 13, 21, 55), 'last_updated_at_asc': datetime.datetime(2025, 2, 13, 21, 55)}, 'papier': {'main_port_id': 20524003, 'sub_port_id': 20524020, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13190753, 'last_updated_at': datetime.datetime(2025, 2, 13, 21, 55), 'last_updated_at_desc': datetime.datetime(2025, 2, 13, 21, 55), 'last_updated_at_asc': datetime.datetime(2025, 2, 13, 21, 55)}, 'kraft': {'main_port_id': 20524003, 'sub_port_id': 20524021, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13190754, 'last_updated_at': datetime.datetime(2025, 2, 13, 21, 55), 'last_updated_at_desc': datetime.datetime(2025, 2, 13, 21, 55), 'last_updated_at_asc': datetime.datetime(2025, 2, 13, 21, 55)}, 'plastique': {'main_port_id': 20524003, 'sub_port_id': 20524022, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13190755, 'last_updated_at': datetime.datetime(2025, 2, 13, 21, 55), 'last_updated_at_desc': datetime.datetime(2025, 2, 13, 21, 55), 'last_updated_at_asc': datetime.datetime(2025, 2, 13, 21, 55)}, 'mal_croppe': {'main_port_id': 20524003, 'sub_port_id': 20524023, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13190756, 'last_updated_at': datetime.datetime(2025, 2, 13, 21, 55), 'last_updated_at_desc': datetime.datetime(2025, 2, 13, 21, 55), 'last_updated_at_asc': datetime.datetime(2025, 2, 13, 21, 55)}, 'flou': {'main_port_id': 20524003, 'sub_port_id': 20524024, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13190757, 'last_updated_at': datetime.datetime(2025, 2, 13, 21, 55), 'last_updated_at_desc': datetime.datetime(2025, 2, 13, 21, 55), 'last_updated_at_asc': datetime.datetime(2025, 2, 13, 21, 55)}, 'Carton_gris': {'main_port_id': 20524003, 'sub_port_id': 20524025, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13190758, 'last_updated_at': datetime.datetime(2025, 2, 13, 21, 55), 'last_updated_at_desc': datetime.datetime(2025, 2, 13, 21, 55), 'last_updated_at_asc': datetime.datetime(2025, 2, 13, 21, 55)}, 'autre_refus': {'main_port_id': 20524003, 'sub_port_id': 20524026, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13190759, 'last_updated_at': datetime.datetime(2025, 2, 13, 21, 55), 'last_updated_at_desc': datetime.datetime(2025, 2, 13, 21, 55), 'last_updated_at_asc': datetime.datetime(2025, 2, 13, 21, 55)}, 'Carton_brun': {'main_port_id': 20524003, 'sub_port_id': 20524027, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13190760, 'last_updated_at': datetime.datetime(2025, 2, 13, 21, 55), 'last_updated_at_desc': datetime.datetime(2025, 2, 13, 21, 55), 'last_updated_at_asc': datetime.datetime(2025, 2, 13, 21, 55)}, 'cartonnette': {'main_port_id': 20524003, 'sub_port_id': 20524028, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13190761, 'last_updated_at': datetime.datetime(2025, 2, 13, 22, 2, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 13, 22, 2, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 13, 21, 55)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20524017,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20524005 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20524018,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20524006 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20524019,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20524007 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20524020,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20524008 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20524021,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20524009 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20524022,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20524010 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20524023,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20524011 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20524024,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20524012 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20524025,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20524013 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20524026,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20524014 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20524027,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20524015 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20524028,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20524016 lien utilise dans velours : https://www.fotonower.com/velours/20524017,20524018,20524019,20524020,20524021,20524022,20524023,20524024,20524025,20524026,20524027,20524028?tags=Teint_Dans_La_Masse,environnement,metal,papier,kraft,plastique,mal_croppe,flou,Carton_gris,autre_refus,Carton_brun,cartonnette After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20524003]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1337448382, 1337448346, 1337448345, 1337448337, 1337448336, 1337448332, 1337448331, 1337448319, 1337448314, 1337448308, 1337448304, 1337448300, 1337448250, 1337448247, 1337448245, 1337448209, 1337448206, 1337448203, 1337448201, 1337448163, 1337448160, 1337448147, 1337448127, 1337448081, 1337448079, 1337448059, 1337448056, 1337448053, 1337448051, 1337448028, 1337448026, 1337448024, 1337448022, 1337448021, 1337447990, 1337447989, 1337447966, 1337447963, 1337447960, 1337447956, 1337447954] map_info['map_portfolio_photo'] : {20524003: [1337448382, 1337448346, 1337448345, 1337448337, 1337448336, 1337448332, 1337448331, 1337448319, 1337448314, 1337448308, 1337448304, 1337448300, 1337448250, 1337448247, 1337448245, 1337448209, 1337448206, 1337448203, 1337448201, 1337448163, 1337448160, 1337448147, 1337448127, 1337448081, 1337448079, 1337448059, 1337448056, 1337448053, 1337448051, 1337448028, 1337448026, 1337448024, 1337448022, 1337448021, 1337447990, 1337447989, 1337447966, 1337447963, 1337447960, 1337447956, 1337447954]} final : False mtd_id 4302 list_pids : [1337448382, 1337448346, 1337448345, 1337448337, 1337448336, 1337448332, 1337448331, 1337448319, 1337448314, 1337448308, 1337448304, 1337448300, 1337448250, 1337448247, 1337448245, 1337448209, 1337448206, 1337448203, 1337448201, 1337448163, 1337448160, 1337448147, 1337448127, 1337448081, 1337448079, 1337448059, 1337448056, 1337448053, 1337448051, 1337448028, 1337448026, 1337448024, 1337448022, 1337448021, 1337447990, 1337447989, 1337447966, 1337447963, 1337447960, 1337447956, 1337447954] Looping around the photos to save general results len do output : 1 /20524003. 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, '2585384') ('4302', '20524003', '1337448382', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448346', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448345', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448337', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448336', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448332', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448331', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448319', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448314', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448308', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448304', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448300', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448250', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448247', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448245', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448209', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448206', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448203', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448201', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448163', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448160', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448147', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448127', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448081', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448079', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448059', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448056', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448053', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448051', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448028', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448026', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448024', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448022', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448021', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337447990', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337447989', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337447966', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337447963', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337447960', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337447956', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337447954', None, None, None, None, None, '2585384') 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, '20524003', "{'Teint_Dans_La_Masse': 20524005, 'environnement': 20524006, 'metal': 20524007, 'papier': 20524008, 'kraft': 20524009, 'plastique': 20524010, 'mal_croppe': 20524011, 'flou': 20524012, 'Carton_gris': 20524013, 'autre_refus': 20524014, 'Carton_brun': 20524015, 'cartonnette': 20524016}", None, None, None, None, '2585384'), ('4302', '20524003', '1337448382', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337448346', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337448345', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337448337', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337448336', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337448332', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337448331', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337448319', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337448314', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337448308', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337448304', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337448300', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337448250', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337448247', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337448245', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337448209', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337448206', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337448203', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337448201', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337448163', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337448160', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337448147', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337448127', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337448081', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337448079', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337448059', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337448056', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337448053', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337448051', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337448028', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337448026', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337448024', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337448022', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337448021', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337447990', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337447989', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337447966', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337447963', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337447960', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337447956', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337447954', None, None, None, None, None, '2585384')] time used for this insertion : 0.01966118812561035 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.4541540145874023 time spend to save output : 0.020075082778930664 total time spend for step 1 : 1.474229097366333 step2:final Fri Feb 14 06:10:32 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 (20524003) 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 20524003 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1337447966,1337447963,1337447960,1337447956,1337447954,1337447990,1337447989,1337448028,1337448026,1337448024,1337448022,1337448021,1337448059,1337448056,1337448053,1337448051,1337448163,1337448160,1337448147,1337448127,1337448081,1337448079,1337448209,1337448206,1337448203,1337448201,1337448250,1337448247,1337448245,1337448319,1337448314,1337448308,1337448304,1337448300,1337448345,1337448346,1337448336,1337448337,1337448331,1337448332,1337448382); 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([20524003]) Inside saveOutput : final : False verbose : True original output for save of step final : {1337448382: ('0.04358435778758326',), 1337448346: ('0.04358435778758326',), 1337448345: ('0.04358435778758326',), 1337448337: ('0.04358435778758326',), 1337448336: ('0.04358435778758326',), 1337448332: ('0.04358435778758326',), 1337448331: ('0.04358435778758326',), 1337448319: ('0.04358435778758326',), 1337448314: ('0.04358435778758326',), 1337448308: ('0.04358435778758326',), 1337448304: ('0.04358435778758326',), 1337448300: ('0.04358435778758326',), 1337448250: ('0.04358435778758326',), 1337448247: ('0.04358435778758326',), 1337448245: ('0.04358435778758326',), 1337448209: ('0.04358435778758326',), 1337448206: ('0.04358435778758326',), 1337448203: ('0.04358435778758326',), 1337448201: ('0.04358435778758326',), 1337448163: ('0.04358435778758326',), 1337448160: ('0.04358435778758326',), 1337448147: ('0.04358435778758326',), 1337448127: ('0.04358435778758326',), 1337448081: ('0.04358435778758326',), 1337448079: ('0.04358435778758326',), 1337448059: ('0.04358435778758326',), 1337448056: ('0.04358435778758326',), 1337448053: ('0.04358435778758326',), 1337448051: ('0.04358435778758326',), 1337448028: ('0.04358435778758326',), 1337448026: ('0.04358435778758326',), 1337448024: ('0.04358435778758326',), 1337448022: ('0.04358435778758326',), 1337448021: ('0.04358435778758326',), 1337447990: ('0.04358435778758326',), 1337447989: ('0.04358435778758326',), 1337447966: ('0.04358435778758326',), 1337447963: ('0.04358435778758326',), 1337447960: ('0.04358435778758326',), 1337447956: ('0.04358435778758326',), 1337447954: ('0.04358435778758326',)} new output for save of step final : {1337448382: ('0.04358435778758326',), 1337448346: ('0.04358435778758326',), 1337448345: ('0.04358435778758326',), 1337448337: ('0.04358435778758326',), 1337448336: ('0.04358435778758326',), 1337448332: ('0.04358435778758326',), 1337448331: ('0.04358435778758326',), 1337448319: ('0.04358435778758326',), 1337448314: ('0.04358435778758326',), 1337448308: ('0.04358435778758326',), 1337448304: ('0.04358435778758326',), 1337448300: ('0.04358435778758326',), 1337448250: ('0.04358435778758326',), 1337448247: ('0.04358435778758326',), 1337448245: ('0.04358435778758326',), 1337448209: ('0.04358435778758326',), 1337448206: ('0.04358435778758326',), 1337448203: ('0.04358435778758326',), 1337448201: ('0.04358435778758326',), 1337448163: ('0.04358435778758326',), 1337448160: ('0.04358435778758326',), 1337448147: ('0.04358435778758326',), 1337448127: ('0.04358435778758326',), 1337448081: ('0.04358435778758326',), 1337448079: ('0.04358435778758326',), 1337448059: ('0.04358435778758326',), 1337448056: ('0.04358435778758326',), 1337448053: ('0.04358435778758326',), 1337448051: ('0.04358435778758326',), 1337448028: ('0.04358435778758326',), 1337448026: ('0.04358435778758326',), 1337448024: ('0.04358435778758326',), 1337448022: ('0.04358435778758326',), 1337448021: ('0.04358435778758326',), 1337447990: ('0.04358435778758326',), 1337447989: ('0.04358435778758326',), 1337447966: ('0.04358435778758326',), 1337447963: ('0.04358435778758326',), 1337447960: ('0.04358435778758326',), 1337447956: ('0.04358435778758326',), 1337447954: ('0.04358435778758326',)} [1337448382, 1337448346, 1337448345, 1337448337, 1337448336, 1337448332, 1337448331, 1337448319, 1337448314, 1337448308, 1337448304, 1337448300, 1337448250, 1337448247, 1337448245, 1337448209, 1337448206, 1337448203, 1337448201, 1337448163, 1337448160, 1337448147, 1337448127, 1337448081, 1337448079, 1337448059, 1337448056, 1337448053, 1337448051, 1337448028, 1337448026, 1337448024, 1337448022, 1337448021, 1337447990, 1337447989, 1337447966, 1337447963, 1337447960, 1337447956, 1337447954] map_info['map_portfolio_photo'] : {20524003: [1337448382, 1337448346, 1337448345, 1337448337, 1337448336, 1337448332, 1337448331, 1337448319, 1337448314, 1337448308, 1337448304, 1337448300, 1337448250, 1337448247, 1337448245, 1337448209, 1337448206, 1337448203, 1337448201, 1337448163, 1337448160, 1337448147, 1337448127, 1337448081, 1337448079, 1337448059, 1337448056, 1337448053, 1337448051, 1337448028, 1337448026, 1337448024, 1337448022, 1337448021, 1337447990, 1337447989, 1337447966, 1337447963, 1337447960, 1337447956, 1337447954]} final : False mtd_id 4302 list_pids : [1337448382, 1337448346, 1337448345, 1337448337, 1337448336, 1337448332, 1337448331, 1337448319, 1337448314, 1337448308, 1337448304, 1337448300, 1337448250, 1337448247, 1337448245, 1337448209, 1337448206, 1337448203, 1337448201, 1337448163, 1337448160, 1337448147, 1337448127, 1337448081, 1337448079, 1337448059, 1337448056, 1337448053, 1337448051, 1337448028, 1337448026, 1337448024, 1337448022, 1337448021, 1337447990, 1337447989, 1337447966, 1337447963, 1337447960, 1337447956, 1337447954] Looping around the photos to save general results len do output : 41 /1337448382.Didn't retrieve data . /1337448346.Didn't retrieve data . /1337448345.Didn't retrieve data . /1337448337.Didn't retrieve data . /1337448336.Didn't retrieve data . /1337448332.Didn't retrieve data . /1337448331.Didn't retrieve data . /1337448319.Didn't retrieve data . /1337448314.Didn't retrieve data . /1337448308.Didn't retrieve data . /1337448304.Didn't retrieve data . /1337448300.Didn't retrieve data . /1337448250.Didn't retrieve data . /1337448247.Didn't retrieve data . /1337448245.Didn't retrieve data . /1337448209.Didn't retrieve data . /1337448206.Didn't retrieve data . /1337448203.Didn't retrieve data . /1337448201.Didn't retrieve data . /1337448163.Didn't retrieve data . /1337448160.Didn't retrieve data . /1337448147.Didn't retrieve data . /1337448127.Didn't retrieve data . /1337448081.Didn't retrieve data . /1337448079.Didn't retrieve data . /1337448059.Didn't retrieve data . /1337448056.Didn't retrieve data . /1337448053.Didn't retrieve data . /1337448051.Didn't retrieve data . /1337448028.Didn't retrieve data . /1337448026.Didn't retrieve data . /1337448024.Didn't retrieve data . /1337448022.Didn't retrieve data . /1337448021.Didn't retrieve data . /1337447990.Didn't retrieve data . /1337447989.Didn't retrieve data . /1337447966.Didn't retrieve data . /1337447963.Didn't retrieve data . /1337447960.Didn't retrieve data . /1337447956.Didn't retrieve data . /1337447954.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, '2585384') ('4302', '20524003', '1337448382', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448346', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448345', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448337', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448336', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448332', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448331', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448319', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448314', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448308', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448304', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448300', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448250', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448247', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448245', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448209', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448206', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448203', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448201', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448163', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448160', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448147', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448127', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448081', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448079', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448059', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448056', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448053', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448051', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448028', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448026', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448024', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448022', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448021', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337447990', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337447989', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337447966', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337447963', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337447960', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337447956', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337447954', None, None, None, None, None, '2585384') 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', '20524003', '1337448382', '0.04358435778758326', None, None, None, None, '2585384'), ('4302', '20524003', '1337448346', '0.04358435778758326', None, None, None, None, '2585384'), ('4302', '20524003', '1337448345', '0.04358435778758326', None, None, None, None, '2585384'), ('4302', '20524003', '1337448337', '0.04358435778758326', None, None, None, None, '2585384'), ('4302', '20524003', '1337448336', '0.04358435778758326', None, None, None, None, '2585384'), ('4302', '20524003', '1337448332', '0.04358435778758326', None, None, None, None, '2585384'), ('4302', '20524003', '1337448331', '0.04358435778758326', None, None, None, None, '2585384'), ('4302', '20524003', '1337448319', '0.04358435778758326', None, None, None, None, '2585384'), ('4302', '20524003', '1337448314', '0.04358435778758326', None, None, None, None, '2585384'), ('4302', '20524003', '1337448308', '0.04358435778758326', None, None, None, None, '2585384'), ('4302', '20524003', '1337448304', '0.04358435778758326', None, None, None, None, '2585384'), ('4302', '20524003', '1337448300', '0.04358435778758326', None, None, None, None, '2585384'), ('4302', '20524003', '1337448250', '0.04358435778758326', None, None, None, None, '2585384'), ('4302', '20524003', '1337448247', '0.04358435778758326', None, None, None, None, '2585384'), ('4302', '20524003', '1337448245', '0.04358435778758326', None, None, None, None, '2585384'), ('4302', '20524003', '1337448209', '0.04358435778758326', None, None, None, None, '2585384'), ('4302', '20524003', '1337448206', '0.04358435778758326', None, None, None, None, '2585384'), ('4302', '20524003', '1337448203', '0.04358435778758326', None, None, None, None, '2585384'), ('4302', '20524003', '1337448201', '0.04358435778758326', None, None, None, None, '2585384'), ('4302', '20524003', '1337448163', '0.04358435778758326', None, None, None, None, '2585384'), ('4302', '20524003', '1337448160', '0.04358435778758326', None, None, None, None, '2585384'), ('4302', '20524003', '1337448147', '0.04358435778758326', None, None, None, None, '2585384'), ('4302', '20524003', '1337448127', '0.04358435778758326', None, None, None, None, '2585384'), ('4302', '20524003', '1337448081', '0.04358435778758326', None, None, None, None, '2585384'), ('4302', '20524003', '1337448079', '0.04358435778758326', None, None, None, None, '2585384'), ('4302', '20524003', '1337448059', '0.04358435778758326', None, None, None, None, '2585384'), ('4302', '20524003', '1337448056', '0.04358435778758326', None, None, None, None, '2585384'), ('4302', '20524003', '1337448053', '0.04358435778758326', None, None, None, None, '2585384'), ('4302', '20524003', '1337448051', '0.04358435778758326', None, None, None, None, '2585384'), ('4302', '20524003', '1337448028', '0.04358435778758326', None, None, None, None, '2585384'), ('4302', '20524003', '1337448026', '0.04358435778758326', None, None, None, None, '2585384'), ('4302', '20524003', '1337448024', '0.04358435778758326', None, None, None, None, '2585384'), ('4302', '20524003', '1337448022', '0.04358435778758326', None, None, None, None, '2585384'), ('4302', '20524003', '1337448021', '0.04358435778758326', None, None, None, None, '2585384'), ('4302', '20524003', '1337447990', '0.04358435778758326', None, None, None, None, '2585384'), ('4302', '20524003', '1337447989', '0.04358435778758326', None, None, None, None, '2585384'), ('4302', '20524003', '1337447966', '0.04358435778758326', None, None, None, None, '2585384'), ('4302', '20524003', '1337447963', '0.04358435778758326', None, None, None, None, '2585384'), ('4302', '20524003', '1337447960', '0.04358435778758326', None, None, None, None, '2585384'), ('4302', '20524003', '1337447956', '0.04358435778758326', None, None, None, None, '2585384'), ('4302', '20524003', '1337447954', '0.04358435778758326', None, None, None, None, '2585384')] time used for this insertion : 0.09478139877319336 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.06699085235595703 time spend to save output : 0.09603381156921387 total time spend for step 2 : 0.1630246639251709 step3:velours_tree Fri Feb 14 06:10:32 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 : {20524003: [{'Teint_Dans_La_Masse': 20524005, 'environnement': 20524006, 'metal': 20524007, 'papier': 20524008, 'kraft': 20524009, 'plastique': 20524010, 'mal_croppe': 20524011, 'flou': 20524012, 'Carton_gris': 20524013, 'autre_refus': 20524014, 'Carton_brun': 20524015, 'cartonnette': 20524016}]} input_args_next_step : {20524003: ()} output_args : {20524003: [{'Teint_Dans_La_Masse': 20524005, 'environnement': 20524006, 'metal': 20524007, 'papier': 20524008, 'kraft': 20524009, 'plastique': 20524010, 'mal_croppe': 20524011, 'flou': 20524012, 'Carton_gris': 20524013, 'autre_refus': 20524014, 'Carton_brun': 20524015, 'cartonnette': 20524016}]} args : 20524003 depend.output_id : 0 VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :1, first value : ({'Teint_Dans_La_Masse': 20524005, 'environnement': 20524006, 'metal': 20524007, 'papier': 20524008, 'kraft': 20524009, 'plastique': 20524010, 'mal_croppe': 20524011, 'flou': 20524012, 'Carton_gris': 20524013, 'autre_refus': 20524014, 'Carton_brun': 20524015, 'cartonnette': 20524016},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20524003) 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([20524003]) 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.2888648509979248 time spend to save output : 6.198883056640625e-05 total time spend for step 3 : 0.2889268398284912 step4:send_mail_cod Fri Feb 14 06:10:33 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 : {1337448382: ('0.04358435778758326',), 1337448346: ('0.04358435778758326',), 1337448345: ('0.04358435778758326',), 1337448337: ('0.04358435778758326',), 1337448336: ('0.04358435778758326',), 1337448332: ('0.04358435778758326',), 1337448331: ('0.04358435778758326',), 1337448319: ('0.04358435778758326',), 1337448314: ('0.04358435778758326',), 1337448308: ('0.04358435778758326',), 1337448304: ('0.04358435778758326',), 1337448300: ('0.04358435778758326',), 1337448250: ('0.04358435778758326',), 1337448247: ('0.04358435778758326',), 1337448245: ('0.04358435778758326',), 1337448209: ('0.04358435778758326',), 1337448206: ('0.04358435778758326',), 1337448203: ('0.04358435778758326',), 1337448201: ('0.04358435778758326',), 1337448163: ('0.04358435778758326',), 1337448160: ('0.04358435778758326',), 1337448147: ('0.04358435778758326',), 1337448127: ('0.04358435778758326',), 1337448081: ('0.04358435778758326',), 1337448079: ('0.04358435778758326',), 1337448059: ('0.04358435778758326',), 1337448056: ('0.04358435778758326',), 1337448053: ('0.04358435778758326',), 1337448051: ('0.04358435778758326',), 1337448028: ('0.04358435778758326',), 1337448026: ('0.04358435778758326',), 1337448024: ('0.04358435778758326',), 1337448022: ('0.04358435778758326',), 1337448021: ('0.04358435778758326',), 1337447990: ('0.04358435778758326',), 1337447989: ('0.04358435778758326',), 1337447966: ('0.04358435778758326',), 1337447963: ('0.04358435778758326',), 1337447960: ('0.04358435778758326',), 1337447956: ('0.04358435778758326',), 1337447954: ('0.04358435778758326',)} input_args_next_step : {1337448382: ()} output_args : {1337448382: ('0.04358435778758326',), 1337448346: ('0.04358435778758326',), 1337448345: ('0.04358435778758326',), 1337448337: ('0.04358435778758326',), 1337448336: ('0.04358435778758326',), 1337448332: ('0.04358435778758326',), 1337448331: ('0.04358435778758326',), 1337448319: ('0.04358435778758326',), 1337448314: ('0.04358435778758326',), 1337448308: ('0.04358435778758326',), 1337448304: ('0.04358435778758326',), 1337448300: ('0.04358435778758326',), 1337448250: ('0.04358435778758326',), 1337448247: ('0.04358435778758326',), 1337448245: ('0.04358435778758326',), 1337448209: ('0.04358435778758326',), 1337448206: ('0.04358435778758326',), 1337448203: ('0.04358435778758326',), 1337448201: ('0.04358435778758326',), 1337448163: ('0.04358435778758326',), 1337448160: ('0.04358435778758326',), 1337448147: ('0.04358435778758326',), 1337448127: ('0.04358435778758326',), 1337448081: ('0.04358435778758326',), 1337448079: ('0.04358435778758326',), 1337448059: ('0.04358435778758326',), 1337448056: ('0.04358435778758326',), 1337448053: ('0.04358435778758326',), 1337448051: ('0.04358435778758326',), 1337448028: ('0.04358435778758326',), 1337448026: ('0.04358435778758326',), 1337448024: ('0.04358435778758326',), 1337448022: ('0.04358435778758326',), 1337448021: ('0.04358435778758326',), 1337447990: ('0.04358435778758326',), 1337447989: ('0.04358435778758326',), 1337447966: ('0.04358435778758326',), 1337447963: ('0.04358435778758326',), 1337447960: ('0.04358435778758326',), 1337447956: ('0.04358435778758326',), 1337447954: ('0.04358435778758326',)} args : 1337448382 depend.output_id : 0 input_args_next_step : {1337448382: ('0.04358435778758326',), 1337448346: ()} output_args : {1337448382: ('0.04358435778758326',), 1337448346: ('0.04358435778758326',), 1337448345: ('0.04358435778758326',), 1337448337: ('0.04358435778758326',), 1337448336: ('0.04358435778758326',), 1337448332: ('0.04358435778758326',), 1337448331: ('0.04358435778758326',), 1337448319: ('0.04358435778758326',), 1337448314: ('0.04358435778758326',), 1337448308: ('0.04358435778758326',), 1337448304: ('0.04358435778758326',), 1337448300: ('0.04358435778758326',), 1337448250: ('0.04358435778758326',), 1337448247: ('0.04358435778758326',), 1337448245: ('0.04358435778758326',), 1337448209: ('0.04358435778758326',), 1337448206: ('0.04358435778758326',), 1337448203: ('0.04358435778758326',), 1337448201: ('0.04358435778758326',), 1337448163: ('0.04358435778758326',), 1337448160: ('0.04358435778758326',), 1337448147: ('0.04358435778758326',), 1337448127: ('0.04358435778758326',), 1337448081: ('0.04358435778758326',), 1337448079: ('0.04358435778758326',), 1337448059: ('0.04358435778758326',), 1337448056: ('0.04358435778758326',), 1337448053: ('0.04358435778758326',), 1337448051: ('0.04358435778758326',), 1337448028: ('0.04358435778758326',), 1337448026: ('0.04358435778758326',), 1337448024: ('0.04358435778758326',), 1337448022: ('0.04358435778758326',), 1337448021: ('0.04358435778758326',), 1337447990: ('0.04358435778758326',), 1337447989: ('0.04358435778758326',), 1337447966: ('0.04358435778758326',), 1337447963: ('0.04358435778758326',), 1337447960: ('0.04358435778758326',), 1337447956: ('0.04358435778758326',), 1337447954: ('0.04358435778758326',)} args : 1337448346 depend.output_id : 0 input_args_next_step : {1337448382: ('0.04358435778758326',), 1337448346: ('0.04358435778758326',), 1337448345: ()} output_args : {1337448382: ('0.04358435778758326',), 1337448346: ('0.04358435778758326',), 1337448345: ('0.04358435778758326',), 1337448337: ('0.04358435778758326',), 1337448336: ('0.04358435778758326',), 1337448332: ('0.04358435778758326',), 1337448331: ('0.04358435778758326',), 1337448319: ('0.04358435778758326',), 1337448314: ('0.04358435778758326',), 1337448308: ('0.04358435778758326',), 1337448304: ('0.04358435778758326',), 1337448300: ('0.04358435778758326',), 1337448250: ('0.04358435778758326',), 1337448247: ('0.04358435778758326',), 1337448245: ('0.04358435778758326',), 1337448209: ('0.04358435778758326',), 1337448206: ('0.04358435778758326',), 1337448203: ('0.04358435778758326',), 1337448201: ('0.04358435778758326',), 1337448163: ('0.04358435778758326',), 1337448160: ('0.04358435778758326',), 1337448147: ('0.04358435778758326',), 1337448127: ('0.04358435778758326',), 1337448081: ('0.04358435778758326',), 1337448079: ('0.04358435778758326',), 1337448059: ('0.04358435778758326',), 1337448056: ('0.04358435778758326',), 1337448053: ('0.04358435778758326',), 1337448051: ('0.04358435778758326',), 1337448028: ('0.04358435778758326',), 1337448026: ('0.04358435778758326',), 1337448024: ('0.04358435778758326',), 1337448022: ('0.04358435778758326',), 1337448021: ('0.04358435778758326',), 1337447990: ('0.04358435778758326',), 1337447989: ('0.04358435778758326',), 1337447966: ('0.04358435778758326',), 1337447963: ('0.04358435778758326',), 1337447960: ('0.04358435778758326',), 1337447956: ('0.04358435778758326',), 1337447954: ('0.04358435778758326',)} args : 1337448345 depend.output_id : 0 input_args_next_step : {1337448382: ('0.04358435778758326',), 1337448346: ('0.04358435778758326',), 1337448345: ('0.04358435778758326',), 1337448337: ()} output_args : {1337448382: ('0.04358435778758326',), 1337448346: ('0.04358435778758326',), 1337448345: ('0.04358435778758326',), 1337448337: ('0.04358435778758326',), 1337448336: ('0.04358435778758326',), 1337448332: ('0.04358435778758326',), 1337448331: ('0.04358435778758326',), 1337448319: ('0.04358435778758326',), 1337448314: ('0.04358435778758326',), 1337448308: ('0.04358435778758326',), 1337448304: ('0.04358435778758326',), 1337448300: ('0.04358435778758326',), 1337448250: ('0.04358435778758326',), 1337448247: ('0.04358435778758326',), 1337448245: ('0.04358435778758326',), 1337448209: ('0.04358435778758326',), 1337448206: ('0.04358435778758326',), 1337448203: ('0.04358435778758326',), 1337448201: ('0.04358435778758326',), 1337448163: ('0.04358435778758326',), 1337448160: ('0.04358435778758326',), 1337448147: ('0.04358435778758326',), 1337448127: ('0.04358435778758326',), 1337448081: ('0.04358435778758326',), 1337448079: ('0.04358435778758326',), 1337448059: ('0.04358435778758326',), 1337448056: ('0.04358435778758326',), 1337448053: ('0.04358435778758326',), 1337448051: ('0.04358435778758326',), 1337448028: ('0.04358435778758326',), 1337448026: ('0.04358435778758326',), 1337448024: ('0.04358435778758326',), 1337448022: ('0.04358435778758326',), 1337448021: ('0.04358435778758326',), 1337447990: ('0.04358435778758326',), 1337447989: ('0.04358435778758326',), 1337447966: ('0.04358435778758326',), 1337447963: ('0.04358435778758326',), 1337447960: ('0.04358435778758326',), 1337447956: ('0.04358435778758326',), 1337447954: ('0.04358435778758326',)} args : 1337448337 depend.output_id : 0 input_args_next_step : {1337448382: ('0.04358435778758326',), 1337448346: ('0.04358435778758326',), 1337448345: ('0.04358435778758326',), 1337448337: ('0.04358435778758326',), 1337448336: ()} output_args : {1337448382: ('0.04358435778758326',), 1337448346: ('0.04358435778758326',), 1337448345: ('0.04358435778758326',), 1337448337: ('0.04358435778758326',), 1337448336: ('0.04358435778758326',), 1337448332: ('0.04358435778758326',), 1337448331: ('0.04358435778758326',), 1337448319: ('0.04358435778758326',), 1337448314: ('0.04358435778758326',), 1337448308: ('0.04358435778758326',), 1337448304: ('0.04358435778758326',), 1337448300: ('0.04358435778758326',), 1337448250: ('0.04358435778758326',), 1337448247: ('0.04358435778758326',), 1337448245: ('0.04358435778758326',), 1337448209: ('0.04358435778758326',), 1337448206: ('0.04358435778758326',), 1337448203: ('0.04358435778758326',), 1337448201: ('0.04358435778758326',), 1337448163: ('0.04358435778758326',), 1337448160: ('0.04358435778758326',), 1337448147: ('0.04358435778758326',), 1337448127: ('0.04358435778758326',), 1337448081: ('0.04358435778758326',), 1337448079: ('0.04358435778758326',), 1337448059: ('0.04358435778758326',), 1337448056: ('0.04358435778758326',), 1337448053: ('0.04358435778758326',), 1337448051: ('0.04358435778758326',), 1337448028: ('0.04358435778758326',), 1337448026: ('0.04358435778758326',), 1337448024: ('0.04358435778758326',), 1337448022: ('0.04358435778758326',), 1337448021: ('0.04358435778758326',), 1337447990: ('0.04358435778758326',), 1337447989: ('0.04358435778758326',), 1337447966: ('0.04358435778758326',), 1337447963: ('0.04358435778758326',), 1337447960: ('0.04358435778758326',), 1337447956: ('0.04358435778758326',), 1337447954: ('0.04358435778758326',)} args : 1337448336 depend.output_id : 0 input_args_next_step : {1337448382: ('0.04358435778758326',), 1337448346: ('0.04358435778758326',), 1337448345: ('0.04358435778758326',), 1337448337: ('0.04358435778758326',), 1337448336: ('0.04358435778758326',), 1337448332: ()} output_args : {1337448382: ('0.04358435778758326',), 1337448346: ('0.04358435778758326',), 1337448345: ('0.04358435778758326',), 1337448337: ('0.04358435778758326',), 1337448336: ('0.04358435778758326',), 1337448332: ('0.04358435778758326',), 1337448331: ('0.04358435778758326',), 1337448319: ('0.04358435778758326',), 1337448314: ('0.04358435778758326',), 1337448308: ('0.04358435778758326',), 1337448304: ('0.04358435778758326',), 1337448300: ('0.04358435778758326',), 1337448250: ('0.04358435778758326',), 1337448247: ('0.04358435778758326',), 1337448245: ('0.04358435778758326',), 1337448209: ('0.04358435778758326',), 1337448206: ('0.04358435778758326',), 1337448203: ('0.04358435778758326',), 1337448201: ('0.04358435778758326',), 1337448163: ('0.04358435778758326',), 1337448160: ('0.04358435778758326',), 1337448147: ('0.04358435778758326',), 1337448127: ('0.04358435778758326',), 1337448081: ('0.04358435778758326',), 1337448079: ('0.04358435778758326',), 1337448059: ('0.04358435778758326',), 1337448056: ('0.04358435778758326',), 1337448053: ('0.04358435778758326',), 1337448051: ('0.04358435778758326',), 1337448028: ('0.04358435778758326',), 1337448026: ('0.04358435778758326',), 1337448024: ('0.04358435778758326',), 1337448022: ('0.04358435778758326',), 1337448021: ('0.04358435778758326',), 1337447990: ('0.04358435778758326',), 1337447989: ('0.04358435778758326',), 1337447966: ('0.04358435778758326',), 1337447963: ('0.04358435778758326',), 1337447960: ('0.04358435778758326',), 1337447956: ('0.04358435778758326',), 1337447954: ('0.04358435778758326',)} args : 1337448332 depend.output_id : 0 input_args_next_step : {1337448382: ('0.04358435778758326',), 1337448346: ('0.04358435778758326',), 1337448345: ('0.04358435778758326',), 1337448337: ('0.04358435778758326',), 1337448336: ('0.04358435778758326',), 1337448332: ('0.04358435778758326',), 1337448331: ()} output_args : {1337448382: ('0.04358435778758326',), 1337448346: ('0.04358435778758326',), 1337448345: ('0.04358435778758326',), 1337448337: ('0.04358435778758326',), 1337448336: ('0.04358435778758326',), 1337448332: ('0.04358435778758326',), 1337448331: ('0.04358435778758326',), 1337448319: ('0.04358435778758326',), 1337448314: ('0.04358435778758326',), 1337448308: ('0.04358435778758326',), 1337448304: ('0.04358435778758326',), 1337448300: ('0.04358435778758326',), 1337448250: ('0.04358435778758326',), 1337448247: ('0.04358435778758326',), 1337448245: ('0.04358435778758326',), 1337448209: ('0.04358435778758326',), 1337448206: ('0.04358435778758326',), 1337448203: ('0.04358435778758326',), 1337448201: ('0.04358435778758326',), 1337448163: ('0.04358435778758326',), 1337448160: ('0.04358435778758326',), 1337448147: ('0.04358435778758326',), 1337448127: ('0.04358435778758326',), 1337448081: ('0.04358435778758326',), 1337448079: ('0.04358435778758326',), 1337448059: ('0.04358435778758326',), 1337448056: ('0.04358435778758326',), 1337448053: ('0.04358435778758326',), 1337448051: ('0.04358435778758326',), 1337448028: ('0.04358435778758326',), 1337448026: ('0.04358435778758326',), 1337448024: ('0.04358435778758326',), 1337448022: ('0.04358435778758326',), 1337448021: ('0.04358435778758326',), 1337447990: ('0.04358435778758326',), 1337447989: ('0.04358435778758326',), 1337447966: ('0.04358435778758326',), 1337447963: ('0.04358435778758326',), 1337447960: ('0.04358435778758326',), 1337447956: ('0.04358435778758326',), 1337447954: ('0.04358435778758326',)} args : 1337448331 depend.output_id : 0 input_args_next_step : {1337448382: ('0.04358435778758326',), 1337448346: ('0.04358435778758326',), 1337448345: ('0.04358435778758326',), 1337448337: ('0.04358435778758326',), 1337448336: ('0.04358435778758326',), 1337448332: ('0.04358435778758326',), 1337448331: ('0.04358435778758326',), 1337448319: ()} output_args : {1337448382: ('0.04358435778758326',), 1337448346: ('0.04358435778758326',), 1337448345: ('0.04358435778758326',), 1337448337: ('0.04358435778758326',), 1337448336: ('0.04358435778758326',), 1337448332: ('0.04358435778758326',), 1337448331: ('0.04358435778758326',), 1337448319: ('0.04358435778758326',), 1337448314: ('0.04358435778758326',), 1337448308: ('0.04358435778758326',), 1337448304: ('0.04358435778758326',), 1337448300: ('0.04358435778758326',), 1337448250: ('0.04358435778758326',), 1337448247: ('0.04358435778758326',), 1337448245: ('0.04358435778758326',), 1337448209: ('0.04358435778758326',), 1337448206: ('0.04358435778758326',), 1337448203: ('0.04358435778758326',), 1337448201: ('0.04358435778758326',), 1337448163: ('0.04358435778758326',), 1337448160: ('0.04358435778758326',), 1337448147: ('0.04358435778758326',), 1337448127: ('0.04358435778758326',), 1337448081: ('0.04358435778758326',), 1337448079: ('0.04358435778758326',), 1337448059: ('0.04358435778758326',), 1337448056: ('0.04358435778758326',), 1337448053: ('0.04358435778758326',), 1337448051: ('0.04358435778758326',), 1337448028: ('0.04358435778758326',), 1337448026: ('0.04358435778758326',), 1337448024: ('0.04358435778758326',), 1337448022: ('0.04358435778758326',), 1337448021: ('0.04358435778758326',), 1337447990: ('0.04358435778758326',), 1337447989: ('0.04358435778758326',), 1337447966: ('0.04358435778758326',), 1337447963: ('0.04358435778758326',), 1337447960: ('0.04358435778758326',), 1337447956: ('0.04358435778758326',), 1337447954: ('0.04358435778758326',)} args : 1337448319 depend.output_id : 0 input_args_next_step : {1337448382: ('0.04358435778758326',), 1337448346: ('0.04358435778758326',), 1337448345: ('0.04358435778758326',), 1337448337: ('0.04358435778758326',), 1337448336: ('0.04358435778758326',), 1337448332: ('0.04358435778758326',), 1337448331: ('0.04358435778758326',), 1337448319: ('0.04358435778758326',), 1337448314: ()} output_args : {1337448382: ('0.04358435778758326',), 1337448346: ('0.04358435778758326',), 1337448345: ('0.04358435778758326',), 1337448337: ('0.04358435778758326',), 1337448336: ('0.04358435778758326',), 1337448332: ('0.04358435778758326',), 1337448331: ('0.04358435778758326',), 1337448319: ('0.04358435778758326',), 1337448314: ('0.04358435778758326',), 1337448308: ('0.04358435778758326',), 1337448304: ('0.04358435778758326',), 1337448300: ('0.04358435778758326',), 1337448250: ('0.04358435778758326',), 1337448247: ('0.04358435778758326',), 1337448245: ('0.04358435778758326',), 1337448209: ('0.04358435778758326',), 1337448206: ('0.04358435778758326',), 1337448203: ('0.04358435778758326',), 1337448201: ('0.04358435778758326',), 1337448163: ('0.04358435778758326',), 1337448160: ('0.04358435778758326',), 1337448147: ('0.04358435778758326',), 1337448127: ('0.04358435778758326',), 1337448081: ('0.04358435778758326',), 1337448079: ('0.04358435778758326',), 1337448059: ('0.04358435778758326',), 1337448056: ('0.04358435778758326',), 1337448053: ('0.04358435778758326',), 1337448051: ('0.04358435778758326',), 1337448028: ('0.04358435778758326',), 1337448026: ('0.04358435778758326',), 1337448024: ('0.04358435778758326',), 1337448022: ('0.04358435778758326',), 1337448021: ('0.04358435778758326',), 1337447990: ('0.04358435778758326',), 1337447989: ('0.04358435778758326',), 1337447966: ('0.04358435778758326',), 1337447963: ('0.04358435778758326',), 1337447960: ('0.04358435778758326',), 1337447956: ('0.04358435778758326',), 1337447954: ('0.04358435778758326',)} args : 1337448314 depend.output_id : 0 input_args_next_step : {1337448382: ('0.04358435778758326',), 1337448346: ('0.04358435778758326',), 1337448345: ('0.04358435778758326',), 1337448337: ('0.04358435778758326',), 1337448336: ('0.04358435778758326',), 1337448332: ('0.04358435778758326',), 1337448331: ('0.04358435778758326',), 1337448319: ('0.04358435778758326',), 1337448314: ('0.04358435778758326',), 1337448308: ()} output_args : {1337448382: ('0.04358435778758326',), 1337448346: ('0.04358435778758326',), 1337448345: ('0.04358435778758326',), 1337448337: ('0.04358435778758326',), 1337448336: ('0.04358435778758326',), 1337448332: ('0.04358435778758326',), 1337448331: ('0.04358435778758326',), 1337448319: ('0.04358435778758326',), 1337448314: ('0.04358435778758326',), 1337448308: ('0.04358435778758326',), 1337448304: ('0.04358435778758326',), 1337448300: ('0.04358435778758326',), 1337448250: ('0.04358435778758326',), 1337448247: ('0.04358435778758326',), 1337448245: ('0.04358435778758326',), 1337448209: ('0.04358435778758326',), 1337448206: ('0.04358435778758326',), 1337448203: ('0.04358435778758326',), 1337448201: ('0.04358435778758326',), 1337448163: ('0.04358435778758326',), 1337448160: ('0.04358435778758326',), 1337448147: ('0.04358435778758326',), 1337448127: ('0.04358435778758326',), 1337448081: ('0.04358435778758326',), 1337448079: ('0.04358435778758326',), 1337448059: ('0.04358435778758326',), 1337448056: ('0.04358435778758326',), 1337448053: ('0.04358435778758326',), 1337448051: ('0.04358435778758326',), 1337448028: ('0.04358435778758326',), 1337448026: ('0.04358435778758326',), 1337448024: ('0.04358435778758326',), 1337448022: ('0.04358435778758326',), 1337448021: ('0.04358435778758326',), 1337447990: ('0.04358435778758326',), 1337447989: ('0.04358435778758326',), 1337447966: ('0.04358435778758326',), 1337447963: ('0.04358435778758326',), 1337447960: ('0.04358435778758326',), 1337447956: ('0.04358435778758326',), 1337447954: ('0.04358435778758326',)} args : 1337448308 depend.output_id : 0 input_args_next_step : {1337448382: ('0.04358435778758326',), 1337448346: ('0.04358435778758326',), 1337448345: ('0.04358435778758326',), 1337448337: ('0.04358435778758326',), 1337448336: ('0.04358435778758326',), 1337448332: ('0.04358435778758326',), 1337448331: ('0.04358435778758326',), 1337448319: ('0.04358435778758326',), 1337448314: ('0.04358435778758326',), 1337448308: ('0.04358435778758326',), 1337448304: ()} output_args : {1337448382: ('0.04358435778758326',), 1337448346: ('0.04358435778758326',), 1337448345: ('0.04358435778758326',), 1337448337: ('0.04358435778758326',), 1337448336: ('0.04358435778758326',), 1337448332: ('0.04358435778758326',), 1337448331: ('0.04358435778758326',), 1337448319: ('0.04358435778758326',), 1337448314: ('0.04358435778758326',), 1337448308: ('0.04358435778758326',), 1337448304: ('0.04358435778758326',), 1337448300: ('0.04358435778758326',), 1337448250: ('0.04358435778758326',), 1337448247: ('0.04358435778758326',), 1337448245: ('0.04358435778758326',), 1337448209: ('0.04358435778758326',), 1337448206: ('0.04358435778758326',), 1337448203: ('0.04358435778758326',), 1337448201: ('0.04358435778758326',), 1337448163: ('0.04358435778758326',), 1337448160: ('0.04358435778758326',), 1337448147: ('0.04358435778758326',), 1337448127: ('0.04358435778758326',), 1337448081: ('0.04358435778758326',), 1337448079: ('0.04358435778758326',), 1337448059: ('0.04358435778758326',), 1337448056: ('0.04358435778758326',), 1337448053: ('0.04358435778758326',), 1337448051: ('0.04358435778758326',), 1337448028: ('0.04358435778758326',), 1337448026: ('0.04358435778758326',), 1337448024: ('0.04358435778758326',), 1337448022: ('0.04358435778758326',), 1337448021: ('0.04358435778758326',), 1337447990: ('0.04358435778758326',), 1337447989: ('0.04358435778758326',), 1337447966: ('0.04358435778758326',), 1337447963: ('0.04358435778758326',), 1337447960: ('0.04358435778758326',), 1337447956: ('0.04358435778758326',), 1337447954: ('0.04358435778758326',)} args : 1337448304 depend.output_id : 0 input_args_next_step : {1337448382: ('0.04358435778758326',), 1337448346: ('0.04358435778758326',), 1337448345: ('0.04358435778758326',), 1337448337: ('0.04358435778758326',), 1337448336: ('0.04358435778758326',), 1337448332: ('0.04358435778758326',), 1337448331: ('0.04358435778758326',), 1337448319: ('0.04358435778758326',), 1337448314: ('0.04358435778758326',), 1337448308: ('0.04358435778758326',), 1337448304: ('0.04358435778758326',), 1337448300: ()} output_args : {1337448382: ('0.04358435778758326',), 1337448346: ('0.04358435778758326',), 1337448345: ('0.04358435778758326',), 1337448337: ('0.04358435778758326',), 1337448336: ('0.04358435778758326',), 1337448332: ('0.04358435778758326',), 1337448331: ('0.04358435778758326',), 1337448319: ('0.04358435778758326',), 1337448314: ('0.04358435778758326',), 1337448308: ('0.04358435778758326',), 1337448304: ('0.04358435778758326',), 1337448300: ('0.04358435778758326',), 1337448250: ('0.04358435778758326',), 1337448247: ('0.04358435778758326',), 1337448245: ('0.04358435778758326',), 1337448209: ('0.04358435778758326',), 1337448206: ('0.04358435778758326',), 1337448203: ('0.04358435778758326',), 1337448201: ('0.04358435778758326',), 1337448163: ('0.04358435778758326',), 1337448160: ('0.04358435778758326',), 1337448147: ('0.04358435778758326',), 1337448127: ('0.04358435778758326',), 1337448081: ('0.04358435778758326',), 1337448079: ('0.04358435778758326',), 1337448059: ('0.04358435778758326',), 1337448056: ('0.04358435778758326',), 1337448053: ('0.04358435778758326',), 1337448051: ('0.04358435778758326',), 1337448028: ('0.04358435778758326',), 1337448026: ('0.04358435778758326',), 1337448024: ('0.04358435778758326',), 1337448022: ('0.04358435778758326',), 1337448021: ('0.04358435778758326',), 1337447990: ('0.04358435778758326',), 1337447989: ('0.04358435778758326',), 1337447966: ('0.04358435778758326',), 1337447963: ('0.04358435778758326',), 1337447960: ('0.04358435778758326',), 1337447956: ('0.04358435778758326',), 1337447954: ('0.04358435778758326',)} args : 1337448300 depend.output_id : 0 input_args_next_step : {1337448382: ('0.04358435778758326',), 1337448346: ('0.04358435778758326',), 1337448345: ('0.04358435778758326',), 1337448337: ('0.04358435778758326',), 1337448336: ('0.04358435778758326',), 1337448332: ('0.04358435778758326',), 1337448331: ('0.04358435778758326',), 1337448319: ('0.04358435778758326',), 1337448314: ('0.04358435778758326',), 1337448308: ('0.04358435778758326',), 1337448304: ('0.04358435778758326',), 1337448300: ('0.04358435778758326',), 1337448250: ()} output_args : {1337448382: ('0.04358435778758326',), 1337448346: ('0.04358435778758326',), 1337448345: ('0.04358435778758326',), 1337448337: ('0.04358435778758326',), 1337448336: ('0.04358435778758326',), 1337448332: ('0.04358435778758326',), 1337448331: ('0.04358435778758326',), 1337448319: ('0.04358435778758326',), 1337448314: ('0.04358435778758326',), 1337448308: ('0.04358435778758326',), 1337448304: ('0.04358435778758326',), 1337448300: ('0.04358435778758326',), 1337448250: ('0.04358435778758326',), 1337448247: ('0.04358435778758326',), 1337448245: ('0.04358435778758326',), 1337448209: ('0.04358435778758326',), 1337448206: ('0.04358435778758326',), 1337448203: ('0.04358435778758326',), 1337448201: ('0.04358435778758326',), 1337448163: ('0.04358435778758326',), 1337448160: ('0.04358435778758326',), 1337448147: ('0.04358435778758326',), 1337448127: ('0.04358435778758326',), 1337448081: ('0.04358435778758326',), 1337448079: ('0.04358435778758326',), 1337448059: ('0.04358435778758326',), 1337448056: ('0.04358435778758326',), 1337448053: ('0.04358435778758326',), 1337448051: ('0.04358435778758326',), 1337448028: ('0.04358435778758326',), 1337448026: ('0.04358435778758326',), 1337448024: ('0.04358435778758326',), 1337448022: ('0.04358435778758326',), 1337448021: ('0.04358435778758326',), 1337447990: ('0.04358435778758326',), 1337447989: ('0.04358435778758326',), 1337447966: ('0.04358435778758326',), 1337447963: ('0.04358435778758326',), 1337447960: ('0.04358435778758326',), 1337447956: ('0.04358435778758326',), 1337447954: ('0.04358435778758326',)} args : 1337448250 depend.output_id : 0 input_args_next_step : {1337448382: ('0.04358435778758326',), 1337448346: ('0.04358435778758326',), 1337448345: ('0.04358435778758326',), 1337448337: ('0.04358435778758326',), 1337448336: ('0.04358435778758326',), 1337448332: ('0.04358435778758326',), 1337448331: ('0.04358435778758326',), 1337448319: ('0.04358435778758326',), 1337448314: ('0.04358435778758326',), 1337448308: ('0.04358435778758326',), 1337448304: ('0.04358435778758326',), 1337448300: ('0.04358435778758326',), 1337448250: ('0.04358435778758326',), 1337448247: ()} output_args : {1337448382: ('0.04358435778758326',), 1337448346: ('0.04358435778758326',), 1337448345: ('0.04358435778758326',), 1337448337: ('0.04358435778758326',), 1337448336: ('0.04358435778758326',), 1337448332: ('0.04358435778758326',), 1337448331: ('0.04358435778758326',), 1337448319: ('0.04358435778758326',), 1337448314: ('0.04358435778758326',), 1337448308: ('0.04358435778758326',), 1337448304: ('0.04358435778758326',), 1337448300: ('0.04358435778758326',), 1337448250: ('0.04358435778758326',), 1337448247: ('0.04358435778758326',), 1337448245: ('0.04358435778758326',), 1337448209: ('0.04358435778758326',), 1337448206: ('0.04358435778758326',), 1337448203: ('0.04358435778758326',), 1337448201: ('0.04358435778758326',), 1337448163: ('0.04358435778758326',), 1337448160: ('0.04358435778758326',), 1337448147: ('0.04358435778758326',), 1337448127: ('0.04358435778758326',), 1337448081: ('0.04358435778758326',), 1337448079: ('0.04358435778758326',), 1337448059: ('0.04358435778758326',), 1337448056: ('0.04358435778758326',), 1337448053: ('0.04358435778758326',), 1337448051: ('0.04358435778758326',), 1337448028: ('0.04358435778758326',), 1337448026: ('0.04358435778758326',), 1337448024: ('0.04358435778758326',), 1337448022: ('0.04358435778758326',), 1337448021: ('0.04358435778758326',), 1337447990: ('0.04358435778758326',), 1337447989: ('0.04358435778758326',), 1337447966: ('0.04358435778758326',), 1337447963: ('0.04358435778758326',), 1337447960: ('0.04358435778758326',), 1337447956: ('0.04358435778758326',), 1337447954: ('0.04358435778758326',)} args : 1337448247 depend.output_id : 0 input_args_next_step : {1337448382: ('0.04358435778758326',), 1337448346: ('0.04358435778758326',), 1337448345: ('0.04358435778758326',), 1337448337: ('0.04358435778758326',), 1337448336: ('0.04358435778758326',), 1337448332: ('0.04358435778758326',), 1337448331: ('0.04358435778758326',), 1337448319: ('0.04358435778758326',), 1337448314: ('0.04358435778758326',), 1337448308: ('0.04358435778758326',), 1337448304: ('0.04358435778758326',), 1337448300: ('0.04358435778758326',), 1337448250: ('0.04358435778758326',), 1337448247: ('0.04358435778758326',), 1337448245: ()} output_args : {1337448382: ('0.04358435778758326',), 1337448346: ('0.04358435778758326',), 1337448345: ('0.04358435778758326',), 1337448337: ('0.04358435778758326',), 1337448336: ('0.04358435778758326',), 1337448332: ('0.04358435778758326',), 1337448331: ('0.04358435778758326',), 1337448319: ('0.04358435778758326',), 1337448314: ('0.04358435778758326',), 1337448308: ('0.04358435778758326',), 1337448304: ('0.04358435778758326',), 1337448300: ('0.04358435778758326',), 1337448250: ('0.04358435778758326',), 1337448247: ('0.04358435778758326',), 1337448245: ('0.04358435778758326',), 1337448209: ('0.04358435778758326',), 1337448206: ('0.04358435778758326',), 1337448203: ('0.04358435778758326',), 1337448201: ('0.04358435778758326',), 1337448163: ('0.04358435778758326',), 1337448160: ('0.04358435778758326',), 1337448147: ('0.04358435778758326',), 1337448127: ('0.04358435778758326',), 1337448081: ('0.04358435778758326',), 1337448079: ('0.04358435778758326',), 1337448059: ('0.04358435778758326',), 1337448056: ('0.04358435778758326',), 1337448053: ('0.04358435778758326',), 1337448051: ('0.04358435778758326',), 1337448028: ('0.04358435778758326',), 1337448026: ('0.04358435778758326',), 1337448024: ('0.04358435778758326',), 1337448022: ('0.04358435778758326',), 1337448021: ('0.04358435778758326',), 1337447990: ('0.04358435778758326',), 1337447989: ('0.04358435778758326',), 1337447966: ('0.04358435778758326',), 1337447963: ('0.04358435778758326',), 1337447960: ('0.04358435778758326',), 1337447956: ('0.04358435778758326',), 1337447954: ('0.04358435778758326',)} args : 1337448245 depend.output_id : 0 input_args_next_step : {1337448382: ('0.04358435778758326',), 1337448346: ('0.04358435778758326',), 1337448345: ('0.04358435778758326',), 1337448337: ('0.04358435778758326',), 1337448336: ('0.04358435778758326',), 1337448332: ('0.04358435778758326',), 1337448331: ('0.04358435778758326',), 1337448319: ('0.04358435778758326',), 1337448314: ('0.04358435778758326',), 1337448308: ('0.04358435778758326',), 1337448304: ('0.04358435778758326',), 1337448300: ('0.04358435778758326',), 1337448250: ('0.04358435778758326',), 1337448247: ('0.04358435778758326',), 1337448245: ('0.04358435778758326',), 1337448209: ()} output_args : {1337448382: ('0.04358435778758326',), 1337448346: ('0.04358435778758326',), 1337448345: ('0.04358435778758326',), 1337448337: ('0.04358435778758326',), 1337448336: ('0.04358435778758326',), 1337448332: ('0.04358435778758326',), 1337448331: ('0.04358435778758326',), 1337448319: ('0.04358435778758326',), 1337448314: ('0.04358435778758326',), 1337448308: ('0.04358435778758326',), 1337448304: ('0.04358435778758326',), 1337448300: ('0.04358435778758326',), 1337448250: ('0.04358435778758326',), 1337448247: ('0.04358435778758326',), 1337448245: ('0.04358435778758326',), 1337448209: ('0.04358435778758326',), 1337448206: ('0.04358435778758326',), 1337448203: ('0.04358435778758326',), 1337448201: ('0.04358435778758326',), 1337448163: ('0.04358435778758326',), 1337448160: ('0.04358435778758326',), 1337448147: ('0.04358435778758326',), 1337448127: ('0.04358435778758326',), 1337448081: ('0.04358435778758326',), 1337448079: ('0.04358435778758326',), 1337448059: ('0.04358435778758326',), 1337448056: ('0.04358435778758326',), 1337448053: ('0.04358435778758326',), 1337448051: ('0.04358435778758326',), 1337448028: ('0.04358435778758326',), 1337448026: ('0.04358435778758326',), 1337448024: ('0.04358435778758326',), 1337448022: ('0.04358435778758326',), 1337448021: ('0.04358435778758326',), 1337447990: ('0.04358435778758326',), 1337447989: ('0.04358435778758326',), 1337447966: ('0.04358435778758326',), 1337447963: ('0.04358435778758326',), 1337447960: ('0.04358435778758326',), 1337447956: ('0.04358435778758326',), 1337447954: ('0.04358435778758326',)} args : 1337448209 depend.output_id : 0 input_args_next_step : {1337448382: ('0.04358435778758326',), 1337448346: ('0.04358435778758326',), 1337448345: ('0.04358435778758326',), 1337448337: ('0.04358435778758326',), 1337448336: ('0.04358435778758326',), 1337448332: ('0.04358435778758326',), 1337448331: ('0.04358435778758326',), 1337448319: ('0.04358435778758326',), 1337448314: ('0.04358435778758326',), 1337448308: ('0.04358435778758326',), 1337448304: ('0.04358435778758326',), 1337448300: ('0.04358435778758326',), 1337448250: ('0.04358435778758326',), 1337448247: ('0.04358435778758326',), 1337448245: ('0.04358435778758326',), 1337448209: ('0.04358435778758326',), 1337448206: ()} output_args : {1337448382: ('0.04358435778758326',), 1337448346: ('0.04358435778758326',), 1337448345: ('0.04358435778758326',), 1337448337: ('0.04358435778758326',), 1337448336: ('0.04358435778758326',), 1337448332: ('0.04358435778758326',), 1337448331: ('0.04358435778758326',), 1337448319: ('0.04358435778758326',), 1337448314: ('0.04358435778758326',), 1337448308: ('0.04358435778758326',), 1337448304: ('0.04358435778758326',), 1337448300: ('0.04358435778758326',), 1337448250: ('0.04358435778758326',), 1337448247: ('0.04358435778758326',), 1337448245: ('0.04358435778758326',), 1337448209: ('0.04358435778758326',), 1337448206: ('0.04358435778758326',), 1337448203: ('0.04358435778758326',), 1337448201: ('0.04358435778758326',), 1337448163: ('0.04358435778758326',), 1337448160: ('0.04358435778758326',), 1337448147: ('0.04358435778758326',), 1337448127: ('0.04358435778758326',), 1337448081: ('0.04358435778758326',), 1337448079: ('0.04358435778758326',), 1337448059: ('0.04358435778758326',), 1337448056: ('0.04358435778758326',), 1337448053: ('0.04358435778758326',), 1337448051: ('0.04358435778758326',), 1337448028: ('0.04358435778758326',), 1337448026: ('0.04358435778758326',), 1337448024: ('0.04358435778758326',), 1337448022: ('0.04358435778758326',), 1337448021: ('0.04358435778758326',), 1337447990: ('0.04358435778758326',), 1337447989: ('0.04358435778758326',), 1337447966: ('0.04358435778758326',), 1337447963: ('0.04358435778758326',), 1337447960: ('0.04358435778758326',), 1337447956: ('0.04358435778758326',), 1337447954: ('0.04358435778758326',)} args : 1337448206 depend.output_id : 0 input_args_next_step : {1337448382: ('0.04358435778758326',), 1337448346: ('0.04358435778758326',), 1337448345: ('0.04358435778758326',), 1337448337: ('0.04358435778758326',), 1337448336: ('0.04358435778758326',), 1337448332: ('0.04358435778758326',), 1337448331: ('0.04358435778758326',), 1337448319: ('0.04358435778758326',), 1337448314: ('0.04358435778758326',), 1337448308: ('0.04358435778758326',), 1337448304: ('0.04358435778758326',), 1337448300: ('0.04358435778758326',), 1337448250: ('0.04358435778758326',), 1337448247: ('0.04358435778758326',), 1337448245: ('0.04358435778758326',), 1337448209: ('0.04358435778758326',), 1337448206: ('0.04358435778758326',), 1337448203: ()} output_args : {1337448382: ('0.04358435778758326',), 1337448346: ('0.04358435778758326',), 1337448345: ('0.04358435778758326',), 1337448337: ('0.04358435778758326',), 1337448336: ('0.04358435778758326',), 1337448332: ('0.04358435778758326',), 1337448331: ('0.04358435778758326',), 1337448319: ('0.04358435778758326',), 1337448314: ('0.04358435778758326',), 1337448308: ('0.04358435778758326',), 1337448304: ('0.04358435778758326',), 1337448300: ('0.04358435778758326',), 1337448250: ('0.04358435778758326',), 1337448247: ('0.04358435778758326',), 1337448245: ('0.04358435778758326',), 1337448209: ('0.04358435778758326',), 1337448206: ('0.04358435778758326',), 1337448203: ('0.04358435778758326',), 1337448201: ('0.04358435778758326',), 1337448163: ('0.04358435778758326',), 1337448160: ('0.04358435778758326',), 1337448147: ('0.04358435778758326',), 1337448127: ('0.04358435778758326',), 1337448081: ('0.04358435778758326',), 1337448079: ('0.04358435778758326',), 1337448059: ('0.04358435778758326',), 1337448056: ('0.04358435778758326',), 1337448053: ('0.04358435778758326',), 1337448051: ('0.04358435778758326',), 1337448028: ('0.04358435778758326',), 1337448026: ('0.04358435778758326',), 1337448024: ('0.04358435778758326',), 1337448022: ('0.04358435778758326',), 1337448021: ('0.04358435778758326',), 1337447990: ('0.04358435778758326',), 1337447989: ('0.04358435778758326',), 1337447966: ('0.04358435778758326',), 1337447963: ('0.04358435778758326',), 1337447960: ('0.04358435778758326',), 1337447956: ('0.04358435778758326',), 1337447954: ('0.04358435778758326',)} args : 1337448203 depend.output_id : 0 input_args_next_step : {1337448382: ('0.04358435778758326',), 1337448346: ('0.04358435778758326',), 1337448345: ('0.04358435778758326',), 1337448337: ('0.04358435778758326',), 1337448336: ('0.04358435778758326',), 1337448332: ('0.04358435778758326',), 1337448331: ('0.04358435778758326',), 1337448319: ('0.04358435778758326',), 1337448314: ('0.04358435778758326',), 1337448308: ('0.04358435778758326',), 1337448304: ('0.04358435778758326',), 1337448300: ('0.04358435778758326',), 1337448250: ('0.04358435778758326',), 1337448247: ('0.04358435778758326',), 1337448245: ('0.04358435778758326',), 1337448209: ('0.04358435778758326',), 1337448206: ('0.04358435778758326',), 1337448203: ('0.04358435778758326',), 1337448201: ()} output_args : {1337448382: ('0.04358435778758326',), 1337448346: ('0.04358435778758326',), 1337448345: ('0.04358435778758326',), 1337448337: ('0.04358435778758326',), 1337448336: ('0.04358435778758326',), 1337448332: ('0.04358435778758326',), 1337448331: ('0.04358435778758326',), 1337448319: ('0.04358435778758326',), 1337448314: ('0.04358435778758326',), 1337448308: ('0.04358435778758326',), 1337448304: ('0.04358435778758326',), 1337448300: ('0.04358435778758326',), 1337448250: ('0.04358435778758326',), 1337448247: ('0.04358435778758326',), 1337448245: ('0.04358435778758326',), 1337448209: ('0.04358435778758326',), 1337448206: ('0.04358435778758326',), 1337448203: ('0.04358435778758326',), 1337448201: ('0.04358435778758326',), 1337448163: ('0.04358435778758326',), 1337448160: ('0.04358435778758326',), 1337448147: ('0.04358435778758326',), 1337448127: ('0.04358435778758326',), 1337448081: ('0.04358435778758326',), 1337448079: ('0.04358435778758326',), 1337448059: ('0.04358435778758326',), 1337448056: ('0.04358435778758326',), 1337448053: ('0.04358435778758326',), 1337448051: ('0.04358435778758326',), 1337448028: ('0.04358435778758326',), 1337448026: ('0.04358435778758326',), 1337448024: ('0.04358435778758326',), 1337448022: ('0.04358435778758326',), 1337448021: ('0.04358435778758326',), 1337447990: ('0.04358435778758326',), 1337447989: ('0.04358435778758326',), 1337447966: ('0.04358435778758326',), 1337447963: ('0.04358435778758326',), 1337447960: ('0.04358435778758326',), 1337447956: ('0.04358435778758326',), 1337447954: ('0.04358435778758326',)} args : 1337448201 depend.output_id : 0 input_args_next_step : {1337448382: ('0.04358435778758326',), 1337448346: ('0.04358435778758326',), 1337448345: ('0.04358435778758326',), 1337448337: ('0.04358435778758326',), 1337448336: ('0.04358435778758326',), 1337448332: ('0.04358435778758326',), 1337448331: ('0.04358435778758326',), 1337448319: ('0.04358435778758326',), 1337448314: ('0.04358435778758326',), 1337448308: ('0.04358435778758326',), 1337448304: ('0.04358435778758326',), 1337448300: ('0.04358435778758326',), 1337448250: ('0.04358435778758326',), 1337448247: ('0.04358435778758326',), 1337448245: ('0.04358435778758326',), 1337448209: ('0.04358435778758326',), 1337448206: ('0.04358435778758326',), 1337448203: ('0.04358435778758326',), 1337448201: ('0.04358435778758326',), 1337448163: ()} output_args : {1337448382: ('0.04358435778758326',), 1337448346: ('0.04358435778758326',), 1337448345: ('0.04358435778758326',), 1337448337: ('0.04358435778758326',), 1337448336: ('0.04358435778758326',), 1337448332: ('0.04358435778758326',), 1337448331: ('0.04358435778758326',), 1337448319: ('0.04358435778758326',), 1337448314: ('0.04358435778758326',), 1337448308: ('0.04358435778758326',), 1337448304: ('0.04358435778758326',), 1337448300: ('0.04358435778758326',), 1337448250: ('0.04358435778758326',), 1337448247: ('0.04358435778758326',), 1337448245: ('0.04358435778758326',), 1337448209: ('0.04358435778758326',), 1337448206: ('0.04358435778758326',), 1337448203: ('0.04358435778758326',), 1337448201: ('0.04358435778758326',), 1337448163: ('0.04358435778758326',), 1337448160: ('0.04358435778758326',), 1337448147: ('0.04358435778758326',), 1337448127: ('0.04358435778758326',), 1337448081: ('0.04358435778758326',), 1337448079: ('0.04358435778758326',), 1337448059: ('0.04358435778758326',), 1337448056: ('0.04358435778758326',), 1337448053: ('0.04358435778758326',), 1337448051: ('0.04358435778758326',), 1337448028: ('0.04358435778758326',), 1337448026: ('0.04358435778758326',), 1337448024: ('0.04358435778758326',), 1337448022: ('0.04358435778758326',), 1337448021: ('0.04358435778758326',), 1337447990: ('0.04358435778758326',), 1337447989: ('0.04358435778758326',), 1337447966: ('0.04358435778758326',), 1337447963: ('0.04358435778758326',), 1337447960: ('0.04358435778758326',), 1337447956: ('0.04358435778758326',), 1337447954: ('0.04358435778758326',)} args : 1337448163 depend.output_id : 0 input_args_next_step : {1337448382: ('0.04358435778758326',), 1337448346: ('0.04358435778758326',), 1337448345: ('0.04358435778758326',), 1337448337: ('0.04358435778758326',), 1337448336: ('0.04358435778758326',), 1337448332: ('0.04358435778758326',), 1337448331: ('0.04358435778758326',), 1337448319: ('0.04358435778758326',), 1337448314: ('0.04358435778758326',), 1337448308: ('0.04358435778758326',), 1337448304: ('0.04358435778758326',), 1337448300: ('0.04358435778758326',), 1337448250: ('0.04358435778758326',), 1337448247: ('0.04358435778758326',), 1337448245: ('0.04358435778758326',), 1337448209: ('0.04358435778758326',), 1337448206: ('0.04358435778758326',), 1337448203: ('0.04358435778758326',), 1337448201: ('0.04358435778758326',), 1337448163: ('0.04358435778758326',), 1337448160: ()} output_args : {1337448382: ('0.04358435778758326',), 1337448346: ('0.04358435778758326',), 1337448345: ('0.04358435778758326',), 1337448337: ('0.04358435778758326',), 1337448336: ('0.04358435778758326',), 1337448332: ('0.04358435778758326',), 1337448331: ('0.04358435778758326',), 1337448319: ('0.04358435778758326',), 1337448314: ('0.04358435778758326',), 1337448308: ('0.04358435778758326',), 1337448304: ('0.04358435778758326',), 1337448300: ('0.04358435778758326',), 1337448250: ('0.04358435778758326',), 1337448247: ('0.04358435778758326',), 1337448245: ('0.04358435778758326',), 1337448209: ('0.04358435778758326',), 1337448206: ('0.04358435778758326',), 1337448203: ('0.04358435778758326',), 1337448201: ('0.04358435778758326',), 1337448163: ('0.04358435778758326',), 1337448160: ('0.04358435778758326',), 1337448147: ('0.04358435778758326',), 1337448127: ('0.04358435778758326',), 1337448081: ('0.04358435778758326',), 1337448079: ('0.04358435778758326',), 1337448059: ('0.04358435778758326',), 1337448056: ('0.04358435778758326',), 1337448053: ('0.04358435778758326',), 1337448051: ('0.04358435778758326',), 1337448028: ('0.04358435778758326',), 1337448026: ('0.04358435778758326',), 1337448024: ('0.04358435778758326',), 1337448022: ('0.04358435778758326',), 1337448021: ('0.04358435778758326',), 1337447990: ('0.04358435778758326',), 1337447989: ('0.04358435778758326',), 1337447966: ('0.04358435778758326',), 1337447963: ('0.04358435778758326',), 1337447960: ('0.04358435778758326',), 1337447956: ('0.04358435778758326',), 1337447954: ('0.04358435778758326',)} args : 1337448160 depend.output_id : 0 input_args_next_step : {1337448382: ('0.04358435778758326',), 1337448346: ('0.04358435778758326',), 1337448345: ('0.04358435778758326',), 1337448337: ('0.04358435778758326',), 1337448336: ('0.04358435778758326',), 1337448332: ('0.04358435778758326',), 1337448331: ('0.04358435778758326',), 1337448319: ('0.04358435778758326',), 1337448314: ('0.04358435778758326',), 1337448308: ('0.04358435778758326',), 1337448304: ('0.04358435778758326',), 1337448300: ('0.04358435778758326',), 1337448250: ('0.04358435778758326',), 1337448247: ('0.04358435778758326',), 1337448245: ('0.04358435778758326',), 1337448209: ('0.04358435778758326',), 1337448206: ('0.04358435778758326',), 1337448203: ('0.04358435778758326',), 1337448201: ('0.04358435778758326',), 1337448163: ('0.04358435778758326',), 1337448160: ('0.04358435778758326',), 1337448147: ()} output_args : {1337448382: ('0.04358435778758326',), 1337448346: ('0.04358435778758326',), 1337448345: ('0.04358435778758326',), 1337448337: ('0.04358435778758326',), 1337448336: ('0.04358435778758326',), 1337448332: ('0.04358435778758326',), 1337448331: ('0.04358435778758326',), 1337448319: ('0.04358435778758326',), 1337448314: ('0.04358435778758326',), 1337448308: ('0.04358435778758326',), 1337448304: ('0.04358435778758326',), 1337448300: ('0.04358435778758326',), 1337448250: ('0.04358435778758326',), 1337448247: ('0.04358435778758326',), 1337448245: ('0.04358435778758326',), 1337448209: ('0.04358435778758326',), 1337448206: ('0.04358435778758326',), 1337448203: ('0.04358435778758326',), 1337448201: ('0.04358435778758326',), 1337448163: ('0.04358435778758326',), 1337448160: ('0.04358435778758326',), 1337448147: ('0.04358435778758326',), 1337448127: ('0.04358435778758326',), 1337448081: ('0.04358435778758326',), 1337448079: ('0.04358435778758326',), 1337448059: ('0.04358435778758326',), 1337448056: ('0.04358435778758326',), 1337448053: ('0.04358435778758326',), 1337448051: ('0.04358435778758326',), 1337448028: ('0.04358435778758326',), 1337448026: ('0.04358435778758326',), 1337448024: ('0.04358435778758326',), 1337448022: ('0.04358435778758326',), 1337448021: ('0.04358435778758326',), 1337447990: ('0.04358435778758326',), 1337447989: ('0.04358435778758326',), 1337447966: ('0.04358435778758326',), 1337447963: ('0.04358435778758326',), 1337447960: ('0.04358435778758326',), 1337447956: ('0.04358435778758326',), 1337447954: ('0.04358435778758326',)} args : 1337448147 depend.output_id : 0 input_args_next_step : {1337448382: ('0.04358435778758326',), 1337448346: ('0.04358435778758326',), 1337448345: ('0.04358435778758326',), 1337448337: ('0.04358435778758326',), 1337448336: ('0.04358435778758326',), 1337448332: ('0.04358435778758326',), 1337448331: ('0.04358435778758326',), 1337448319: ('0.04358435778758326',), 1337448314: ('0.04358435778758326',), 1337448308: ('0.04358435778758326',), 1337448304: ('0.04358435778758326',), 1337448300: ('0.04358435778758326',), 1337448250: ('0.04358435778758326',), 1337448247: ('0.04358435778758326',), 1337448245: ('0.04358435778758326',), 1337448209: ('0.04358435778758326',), 1337448206: ('0.04358435778758326',), 1337448203: ('0.04358435778758326',), 1337448201: ('0.04358435778758326',), 1337448163: ('0.04358435778758326',), 1337448160: ('0.04358435778758326',), 1337448147: ('0.04358435778758326',), 1337448127: ()} output_args : {1337448382: ('0.04358435778758326',), 1337448346: ('0.04358435778758326',), 1337448345: ('0.04358435778758326',), 1337448337: ('0.04358435778758326',), 1337448336: ('0.04358435778758326',), 1337448332: ('0.04358435778758326',), 1337448331: ('0.04358435778758326',), 1337448319: ('0.04358435778758326',), 1337448314: ('0.04358435778758326',), 1337448308: ('0.04358435778758326',), 1337448304: ('0.04358435778758326',), 1337448300: ('0.04358435778758326',), 1337448250: ('0.04358435778758326',), 1337448247: ('0.04358435778758326',), 1337448245: ('0.04358435778758326',), 1337448209: ('0.04358435778758326',), 1337448206: ('0.04358435778758326',), 1337448203: ('0.04358435778758326',), 1337448201: ('0.04358435778758326',), 1337448163: ('0.04358435778758326',), 1337448160: ('0.04358435778758326',), 1337448147: ('0.04358435778758326',), 1337448127: ('0.04358435778758326',), 1337448081: ('0.04358435778758326',), 1337448079: ('0.04358435778758326',), 1337448059: ('0.04358435778758326',), 1337448056: ('0.04358435778758326',), 1337448053: ('0.04358435778758326',), 1337448051: ('0.04358435778758326',), 1337448028: ('0.04358435778758326',), 1337448026: ('0.04358435778758326',), 1337448024: ('0.04358435778758326',), 1337448022: ('0.04358435778758326',), 1337448021: ('0.04358435778758326',), 1337447990: ('0.04358435778758326',), 1337447989: ('0.04358435778758326',), 1337447966: ('0.04358435778758326',), 1337447963: ('0.04358435778758326',), 1337447960: ('0.04358435778758326',), 1337447956: ('0.04358435778758326',), 1337447954: ('0.04358435778758326',)} args : 1337448127 depend.output_id : 0 input_args_next_step : {1337448382: ('0.04358435778758326',), 1337448346: ('0.04358435778758326',), 1337448345: ('0.04358435778758326',), 1337448337: ('0.04358435778758326',), 1337448336: ('0.04358435778758326',), 1337448332: ('0.04358435778758326',), 1337448331: ('0.04358435778758326',), 1337448319: ('0.04358435778758326',), 1337448314: ('0.04358435778758326',), 1337448308: ('0.04358435778758326',), 1337448304: ('0.04358435778758326',), 1337448300: ('0.04358435778758326',), 1337448250: ('0.04358435778758326',), 1337448247: ('0.04358435778758326',), 1337448245: ('0.04358435778758326',), 1337448209: ('0.04358435778758326',), 1337448206: ('0.04358435778758326',), 1337448203: ('0.04358435778758326',), 1337448201: ('0.04358435778758326',), 1337448163: ('0.04358435778758326',), 1337448160: ('0.04358435778758326',), 1337448147: ('0.04358435778758326',), 1337448127: ('0.04358435778758326',), 1337448081: ()} output_args : {1337448382: ('0.04358435778758326',), 1337448346: ('0.04358435778758326',), 1337448345: ('0.04358435778758326',), 1337448337: ('0.04358435778758326',), 1337448336: ('0.04358435778758326',), 1337448332: ('0.04358435778758326',), 1337448331: ('0.04358435778758326',), 1337448319: ('0.04358435778758326',), 1337448314: ('0.04358435778758326',), 1337448308: ('0.04358435778758326',), 1337448304: ('0.04358435778758326',), 1337448300: ('0.04358435778758326',), 1337448250: ('0.04358435778758326',), 1337448247: ('0.04358435778758326',), 1337448245: ('0.04358435778758326',), 1337448209: ('0.04358435778758326',), 1337448206: ('0.04358435778758326',), 1337448203: ('0.04358435778758326',), 1337448201: ('0.04358435778758326',), 1337448163: ('0.04358435778758326',), 1337448160: ('0.04358435778758326',), 1337448147: ('0.04358435778758326',), 1337448127: ('0.04358435778758326',), 1337448081: ('0.04358435778758326',), 1337448079: ('0.04358435778758326',), 1337448059: ('0.04358435778758326',), 1337448056: ('0.04358435778758326',), 1337448053: ('0.04358435778758326',), 1337448051: ('0.04358435778758326',), 1337448028: ('0.04358435778758326',), 1337448026: ('0.04358435778758326',), 1337448024: ('0.04358435778758326',), 1337448022: ('0.04358435778758326',), 1337448021: ('0.04358435778758326',), 1337447990: ('0.04358435778758326',), 1337447989: ('0.04358435778758326',), 1337447966: ('0.04358435778758326',), 1337447963: ('0.04358435778758326',), 1337447960: ('0.04358435778758326',), 1337447956: ('0.04358435778758326',), 1337447954: ('0.04358435778758326',)} args : 1337448081 depend.output_id : 0 input_args_next_step : {1337448382: ('0.04358435778758326',), 1337448346: ('0.04358435778758326',), 1337448345: ('0.04358435778758326',), 1337448337: ('0.04358435778758326',), 1337448336: ('0.04358435778758326',), 1337448332: ('0.04358435778758326',), 1337448331: ('0.04358435778758326',), 1337448319: ('0.04358435778758326',), 1337448314: ('0.04358435778758326',), 1337448308: ('0.04358435778758326',), 1337448304: ('0.04358435778758326',), 1337448300: ('0.04358435778758326',), 1337448250: ('0.04358435778758326',), 1337448247: ('0.04358435778758326',), 1337448245: ('0.04358435778758326',), 1337448209: ('0.04358435778758326',), 1337448206: ('0.04358435778758326',), 1337448203: ('0.04358435778758326',), 1337448201: ('0.04358435778758326',), 1337448163: ('0.04358435778758326',), 1337448160: ('0.04358435778758326',), 1337448147: ('0.04358435778758326',), 1337448127: ('0.04358435778758326',), 1337448081: ('0.04358435778758326',), 1337448079: ()} output_args : {1337448382: ('0.04358435778758326',), 1337448346: ('0.04358435778758326',), 1337448345: ('0.04358435778758326',), 1337448337: ('0.04358435778758326',), 1337448336: ('0.04358435778758326',), 1337448332: ('0.04358435778758326',), 1337448331: ('0.04358435778758326',), 1337448319: ('0.04358435778758326',), 1337448314: ('0.04358435778758326',), 1337448308: ('0.04358435778758326',), 1337448304: ('0.04358435778758326',), 1337448300: ('0.04358435778758326',), 1337448250: ('0.04358435778758326',), 1337448247: ('0.04358435778758326',), 1337448245: ('0.04358435778758326',), 1337448209: ('0.04358435778758326',), 1337448206: ('0.04358435778758326',), 1337448203: ('0.04358435778758326',), 1337448201: ('0.04358435778758326',), 1337448163: ('0.04358435778758326',), 1337448160: ('0.04358435778758326',), 1337448147: ('0.04358435778758326',), 1337448127: ('0.04358435778758326',), 1337448081: ('0.04358435778758326',), 1337448079: ('0.04358435778758326',), 1337448059: ('0.04358435778758326',), 1337448056: ('0.04358435778758326',), 1337448053: ('0.04358435778758326',), 1337448051: ('0.04358435778758326',), 1337448028: ('0.04358435778758326',), 1337448026: ('0.04358435778758326',), 1337448024: ('0.04358435778758326',), 1337448022: ('0.04358435778758326',), 1337448021: ('0.04358435778758326',), 1337447990: ('0.04358435778758326',), 1337447989: ('0.04358435778758326',), 1337447966: ('0.04358435778758326',), 1337447963: ('0.04358435778758326',), 1337447960: ('0.04358435778758326',), 1337447956: ('0.04358435778758326',), 1337447954: ('0.04358435778758326',)} args : 1337448079 depend.output_id : 0 input_args_next_step : {1337448382: ('0.04358435778758326',), 1337448346: ('0.04358435778758326',), 1337448345: ('0.04358435778758326',), 1337448337: ('0.04358435778758326',), 1337448336: ('0.04358435778758326',), 1337448332: ('0.04358435778758326',), 1337448331: ('0.04358435778758326',), 1337448319: ('0.04358435778758326',), 1337448314: ('0.04358435778758326',), 1337448308: ('0.04358435778758326',), 1337448304: ('0.04358435778758326',), 1337448300: ('0.04358435778758326',), 1337448250: ('0.04358435778758326',), 1337448247: ('0.04358435778758326',), 1337448245: ('0.04358435778758326',), 1337448209: ('0.04358435778758326',), 1337448206: ('0.04358435778758326',), 1337448203: ('0.04358435778758326',), 1337448201: ('0.04358435778758326',), 1337448163: ('0.04358435778758326',), 1337448160: ('0.04358435778758326',), 1337448147: ('0.04358435778758326',), 1337448127: ('0.04358435778758326',), 1337448081: ('0.04358435778758326',), 1337448079: ('0.04358435778758326',), 1337448059: ()} output_args : {1337448382: ('0.04358435778758326',), 1337448346: ('0.04358435778758326',), 1337448345: ('0.04358435778758326',), 1337448337: ('0.04358435778758326',), 1337448336: ('0.04358435778758326',), 1337448332: ('0.04358435778758326',), 1337448331: ('0.04358435778758326',), 1337448319: ('0.04358435778758326',), 1337448314: ('0.04358435778758326',), 1337448308: ('0.04358435778758326',), 1337448304: ('0.04358435778758326',), 1337448300: ('0.04358435778758326',), 1337448250: ('0.04358435778758326',), 1337448247: ('0.04358435778758326',), 1337448245: ('0.04358435778758326',), 1337448209: ('0.04358435778758326',), 1337448206: ('0.04358435778758326',), 1337448203: ('0.04358435778758326',), 1337448201: ('0.04358435778758326',), 1337448163: ('0.04358435778758326',), 1337448160: ('0.04358435778758326',), 1337448147: ('0.04358435778758326',), 1337448127: ('0.04358435778758326',), 1337448081: ('0.04358435778758326',), 1337448079: ('0.04358435778758326',), 1337448059: ('0.04358435778758326',), 1337448056: ('0.04358435778758326',), 1337448053: ('0.04358435778758326',), 1337448051: ('0.04358435778758326',), 1337448028: ('0.04358435778758326',), 1337448026: ('0.04358435778758326',), 1337448024: ('0.04358435778758326',), 1337448022: ('0.04358435778758326',), 1337448021: ('0.04358435778758326',), 1337447990: ('0.04358435778758326',), 1337447989: ('0.04358435778758326',), 1337447966: ('0.04358435778758326',), 1337447963: ('0.04358435778758326',), 1337447960: ('0.04358435778758326',), 1337447956: ('0.04358435778758326',), 1337447954: ('0.04358435778758326',)} args : 1337448059 depend.output_id : 0 input_args_next_step : {1337448382: ('0.04358435778758326',), 1337448346: ('0.04358435778758326',), 1337448345: ('0.04358435778758326',), 1337448337: ('0.04358435778758326',), 1337448336: ('0.04358435778758326',), 1337448332: ('0.04358435778758326',), 1337448331: ('0.04358435778758326',), 1337448319: ('0.04358435778758326',), 1337448314: ('0.04358435778758326',), 1337448308: ('0.04358435778758326',), 1337448304: ('0.04358435778758326',), 1337448300: ('0.04358435778758326',), 1337448250: ('0.04358435778758326',), 1337448247: ('0.04358435778758326',), 1337448245: ('0.04358435778758326',), 1337448209: ('0.04358435778758326',), 1337448206: ('0.04358435778758326',), 1337448203: ('0.04358435778758326',), 1337448201: ('0.04358435778758326',), 1337448163: ('0.04358435778758326',), 1337448160: ('0.04358435778758326',), 1337448147: ('0.04358435778758326',), 1337448127: ('0.04358435778758326',), 1337448081: ('0.04358435778758326',), 1337448079: ('0.04358435778758326',), 1337448059: ('0.04358435778758326',), 1337448056: ()} output_args : {1337448382: ('0.04358435778758326',), 1337448346: ('0.04358435778758326',), 1337448345: ('0.04358435778758326',), 1337448337: ('0.04358435778758326',), 1337448336: ('0.04358435778758326',), 1337448332: ('0.04358435778758326',), 1337448331: ('0.04358435778758326',), 1337448319: ('0.04358435778758326',), 1337448314: ('0.04358435778758326',), 1337448308: ('0.04358435778758326',), 1337448304: ('0.04358435778758326',), 1337448300: ('0.04358435778758326',), 1337448250: ('0.04358435778758326',), 1337448247: ('0.04358435778758326',), 1337448245: ('0.04358435778758326',), 1337448209: ('0.04358435778758326',), 1337448206: ('0.04358435778758326',), 1337448203: ('0.04358435778758326',), 1337448201: ('0.04358435778758326',), 1337448163: ('0.04358435778758326',), 1337448160: ('0.04358435778758326',), 1337448147: ('0.04358435778758326',), 1337448127: ('0.04358435778758326',), 1337448081: ('0.04358435778758326',), 1337448079: ('0.04358435778758326',), 1337448059: ('0.04358435778758326',), 1337448056: ('0.04358435778758326',), 1337448053: ('0.04358435778758326',), 1337448051: ('0.04358435778758326',), 1337448028: ('0.04358435778758326',), 1337448026: ('0.04358435778758326',), 1337448024: ('0.04358435778758326',), 1337448022: ('0.04358435778758326',), 1337448021: ('0.04358435778758326',), 1337447990: ('0.04358435778758326',), 1337447989: ('0.04358435778758326',), 1337447966: ('0.04358435778758326',), 1337447963: ('0.04358435778758326',), 1337447960: ('0.04358435778758326',), 1337447956: ('0.04358435778758326',), 1337447954: ('0.04358435778758326',)} args : 1337448056 depend.output_id : 0 input_args_next_step : {1337448382: ('0.04358435778758326',), 1337448346: ('0.04358435778758326',), 1337448345: ('0.04358435778758326',), 1337448337: ('0.04358435778758326',), 1337448336: ('0.04358435778758326',), 1337448332: ('0.04358435778758326',), 1337448331: ('0.04358435778758326',), 1337448319: ('0.04358435778758326',), 1337448314: ('0.04358435778758326',), 1337448308: ('0.04358435778758326',), 1337448304: ('0.04358435778758326',), 1337448300: ('0.04358435778758326',), 1337448250: ('0.04358435778758326',), 1337448247: ('0.04358435778758326',), 1337448245: ('0.04358435778758326',), 1337448209: ('0.04358435778758326',), 1337448206: ('0.04358435778758326',), 1337448203: ('0.04358435778758326',), 1337448201: ('0.04358435778758326',), 1337448163: ('0.04358435778758326',), 1337448160: ('0.04358435778758326',), 1337448147: ('0.04358435778758326',), 1337448127: ('0.04358435778758326',), 1337448081: ('0.04358435778758326',), 1337448079: ('0.04358435778758326',), 1337448059: ('0.04358435778758326',), 1337448056: ('0.04358435778758326',), 1337448053: ()} output_args : {1337448382: ('0.04358435778758326',), 1337448346: ('0.04358435778758326',), 1337448345: ('0.04358435778758326',), 1337448337: ('0.04358435778758326',), 1337448336: ('0.04358435778758326',), 1337448332: ('0.04358435778758326',), 1337448331: ('0.04358435778758326',), 1337448319: ('0.04358435778758326',), 1337448314: ('0.04358435778758326',), 1337448308: ('0.04358435778758326',), 1337448304: ('0.04358435778758326',), 1337448300: ('0.04358435778758326',), 1337448250: ('0.04358435778758326',), 1337448247: ('0.04358435778758326',), 1337448245: ('0.04358435778758326',), 1337448209: ('0.04358435778758326',), 1337448206: ('0.04358435778758326',), 1337448203: ('0.04358435778758326',), 1337448201: ('0.04358435778758326',), 1337448163: ('0.04358435778758326',), 1337448160: ('0.04358435778758326',), 1337448147: ('0.04358435778758326',), 1337448127: ('0.04358435778758326',), 1337448081: ('0.04358435778758326',), 1337448079: ('0.04358435778758326',), 1337448059: ('0.04358435778758326',), 1337448056: ('0.04358435778758326',), 1337448053: ('0.04358435778758326',), 1337448051: ('0.04358435778758326',), 1337448028: ('0.04358435778758326',), 1337448026: ('0.04358435778758326',), 1337448024: ('0.04358435778758326',), 1337448022: ('0.04358435778758326',), 1337448021: ('0.04358435778758326',), 1337447990: ('0.04358435778758326',), 1337447989: ('0.04358435778758326',), 1337447966: ('0.04358435778758326',), 1337447963: ('0.04358435778758326',), 1337447960: ('0.04358435778758326',), 1337447956: ('0.04358435778758326',), 1337447954: ('0.04358435778758326',)} args : 1337448053 depend.output_id : 0 input_args_next_step : {1337448382: ('0.04358435778758326',), 1337448346: ('0.04358435778758326',), 1337448345: ('0.04358435778758326',), 1337448337: ('0.04358435778758326',), 1337448336: ('0.04358435778758326',), 1337448332: ('0.04358435778758326',), 1337448331: ('0.04358435778758326',), 1337448319: ('0.04358435778758326',), 1337448314: ('0.04358435778758326',), 1337448308: ('0.04358435778758326',), 1337448304: ('0.04358435778758326',), 1337448300: ('0.04358435778758326',), 1337448250: ('0.04358435778758326',), 1337448247: ('0.04358435778758326',), 1337448245: ('0.04358435778758326',), 1337448209: ('0.04358435778758326',), 1337448206: ('0.04358435778758326',), 1337448203: ('0.04358435778758326',), 1337448201: ('0.04358435778758326',), 1337448163: ('0.04358435778758326',), 1337448160: ('0.04358435778758326',), 1337448147: ('0.04358435778758326',), 1337448127: ('0.04358435778758326',), 1337448081: ('0.04358435778758326',), 1337448079: ('0.04358435778758326',), 1337448059: ('0.04358435778758326',), 1337448056: ('0.04358435778758326',), 1337448053: ('0.04358435778758326',), 1337448051: ()} output_args : {1337448382: ('0.04358435778758326',), 1337448346: ('0.04358435778758326',), 1337448345: ('0.04358435778758326',), 1337448337: ('0.04358435778758326',), 1337448336: ('0.04358435778758326',), 1337448332: ('0.04358435778758326',), 1337448331: ('0.04358435778758326',), 1337448319: ('0.04358435778758326',), 1337448314: ('0.04358435778758326',), 1337448308: ('0.04358435778758326',), 1337448304: ('0.04358435778758326',), 1337448300: ('0.04358435778758326',), 1337448250: ('0.04358435778758326',), 1337448247: ('0.04358435778758326',), 1337448245: ('0.04358435778758326',), 1337448209: ('0.04358435778758326',), 1337448206: ('0.04358435778758326',), 1337448203: ('0.04358435778758326',), 1337448201: ('0.04358435778758326',), 1337448163: ('0.04358435778758326',), 1337448160: ('0.04358435778758326',), 1337448147: ('0.04358435778758326',), 1337448127: ('0.04358435778758326',), 1337448081: ('0.04358435778758326',), 1337448079: ('0.04358435778758326',), 1337448059: ('0.04358435778758326',), 1337448056: ('0.04358435778758326',), 1337448053: ('0.04358435778758326',), 1337448051: ('0.04358435778758326',), 1337448028: ('0.04358435778758326',), 1337448026: ('0.04358435778758326',), 1337448024: ('0.04358435778758326',), 1337448022: ('0.04358435778758326',), 1337448021: ('0.04358435778758326',), 1337447990: ('0.04358435778758326',), 1337447989: ('0.04358435778758326',), 1337447966: ('0.04358435778758326',), 1337447963: ('0.04358435778758326',), 1337447960: ('0.04358435778758326',), 1337447956: ('0.04358435778758326',), 1337447954: ('0.04358435778758326',)} args : 1337448051 depend.output_id : 0 input_args_next_step : {1337448382: ('0.04358435778758326',), 1337448346: ('0.04358435778758326',), 1337448345: ('0.04358435778758326',), 1337448337: ('0.04358435778758326',), 1337448336: ('0.04358435778758326',), 1337448332: ('0.04358435778758326',), 1337448331: ('0.04358435778758326',), 1337448319: ('0.04358435778758326',), 1337448314: ('0.04358435778758326',), 1337448308: ('0.04358435778758326',), 1337448304: ('0.04358435778758326',), 1337448300: ('0.04358435778758326',), 1337448250: ('0.04358435778758326',), 1337448247: ('0.04358435778758326',), 1337448245: ('0.04358435778758326',), 1337448209: ('0.04358435778758326',), 1337448206: ('0.04358435778758326',), 1337448203: ('0.04358435778758326',), 1337448201: ('0.04358435778758326',), 1337448163: ('0.04358435778758326',), 1337448160: ('0.04358435778758326',), 1337448147: ('0.04358435778758326',), 1337448127: ('0.04358435778758326',), 1337448081: ('0.04358435778758326',), 1337448079: ('0.04358435778758326',), 1337448059: ('0.04358435778758326',), 1337448056: ('0.04358435778758326',), 1337448053: ('0.04358435778758326',), 1337448051: ('0.04358435778758326',), 1337448028: ()} output_args : {1337448382: ('0.04358435778758326',), 1337448346: ('0.04358435778758326',), 1337448345: ('0.04358435778758326',), 1337448337: ('0.04358435778758326',), 1337448336: ('0.04358435778758326',), 1337448332: ('0.04358435778758326',), 1337448331: ('0.04358435778758326',), 1337448319: ('0.04358435778758326',), 1337448314: ('0.04358435778758326',), 1337448308: ('0.04358435778758326',), 1337448304: ('0.04358435778758326',), 1337448300: ('0.04358435778758326',), 1337448250: ('0.04358435778758326',), 1337448247: ('0.04358435778758326',), 1337448245: ('0.04358435778758326',), 1337448209: ('0.04358435778758326',), 1337448206: ('0.04358435778758326',), 1337448203: ('0.04358435778758326',), 1337448201: ('0.04358435778758326',), 1337448163: ('0.04358435778758326',), 1337448160: ('0.04358435778758326',), 1337448147: ('0.04358435778758326',), 1337448127: ('0.04358435778758326',), 1337448081: ('0.04358435778758326',), 1337448079: ('0.04358435778758326',), 1337448059: ('0.04358435778758326',), 1337448056: ('0.04358435778758326',), 1337448053: ('0.04358435778758326',), 1337448051: ('0.04358435778758326',), 1337448028: ('0.04358435778758326',), 1337448026: ('0.04358435778758326',), 1337448024: ('0.04358435778758326',), 1337448022: ('0.04358435778758326',), 1337448021: ('0.04358435778758326',), 1337447990: ('0.04358435778758326',), 1337447989: ('0.04358435778758326',), 1337447966: ('0.04358435778758326',), 1337447963: ('0.04358435778758326',), 1337447960: ('0.04358435778758326',), 1337447956: ('0.04358435778758326',), 1337447954: ('0.04358435778758326',)} args : 1337448028 depend.output_id : 0 input_args_next_step : {1337448382: ('0.04358435778758326',), 1337448346: ('0.04358435778758326',), 1337448345: ('0.04358435778758326',), 1337448337: ('0.04358435778758326',), 1337448336: ('0.04358435778758326',), 1337448332: ('0.04358435778758326',), 1337448331: ('0.04358435778758326',), 1337448319: ('0.04358435778758326',), 1337448314: ('0.04358435778758326',), 1337448308: ('0.04358435778758326',), 1337448304: ('0.04358435778758326',), 1337448300: ('0.04358435778758326',), 1337448250: ('0.04358435778758326',), 1337448247: ('0.04358435778758326',), 1337448245: ('0.04358435778758326',), 1337448209: ('0.04358435778758326',), 1337448206: ('0.04358435778758326',), 1337448203: ('0.04358435778758326',), 1337448201: ('0.04358435778758326',), 1337448163: ('0.04358435778758326',), 1337448160: ('0.04358435778758326',), 1337448147: ('0.04358435778758326',), 1337448127: ('0.04358435778758326',), 1337448081: ('0.04358435778758326',), 1337448079: ('0.04358435778758326',), 1337448059: ('0.04358435778758326',), 1337448056: ('0.04358435778758326',), 1337448053: ('0.04358435778758326',), 1337448051: ('0.04358435778758326',), 1337448028: ('0.04358435778758326',), 1337448026: ()} output_args : {1337448382: ('0.04358435778758326',), 1337448346: ('0.04358435778758326',), 1337448345: ('0.04358435778758326',), 1337448337: ('0.04358435778758326',), 1337448336: ('0.04358435778758326',), 1337448332: ('0.04358435778758326',), 1337448331: ('0.04358435778758326',), 1337448319: ('0.04358435778758326',), 1337448314: ('0.04358435778758326',), 1337448308: ('0.04358435778758326',), 1337448304: ('0.04358435778758326',), 1337448300: ('0.04358435778758326',), 1337448250: ('0.04358435778758326',), 1337448247: ('0.04358435778758326',), 1337448245: ('0.04358435778758326',), 1337448209: ('0.04358435778758326',), 1337448206: ('0.04358435778758326',), 1337448203: ('0.04358435778758326',), 1337448201: ('0.04358435778758326',), 1337448163: ('0.04358435778758326',), 1337448160: ('0.04358435778758326',), 1337448147: ('0.04358435778758326',), 1337448127: ('0.04358435778758326',), 1337448081: ('0.04358435778758326',), 1337448079: ('0.04358435778758326',), 1337448059: ('0.04358435778758326',), 1337448056: ('0.04358435778758326',), 1337448053: ('0.04358435778758326',), 1337448051: ('0.04358435778758326',), 1337448028: ('0.04358435778758326',), 1337448026: ('0.04358435778758326',), 1337448024: ('0.04358435778758326',), 1337448022: ('0.04358435778758326',), 1337448021: ('0.04358435778758326',), 1337447990: ('0.04358435778758326',), 1337447989: ('0.04358435778758326',), 1337447966: ('0.04358435778758326',), 1337447963: ('0.04358435778758326',), 1337447960: ('0.04358435778758326',), 1337447956: ('0.04358435778758326',), 1337447954: ('0.04358435778758326',)} args : 1337448026 depend.output_id : 0 input_args_next_step : {1337448382: ('0.04358435778758326',), 1337448346: ('0.04358435778758326',), 1337448345: ('0.04358435778758326',), 1337448337: ('0.04358435778758326',), 1337448336: ('0.04358435778758326',), 1337448332: ('0.04358435778758326',), 1337448331: ('0.04358435778758326',), 1337448319: ('0.04358435778758326',), 1337448314: ('0.04358435778758326',), 1337448308: ('0.04358435778758326',), 1337448304: ('0.04358435778758326',), 1337448300: ('0.04358435778758326',), 1337448250: ('0.04358435778758326',), 1337448247: ('0.04358435778758326',), 1337448245: ('0.04358435778758326',), 1337448209: ('0.04358435778758326',), 1337448206: ('0.04358435778758326',), 1337448203: ('0.04358435778758326',), 1337448201: ('0.04358435778758326',), 1337448163: ('0.04358435778758326',), 1337448160: ('0.04358435778758326',), 1337448147: ('0.04358435778758326',), 1337448127: ('0.04358435778758326',), 1337448081: ('0.04358435778758326',), 1337448079: ('0.04358435778758326',), 1337448059: ('0.04358435778758326',), 1337448056: ('0.04358435778758326',), 1337448053: ('0.04358435778758326',), 1337448051: ('0.04358435778758326',), 1337448028: ('0.04358435778758326',), 1337448026: ('0.04358435778758326',), 1337448024: ()} output_args : {1337448382: ('0.04358435778758326',), 1337448346: ('0.04358435778758326',), 1337448345: ('0.04358435778758326',), 1337448337: ('0.04358435778758326',), 1337448336: ('0.04358435778758326',), 1337448332: ('0.04358435778758326',), 1337448331: ('0.04358435778758326',), 1337448319: ('0.04358435778758326',), 1337448314: ('0.04358435778758326',), 1337448308: ('0.04358435778758326',), 1337448304: ('0.04358435778758326',), 1337448300: ('0.04358435778758326',), 1337448250: ('0.04358435778758326',), 1337448247: ('0.04358435778758326',), 1337448245: ('0.04358435778758326',), 1337448209: ('0.04358435778758326',), 1337448206: ('0.04358435778758326',), 1337448203: ('0.04358435778758326',), 1337448201: ('0.04358435778758326',), 1337448163: ('0.04358435778758326',), 1337448160: ('0.04358435778758326',), 1337448147: ('0.04358435778758326',), 1337448127: ('0.04358435778758326',), 1337448081: ('0.04358435778758326',), 1337448079: ('0.04358435778758326',), 1337448059: ('0.04358435778758326',), 1337448056: ('0.04358435778758326',), 1337448053: ('0.04358435778758326',), 1337448051: ('0.04358435778758326',), 1337448028: ('0.04358435778758326',), 1337448026: ('0.04358435778758326',), 1337448024: ('0.04358435778758326',), 1337448022: ('0.04358435778758326',), 1337448021: ('0.04358435778758326',), 1337447990: ('0.04358435778758326',), 1337447989: ('0.04358435778758326',), 1337447966: ('0.04358435778758326',), 1337447963: ('0.04358435778758326',), 1337447960: ('0.04358435778758326',), 1337447956: ('0.04358435778758326',), 1337447954: ('0.04358435778758326',)} args : 1337448024 depend.output_id : 0 input_args_next_step : {1337448382: ('0.04358435778758326',), 1337448346: ('0.04358435778758326',), 1337448345: ('0.04358435778758326',), 1337448337: ('0.04358435778758326',), 1337448336: ('0.04358435778758326',), 1337448332: ('0.04358435778758326',), 1337448331: ('0.04358435778758326',), 1337448319: ('0.04358435778758326',), 1337448314: ('0.04358435778758326',), 1337448308: ('0.04358435778758326',), 1337448304: ('0.04358435778758326',), 1337448300: ('0.04358435778758326',), 1337448250: ('0.04358435778758326',), 1337448247: ('0.04358435778758326',), 1337448245: ('0.04358435778758326',), 1337448209: ('0.04358435778758326',), 1337448206: ('0.04358435778758326',), 1337448203: ('0.04358435778758326',), 1337448201: ('0.04358435778758326',), 1337448163: ('0.04358435778758326',), 1337448160: ('0.04358435778758326',), 1337448147: ('0.04358435778758326',), 1337448127: ('0.04358435778758326',), 1337448081: ('0.04358435778758326',), 1337448079: ('0.04358435778758326',), 1337448059: ('0.04358435778758326',), 1337448056: ('0.04358435778758326',), 1337448053: ('0.04358435778758326',), 1337448051: ('0.04358435778758326',), 1337448028: ('0.04358435778758326',), 1337448026: ('0.04358435778758326',), 1337448024: ('0.04358435778758326',), 1337448022: ()} output_args : {1337448382: ('0.04358435778758326',), 1337448346: ('0.04358435778758326',), 1337448345: ('0.04358435778758326',), 1337448337: ('0.04358435778758326',), 1337448336: ('0.04358435778758326',), 1337448332: ('0.04358435778758326',), 1337448331: ('0.04358435778758326',), 1337448319: ('0.04358435778758326',), 1337448314: ('0.04358435778758326',), 1337448308: ('0.04358435778758326',), 1337448304: ('0.04358435778758326',), 1337448300: ('0.04358435778758326',), 1337448250: ('0.04358435778758326',), 1337448247: ('0.04358435778758326',), 1337448245: ('0.04358435778758326',), 1337448209: ('0.04358435778758326',), 1337448206: ('0.04358435778758326',), 1337448203: ('0.04358435778758326',), 1337448201: ('0.04358435778758326',), 1337448163: ('0.04358435778758326',), 1337448160: ('0.04358435778758326',), 1337448147: ('0.04358435778758326',), 1337448127: ('0.04358435778758326',), 1337448081: ('0.04358435778758326',), 1337448079: ('0.04358435778758326',), 1337448059: ('0.04358435778758326',), 1337448056: ('0.04358435778758326',), 1337448053: ('0.04358435778758326',), 1337448051: ('0.04358435778758326',), 1337448028: ('0.04358435778758326',), 1337448026: ('0.04358435778758326',), 1337448024: ('0.04358435778758326',), 1337448022: ('0.04358435778758326',), 1337448021: ('0.04358435778758326',), 1337447990: ('0.04358435778758326',), 1337447989: ('0.04358435778758326',), 1337447966: ('0.04358435778758326',), 1337447963: ('0.04358435778758326',), 1337447960: ('0.04358435778758326',), 1337447956: ('0.04358435778758326',), 1337447954: ('0.04358435778758326',)} args : 1337448022 depend.output_id : 0 input_args_next_step : {1337448382: ('0.04358435778758326',), 1337448346: ('0.04358435778758326',), 1337448345: ('0.04358435778758326',), 1337448337: ('0.04358435778758326',), 1337448336: ('0.04358435778758326',), 1337448332: ('0.04358435778758326',), 1337448331: ('0.04358435778758326',), 1337448319: ('0.04358435778758326',), 1337448314: ('0.04358435778758326',), 1337448308: ('0.04358435778758326',), 1337448304: ('0.04358435778758326',), 1337448300: ('0.04358435778758326',), 1337448250: ('0.04358435778758326',), 1337448247: ('0.04358435778758326',), 1337448245: ('0.04358435778758326',), 1337448209: ('0.04358435778758326',), 1337448206: ('0.04358435778758326',), 1337448203: ('0.04358435778758326',), 1337448201: ('0.04358435778758326',), 1337448163: ('0.04358435778758326',), 1337448160: ('0.04358435778758326',), 1337448147: ('0.04358435778758326',), 1337448127: ('0.04358435778758326',), 1337448081: ('0.04358435778758326',), 1337448079: ('0.04358435778758326',), 1337448059: ('0.04358435778758326',), 1337448056: ('0.04358435778758326',), 1337448053: ('0.04358435778758326',), 1337448051: ('0.04358435778758326',), 1337448028: ('0.04358435778758326',), 1337448026: ('0.04358435778758326',), 1337448024: ('0.04358435778758326',), 1337448022: ('0.04358435778758326',), 1337448021: ()} output_args : {1337448382: ('0.04358435778758326',), 1337448346: ('0.04358435778758326',), 1337448345: ('0.04358435778758326',), 1337448337: ('0.04358435778758326',), 1337448336: ('0.04358435778758326',), 1337448332: ('0.04358435778758326',), 1337448331: ('0.04358435778758326',), 1337448319: ('0.04358435778758326',), 1337448314: ('0.04358435778758326',), 1337448308: ('0.04358435778758326',), 1337448304: ('0.04358435778758326',), 1337448300: ('0.04358435778758326',), 1337448250: ('0.04358435778758326',), 1337448247: ('0.04358435778758326',), 1337448245: ('0.04358435778758326',), 1337448209: ('0.04358435778758326',), 1337448206: ('0.04358435778758326',), 1337448203: ('0.04358435778758326',), 1337448201: ('0.04358435778758326',), 1337448163: ('0.04358435778758326',), 1337448160: ('0.04358435778758326',), 1337448147: ('0.04358435778758326',), 1337448127: ('0.04358435778758326',), 1337448081: ('0.04358435778758326',), 1337448079: ('0.04358435778758326',), 1337448059: ('0.04358435778758326',), 1337448056: ('0.04358435778758326',), 1337448053: ('0.04358435778758326',), 1337448051: ('0.04358435778758326',), 1337448028: ('0.04358435778758326',), 1337448026: ('0.04358435778758326',), 1337448024: ('0.04358435778758326',), 1337448022: ('0.04358435778758326',), 1337448021: ('0.04358435778758326',), 1337447990: ('0.04358435778758326',), 1337447989: ('0.04358435778758326',), 1337447966: ('0.04358435778758326',), 1337447963: ('0.04358435778758326',), 1337447960: ('0.04358435778758326',), 1337447956: ('0.04358435778758326',), 1337447954: ('0.04358435778758326',)} args : 1337448021 depend.output_id : 0 input_args_next_step : {1337448382: ('0.04358435778758326',), 1337448346: ('0.04358435778758326',), 1337448345: ('0.04358435778758326',), 1337448337: ('0.04358435778758326',), 1337448336: ('0.04358435778758326',), 1337448332: ('0.04358435778758326',), 1337448331: ('0.04358435778758326',), 1337448319: ('0.04358435778758326',), 1337448314: ('0.04358435778758326',), 1337448308: ('0.04358435778758326',), 1337448304: ('0.04358435778758326',), 1337448300: ('0.04358435778758326',), 1337448250: ('0.04358435778758326',), 1337448247: ('0.04358435778758326',), 1337448245: ('0.04358435778758326',), 1337448209: ('0.04358435778758326',), 1337448206: ('0.04358435778758326',), 1337448203: ('0.04358435778758326',), 1337448201: ('0.04358435778758326',), 1337448163: ('0.04358435778758326',), 1337448160: ('0.04358435778758326',), 1337448147: ('0.04358435778758326',), 1337448127: ('0.04358435778758326',), 1337448081: ('0.04358435778758326',), 1337448079: ('0.04358435778758326',), 1337448059: ('0.04358435778758326',), 1337448056: ('0.04358435778758326',), 1337448053: ('0.04358435778758326',), 1337448051: ('0.04358435778758326',), 1337448028: ('0.04358435778758326',), 1337448026: ('0.04358435778758326',), 1337448024: ('0.04358435778758326',), 1337448022: ('0.04358435778758326',), 1337448021: ('0.04358435778758326',), 1337447990: ()} output_args : {1337448382: ('0.04358435778758326',), 1337448346: ('0.04358435778758326',), 1337448345: ('0.04358435778758326',), 1337448337: ('0.04358435778758326',), 1337448336: ('0.04358435778758326',), 1337448332: ('0.04358435778758326',), 1337448331: ('0.04358435778758326',), 1337448319: ('0.04358435778758326',), 1337448314: ('0.04358435778758326',), 1337448308: ('0.04358435778758326',), 1337448304: ('0.04358435778758326',), 1337448300: ('0.04358435778758326',), 1337448250: ('0.04358435778758326',), 1337448247: ('0.04358435778758326',), 1337448245: ('0.04358435778758326',), 1337448209: ('0.04358435778758326',), 1337448206: ('0.04358435778758326',), 1337448203: ('0.04358435778758326',), 1337448201: ('0.04358435778758326',), 1337448163: ('0.04358435778758326',), 1337448160: ('0.04358435778758326',), 1337448147: ('0.04358435778758326',), 1337448127: ('0.04358435778758326',), 1337448081: ('0.04358435778758326',), 1337448079: ('0.04358435778758326',), 1337448059: ('0.04358435778758326',), 1337448056: ('0.04358435778758326',), 1337448053: ('0.04358435778758326',), 1337448051: ('0.04358435778758326',), 1337448028: ('0.04358435778758326',), 1337448026: ('0.04358435778758326',), 1337448024: ('0.04358435778758326',), 1337448022: ('0.04358435778758326',), 1337448021: ('0.04358435778758326',), 1337447990: ('0.04358435778758326',), 1337447989: ('0.04358435778758326',), 1337447966: ('0.04358435778758326',), 1337447963: ('0.04358435778758326',), 1337447960: ('0.04358435778758326',), 1337447956: ('0.04358435778758326',), 1337447954: ('0.04358435778758326',)} args : 1337447990 depend.output_id : 0 input_args_next_step : {1337448382: ('0.04358435778758326',), 1337448346: ('0.04358435778758326',), 1337448345: ('0.04358435778758326',), 1337448337: ('0.04358435778758326',), 1337448336: ('0.04358435778758326',), 1337448332: ('0.04358435778758326',), 1337448331: ('0.04358435778758326',), 1337448319: ('0.04358435778758326',), 1337448314: ('0.04358435778758326',), 1337448308: ('0.04358435778758326',), 1337448304: ('0.04358435778758326',), 1337448300: ('0.04358435778758326',), 1337448250: ('0.04358435778758326',), 1337448247: ('0.04358435778758326',), 1337448245: ('0.04358435778758326',), 1337448209: ('0.04358435778758326',), 1337448206: ('0.04358435778758326',), 1337448203: ('0.04358435778758326',), 1337448201: ('0.04358435778758326',), 1337448163: ('0.04358435778758326',), 1337448160: ('0.04358435778758326',), 1337448147: ('0.04358435778758326',), 1337448127: ('0.04358435778758326',), 1337448081: ('0.04358435778758326',), 1337448079: ('0.04358435778758326',), 1337448059: ('0.04358435778758326',), 1337448056: ('0.04358435778758326',), 1337448053: ('0.04358435778758326',), 1337448051: ('0.04358435778758326',), 1337448028: ('0.04358435778758326',), 1337448026: ('0.04358435778758326',), 1337448024: ('0.04358435778758326',), 1337448022: ('0.04358435778758326',), 1337448021: ('0.04358435778758326',), 1337447990: ('0.04358435778758326',), 1337447989: ()} output_args : {1337448382: ('0.04358435778758326',), 1337448346: ('0.04358435778758326',), 1337448345: ('0.04358435778758326',), 1337448337: ('0.04358435778758326',), 1337448336: ('0.04358435778758326',), 1337448332: ('0.04358435778758326',), 1337448331: ('0.04358435778758326',), 1337448319: ('0.04358435778758326',), 1337448314: ('0.04358435778758326',), 1337448308: ('0.04358435778758326',), 1337448304: ('0.04358435778758326',), 1337448300: ('0.04358435778758326',), 1337448250: ('0.04358435778758326',), 1337448247: ('0.04358435778758326',), 1337448245: ('0.04358435778758326',), 1337448209: ('0.04358435778758326',), 1337448206: ('0.04358435778758326',), 1337448203: ('0.04358435778758326',), 1337448201: ('0.04358435778758326',), 1337448163: ('0.04358435778758326',), 1337448160: ('0.04358435778758326',), 1337448147: ('0.04358435778758326',), 1337448127: ('0.04358435778758326',), 1337448081: ('0.04358435778758326',), 1337448079: ('0.04358435778758326',), 1337448059: ('0.04358435778758326',), 1337448056: ('0.04358435778758326',), 1337448053: ('0.04358435778758326',), 1337448051: ('0.04358435778758326',), 1337448028: ('0.04358435778758326',), 1337448026: ('0.04358435778758326',), 1337448024: ('0.04358435778758326',), 1337448022: ('0.04358435778758326',), 1337448021: ('0.04358435778758326',), 1337447990: ('0.04358435778758326',), 1337447989: ('0.04358435778758326',), 1337447966: ('0.04358435778758326',), 1337447963: ('0.04358435778758326',), 1337447960: ('0.04358435778758326',), 1337447956: ('0.04358435778758326',), 1337447954: ('0.04358435778758326',)} args : 1337447989 depend.output_id : 0 input_args_next_step : {1337448382: ('0.04358435778758326',), 1337448346: ('0.04358435778758326',), 1337448345: ('0.04358435778758326',), 1337448337: ('0.04358435778758326',), 1337448336: ('0.04358435778758326',), 1337448332: ('0.04358435778758326',), 1337448331: ('0.04358435778758326',), 1337448319: ('0.04358435778758326',), 1337448314: ('0.04358435778758326',), 1337448308: ('0.04358435778758326',), 1337448304: ('0.04358435778758326',), 1337448300: ('0.04358435778758326',), 1337448250: ('0.04358435778758326',), 1337448247: ('0.04358435778758326',), 1337448245: ('0.04358435778758326',), 1337448209: ('0.04358435778758326',), 1337448206: ('0.04358435778758326',), 1337448203: ('0.04358435778758326',), 1337448201: ('0.04358435778758326',), 1337448163: ('0.04358435778758326',), 1337448160: ('0.04358435778758326',), 1337448147: ('0.04358435778758326',), 1337448127: ('0.04358435778758326',), 1337448081: ('0.04358435778758326',), 1337448079: ('0.04358435778758326',), 1337448059: ('0.04358435778758326',), 1337448056: ('0.04358435778758326',), 1337448053: ('0.04358435778758326',), 1337448051: ('0.04358435778758326',), 1337448028: ('0.04358435778758326',), 1337448026: ('0.04358435778758326',), 1337448024: ('0.04358435778758326',), 1337448022: ('0.04358435778758326',), 1337448021: ('0.04358435778758326',), 1337447990: ('0.04358435778758326',), 1337447989: ('0.04358435778758326',), 1337447966: ()} output_args : {1337448382: ('0.04358435778758326',), 1337448346: ('0.04358435778758326',), 1337448345: ('0.04358435778758326',), 1337448337: ('0.04358435778758326',), 1337448336: ('0.04358435778758326',), 1337448332: ('0.04358435778758326',), 1337448331: ('0.04358435778758326',), 1337448319: ('0.04358435778758326',), 1337448314: ('0.04358435778758326',), 1337448308: ('0.04358435778758326',), 1337448304: ('0.04358435778758326',), 1337448300: ('0.04358435778758326',), 1337448250: ('0.04358435778758326',), 1337448247: ('0.04358435778758326',), 1337448245: ('0.04358435778758326',), 1337448209: ('0.04358435778758326',), 1337448206: ('0.04358435778758326',), 1337448203: ('0.04358435778758326',), 1337448201: ('0.04358435778758326',), 1337448163: ('0.04358435778758326',), 1337448160: ('0.04358435778758326',), 1337448147: ('0.04358435778758326',), 1337448127: ('0.04358435778758326',), 1337448081: ('0.04358435778758326',), 1337448079: ('0.04358435778758326',), 1337448059: ('0.04358435778758326',), 1337448056: ('0.04358435778758326',), 1337448053: ('0.04358435778758326',), 1337448051: ('0.04358435778758326',), 1337448028: ('0.04358435778758326',), 1337448026: ('0.04358435778758326',), 1337448024: ('0.04358435778758326',), 1337448022: ('0.04358435778758326',), 1337448021: ('0.04358435778758326',), 1337447990: ('0.04358435778758326',), 1337447989: ('0.04358435778758326',), 1337447966: ('0.04358435778758326',), 1337447963: ('0.04358435778758326',), 1337447960: ('0.04358435778758326',), 1337447956: ('0.04358435778758326',), 1337447954: ('0.04358435778758326',)} args : 1337447966 depend.output_id : 0 input_args_next_step : {1337448382: ('0.04358435778758326',), 1337448346: ('0.04358435778758326',), 1337448345: ('0.04358435778758326',), 1337448337: ('0.04358435778758326',), 1337448336: ('0.04358435778758326',), 1337448332: ('0.04358435778758326',), 1337448331: ('0.04358435778758326',), 1337448319: ('0.04358435778758326',), 1337448314: ('0.04358435778758326',), 1337448308: ('0.04358435778758326',), 1337448304: ('0.04358435778758326',), 1337448300: ('0.04358435778758326',), 1337448250: ('0.04358435778758326',), 1337448247: ('0.04358435778758326',), 1337448245: ('0.04358435778758326',), 1337448209: ('0.04358435778758326',), 1337448206: ('0.04358435778758326',), 1337448203: ('0.04358435778758326',), 1337448201: ('0.04358435778758326',), 1337448163: ('0.04358435778758326',), 1337448160: ('0.04358435778758326',), 1337448147: ('0.04358435778758326',), 1337448127: ('0.04358435778758326',), 1337448081: ('0.04358435778758326',), 1337448079: ('0.04358435778758326',), 1337448059: ('0.04358435778758326',), 1337448056: ('0.04358435778758326',), 1337448053: ('0.04358435778758326',), 1337448051: ('0.04358435778758326',), 1337448028: ('0.04358435778758326',), 1337448026: ('0.04358435778758326',), 1337448024: ('0.04358435778758326',), 1337448022: ('0.04358435778758326',), 1337448021: ('0.04358435778758326',), 1337447990: ('0.04358435778758326',), 1337447989: ('0.04358435778758326',), 1337447966: ('0.04358435778758326',), 1337447963: ()} output_args : {1337448382: ('0.04358435778758326',), 1337448346: ('0.04358435778758326',), 1337448345: ('0.04358435778758326',), 1337448337: ('0.04358435778758326',), 1337448336: ('0.04358435778758326',), 1337448332: ('0.04358435778758326',), 1337448331: ('0.04358435778758326',), 1337448319: ('0.04358435778758326',), 1337448314: ('0.04358435778758326',), 1337448308: ('0.04358435778758326',), 1337448304: ('0.04358435778758326',), 1337448300: ('0.04358435778758326',), 1337448250: ('0.04358435778758326',), 1337448247: ('0.04358435778758326',), 1337448245: ('0.04358435778758326',), 1337448209: ('0.04358435778758326',), 1337448206: ('0.04358435778758326',), 1337448203: ('0.04358435778758326',), 1337448201: ('0.04358435778758326',), 1337448163: ('0.04358435778758326',), 1337448160: ('0.04358435778758326',), 1337448147: ('0.04358435778758326',), 1337448127: ('0.04358435778758326',), 1337448081: ('0.04358435778758326',), 1337448079: ('0.04358435778758326',), 1337448059: ('0.04358435778758326',), 1337448056: ('0.04358435778758326',), 1337448053: ('0.04358435778758326',), 1337448051: ('0.04358435778758326',), 1337448028: ('0.04358435778758326',), 1337448026: ('0.04358435778758326',), 1337448024: ('0.04358435778758326',), 1337448022: ('0.04358435778758326',), 1337448021: ('0.04358435778758326',), 1337447990: ('0.04358435778758326',), 1337447989: ('0.04358435778758326',), 1337447966: ('0.04358435778758326',), 1337447963: ('0.04358435778758326',), 1337447960: ('0.04358435778758326',), 1337447956: ('0.04358435778758326',), 1337447954: ('0.04358435778758326',)} args : 1337447963 depend.output_id : 0 input_args_next_step : {1337448382: ('0.04358435778758326',), 1337448346: ('0.04358435778758326',), 1337448345: ('0.04358435778758326',), 1337448337: ('0.04358435778758326',), 1337448336: ('0.04358435778758326',), 1337448332: ('0.04358435778758326',), 1337448331: ('0.04358435778758326',), 1337448319: ('0.04358435778758326',), 1337448314: ('0.04358435778758326',), 1337448308: ('0.04358435778758326',), 1337448304: ('0.04358435778758326',), 1337448300: ('0.04358435778758326',), 1337448250: ('0.04358435778758326',), 1337448247: ('0.04358435778758326',), 1337448245: ('0.04358435778758326',), 1337448209: ('0.04358435778758326',), 1337448206: ('0.04358435778758326',), 1337448203: ('0.04358435778758326',), 1337448201: ('0.04358435778758326',), 1337448163: ('0.04358435778758326',), 1337448160: ('0.04358435778758326',), 1337448147: ('0.04358435778758326',), 1337448127: ('0.04358435778758326',), 1337448081: ('0.04358435778758326',), 1337448079: ('0.04358435778758326',), 1337448059: ('0.04358435778758326',), 1337448056: ('0.04358435778758326',), 1337448053: ('0.04358435778758326',), 1337448051: ('0.04358435778758326',), 1337448028: ('0.04358435778758326',), 1337448026: ('0.04358435778758326',), 1337448024: ('0.04358435778758326',), 1337448022: ('0.04358435778758326',), 1337448021: ('0.04358435778758326',), 1337447990: ('0.04358435778758326',), 1337447989: ('0.04358435778758326',), 1337447966: ('0.04358435778758326',), 1337447963: ('0.04358435778758326',), 1337447960: ()} output_args : {1337448382: ('0.04358435778758326',), 1337448346: ('0.04358435778758326',), 1337448345: ('0.04358435778758326',), 1337448337: ('0.04358435778758326',), 1337448336: ('0.04358435778758326',), 1337448332: ('0.04358435778758326',), 1337448331: ('0.04358435778758326',), 1337448319: ('0.04358435778758326',), 1337448314: ('0.04358435778758326',), 1337448308: ('0.04358435778758326',), 1337448304: ('0.04358435778758326',), 1337448300: ('0.04358435778758326',), 1337448250: ('0.04358435778758326',), 1337448247: ('0.04358435778758326',), 1337448245: ('0.04358435778758326',), 1337448209: ('0.04358435778758326',), 1337448206: ('0.04358435778758326',), 1337448203: ('0.04358435778758326',), 1337448201: ('0.04358435778758326',), 1337448163: ('0.04358435778758326',), 1337448160: ('0.04358435778758326',), 1337448147: ('0.04358435778758326',), 1337448127: ('0.04358435778758326',), 1337448081: ('0.04358435778758326',), 1337448079: ('0.04358435778758326',), 1337448059: ('0.04358435778758326',), 1337448056: ('0.04358435778758326',), 1337448053: ('0.04358435778758326',), 1337448051: ('0.04358435778758326',), 1337448028: ('0.04358435778758326',), 1337448026: ('0.04358435778758326',), 1337448024: ('0.04358435778758326',), 1337448022: ('0.04358435778758326',), 1337448021: ('0.04358435778758326',), 1337447990: ('0.04358435778758326',), 1337447989: ('0.04358435778758326',), 1337447966: ('0.04358435778758326',), 1337447963: ('0.04358435778758326',), 1337447960: ('0.04358435778758326',), 1337447956: ('0.04358435778758326',), 1337447954: ('0.04358435778758326',)} args : 1337447960 depend.output_id : 0 input_args_next_step : {1337448382: ('0.04358435778758326',), 1337448346: ('0.04358435778758326',), 1337448345: ('0.04358435778758326',), 1337448337: ('0.04358435778758326',), 1337448336: ('0.04358435778758326',), 1337448332: ('0.04358435778758326',), 1337448331: ('0.04358435778758326',), 1337448319: ('0.04358435778758326',), 1337448314: ('0.04358435778758326',), 1337448308: ('0.04358435778758326',), 1337448304: ('0.04358435778758326',), 1337448300: ('0.04358435778758326',), 1337448250: ('0.04358435778758326',), 1337448247: ('0.04358435778758326',), 1337448245: ('0.04358435778758326',), 1337448209: ('0.04358435778758326',), 1337448206: ('0.04358435778758326',), 1337448203: ('0.04358435778758326',), 1337448201: ('0.04358435778758326',), 1337448163: ('0.04358435778758326',), 1337448160: ('0.04358435778758326',), 1337448147: ('0.04358435778758326',), 1337448127: ('0.04358435778758326',), 1337448081: ('0.04358435778758326',), 1337448079: ('0.04358435778758326',), 1337448059: ('0.04358435778758326',), 1337448056: ('0.04358435778758326',), 1337448053: ('0.04358435778758326',), 1337448051: ('0.04358435778758326',), 1337448028: ('0.04358435778758326',), 1337448026: ('0.04358435778758326',), 1337448024: ('0.04358435778758326',), 1337448022: ('0.04358435778758326',), 1337448021: ('0.04358435778758326',), 1337447990: ('0.04358435778758326',), 1337447989: ('0.04358435778758326',), 1337447966: ('0.04358435778758326',), 1337447963: ('0.04358435778758326',), 1337447960: ('0.04358435778758326',), 1337447956: ()} output_args : {1337448382: ('0.04358435778758326',), 1337448346: ('0.04358435778758326',), 1337448345: ('0.04358435778758326',), 1337448337: ('0.04358435778758326',), 1337448336: ('0.04358435778758326',), 1337448332: ('0.04358435778758326',), 1337448331: ('0.04358435778758326',), 1337448319: ('0.04358435778758326',), 1337448314: ('0.04358435778758326',), 1337448308: ('0.04358435778758326',), 1337448304: ('0.04358435778758326',), 1337448300: ('0.04358435778758326',), 1337448250: ('0.04358435778758326',), 1337448247: ('0.04358435778758326',), 1337448245: ('0.04358435778758326',), 1337448209: ('0.04358435778758326',), 1337448206: ('0.04358435778758326',), 1337448203: ('0.04358435778758326',), 1337448201: ('0.04358435778758326',), 1337448163: ('0.04358435778758326',), 1337448160: ('0.04358435778758326',), 1337448147: ('0.04358435778758326',), 1337448127: ('0.04358435778758326',), 1337448081: ('0.04358435778758326',), 1337448079: ('0.04358435778758326',), 1337448059: ('0.04358435778758326',), 1337448056: ('0.04358435778758326',), 1337448053: ('0.04358435778758326',), 1337448051: ('0.04358435778758326',), 1337448028: ('0.04358435778758326',), 1337448026: ('0.04358435778758326',), 1337448024: ('0.04358435778758326',), 1337448022: ('0.04358435778758326',), 1337448021: ('0.04358435778758326',), 1337447990: ('0.04358435778758326',), 1337447989: ('0.04358435778758326',), 1337447966: ('0.04358435778758326',), 1337447963: ('0.04358435778758326',), 1337447960: ('0.04358435778758326',), 1337447956: ('0.04358435778758326',), 1337447954: ('0.04358435778758326',)} args : 1337447956 depend.output_id : 0 input_args_next_step : {1337448382: ('0.04358435778758326',), 1337448346: ('0.04358435778758326',), 1337448345: ('0.04358435778758326',), 1337448337: ('0.04358435778758326',), 1337448336: ('0.04358435778758326',), 1337448332: ('0.04358435778758326',), 1337448331: ('0.04358435778758326',), 1337448319: ('0.04358435778758326',), 1337448314: ('0.04358435778758326',), 1337448308: ('0.04358435778758326',), 1337448304: ('0.04358435778758326',), 1337448300: ('0.04358435778758326',), 1337448250: ('0.04358435778758326',), 1337448247: ('0.04358435778758326',), 1337448245: ('0.04358435778758326',), 1337448209: ('0.04358435778758326',), 1337448206: ('0.04358435778758326',), 1337448203: ('0.04358435778758326',), 1337448201: ('0.04358435778758326',), 1337448163: ('0.04358435778758326',), 1337448160: ('0.04358435778758326',), 1337448147: ('0.04358435778758326',), 1337448127: ('0.04358435778758326',), 1337448081: ('0.04358435778758326',), 1337448079: ('0.04358435778758326',), 1337448059: ('0.04358435778758326',), 1337448056: ('0.04358435778758326',), 1337448053: ('0.04358435778758326',), 1337448051: ('0.04358435778758326',), 1337448028: ('0.04358435778758326',), 1337448026: ('0.04358435778758326',), 1337448024: ('0.04358435778758326',), 1337448022: ('0.04358435778758326',), 1337448021: ('0.04358435778758326',), 1337447990: ('0.04358435778758326',), 1337447989: ('0.04358435778758326',), 1337447966: ('0.04358435778758326',), 1337447963: ('0.04358435778758326',), 1337447960: ('0.04358435778758326',), 1337447956: ('0.04358435778758326',), 1337447954: ()} output_args : {1337448382: ('0.04358435778758326',), 1337448346: ('0.04358435778758326',), 1337448345: ('0.04358435778758326',), 1337448337: ('0.04358435778758326',), 1337448336: ('0.04358435778758326',), 1337448332: ('0.04358435778758326',), 1337448331: ('0.04358435778758326',), 1337448319: ('0.04358435778758326',), 1337448314: ('0.04358435778758326',), 1337448308: ('0.04358435778758326',), 1337448304: ('0.04358435778758326',), 1337448300: ('0.04358435778758326',), 1337448250: ('0.04358435778758326',), 1337448247: ('0.04358435778758326',), 1337448245: ('0.04358435778758326',), 1337448209: ('0.04358435778758326',), 1337448206: ('0.04358435778758326',), 1337448203: ('0.04358435778758326',), 1337448201: ('0.04358435778758326',), 1337448163: ('0.04358435778758326',), 1337448160: ('0.04358435778758326',), 1337448147: ('0.04358435778758326',), 1337448127: ('0.04358435778758326',), 1337448081: ('0.04358435778758326',), 1337448079: ('0.04358435778758326',), 1337448059: ('0.04358435778758326',), 1337448056: ('0.04358435778758326',), 1337448053: ('0.04358435778758326',), 1337448051: ('0.04358435778758326',), 1337448028: ('0.04358435778758326',), 1337448026: ('0.04358435778758326',), 1337448024: ('0.04358435778758326',), 1337448022: ('0.04358435778758326',), 1337448021: ('0.04358435778758326',), 1337447990: ('0.04358435778758326',), 1337447989: ('0.04358435778758326',), 1337447966: ('0.04358435778758326',), 1337447963: ('0.04358435778758326',), 1337447960: ('0.04358435778758326',), 1337447956: ('0.04358435778758326',), 1337447954: ('0.04358435778758326',)} args : 1337447954 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 : {20524003: [{'Teint_Dans_La_Masse': 20524005, 'environnement': 20524006, 'metal': 20524007, 'papier': 20524008, 'kraft': 20524009, 'plastique': 20524010, 'mal_croppe': 20524011, 'flou': 20524012, 'Carton_gris': 20524013, 'autre_refus': 20524014, 'Carton_brun': 20524015, 'cartonnette': 20524016}]} input_args_next_step : {1337448382: ('0.04358435778758326',), 1337448346: ('0.04358435778758326',), 1337448345: ('0.04358435778758326',), 1337448337: ('0.04358435778758326',), 1337448336: ('0.04358435778758326',), 1337448332: ('0.04358435778758326',), 1337448331: ('0.04358435778758326',), 1337448319: ('0.04358435778758326',), 1337448314: ('0.04358435778758326',), 1337448308: ('0.04358435778758326',), 1337448304: ('0.04358435778758326',), 1337448300: ('0.04358435778758326',), 1337448250: ('0.04358435778758326',), 1337448247: ('0.04358435778758326',), 1337448245: ('0.04358435778758326',), 1337448209: ('0.04358435778758326',), 1337448206: ('0.04358435778758326',), 1337448203: ('0.04358435778758326',), 1337448201: ('0.04358435778758326',), 1337448163: ('0.04358435778758326',), 1337448160: ('0.04358435778758326',), 1337448147: ('0.04358435778758326',), 1337448127: ('0.04358435778758326',), 1337448081: ('0.04358435778758326',), 1337448079: ('0.04358435778758326',), 1337448059: ('0.04358435778758326',), 1337448056: ('0.04358435778758326',), 1337448053: ('0.04358435778758326',), 1337448051: ('0.04358435778758326',), 1337448028: ('0.04358435778758326',), 1337448026: ('0.04358435778758326',), 1337448024: ('0.04358435778758326',), 1337448022: ('0.04358435778758326',), 1337448021: ('0.04358435778758326',), 1337447990: ('0.04358435778758326',), 1337447989: ('0.04358435778758326',), 1337447966: ('0.04358435778758326',), 1337447963: ('0.04358435778758326',), 1337447960: ('0.04358435778758326',), 1337447956: ('0.04358435778758326',), 1337447954: ('0.04358435778758326',), 20524003: ()} output_args : {20524003: [{'Teint_Dans_La_Masse': 20524005, 'environnement': 20524006, 'metal': 20524007, 'papier': 20524008, 'kraft': 20524009, 'plastique': 20524010, 'mal_croppe': 20524011, 'flou': 20524012, 'Carton_gris': 20524013, 'autre_refus': 20524014, 'Carton_brun': 20524015, 'cartonnette': 20524016}]} args : 20524003 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.04358435778758326',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20524003) 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 (1337448382,1337448346,1337448345,1337448337,1337448336,1337448332,1337448331,1337448319,1337448314,1337448308,1337448304,1337448300,1337448250,1337448247,1337448245,1337448209,1337448206,1337448203,1337448201,1337448163,1337448160,1337448147,1337448127,1337448081,1337448079,1337448059,1337448056,1337448053,1337448051,1337448028,1337448026,1337448024,1337448022,1337448021,1337447990,1337447989,1337447966,1337447963,1337447960,1337447956,1337447954) Found this number of photos: 41 ##### Call download_photos : nb_thread : 5 begin to download photo : 1337447954 begin to download photo : 1337448024 begin to download photo : 1337448127 begin to download photo : 1337448247 begin to download photo : 1337448336 download finish for photo 1337448024 begin to download photo : 1337448026 download finish for photo 1337448336 begin to download photo : 1337448337 download finish for photo 1337448127 begin to download photo : 1337448147 download finish for photo 1337447954 begin to download photo : 1337447956 download finish for photo 1337448247 begin to download photo : 1337448250 download finish for photo 1337448250 begin to download photo : 1337448300 download finish for photo 1337448337 begin to download photo : 1337448345 download finish for photo 1337448147 begin to download photo : 1337448160 download finish for photo 1337448026 begin to download photo : 1337448028 download finish for photo 1337447956 begin to download photo : 1337447960 download finish for photo 1337448028 begin to download photo : 1337448051 download finish for photo 1337448300 begin to download photo : 1337448304 download finish for photo 1337448160 begin to download photo : 1337448163 download finish for photo 1337447960 begin to download photo : 1337447963 download finish for photo 1337448345 begin to download photo : 1337448346 download finish for photo 1337448304 begin to download photo : 1337448308 download finish for photo 1337448051 begin to download photo : 1337448053 download finish for photo 1337447963 begin to download photo : 1337447966 download finish for photo 1337448346 begin to download photo : 1337448382 download finish for photo 1337448163 begin to download photo : 1337448201 download finish for photo 1337448053 begin to download photo : 1337448056 download finish for photo 1337447966 begin to download photo : 1337447989 download finish for photo 1337448382 download finish for photo 1337448308 begin to download photo : 1337448314 download finish for photo 1337448201 begin to download photo : 1337448203 download finish for photo 1337447989 begin to download photo : 1337447990 download finish for photo 1337448056 begin to download photo : 1337448059 download finish for photo 1337448314 begin to download photo : 1337448319 download finish for photo 1337448203 begin to download photo : 1337448206 download finish for photo 1337447990 begin to download photo : 1337448021 download finish for photo 1337448059 begin to download photo : 1337448079 download finish for photo 1337448021 begin to download photo : 1337448022 download finish for photo 1337448206 begin to download photo : 1337448209 download finish for photo 1337448079 begin to download photo : 1337448081 download finish for photo 1337448319 begin to download photo : 1337448331 download finish for photo 1337448022 download finish for photo 1337448209 begin to download photo : 1337448245 download finish for photo 1337448081 download finish for photo 1337448331 begin to download photo : 1337448332 download finish for photo 1337448245 download finish for photo 1337448332 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette205240071739509834/ imagette205240091739509834/ length of list_filenames : 41 ; length of list_pids : 41 ; length of list_args : 41 results_Auto_P20524003_14-02-2025_06_10_34.pdf 20524007 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=20524007 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette205240071739509834 20524009 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=20524009 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette205240091739509834 20524010 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=20524010 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1337448215: '1739480212_1633578_1337448051_36e13251209466076beb4320d51f2f4e_rle_crop_3673860442_0.png', 1337448299: '1739480351_1634841_1337448201_382cecdc6a38f5eb1693f8548abfdb90_rle_crop_3673861164_0.png', 1337448405: '1739480472_1669904_1337448319_b44f4fc905f3ee04e9863d6430859a79_rle_crop_3673865999_0.png', 1337448481: '1739480573_1673283_1337448337_9f80465303f5f24efba7ef2c87d346d4_rle_crop_3673873498_0.png', 1337448482: '1739480573_1673283_1337448337_9f80465303f5f24efba7ef2c87d346d4_rle_crop_3673873510_0.png', 1337448483: '1739480573_1673283_1337448336_480fa9b74e705821c3bdcb9007cbc904_rle_crop_3673873571_0.png', 1337448484: '1739480573_1673283_1337448336_480fa9b74e705821c3bdcb9007cbc904_rle_crop_3673873583_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/52fb7893d600ab0f89221ad8bce137a0_50129430.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/a9754fcf22e01efc9ef4b02f752c14d7_84299023.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/762ea4189fa50387ab097f2dc54a9903_21501201.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/dc4e25d69a9aefad74b136254c84c1e7_80765177.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/419589f00f932ee5e2ff5ff568ae27be_8916576.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/dc4e25d69a9aefad74b136254c84c1e7_57735132.png change filename to text .imagette205240101739509834/ imagette205240101739509834/1739480351_1634841_1337448201_382cecdc6a38f5eb1693f8548abfdb90_rle_crop_3673861164_0.png.png imagette205240101739509834/1739480573_1673283_1337448337_9f80465303f5f24efba7ef2c87d346d4_rle_crop_3673873498_0.png.png imagette205240101739509834/1739480472_1669904_1337448319_b44f4fc905f3ee04e9863d6430859a79_rle_crop_3673865999_0.png.png imagette205240101739509834/1739480212_1633578_1337448051_36e13251209466076beb4320d51f2f4e_rle_crop_3673860442_0.png.png imagette205240101739509834/1739480573_1673283_1337448336_480fa9b74e705821c3bdcb9007cbc904_rle_crop_3673873571_0.png.png imagette205240101739509834/1739480573_1673283_1337448336_480fa9b74e705821c3bdcb9007cbc904_rle_crop_3673873583_0.png.png imagette205240101739509834/1739480573_1673283_1337448337_9f80465303f5f24efba7ef2c87d346d4_rle_crop_3673873510_0.png.png imagette205240111739509836/ imagette205240121739509836/ wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/419589f00f932ee5e2ff5ff568ae27be_10904013.png imagette205240101739509834 20524011 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=20524011 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette205240111739509836 20524012 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=20524012 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette205240121739509836 20524014 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=20524014 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1337448220: '1739480221_1633675_1337448028_807a60a238a1ed3219db41fcd3f48386_rle_crop_3673860451_0.png', 1337448241: '1739480232_1633844_1337448059_a60ce779eb88e86987bc3bc2853a760a_rle_crop_3673860665_0.png', 1337448294: '1739480351_1634841_1337448201_382cecdc6a38f5eb1693f8548abfdb90_rle_crop_3673861168_0.png', 1337448322: '1739480393_1635253_1337448163_7506f2de0129010bff428d54d4a665fe_rle_crop_3673861502_0.png', 1337448409: '1739480451_1660773_1337448304_4e9915d20ff33cdc9f9dc4d987e29f01_rle_crop_3673866018_0.png', 1337448410: '1739480451_1660773_1337448304_4e9915d20ff33cdc9f9dc4d987e29f01_rle_crop_3673866021_0.png', 1337448411: '1739480451_1660773_1337448300_8327443220e9059aca8dcecabb5478cf_rle_crop_3673866041_0.png', 1337448479: '1739480573_1673283_1337448337_9f80465303f5f24efba7ef2c87d346d4_rle_crop_3673873499_0.png', 1337448480: '1739480573_1673283_1337448336_480fa9b74e705821c3bdcb9007cbc904_rle_crop_3673873572_0.png', 1337455163: '1739483295_1705009_1337448304_4e9915d20ff33cdc9f9dc4d987e29f01_rle_crop_3673866018_0.png', 1337455164: '1739483295_1705009_1337448304_4e9915d20ff33cdc9f9dc4d987e29f01_rle_crop_3673866021_0.png', 1337455165: '1739483295_1705009_1337448300_8327443220e9059aca8dcecabb5478cf_rle_crop_3673866041_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/e6bbd333766b639004e04d5c085cd4e4_24980026.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/66cc051b5bec0000b19a56a110571e3d_39456755.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/58aba00c2e1275d59cc5f6fc3687eb1c_326216.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/609215db4dd768145bd5d897deee5557_79615996.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/f9bbd65d8f398320f768534a5e490064_26005341.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/47fdab479210ad00a07a1cbc04d28e84_67023312.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/be60b850840c733bb61b10949ce37ac5_35778307.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/15c7210c8dd658e31c2d13a004b3f8dc_20089811.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/15c7210c8dd658e31c2d13a004b3f8dc_42375596.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/f9bbd65d8f398320f768534a5e490064_73398379.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/47fdab479210ad00a07a1cbc04d28e84_89516730.png change filename to text .imagette205240141739509836/ imagette205240141739509836/1739483295_1705009_1337448304_4e9915d20ff33cdc9f9dc4d987e29f01_rle_crop_3673866021_0.png.png imagette205240141739509836/1739480451_1660773_1337448304_4e9915d20ff33cdc9f9dc4d987e29f01_rle_crop_3673866021_0.png.png imagette205240141739509836/1739480573_1673283_1337448336_480fa9b74e705821c3bdcb9007cbc904_rle_crop_3673873572_0.png.png imagette205240141739509836/1739480393_1635253_1337448163_7506f2de0129010bff428d54d4a665fe_rle_crop_3673861502_0.png.png imagette205240141739509836/1739483295_1705009_1337448304_4e9915d20ff33cdc9f9dc4d987e29f01_rle_crop_3673866018_0.png.png imagette205240141739509836/1739480221_1633675_1337448028_807a60a238a1ed3219db41fcd3f48386_rle_crop_3673860451_0.png.png imagette205240141739509836/1739480351_1634841_1337448201_382cecdc6a38f5eb1693f8548abfdb90_rle_crop_3673861168_0.png.png imagette205240141739509836/1739480451_1660773_1337448304_4e9915d20ff33cdc9f9dc4d987e29f01_rle_crop_3673866018_0.png.png imagette205240141739509836/1739480232_1633844_1337448059_a60ce779eb88e86987bc3bc2853a760a_rle_crop_3673860665_0.png.png imagette205240141739509836/1739483295_1705009_1337448300_8327443220e9059aca8dcecabb5478cf_rle_crop_3673866041_0.png.png imagette205240141739509836/1739480451_1660773_1337448300_8327443220e9059aca8dcecabb5478cf_rle_crop_3673866041_0.png.png imagette205240141739509836/1739480573_1673283_1337448337_9f80465303f5f24efba7ef2c87d346d4_rle_crop_3673873499_0.png.png wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/be60b850840c733bb61b10949ce37ac5_51229331.png imagette205240141739509836 20524016 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=20524016 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1337448242: '1739480232_1633844_1337448059_a60ce779eb88e86987bc3bc2853a760a_rle_crop_3673860668_0.png', 1337448347: '1739480373_1635073_1337448160_b56063fe6f392b17afd934f533052111_rle_crop_3673861543_0.png', 1337448348: '1739480373_1635073_1337448147_51dda1d4f4970e7b5885ee0f9fcaed37_rle_crop_3673861553_0.png', 1337448349: '1739480373_1635073_1337448147_51dda1d4f4970e7b5885ee0f9fcaed37_rle_crop_3673861558_0.png', 1337448350: '1739480373_1635073_1337448079_7093c523cb6a25e14594a8007afc7227_rle_crop_3673861659_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/b0727516cf4059b5e4763c79fd5ac3c7_76897957.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/a85ff3310ed94fb3e543f748280fcaf4_40332879.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/af5ade7953142c56e0baffc985957500_21314975.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/9807af2eb74adda297235ca2e5462580_94279985.png change filename to text .imagette205240161739509837/ imagette205240161739509837/1739480373_1635073_1337448079_7093c523cb6a25e14594a8007afc7227_rle_crop_3673861659_0.png.png imagette205240161739509837/1739480373_1635073_1337448147_51dda1d4f4970e7b5885ee0f9fcaed37_rle_crop_3673861553_0.png.png imagette205240161739509837/1739480373_1635073_1337448160_b56063fe6f392b17afd934f533052111_rle_crop_3673861543_0.png.png imagette205240161739509837/1739480232_1633844_1337448059_a60ce779eb88e86987bc3bc2853a760a_rle_crop_3673860668_0.png.png imagette205240161739509837/1739480373_1635073_1337448147_51dda1d4f4970e7b5885ee0f9fcaed37_rle_crop_3673861558_0.png.png wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/ccd9e5910d964d057fec74b7a161438c_65212002.png imagette205240161739509837 20524005 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=20524005 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1337448343: '1739480373_1635073_1337448079_7093c523cb6a25e14594a8007afc7227_rle_crop_3673861663_0.png', 1337455161: '1739483295_1705009_1337448308_6c241926ab30957c0859fdbe3bc665ea_rle_crop_3673865992_0.png', 1337455160: '1739483295_1705009_1337448314_cb3970b33627bba19ccaa4dfe917469b_rle_crop_3673865977_0.png', 1337448475: '1739480573_1673283_1337448336_480fa9b74e705821c3bdcb9007cbc904_rle_crop_3673873580_0.png', 1337448474: '1739480573_1673283_1337448336_480fa9b74e705821c3bdcb9007cbc904_rle_crop_3673873579_0.png', 1337448473: '1739480573_1673283_1337448337_9f80465303f5f24efba7ef2c87d346d4_rle_crop_3673873507_0.png', 1337448472: '1739480573_1673283_1337448337_9f80465303f5f24efba7ef2c87d346d4_rle_crop_3673873506_0.png', 1337448408: '1739480451_1660773_1337448308_6c241926ab30957c0859fdbe3bc665ea_rle_crop_3673865992_0.png', 1337448407: '1739480451_1660773_1337448314_cb3970b33627bba19ccaa4dfe917469b_rle_crop_3673865977_0.png', 1337448344: '1739480373_1635073_1337448079_7093c523cb6a25e14594a8007afc7227_rle_crop_3673861667_0.png', 1337448218: '1739480221_1633675_1337448028_807a60a238a1ed3219db41fcd3f48386_rle_crop_3673860457_0.png', 1337448342: '1739480373_1635073_1337448081_94f452a82108bfed5624df6f1ec7bff3_rle_crop_3673861640_0.png', 1337448341: '1739480373_1635073_1337448081_94f452a82108bfed5624df6f1ec7bff3_rle_crop_3673861644_0.png', 1337448340: '1739480373_1635073_1337448160_b56063fe6f392b17afd934f533052111_rle_crop_3673861541_0.png', 1337448293: '1739480351_1634841_1337448206_d107447d5cecf547d8643367a421bd78_rle_crop_3673861128_0.png', 1337448284: '1739480333_1634690_1337448245_beafdc71b4f24e8035a83e4116a36378_rle_crop_3673860926_0.png', 1337448240: '1739480232_1633844_1337448024_074774c78b4738f7dab77b04f5a32927_rle_crop_3673860706_0.png', 1337448239: '1739480232_1633844_1337448026_7a7490c8e2719d139873dc0049a81204_rle_crop_3673860690_0.png', 1337448238: '1739480232_1633844_1337448026_7a7490c8e2719d139873dc0049a81204_rle_crop_3673860689_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/0f559b72e6c5b31a7556f50498d9ee6b_90146533.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/0ed2f7f61c95b5d89e2dec2e811eef94_54334118.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/115a3d5fd038c5507b6fe254a0a462e9_58519730.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/044996faff94891e10d2a36bad4b06b7_99014670.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/cec951f752afa0239d04755f22661012_52916560.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/044996faff94891e10d2a36bad4b06b7_30422821.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/cec951f752afa0239d04755f22661012_20132389.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/0ed2f7f61c95b5d89e2dec2e811eef94_52742048.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/115a3d5fd038c5507b6fe254a0a462e9_13965954.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/54bee36df69ed6c0fca6db0203790d6a_71442365.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/3f6361500c22e24c3c1649a7c987709b_21395310.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/0a7bb5cd440298194542b41390fcde2d_87821072.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/13c0ec145879ef3357ccb7858d54bb1d_42238697.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/33992d8d583afb8012d228c4f83c9b63_38691326.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/98fd88ae62e681b7da422a7adb096753_68664295.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/b0a322a21238ca1ed3af70054f0f32a6_67351428.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/df8244b4b84fc21aa6847b8fb4424d95_62337330.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/8f49477c2b3a9dd757422829d51b4762_27059629.png change filename to text .imagette205240051739509838/ imagette205240051739509838/1739480573_1673283_1337448336_480fa9b74e705821c3bdcb9007cbc904_rle_crop_3673873580_0.png.png imagette205240051739509838/1739480373_1635073_1337448081_94f452a82108bfed5624df6f1ec7bff3_rle_crop_3673861640_0.png.png imagette205240051739509838/1739480351_1634841_1337448206_d107447d5cecf547d8643367a421bd78_rle_crop_3673861128_0.png.png imagette205240051739509838/1739483295_1705009_1337448308_6c241926ab30957c0859fdbe3bc665ea_rle_crop_3673865992_0.png.png imagette205240051739509838/1739480221_1633675_1337448028_807a60a238a1ed3219db41fcd3f48386_rle_crop_3673860457_0.png.png imagette205240051739509838/1739480333_1634690_1337448245_beafdc71b4f24e8035a83e4116a36378_rle_crop_3673860926_0.png.png imagette205240051739509838/1739480451_1660773_1337448308_6c241926ab30957c0859fdbe3bc665ea_rle_crop_3673865992_0.png.png imagette205240051739509838/1739480373_1635073_1337448079_7093c523cb6a25e14594a8007afc7227_rle_crop_3673861663_0.png.png imagette205240051739509838/1739480373_1635073_1337448160_b56063fe6f392b17afd934f533052111_rle_crop_3673861541_0.png.png imagette205240051739509838/1739480451_1660773_1337448314_cb3970b33627bba19ccaa4dfe917469b_rle_crop_3673865977_0.png.png imagette205240051739509838/1739480232_1633844_1337448024_074774c78b4738f7dab77b04f5a32927_rle_crop_3673860706_0.png.png imagette205240051739509838/1739480573_1673283_1337448337_9f80465303f5f24efba7ef2c87d346d4_rle_crop_3673873506_0.png.png imagette205240051739509838/1739480573_1673283_1337448337_9f80465303f5f24efba7ef2c87d346d4_rle_crop_3673873507_0.png.png imagette205240051739509838/1739483295_1705009_1337448314_cb3970b33627bba19ccaa4dfe917469b_rle_crop_3673865977_0.png.png imagette205240051739509838/1739480232_1633844_1337448026_7a7490c8e2719d139873dc0049a81204_rle_crop_3673860689_0.png.png imagette205240051739509838/1739480373_1635073_1337448079_7093c523cb6a25e14594a8007afc7227_rle_crop_3673861667_0.png.png imagette205240051739509838/1739480373_1635073_1337448081_94f452a82108bfed5624df6f1ec7bff3_rle_crop_3673861644_0.png.png imagette205240051739509838/1739480573_1673283_1337448336_480fa9b74e705821c3bdcb9007cbc904_rle_crop_3673873579_0.png.png imagette205240051739509838/1739480232_1633844_1337448026_7a7490c8e2719d139873dc0049a81204_rle_crop_3673860690_0.png.png wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/afcb0353e902752338617dabbdff95d0_40250564.png imagette205240051739509838 20524013 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=20524013 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1337448000: '1739479992_1632100_1337447963_75658ce4de45c2c8a7393739c95cd743_rle_crop_3673858653_0.png', 1337448001: '1739479992_1632100_1337447963_75658ce4de45c2c8a7393739c95cd743_rle_crop_3673858656_0.png', 1337448054: '1739480091_1632931_1337447990_9436b6498008d3cae4cfc5eef6608cce_rle_crop_3673858735_0.png', 1337448210: '1739480212_1633578_1337448051_36e13251209466076beb4320d51f2f4e_rle_crop_3673860435_0.png', 1337448286: '1739480333_1634690_1337448245_beafdc71b4f24e8035a83e4116a36378_rle_crop_3673860921_0.png', 1337448295: '1739480351_1634841_1337448203_698dd6461f92eb1a1b7a61402cd2f292_rle_crop_3673861144_0.png', 1337448296: '1739480351_1634841_1337448201_382cecdc6a38f5eb1693f8548abfdb90_rle_crop_3673861167_0.png', 1337448402: '1739480472_1669904_1337448319_b44f4fc905f3ee04e9863d6430859a79_rle_crop_3673866000_0.png', 1337448403: '1739480472_1669904_1337448319_b44f4fc905f3ee04e9863d6430859a79_rle_crop_3673866004_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/d66e021d8e2038137093eccedff26b76_62726380.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/bb02c35df4c17d94390424b42a92f25b_13070450.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/673961373349d59100fd433f97f5227b_75963388.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/34549293f7d8e84019574c6ded208308_24285815.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/19e5885832db1ee245ea2e9c1d69ed26_80841641.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/94294885b1b1c786bd0786060d1631a5_68613875.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/7ca622acbd3fbc3233d6a27ad5729be8_89886219.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/3a72d80cfa1eed7b013befdc43f6f613_84710048.png change filename to text .imagette205240131739509839/ imagette205240131739509839/1739480351_1634841_1337448203_698dd6461f92eb1a1b7a61402cd2f292_rle_crop_3673861144_0.png.png imagette205240131739509839/1739480333_1634690_1337448245_beafdc71b4f24e8035a83e4116a36378_rle_crop_3673860921_0.png.png imagette205240131739509839/1739480472_1669904_1337448319_b44f4fc905f3ee04e9863d6430859a79_rle_crop_3673866004_0.png.png imagette205240131739509839/1739480212_1633578_1337448051_36e13251209466076beb4320d51f2f4e_rle_crop_3673860435_0.png.png imagette205240131739509839/1739479992_1632100_1337447963_75658ce4de45c2c8a7393739c95cd743_rle_crop_3673858656_0.png.png imagette205240131739509839/1739480351_1634841_1337448201_382cecdc6a38f5eb1693f8548abfdb90_rle_crop_3673861167_0.png.png imagette205240131739509839/1739480091_1632931_1337447990_9436b6498008d3cae4cfc5eef6608cce_rle_crop_3673858735_0.png.png imagette205240131739509839/1739479992_1632100_1337447963_75658ce4de45c2c8a7393739c95cd743_rle_crop_3673858653_0.png.png imagette205240131739509839/1739480472_1669904_1337448319_b44f4fc905f3ee04e9863d6430859a79_rle_crop_3673866000_0.png.png wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/dcd8f10bf74c484eeb6314a4e154012c_35557184.png imagette205240131739509839 20524015 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=20524015 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1337448353: '1739480373_1635073_1337448209_ee70455020394081f1264e10df78ab85_rle_crop_3673861526_0.png', 1337455167: '1739483295_1705009_1337448308_6c241926ab30957c0859fdbe3bc665ea_rle_crop_3673865986_0.png', 1337455166: '1739483295_1705009_1337448308_6c241926ab30957c0859fdbe3bc665ea_rle_crop_3673865985_0.png', 1337448413: '1739480451_1660773_1337448308_6c241926ab30957c0859fdbe3bc665ea_rle_crop_3673865986_0.png', 1337448412: '1739480451_1660773_1337448308_6c241926ab30957c0859fdbe3bc665ea_rle_crop_3673865985_0.png', 1337448404: '1739480472_1669904_1337448319_b44f4fc905f3ee04e9863d6430859a79_rle_crop_3673866005_0.png', 1337448358: '1739480373_1635073_1337448147_51dda1d4f4970e7b5885ee0f9fcaed37_rle_crop_3673861563_0.png', 1337448357: '1739480373_1635073_1337448160_b56063fe6f392b17afd934f533052111_rle_crop_3673861544_0.png', 1337448356: '1739480373_1635073_1337448160_b56063fe6f392b17afd934f533052111_rle_crop_3673861545_0.png', 1337448355: '1739480373_1635073_1337448209_ee70455020394081f1264e10df78ab85_rle_crop_3673861524_0.png', 1337448354: '1739480373_1635073_1337448209_ee70455020394081f1264e10df78ab85_rle_crop_3673861529_0.png', 1337448002: '1739479992_1632100_1337447960_508be50c7ffb4ee171bff627b3eec48b_rle_crop_3673858672_0.png', 1337448325: '1739480393_1635253_1337448163_7506f2de0129010bff428d54d4a665fe_rle_crop_3673861503_0.png', 1337448324: '1739480393_1635253_1337448163_7506f2de0129010bff428d54d4a665fe_rle_crop_3673861507_0.png', 1337448323: '1739480393_1635253_1337448163_7506f2de0129010bff428d54d4a665fe_rle_crop_3673861505_0.png', 1337448298: '1739480351_1634841_1337448201_382cecdc6a38f5eb1693f8548abfdb90_rle_crop_3673861170_0.png', 1337448297: '1739480351_1634841_1337448206_d107447d5cecf547d8643367a421bd78_rle_crop_3673861134_0.png', 1337448243: '1739480232_1633844_1337448059_a60ce779eb88e86987bc3bc2853a760a_rle_crop_3673860674_0.png', 1337448214: '1739480212_1633578_1337448051_36e13251209466076beb4320d51f2f4e_rle_crop_3673860441_0.png', 1337448213: '1739480212_1633578_1337448051_36e13251209466076beb4320d51f2f4e_rle_crop_3673860438_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/6716ce0ad36a4d64e00ce3da55347bb4_96174856.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/84f9f30072dee1c2b5d2e35056a4e3fc_37768840.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/087f44fa97e36b0ac51376d762a12905_89820161.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/84f9f30072dee1c2b5d2e35056a4e3fc_86872855.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/087f44fa97e36b0ac51376d762a12905_46126132.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/36ffdc9520abaa1e65e273f680a36e60_56929950.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/31b9d2d842fa2b099e370ace40c961ef_5519320.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/fa8a80ff8e29c905bb790013d029b713_66465378.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/a9f9e84d02684e5a91d32d084145a394_13821313.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/d197ec063b05fcdc935e7eecae95c5ea_2648874.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/df77024e0e77391a736d04e3e8bd21aa_39892000.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/78adf5d7b0dd31882ee3ccbf7b8cfee3_69823593.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/a61d4ba63fff0e711288daced6f0c090_68727477.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/047c8eb3ae316f33cd9087d5e0901904_70713601.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/2cd839849faffefec37250bf18a3afd4_67641271.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/4bb3ebc8c6ccf015f52b9ea4529b7fe5_79645175.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/becd18dd6b63dfdc609444633526b74f_51029317.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/fea254344a0a0cfcbbaa445556541feb_20106960.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/39ae4e9959ca2319a397fe4b47b96277_24467856.png change filename to text .imagette205240151739509840/ imagette205240151739509840/1739483295_1705009_1337448308_6c241926ab30957c0859fdbe3bc665ea_rle_crop_3673865985_0.png.png imagette205240151739509840/1739479992_1632100_1337447960_508be50c7ffb4ee171bff627b3eec48b_rle_crop_3673858672_0.png.png imagette205240151739509840/1739480351_1634841_1337448206_d107447d5cecf547d8643367a421bd78_rle_crop_3673861134_0.png.png imagette205240151739509840/1739480212_1633578_1337448051_36e13251209466076beb4320d51f2f4e_rle_crop_3673860438_0.png.png imagette205240151739509840/1739480373_1635073_1337448209_ee70455020394081f1264e10df78ab85_rle_crop_3673861529_0.png.png imagette205240151739509840/1739480472_1669904_1337448319_b44f4fc905f3ee04e9863d6430859a79_rle_crop_3673866005_0.png.png imagette205240151739509840/1739480373_1635073_1337448160_b56063fe6f392b17afd934f533052111_rle_crop_3673861545_0.png.png imagette205240151739509840/1739480212_1633578_1337448051_36e13251209466076beb4320d51f2f4e_rle_crop_3673860441_0.png.png imagette205240151739509840/1739480393_1635253_1337448163_7506f2de0129010bff428d54d4a665fe_rle_crop_3673861503_0.png.png imagette205240151739509840/1739480451_1660773_1337448308_6c241926ab30957c0859fdbe3bc665ea_rle_crop_3673865985_0.png.png imagette205240151739509840/1739480393_1635253_1337448163_7506f2de0129010bff428d54d4a665fe_rle_crop_3673861505_0.png.png imagette205240151739509840/1739480351_1634841_1337448201_382cecdc6a38f5eb1693f8548abfdb90_rle_crop_3673861170_0.png.png imagette205240151739509840/1739480373_1635073_1337448209_ee70455020394081f1264e10df78ab85_rle_crop_3673861526_0.png.png imagette205240151739509840/1739480373_1635073_1337448147_51dda1d4f4970e7b5885ee0f9fcaed37_rle_crop_3673861563_0.png.png imagette205240151739509840/1739480393_1635253_1337448163_7506f2de0129010bff428d54d4a665fe_rle_crop_3673861507_0.png.png imagette205240151739509840/1739483295_1705009_1337448308_6c241926ab30957c0859fdbe3bc665ea_rle_crop_3673865986_0.png.png imagette205240151739509840/1739480373_1635073_1337448160_b56063fe6f392b17afd934f533052111_rle_crop_3673861544_0.png.png imagette205240151739509840/1739480373_1635073_1337448209_ee70455020394081f1264e10df78ab85_rle_crop_3673861524_0.png.png imagette205240151739509840/1739480451_1660773_1337448308_6c241926ab30957c0859fdbe3bc665ea_rle_crop_3673865986_0.png.png imagette205240151739509840/1739480232_1633844_1337448059_a60ce779eb88e86987bc3bc2853a760a_rle_crop_3673860674_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/68355e73882687ce958d95c1c931fbb6_26113899.png imagette205240151739509840 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=20524003 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/20524017,20524018,20524019,20524020,20524021,20524022,20524023,20524024,20524025,20524026,20524027,20524028?tags=Teint_Dans_La_Masse,environnement,metal,papier,kraft,plastique,mal_croppe,flou,Carton_gris,autre_refus,Carton_brun,cartonnette your option no_mail is active, we will not send the real mail to your client args[1337448382] : ('0.04358435778758326',) no score found for photo 1337448382 apple ('0.04358435778758326',) We are sending mail with results at report@fotonower.com args[1337448346] : ('0.04358435778758326',) no score found for photo 1337448346 apple ('0.04358435778758326',) We are sending mail with results at report@fotonower.com args[1337448345] : ('0.04358435778758326',) no score found for photo 1337448345 apple ('0.04358435778758326',) We are sending mail with results at report@fotonower.com args[1337448337] : ('0.04358435778758326',) no score found for photo 1337448337 apple ('0.04358435778758326',) We are sending mail with results at report@fotonower.com args[1337448336] : ('0.04358435778758326',) no score found for photo 1337448336 apple ('0.04358435778758326',) We are sending mail with results at report@fotonower.com args[1337448332] : ('0.04358435778758326',) no score found for photo 1337448332 apple ('0.04358435778758326',) We are sending mail with results at report@fotonower.com args[1337448331] : ('0.04358435778758326',) no score found for photo 1337448331 apple ('0.04358435778758326',) We are sending mail with results at report@fotonower.com args[1337448319] : ('0.04358435778758326',) no score found for photo 1337448319 apple ('0.04358435778758326',) We are sending mail with results at report@fotonower.com args[1337448314] : ('0.04358435778758326',) no score found for photo 1337448314 apple ('0.04358435778758326',) We are sending mail with results at report@fotonower.com args[1337448308] : ('0.04358435778758326',) no score found for photo 1337448308 apple ('0.04358435778758326',) We are sending mail with results at report@fotonower.com args[1337448304] : ('0.04358435778758326',) no score found for photo 1337448304 apple ('0.04358435778758326',) We are sending mail with results at report@fotonower.com args[1337448300] : ('0.04358435778758326',) no score found for photo 1337448300 apple ('0.04358435778758326',) We are sending mail with results at report@fotonower.com args[1337448250] : ('0.04358435778758326',) no score found for photo 1337448250 apple ('0.04358435778758326',) We are sending mail with results at report@fotonower.com args[1337448247] : ('0.04358435778758326',) no score found for photo 1337448247 apple ('0.04358435778758326',) We are sending mail with results at report@fotonower.com args[1337448245] : ('0.04358435778758326',) no score found for photo 1337448245 apple ('0.04358435778758326',) We are sending mail with results at report@fotonower.com args[1337448209] : ('0.04358435778758326',) no score found for photo 1337448209 apple ('0.04358435778758326',) We are sending mail with results at report@fotonower.com args[1337448206] : ('0.04358435778758326',) no score found for photo 1337448206 apple ('0.04358435778758326',) We are sending mail with results at report@fotonower.com args[1337448203] : ('0.04358435778758326',) no score found for photo 1337448203 apple ('0.04358435778758326',) We are sending mail with results at report@fotonower.com args[1337448201] : ('0.04358435778758326',) no score found for photo 1337448201 apple ('0.04358435778758326',) We are sending mail with results at report@fotonower.com args[1337448163] : ('0.04358435778758326',) no score found for photo 1337448163 apple ('0.04358435778758326',) We are sending mail with results at report@fotonower.com args[1337448160] : ('0.04358435778758326',) no score found for photo 1337448160 apple ('0.04358435778758326',) We are sending mail with results at report@fotonower.com args[1337448147] : ('0.04358435778758326',) no score found for photo 1337448147 apple ('0.04358435778758326',) We are sending mail with results at report@fotonower.com args[1337448127] : ('0.04358435778758326',) no score found for photo 1337448127 apple ('0.04358435778758326',) We are sending mail with results at report@fotonower.com args[1337448081] : ('0.04358435778758326',) no score found for photo 1337448081 apple ('0.04358435778758326',) We are sending mail with results at report@fotonower.com args[1337448079] : ('0.04358435778758326',) no score found for photo 1337448079 apple ('0.04358435778758326',) We are sending mail with results at report@fotonower.com args[1337448059] : ('0.04358435778758326',) no score found for photo 1337448059 apple ('0.04358435778758326',) We are sending mail with results at report@fotonower.com args[1337448056] : ('0.04358435778758326',) no score found for photo 1337448056 apple ('0.04358435778758326',) We are sending mail with results at report@fotonower.com args[1337448053] : ('0.04358435778758326',) no score found for photo 1337448053 apple ('0.04358435778758326',) We are sending mail with results at report@fotonower.com args[1337448051] : ('0.04358435778758326',) no score found for photo 1337448051 apple ('0.04358435778758326',) We are sending mail with results at report@fotonower.com args[1337448028] : ('0.04358435778758326',) no score found for photo 1337448028 apple ('0.04358435778758326',) We are sending mail with results at report@fotonower.com args[1337448026] : ('0.04358435778758326',) no score found for photo 1337448026 apple ('0.04358435778758326',) We are sending mail with results at report@fotonower.com args[1337448024] : ('0.04358435778758326',) no score found for photo 1337448024 apple ('0.04358435778758326',) We are sending mail with results at report@fotonower.com args[1337448022] : ('0.04358435778758326',) no score found for photo 1337448022 apple ('0.04358435778758326',) We are sending mail with results at report@fotonower.com args[1337448021] : ('0.04358435778758326',) no score found for photo 1337448021 apple ('0.04358435778758326',) We are sending mail with results at report@fotonower.com args[1337447990] : ('0.04358435778758326',) no score found for photo 1337447990 apple ('0.04358435778758326',) We are sending mail with results at report@fotonower.com args[1337447989] : ('0.04358435778758326',) no score found for photo 1337447989 apple ('0.04358435778758326',) We are sending mail with results at report@fotonower.com args[1337447966] : ('0.04358435778758326',) no score found for photo 1337447966 apple ('0.04358435778758326',) We are sending mail with results at report@fotonower.com args[1337447963] : ('0.04358435778758326',) no score found for photo 1337447963 apple ('0.04358435778758326',) We are sending mail with results at report@fotonower.com args[1337447960] : ('0.04358435778758326',) no score found for photo 1337447960 apple ('0.04358435778758326',) We are sending mail with results at report@fotonower.com args[1337447956] : ('0.04358435778758326',) no score found for photo 1337447956 apple ('0.04358435778758326',) We are sending mail with results at report@fotonower.com args[1337447954] : ('0.04358435778758326',) no score found for photo 1337447954 apple ('0.04358435778758326',) We are sending mail with results at report@fotonower.com refus_total : 0.04358435778758326 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=20524003 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_P20524003_14-02-2025_06_10_34.pdf results_Auto_P20524003_14-02-2025_06_10_34.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20524003_14-02-2025_06_10_34.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','20524003','results_Auto_P20524003_14-02-2025_06_10_34.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20524003_14-02-2025_06_10_34.pdf','pdf','','0.48','0.04358435778758326') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20524003]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1337448382, 1337448346, 1337448345, 1337448337, 1337448336, 1337448332, 1337448331, 1337448319, 1337448314, 1337448308, 1337448304, 1337448300, 1337448250, 1337448247, 1337448245, 1337448209, 1337448206, 1337448203, 1337448201, 1337448163, 1337448160, 1337448147, 1337448127, 1337448081, 1337448079, 1337448059, 1337448056, 1337448053, 1337448051, 1337448028, 1337448026, 1337448024, 1337448022, 1337448021, 1337447990, 1337447989, 1337447966, 1337447963, 1337447960, 1337447956, 1337447954] map_info['map_portfolio_photo'] : {20524003: [1337448382, 1337448346, 1337448345, 1337448337, 1337448336, 1337448332, 1337448331, 1337448319, 1337448314, 1337448308, 1337448304, 1337448300, 1337448250, 1337448247, 1337448245, 1337448209, 1337448206, 1337448203, 1337448201, 1337448163, 1337448160, 1337448147, 1337448127, 1337448081, 1337448079, 1337448059, 1337448056, 1337448053, 1337448051, 1337448028, 1337448026, 1337448024, 1337448022, 1337448021, 1337447990, 1337447989, 1337447966, 1337447963, 1337447960, 1337447956, 1337447954]} final : False mtd_id 4302 list_pids : [1337448382, 1337448346, 1337448345, 1337448337, 1337448336, 1337448332, 1337448331, 1337448319, 1337448314, 1337448308, 1337448304, 1337448300, 1337448250, 1337448247, 1337448245, 1337448209, 1337448206, 1337448203, 1337448201, 1337448163, 1337448160, 1337448147, 1337448127, 1337448081, 1337448079, 1337448059, 1337448056, 1337448053, 1337448051, 1337448028, 1337448026, 1337448024, 1337448022, 1337448021, 1337447990, 1337447989, 1337447966, 1337447963, 1337447960, 1337447956, 1337447954] 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, '2585384') ('4302', '20524003', '1337448382', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448346', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448345', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448337', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448336', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448332', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448331', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448319', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448314', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448308', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448304', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448300', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448250', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448247', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448245', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448209', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448206', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448203', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448201', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448163', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448160', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448147', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448127', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448081', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448079', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448059', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448056', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448053', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448051', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448028', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448026', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448024', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448022', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448021', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337447990', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337447989', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337447966', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337447963', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337447960', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337447956', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337447954', None, None, None, None, None, '2585384') 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', '20524003', '1337448382', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337448346', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337448345', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337448337', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337448336', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337448332', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337448331', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337448319', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337448314', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337448308', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337448304', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337448300', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337448250', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337448247', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337448245', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337448209', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337448206', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337448203', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337448201', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337448163', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337448160', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337448147', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337448127', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337448081', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337448079', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337448059', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337448056', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337448053', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337448051', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337448028', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337448026', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337448024', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337448022', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337448021', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337447990', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337447989', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337447966', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337447963', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337447960', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337447956', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337447954', None, None, None, None, None, '2585384')] time used for this insertion : 0.027280807495117188 save_final save missing photos in datou_result : time spend for datou_step_exec : 16.478705406188965 time spend to save output : 0.02778148651123047 total time spend for step 4 : 16.506486892700195 step5:split_time_score Fri Feb 14 06:10:49 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 : ['20524003'] 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 : [('20524003',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20524003) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1337448336: {'path': 'temp/1739509833_3171714_1337448336_480fa9b74e705821c3bdcb9007cbc904.jpg', 'extension': 'jpg'}, 1337448337: {'path': 'temp/1739509833_3171714_1337448337_9f80465303f5f24efba7ef2c87d346d4.jpg', 'extension': 'jpg'}, 1337448345: {'path': 'temp/1739509833_3171714_1337448345_e2cd412a1071d5f171e9d8e58f34be6e.jpg', 'extension': 'jpg'}, 1337448346: {'path': 'temp/1739509833_3171714_1337448346_cad0543b6c9605bfa6bfbcd730bff69e.jpg', 'extension': 'jpg'}, 1337448382: {'path': 'temp/1739509833_3171714_1337448382_6879a7758db0e6dded1fb5aaa89295ec.jpg', 'extension': 'jpg'}, 1337447954: {'path': 'temp/1739509833_3171714_1337447954_cd140c77234a95dcc50b03eab5dc23b8.jpg', 'extension': 'jpg'}, 1337447956: {'path': 'temp/1739509833_3171714_1337447956_ec489493faea77f5b0dfd915459f53a8.jpg', 'extension': 'jpg'}, 1337447960: {'path': 'temp/1739509833_3171714_1337447960_508be50c7ffb4ee171bff627b3eec48b.jpg', 'extension': 'jpg'}, 1337447963: {'path': 'temp/1739509833_3171714_1337447963_75658ce4de45c2c8a7393739c95cd743.jpg', 'extension': 'jpg'}, 1337447966: {'path': 'temp/1739509833_3171714_1337447966_b238f1ec7f8ca3f3db2ca0ab81424710.jpg', 'extension': 'jpg'}, 1337447989: {'path': 'temp/1739509833_3171714_1337447989_eed74b628ef9003c7529cc07a218757b.jpg', 'extension': 'jpg'}, 1337447990: {'path': 'temp/1739509833_3171714_1337447990_9436b6498008d3cae4cfc5eef6608cce.jpg', 'extension': 'jpg'}, 1337448021: {'path': 'temp/1739509833_3171714_1337448021_5a4f784bd4b56b893614cced25d54539.jpg', 'extension': 'jpg'}, 1337448022: {'path': 'temp/1739509833_3171714_1337448022_1aab2cb74106bb0c3e0c74c7dc293f29.jpg', 'extension': 'jpg'}, 1337448024: {'path': 'temp/1739509833_3171714_1337448024_074774c78b4738f7dab77b04f5a32927.jpg', 'extension': 'jpg'}, 1337448026: {'path': 'temp/1739509833_3171714_1337448026_7a7490c8e2719d139873dc0049a81204.jpg', 'extension': 'jpg'}, 1337448028: {'path': 'temp/1739509833_3171714_1337448028_807a60a238a1ed3219db41fcd3f48386.jpg', 'extension': 'jpg'}, 1337448051: {'path': 'temp/1739509833_3171714_1337448051_36e13251209466076beb4320d51f2f4e.jpg', 'extension': 'jpg'}, 1337448053: {'path': 'temp/1739509833_3171714_1337448053_9ace48953cf9caafa3461d7f85e63898.jpg', 'extension': 'jpg'}, 1337448056: {'path': 'temp/1739509833_3171714_1337448056_d163463fe2eca642b4ab7577aa9348f9.jpg', 'extension': 'jpg'}, 1337448059: {'path': 'temp/1739509833_3171714_1337448059_a60ce779eb88e86987bc3bc2853a760a.jpg', 'extension': 'jpg'}, 1337448079: {'path': 'temp/1739509833_3171714_1337448079_7093c523cb6a25e14594a8007afc7227.jpg', 'extension': 'jpg'}, 1337448081: {'path': 'temp/1739509833_3171714_1337448081_94f452a82108bfed5624df6f1ec7bff3.jpg', 'extension': 'jpg'}, 1337448127: {'path': 'temp/1739509833_3171714_1337448127_a814e423a6d84b301e3ec2ef1cca07f6.jpg', 'extension': 'jpg'}, 1337448147: {'path': 'temp/1739509833_3171714_1337448147_51dda1d4f4970e7b5885ee0f9fcaed37.jpg', 'extension': 'jpg'}, 1337448160: {'path': 'temp/1739509833_3171714_1337448160_b56063fe6f392b17afd934f533052111.jpg', 'extension': 'jpg'}, 1337448163: {'path': 'temp/1739509833_3171714_1337448163_7506f2de0129010bff428d54d4a665fe.jpg', 'extension': 'jpg'}, 1337448201: {'path': 'temp/1739509833_3171714_1337448201_382cecdc6a38f5eb1693f8548abfdb90.jpg', 'extension': 'jpg'}, 1337448203: {'path': 'temp/1739509833_3171714_1337448203_698dd6461f92eb1a1b7a61402cd2f292.jpg', 'extension': 'jpg'}, 1337448206: {'path': 'temp/1739509833_3171714_1337448206_d107447d5cecf547d8643367a421bd78.jpg', 'extension': 'jpg'}, 1337448209: {'path': 'temp/1739509833_3171714_1337448209_ee70455020394081f1264e10df78ab85.jpg', 'extension': 'jpg'}, 1337448245: {'path': 'temp/1739509833_3171714_1337448245_beafdc71b4f24e8035a83e4116a36378.jpg', 'extension': 'jpg'}, 1337448247: {'path': 'temp/1739509833_3171714_1337448247_be88fbb3db96af7e24cc001d3db55455.jpg', 'extension': 'jpg'}, 1337448250: {'path': 'temp/1739509833_3171714_1337448250_0c8047ee999744240b105f2125148b67.jpg', 'extension': 'jpg'}, 1337448300: {'path': 'temp/1739509833_3171714_1337448300_8327443220e9059aca8dcecabb5478cf.jpg', 'extension': 'jpg'}, 1337448304: {'path': 'temp/1739509833_3171714_1337448304_4e9915d20ff33cdc9f9dc4d987e29f01.jpg', 'extension': 'jpg'}, 1337448308: {'path': 'temp/1739509833_3171714_1337448308_6c241926ab30957c0859fdbe3bc665ea.jpg', 'extension': 'jpg'}, 1337448314: {'path': 'temp/1739509833_3171714_1337448314_cb3970b33627bba19ccaa4dfe917469b.jpg', 'extension': 'jpg'}, 1337448319: {'path': 'temp/1739509833_3171714_1337448319_b44f4fc905f3ee04e9863d6430859a79.jpg', 'extension': 'jpg'}, 1337448331: {'path': 'temp/1739509833_3171714_1337448331_254fd51924b75c0a78e4fa2dc082614b.jpg', 'extension': 'jpg'}, 1337448332: {'path': 'temp/1739509833_3171714_1337448332_d0d5e22888ab698608ee486d60afba04.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 = 20524003; (('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 = 20524003 group by h (('21', 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=20524003 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 (20524003) 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 (20524003) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 13022025 20524003 Nombre de photos uploadées : 41 / 23040 (0%) 13022025 20524003 Nombre de photos taguées (types de déchets): 0 / 41 (0%) 13022025 20524003 Nombre de photos taguées (volume) : 0 / 41 (0%) [{'photo_id': 1337447966, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/b238f1ec7f8ca3f3db2ca0ab81424710.jpg', 'username': None, 'uploaded_at': 1739479927, 'text': 'image_13022025_21_50_54_10135.jpg'}, {'photo_id': 1337447963, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/75658ce4de45c2c8a7393739c95cd743.jpg', 'username': None, 'uploaded_at': 1739479927, 'text': 'image_13022025_21_51_14_010158m0.jpg 1e-05 for time 1, id_amount 1 this amount prod time diff : 1e-05'}, {'photo_id': 1337447960, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/508be50c7ffb4ee171bff627b3eec48b.jpg', 'username': None, 'uploaded_at': 1739479927, 'text': 'image_13022025_21_51_24_010144m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1337447956, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/ec489493faea77f5b0dfd915459f53a8.jpg', 'username': None, 'uploaded_at': 1739479927, 'text': 'image_13022025_21_51_34_010142m0.jpg 3.0000000000000004e-05 for time 1, id_amount 1 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 1.6689300537109375e-06 elapsed_time : order_list_meta_photo_and_scores 5.0067901611328125e-06 ????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0020072460174560547 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 20524003, '2025-02-13' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1599443,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.03196907043457031 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= 1599443 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1599443, 'dashboard_run_id': 1610494, 'mtr_portfolio_id': 20496702, 'dashboard_result_id': 8885134, '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_P20496702_14-02-2025_05_34_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20496703, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20496704, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20496705, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20496706, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20496707, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20496708, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20496709, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20496710, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20496711, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20496712, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20496713, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20496714, 'pht': 3726}}"}, {'dashboat_entry_day': 1599443, 'dashboard_run_id': 1610494, 'mtr_portfolio_id': 20496893, 'dashboard_result_id': 8885135, '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_P20496893_14-02-2025_05_35_29.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20496895, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20496896, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20496897, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20496898, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20496899, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20496900, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20496901, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20496902, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20496903, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20496904, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20496905, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20496906, 'pht': 3726}}"}, {'dashboat_entry_day': 1599443, 'dashboard_run_id': 1610494, 'mtr_portfolio_id': 20497229, 'dashboard_result_id': 8885136, '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_P20497229_14-02-2025_05_36_05.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20497266, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20497270, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20497271, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20497272, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20497273, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20497274, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20497275, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20497276, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20497277, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20497278, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20497279, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20497280, 'pht': 3726}}"}, {'dashboat_entry_day': 1599443, 'dashboard_run_id': 1610494, 'mtr_portfolio_id': 20497769, 'dashboard_result_id': 8885137, '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_P20497769_14-02-2025_05_36_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20497772, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20497773, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20497774, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20497775, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20497776, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20497777, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20497778, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20497779, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20497780, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20497781, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20497782, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20497783, 'pht': 3726}}"}, {'dashboat_entry_day': 1599443, 'dashboard_run_id': 1610494, 'mtr_portfolio_id': 20498225, 'dashboard_result_id': 8885138, '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_P20498225_14-02-2025_05_38_36.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20498252, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20498253, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20498254, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20498255, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20498256, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20498257, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20498258, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20498259, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20498260, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20498261, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20498262, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20498263, 'pht': 3726}}"}, {'dashboat_entry_day': 1599443, 'dashboard_run_id': 1610494, 'mtr_portfolio_id': 20498729, 'dashboard_result_id': 8885139, '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_P20498729_14-02-2025_05_39_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20498780, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20498781, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20498782, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20498783, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20498784, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20498785, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20498786, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20498787, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20498788, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20498789, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20498790, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20498791, 'pht': 3726}}"}, {'dashboat_entry_day': 1599443, 'dashboard_run_id': 1610494, 'mtr_portfolio_id': 20499230, 'dashboard_result_id': 8885140, '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_P20499230_14-02-2025_05_40_02.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20499234, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20499235, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20499236, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20499237, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20499238, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20499239, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20499240, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20499241, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20499242, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20499243, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20499244, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20499245, 'pht': 3726}}"}, {'dashboat_entry_day': 1599443, 'dashboard_run_id': 1610494, 'mtr_portfolio_id': 20499537, 'dashboard_result_id': 8885141, '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_P20499537_14-02-2025_05_40_35.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20499616, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20499617, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20499618, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20499619, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20499620, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20499621, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20499622, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20499623, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20499624, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20499625, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20499626, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20499627, 'pht': 3726}}"}, {'dashboat_entry_day': 1599443, 'dashboard_run_id': 1610494, 'mtr_portfolio_id': 20500137, 'dashboard_result_id': 8885142, '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_P20500137_14-02-2025_05_41_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20500153, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20500154, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20500155, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20500156, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20500157, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20500158, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20500159, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20500160, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20500161, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20500162, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20500163, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20500164, 'pht': 3726}}"}, {'dashboat_entry_day': 1599443, 'dashboard_run_id': 1610494, 'mtr_portfolio_id': 20500514, 'dashboard_result_id': 8885143, '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_P20500514_14-02-2025_05_42_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20500588, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20500589, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20500590, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20500591, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20500592, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20500593, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20500594, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20500595, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20500596, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20500597, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20500598, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20500599, 'pht': 3726}}"}, {'dashboat_entry_day': 1599443, 'dashboard_run_id': 1610494, 'mtr_portfolio_id': 20501204, 'dashboard_result_id': 8885144, '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_P20501204_14-02-2025_05_42_36.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20501206, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20501207, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20501208, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20501209, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20501210, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20501211, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20501212, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20501213, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20501214, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20501215, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20501216, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20501217, 'pht': 3726}}"}, {'dashboat_entry_day': 1599443, 'dashboard_run_id': 1610494, 'mtr_portfolio_id': 20501611, 'dashboard_result_id': 8885145, '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_P20501611_14-02-2025_05_47_06.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20501640, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20501641, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20501642, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20501643, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20501644, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20501645, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20501646, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20501647, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20501648, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20501649, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20501650, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20501651, 'pht': 3726}}"}, {'dashboat_entry_day': 1599443, 'dashboard_run_id': 1610494, 'mtr_portfolio_id': 20502251, 'dashboard_result_id': 8885146, '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_P20502251_14-02-2025_05_47_34.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20502278, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20502279, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20502280, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20502281, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20502282, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20502283, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20502284, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20502285, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20502286, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20502287, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20502288, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20502289, 'pht': 3726}}"}, {'dashboat_entry_day': 1599443, 'dashboard_run_id': 1610494, 'mtr_portfolio_id': 20502819, 'dashboard_result_id': 8885147, '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_P20502819_14-02-2025_05_48_10.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20502893, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20502894, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20502895, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20502896, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20502897, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20502898, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20502899, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20502900, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20502901, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20502902, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20502903, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20502904, 'pht': 3726}}"}, {'dashboat_entry_day': 1599443, 'dashboard_run_id': 1610494, 'mtr_portfolio_id': 20503438, 'dashboard_result_id': 8885148, '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_P20503438_14-02-2025_05_48_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20503491, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20503492, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20503493, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20503494, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20503495, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20503496, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20503497, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20503498, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20503499, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20503500, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20503501, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20503502, 'pht': 3726}}"}, {'dashboat_entry_day': 1599443, 'dashboard_run_id': 1610494, 'mtr_portfolio_id': 20504018, 'dashboard_result_id': 8885149, '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_P20504018_14-02-2025_05_49_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20504023, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20504024, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20504025, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20504026, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20504027, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20504028, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20504029, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20504030, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20504031, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20504032, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20504033, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20504034, 'pht': 3726}}"}, {'dashboat_entry_day': 1599443, 'dashboard_run_id': 1610494, 'mtr_portfolio_id': 20507322, 'dashboard_result_id': 8885150, '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_P20507322_14-02-2025_05_50_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20507324, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20507325, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20507326, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20507327, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20507328, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20507329, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20507330, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20507331, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20507332, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20507333, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20507334, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20507335, 'pht': 3726}}"}, {'dashboat_entry_day': 1599443, 'dashboard_run_id': 1610494, 'mtr_portfolio_id': 20507586, 'dashboard_result_id': 8885151, '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_P20507586_14-02-2025_05_51_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20507590, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20507591, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20507592, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20507593, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20507594, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20507595, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20507596, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20507597, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20507598, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20507599, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20507600, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20507601, 'pht': 3726}}"}, {'dashboat_entry_day': 1599443, 'dashboard_run_id': 1610494, 'mtr_portfolio_id': 20508054, 'dashboard_result_id': 8885152, '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_P20508054_14-02-2025_05_51_34.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20508069, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20508070, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20508071, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20508072, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20508073, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20508074, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20508075, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20508076, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20508077, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20508078, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20508079, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20508080, 'pht': 3726}}"}, {'dashboat_entry_day': 1599443, 'dashboard_run_id': 1610494, 'mtr_portfolio_id': 20508612, 'dashboard_result_id': 8885153, '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_P20508612_14-02-2025_05_52_07.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20508616, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20508617, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20508618, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20508619, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20508620, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20508621, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20508622, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20508623, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20508624, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20508625, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20508626, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20508627, 'pht': 3726}}"}, {'dashboat_entry_day': 1599443, 'dashboard_run_id': 1610494, 'mtr_portfolio_id': 20508913, 'dashboard_result_id': 8885154, '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_P20508913_14-02-2025_05_52_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20509003, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20509004, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20509005, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20509006, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20509007, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20509008, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20509009, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20509010, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20509011, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20509012, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20509013, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20509014, 'pht': 3726}}"}, {'dashboat_entry_day': 1599443, 'dashboard_run_id': 1610494, 'mtr_portfolio_id': 20509635, 'dashboard_result_id': 8885155, '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_P20509635_14-02-2025_05_53_34.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20509662, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20509663, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20509664, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20509665, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20509666, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20509667, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20509668, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20509669, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20509670, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20509671, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20509672, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20509673, 'pht': 3726}}"}, {'dashboat_entry_day': 1599443, 'dashboard_run_id': 1610494, 'mtr_portfolio_id': 20510094, 'dashboard_result_id': 8885156, '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_P20510094_14-02-2025_05_54_05.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20510147, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20510148, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20510149, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20510150, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20510151, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20510152, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20510153, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20510154, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20510155, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20510156, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20510157, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20510158, 'pht': 3726}}"}, {'dashboat_entry_day': 1599443, 'dashboard_run_id': 1610494, 'mtr_portfolio_id': 20510922, 'dashboard_result_id': 8885157, '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_P20510922_14-02-2025_05_54_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20510925, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20510926, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20510927, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20510928, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20510929, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20510930, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20510931, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20510932, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20510933, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20510934, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20510935, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20510936, 'pht': 3726}}"}, {'dashboat_entry_day': 1599443, 'dashboard_run_id': 1610494, 'mtr_portfolio_id': 20511266, 'dashboard_result_id': 8885158, '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_P20511266_14-02-2025_05_55_29.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20511296, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20511297, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20511298, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20511299, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20511300, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20511301, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20511302, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20511303, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20511304, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20511305, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20511306, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20511307, 'pht': 3726}}"}, {'dashboat_entry_day': 1599443, 'dashboard_run_id': 1610494, 'mtr_portfolio_id': 20511878, 'dashboard_result_id': 8885159, '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_P20511878_14-02-2025_05_56_07.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20511885, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20511886, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20511887, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20511888, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20511889, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20511890, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20511891, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20511892, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20511893, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20511894, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20511895, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20511896, 'pht': 3726}}"}, {'dashboat_entry_day': 1599443, 'dashboard_run_id': 1610494, 'mtr_portfolio_id': 20512359, 'dashboard_result_id': 8885160, '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_P20512359_14-02-2025_05_56_35.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20512416, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20512417, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20512418, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20512419, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20512420, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20512421, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20512422, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20512423, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20512424, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20512425, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20512426, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20512427, 'pht': 3726}}"}, {'dashboat_entry_day': 1599443, 'dashboard_run_id': 1610494, 'mtr_portfolio_id': 20513169, 'dashboard_result_id': 8885161, '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_P20513169_14-02-2025_05_57_35.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20513211, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20513212, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20513213, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20513214, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20513215, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20513216, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20513217, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20513218, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20513219, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20513220, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20513221, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20513222, 'pht': 3726}}"}, {'dashboat_entry_day': 1599443, 'dashboard_run_id': 1610494, 'mtr_portfolio_id': 20513944, 'dashboard_result_id': 8885162, '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_P20513944_14-02-2025_05_58_07.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20513995, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20513996, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20513997, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20513998, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20513999, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20514000, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20514001, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20514002, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20514003, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20514004, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20514005, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20514006, 'pht': 3726}}"}, {'dashboat_entry_day': 1599443, 'dashboard_run_id': 1610494, 'mtr_portfolio_id': 20514464, 'dashboard_result_id': 8885163, '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_P20514464_14-02-2025_05_58_34.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20514472, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20514473, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20514474, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20514475, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20514476, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20514477, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20514478, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20514479, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20514480, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20514481, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20514482, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20514483, 'pht': 3726}}"}, {'dashboat_entry_day': 1599443, 'dashboard_run_id': 1610494, 'mtr_portfolio_id': 20514902, 'dashboard_result_id': 8885164, '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_P20514902_14-02-2025_05_59_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20514920, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20514921, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20514922, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20514923, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20514924, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20514925, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20514926, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20514927, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20514928, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20514929, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20514930, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20514931, 'pht': 3726}}"}, {'dashboat_entry_day': 1599443, 'dashboard_run_id': 1610494, 'mtr_portfolio_id': 20516593, 'dashboard_result_id': 8885165, '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_P20516593_14-02-2025_06_00_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20516596, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20516597, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20516598, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20516599, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20516600, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20516601, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20516602, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20516603, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20516604, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20516605, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20516606, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20516607, 'pht': 3726}}"}, {'dashboat_entry_day': 1599443, 'dashboard_run_id': 1610494, 'mtr_portfolio_id': 20516902, 'dashboard_result_id': 8885166, '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_P20516902_14-02-2025_06_00_34.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20516908, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20516909, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20516910, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20516911, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20516912, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20516913, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20516914, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20516915, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20516916, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20516917, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20516918, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20516919, 'pht': 3726}}"}, {'dashboat_entry_day': 1599443, 'dashboard_run_id': 1610494, 'mtr_portfolio_id': 20517393, 'dashboard_result_id': 8885167, '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_P20517393_14-02-2025_06_01_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20517447, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20517448, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20517449, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20517450, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20517451, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20517452, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20517453, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20517454, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20517455, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20517456, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20517457, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20517458, 'pht': 3726}}"}, {'dashboat_entry_day': 1599443, 'dashboard_run_id': 1610494, 'mtr_portfolio_id': 20518029, 'dashboard_result_id': 8885168, '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_P20518029_14-02-2025_06_02_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20518056, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20518057, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20518058, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20518059, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20518060, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20518061, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20518062, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20518063, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20518064, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20518065, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20518066, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20518067, 'pht': 3726}}"}, {'dashboat_entry_day': 1599443, 'dashboard_run_id': 1610494, 'mtr_portfolio_id': 20518770, 'dashboard_result_id': 8885169, '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_P20518770_14-02-2025_06_03_10.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20518773, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20518774, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20518775, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20518776, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20518777, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20518778, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20518779, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20518780, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20518781, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20518782, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20518783, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20518784, 'pht': 3726}}"}, {'dashboat_entry_day': 1599443, 'dashboard_run_id': 1610494, 'mtr_portfolio_id': 20519099, 'dashboard_result_id': 8885170, '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_P20519099_14-02-2025_06_05_38.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20519154, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20519155, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20519156, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20519157, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20519158, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20519159, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20519160, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20519161, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20519162, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20519163, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20519164, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20519165, 'pht': 3726}}"}, {'dashboat_entry_day': 1599443, 'dashboard_run_id': 1610494, 'mtr_portfolio_id': 20519720, 'dashboard_result_id': 8885171, '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_P20519720_14-02-2025_06_06_04.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20519747, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20519748, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20519749, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20519750, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20519751, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20519752, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20519753, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20519754, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20519755, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20519756, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20519757, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20519758, 'pht': 3726}}"}, {'dashboat_entry_day': 1599443, 'dashboard_run_id': 1610494, 'mtr_portfolio_id': 20520504, 'dashboard_result_id': 8885172, '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_P20520504_14-02-2025_06_06_34.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20520508, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20520509, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20520510, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20520511, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20520512, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20520513, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20520514, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20520515, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20520516, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20520517, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20520518, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20520519, 'pht': 3726}}"}, {'dashboat_entry_day': 1599443, 'dashboard_run_id': 1610494, 'mtr_portfolio_id': 20520906, 'dashboard_result_id': 8885173, '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_P20520906_14-02-2025_06_07_34.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20520913, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20520914, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20520915, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20520916, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20520917, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20520918, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20520919, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20520920, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20520921, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20520922, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20520923, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20520924, 'pht': 3726}}"}, {'dashboat_entry_day': 1599443, 'dashboard_run_id': 1610494, 'mtr_portfolio_id': 20521634, 'dashboard_result_id': 8885174, '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_P20521634_14-02-2025_06_08_07.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20521664, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20521665, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20521666, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20521667, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20521668, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20521669, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20521670, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20521671, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20521672, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20521673, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20521674, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20521675, 'pht': 3726}}"}, {'dashboat_entry_day': 1599443, 'dashboard_run_id': 1610494, 'mtr_portfolio_id': 20522165, 'dashboard_result_id': 8885175, '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_P20522165_14-02-2025_06_08_36.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20522215, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20522216, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20522217, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20522218, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20522219, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20522220, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20522221, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20522222, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20522223, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20522224, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20522225, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20522226, 'pht': 3726}}"}, {'dashboat_entry_day': 1599443, 'dashboard_run_id': 1610494, 'mtr_portfolio_id': 20523051, 'dashboard_result_id': 8885176, '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_P20523051_14-02-2025_06_09_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20523054, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20523055, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20523056, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20523057, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20523058, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20523059, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20523060, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20523061, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20523062, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20523063, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20523064, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20523065, 'pht': 3726}}"}, {'dashboat_entry_day': 1599443, 'dashboard_run_id': 1610494, 'mtr_portfolio_id': 20523199, 'dashboard_result_id': 8885177, '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_P20523199_14-02-2025_06_10_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20523203, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20523204, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20523205, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20523206, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20523207, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20523208, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20523209, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20523210, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20523211, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20523212, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20523213, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20523214, 'pht': 3726}}"}, {'dashboat_entry_day': 1599443, 'dashboard_run_id': 1610494, 'mtr_portfolio_id': 20524003, 'dashboard_result_id': 8885178, '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_P20524003_13-02-2025_22_02_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20524005, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20524006, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20524007, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20524008, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20524009, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20524010, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20524011, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20524012, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20524013, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20524014, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20524015, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20524016, 'pht': 3726}}"}, {'dashboat_entry_day': 1599443, 'dashboard_run_id': 1610494, 'mtr_portfolio_id': 20524409, 'dashboard_result_id': 8885179, '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_P20524409_13-02-2025_22_16_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20524412, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20524413, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20524414, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20524415, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20524416, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20524417, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20524418, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20524419, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20524420, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20524421, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20524422, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20524423, 'pht': 3726}}"}, {'dashboat_entry_day': 1599443, 'dashboard_run_id': 1610494, 'mtr_portfolio_id': 20524841, 'dashboard_result_id': 8885180, '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_P20524841_13-02-2025_22_33_29.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20524844, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20524845, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20524846, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20524847, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20524848, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20524849, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20524850, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20524851, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20524852, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20524853, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20524854, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20524855, 'pht': 3726}}"}, {'dashboat_entry_day': 1599443, 'dashboard_run_id': 1610494, 'mtr_portfolio_id': 20525286, 'dashboard_result_id': 8885181, '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_P20525286_13-02-2025_22_46_57.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20525291, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20525292, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20525293, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20525294, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20525295, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20525296, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20525297, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20525298, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20525299, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20525300, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20525301, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20525302, 'pht': 3726}}"}, {'dashboat_entry_day': 1599443, 'dashboard_run_id': 1610494, 'mtr_portfolio_id': 20526127, 'dashboard_result_id': 8885182, '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_P20526127_13-02-2025_23_02_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20526130, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20526131, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20526132, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20526133, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20526134, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20526135, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20526136, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20526137, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20526138, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20526139, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20526140, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20526141, 'pht': 3726}}"}, {'dashboat_entry_day': 1599443, 'dashboard_run_id': 1610494, 'mtr_portfolio_id': 20526558, 'dashboard_result_id': 8885183, '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_P20526558_13-02-2025_23_19_29.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20526560, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20526561, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20526562, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20526563, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20526564, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20526565, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20526566, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20526567, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20526568, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20526569, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20526570, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20526571, 'pht': 3726}}"}, {'dashboat_entry_day': 1599443, 'dashboard_run_id': 1610494, 'mtr_portfolio_id': 20526995, 'dashboard_result_id': 8885184, '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_P20526995_13-02-2025_23_33_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20527039, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20527040, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20527041, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20527042, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20527043, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20527044, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20527045, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20527046, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20527047, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20527048, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20527049, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20527050, 'pht': 3726}}"}, {'dashboat_entry_day': 1599443, 'dashboard_run_id': 1610494, 'mtr_portfolio_id': 20527820, 'dashboard_result_id': 8885185, '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_P20527820_13-02-2025_23_48_57.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20527878, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20527879, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20527880, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20527881, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20527882, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20527883, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20527884, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20527885, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20527886, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20527887, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20527888, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20527889, 'pht': 3726}}"}, {'dashboat_entry_day': 1599443, 'dashboard_run_id': 1610494, 'mtr_portfolio_id': 20528257, 'dashboard_result_id': 8885186, '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_P20528257_14-02-2025_04_25_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20528335, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20528336, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20528337, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20528338, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20528339, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20528340, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20528341, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20528342, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20528343, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20528344, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20528345, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20528346, '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 = 20496702 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': 2585340, 'mtr_portfolio_id': 20496702, 'created_at': datetime.datetime(2025, 2, 14, 5, 34, 32), 'result': '0.0787631748319839', 'result_long': None, 'result_double': None}] Qualite : 0.0787631748319839 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20496702 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20496702_14-02-2025_05_34_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20496702 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_P20496702_14-02-2025_05_34_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20496703, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20496704, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20496705, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20496706, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20496707, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20496708, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20496709, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20496710, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20496711, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20496712, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20496713, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20496714, 'pht': 3726}}" where mtr_portfolio_id = 20496702 and dashboard_run_id = 1610494 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`=20496702 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8885134, 0.0787631748319839, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20496702_14-02-2025_05_34_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20496703, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20496704, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20496705, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20496706, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20496707, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20496708, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20496709, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20496710, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20496711, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20496712, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20496713, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20496714, '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 = 20496893 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': 2585341, 'mtr_portfolio_id': 20496893, 'created_at': datetime.datetime(2025, 2, 14, 5, 35, 27), 'result': '0.04929415372185177', 'result_long': None, 'result_double': None}] Qualite : 0.04929415372185177 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20496893 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20496893_14-02-2025_05_35_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20496893 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_P20496893_14-02-2025_05_35_29.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20496895, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20496896, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20496897, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20496898, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20496899, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20496900, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20496901, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20496902, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20496903, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20496904, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20496905, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20496906, 'pht': 3726}}" where mtr_portfolio_id = 20496893 and dashboard_run_id = 1610494 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`=20496893 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8885135, 0.04929415372185177, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20496893_14-02-2025_05_35_29.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20496895, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20496896, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20496897, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20496898, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20496899, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20496900, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20496901, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20496902, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20496903, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20496904, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20496905, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20496906, '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 = 20497229 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': 2585342, 'mtr_portfolio_id': 20497229, 'created_at': datetime.datetime(2025, 2, 14, 5, 36, 2), 'result': '0.046791777458869976', 'result_long': None, 'result_double': None}] Qualite : 0.046791777458869976 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20497229 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20497229_14-02-2025_05_36_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20497229 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_P20497229_14-02-2025_05_36_05.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20497266, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20497270, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20497271, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20497272, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20497273, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20497274, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20497275, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20497276, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20497277, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20497278, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20497279, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20497280, 'pht': 3726}}" where mtr_portfolio_id = 20497229 and dashboard_run_id = 1610494 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`=20497229 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8885136, 0.046791777458869976, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20497229_14-02-2025_05_36_05.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20497266, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20497270, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20497271, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20497272, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20497273, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20497274, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20497275, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20497276, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20497277, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20497278, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20497279, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20497280, '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 = 20497769 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': 2585343, 'mtr_portfolio_id': 20497769, 'created_at': datetime.datetime(2025, 2, 14, 5, 36, 30), 'result': '0.04199171666581403', 'result_long': None, 'result_double': None}] Qualite : 0.04199171666581403 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20497769 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20497769_14-02-2025_05_36_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20497769 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_P20497769_14-02-2025_05_36_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20497772, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20497773, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20497774, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20497775, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20497776, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20497777, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20497778, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20497779, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20497780, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20497781, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20497782, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20497783, 'pht': 3726}}" where mtr_portfolio_id = 20497769 and dashboard_run_id = 1610494 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`=20497769 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8885137, 0.04199171666581403, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20497769_14-02-2025_05_36_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20497772, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20497773, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20497774, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20497775, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20497776, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20497777, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20497778, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20497779, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20497780, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20497781, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20497782, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20497783, '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 = 20498225 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': 2585344, 'mtr_portfolio_id': 20498225, 'created_at': datetime.datetime(2025, 2, 14, 5, 38, 33), 'result': '0.04552629853286118', 'result_long': None, 'result_double': None}] Qualite : 0.04552629853286118 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20498225 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20498225_14-02-2025_05_38_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20498225 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_P20498225_14-02-2025_05_38_36.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20498252, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20498253, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20498254, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20498255, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20498256, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20498257, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20498258, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20498259, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20498260, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20498261, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20498262, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20498263, 'pht': 3726}}" where mtr_portfolio_id = 20498225 and dashboard_run_id = 1610494 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`=20498225 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8885138, 0.04552629853286118, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20498225_14-02-2025_05_38_36.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20498252, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20498253, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20498254, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20498255, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20498256, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20498257, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20498258, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20498259, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20498260, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20498261, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20498262, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20498263, '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 = 20498729 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': 2585345, 'mtr_portfolio_id': 20498729, 'created_at': datetime.datetime(2025, 2, 14, 5, 39, 28), 'result': '0.04961918393745524', 'result_long': None, 'result_double': None}] Qualite : 0.04961918393745524 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20498729 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20498729_14-02-2025_05_39_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20498729 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_P20498729_14-02-2025_05_39_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20498780, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20498781, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20498782, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20498783, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20498784, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20498785, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20498786, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20498787, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20498788, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20498789, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20498790, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20498791, 'pht': 3726}}" where mtr_portfolio_id = 20498729 and dashboard_run_id = 1610494 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`=20498729 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8885139, 0.04961918393745524, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20498729_14-02-2025_05_39_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20498780, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20498781, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20498782, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20498783, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20498784, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20498785, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20498786, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20498787, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20498788, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20498789, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20498790, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20498791, '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 = 20499230 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': 2585346, 'mtr_portfolio_id': 20499230, 'created_at': datetime.datetime(2025, 2, 14, 5, 40), 'result': '0.0477902055756086', 'result_long': None, 'result_double': None}] Qualite : 0.0477902055756086 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20499230 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20499230_14-02-2025_05_40_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20499230 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_P20499230_14-02-2025_05_40_02.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20499234, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20499235, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20499236, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20499237, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20499238, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20499239, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20499240, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20499241, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20499242, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20499243, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20499244, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20499245, 'pht': 3726}}" where mtr_portfolio_id = 20499230 and dashboard_run_id = 1610494 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`=20499230 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8885140, 0.0477902055756086, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20499230_14-02-2025_05_40_02.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20499234, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20499235, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20499236, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20499237, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20499238, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20499239, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20499240, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20499241, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20499242, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20499243, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20499244, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20499245, '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 = 20499537 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': 2585347, 'mtr_portfolio_id': 20499537, 'created_at': datetime.datetime(2025, 2, 14, 5, 40, 32), 'result': '0.05923722820601683', 'result_long': None, 'result_double': None}] Qualite : 0.05923722820601683 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20499537 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20499537_14-02-2025_05_40_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20499537 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_P20499537_14-02-2025_05_40_35.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20499616, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20499617, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20499618, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20499619, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20499620, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20499621, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20499622, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20499623, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20499624, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20499625, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20499626, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20499627, 'pht': 3726}}" where mtr_portfolio_id = 20499537 and dashboard_run_id = 1610494 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`=20499537 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8885141, 0.05923722820601683, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20499537_14-02-2025_05_40_35.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20499616, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20499617, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20499618, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20499619, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20499620, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20499621, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20499622, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20499623, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20499624, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20499625, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20499626, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20499627, '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 = 20500137 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': 2585348, 'mtr_portfolio_id': 20500137, 'created_at': datetime.datetime(2025, 2, 14, 5, 41, 30), 'result': '0.05412015019625956', 'result_long': None, 'result_double': None}] Qualite : 0.05412015019625956 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20500137 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20500137_14-02-2025_05_41_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20500137 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_P20500137_14-02-2025_05_41_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20500153, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20500154, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20500155, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20500156, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20500157, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20500158, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20500159, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20500160, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20500161, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20500162, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20500163, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20500164, 'pht': 3726}}" where mtr_portfolio_id = 20500137 and dashboard_run_id = 1610494 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`=20500137 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8885142, 0.05412015019625956, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20500137_14-02-2025_05_41_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20500153, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20500154, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20500155, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20500156, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20500157, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20500158, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20500159, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20500160, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20500161, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20500162, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20500163, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20500164, '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 = 20500514 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': 2585349, 'mtr_portfolio_id': 20500514, 'created_at': datetime.datetime(2025, 2, 14, 5, 41, 59), 'result': '0.04775774899333977', 'result_long': None, 'result_double': None}] Qualite : 0.04775774899333977 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20500514 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20500514_14-02-2025_05_42_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20500514 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_P20500514_14-02-2025_05_42_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20500588, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20500589, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20500590, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20500591, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20500592, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20500593, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20500594, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20500595, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20500596, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20500597, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20500598, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20500599, 'pht': 3726}}" where mtr_portfolio_id = 20500514 and dashboard_run_id = 1610494 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`=20500514 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8885143, 0.04775774899333977, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20500514_14-02-2025_05_42_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20500588, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20500589, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20500590, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20500591, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20500592, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20500593, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20500594, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20500595, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20500596, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20500597, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20500598, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20500599, '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 = 20501204 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': 2585350, 'mtr_portfolio_id': 20501204, 'created_at': datetime.datetime(2025, 2, 14, 5, 42, 33), 'result': '0.04576428365696704', 'result_long': None, 'result_double': None}] Qualite : 0.04576428365696704 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20501204 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20501204_14-02-2025_05_42_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20501204 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_P20501204_14-02-2025_05_42_36.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20501206, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20501207, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20501208, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20501209, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20501210, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20501211, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20501212, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20501213, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20501214, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20501215, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20501216, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20501217, 'pht': 3726}}" where mtr_portfolio_id = 20501204 and dashboard_run_id = 1610494 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`=20501204 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8885144, 0.04576428365696704, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20501204_14-02-2025_05_42_36.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20501206, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20501207, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20501208, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20501209, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20501210, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20501211, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20501212, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20501213, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20501214, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20501215, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20501216, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20501217, '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 = 20501611 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': 2585351, 'mtr_portfolio_id': 20501611, 'created_at': datetime.datetime(2025, 2, 14, 5, 47, 3), 'result': '0.04260438432594769', 'result_long': None, 'result_double': None}] Qualite : 0.04260438432594769 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20501611 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20501611_14-02-2025_05_47_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20501611 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_P20501611_14-02-2025_05_47_06.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20501640, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20501641, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20501642, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20501643, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20501644, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20501645, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20501646, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20501647, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20501648, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20501649, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20501650, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20501651, 'pht': 3726}}" where mtr_portfolio_id = 20501611 and dashboard_run_id = 1610494 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`=20501611 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8885145, 0.04260438432594769, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20501611_14-02-2025_05_47_06.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20501640, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20501641, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20501642, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20501643, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20501644, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20501645, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20501646, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20501647, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20501648, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20501649, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20501650, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20501651, '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 = 20502251 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': 2585352, 'mtr_portfolio_id': 20502251, 'created_at': datetime.datetime(2025, 2, 14, 5, 47, 32), 'result': '0.035647970281521134', 'result_long': None, 'result_double': None}] Qualite : 0.035647970281521134 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20502251 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20502251_14-02-2025_05_47_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20502251 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_P20502251_14-02-2025_05_47_34.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20502278, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20502279, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20502280, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20502281, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20502282, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20502283, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20502284, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20502285, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20502286, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20502287, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20502288, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20502289, 'pht': 3726}}" where mtr_portfolio_id = 20502251 and dashboard_run_id = 1610494 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`=20502251 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8885146, 0.035647970281521134, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20502251_14-02-2025_05_47_34.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20502278, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20502279, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20502280, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20502281, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20502282, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20502283, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20502284, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20502285, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20502286, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20502287, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20502288, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20502289, '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 = 20502819 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': 2585353, 'mtr_portfolio_id': 20502819, 'created_at': datetime.datetime(2025, 2, 14, 5, 48, 8), 'result': '0.04851151713167158', 'result_long': None, 'result_double': None}] Qualite : 0.04851151713167158 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20502819 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20502819_14-02-2025_05_48_10.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20502819 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_P20502819_14-02-2025_05_48_10.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20502893, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20502894, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20502895, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20502896, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20502897, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20502898, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20502899, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20502900, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20502901, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20502902, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20502903, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20502904, 'pht': 3726}}" where mtr_portfolio_id = 20502819 and dashboard_run_id = 1610494 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`=20502819 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8885147, 0.04851151713167158, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20502819_14-02-2025_05_48_10.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20502893, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20502894, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20502895, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20502896, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20502897, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20502898, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20502899, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20502900, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20502901, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20502902, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20502903, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20502904, '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 = 20503438 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': 2585354, 'mtr_portfolio_id': 20503438, 'created_at': datetime.datetime(2025, 2, 14, 5, 48, 32), 'result': '0.051955359494568', 'result_long': None, 'result_double': None}] Qualite : 0.051955359494568 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20503438 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20503438_14-02-2025_05_48_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20503438 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_P20503438_14-02-2025_05_48_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20503491, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20503492, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20503493, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20503494, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20503495, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20503496, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20503497, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20503498, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20503499, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20503500, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20503501, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20503502, 'pht': 3726}}" where mtr_portfolio_id = 20503438 and dashboard_run_id = 1610494 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`=20503438 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8885148, 0.051955359494568, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20503438_14-02-2025_05_48_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20503491, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20503492, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20503493, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20503494, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20503495, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20503496, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20503497, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20503498, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20503499, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20503500, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20503501, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20503502, '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 = 20504018 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': 2585355, 'mtr_portfolio_id': 20504018, 'created_at': datetime.datetime(2025, 2, 14, 5, 49, 32), 'result': '0.0433180252621215', 'result_long': None, 'result_double': None}] Qualite : 0.0433180252621215 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20504018 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20504018_14-02-2025_05_49_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20504018 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_P20504018_14-02-2025_05_49_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20504023, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20504024, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20504025, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20504026, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20504027, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20504028, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20504029, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20504030, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20504031, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20504032, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20504033, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20504034, 'pht': 3726}}" where mtr_portfolio_id = 20504018 and dashboard_run_id = 1610494 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`=20504018 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8885149, 0.0433180252621215, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20504018_14-02-2025_05_49_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20504023, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20504024, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20504025, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20504026, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20504027, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20504028, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20504029, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20504030, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20504031, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20504032, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20504033, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20504034, '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 = 20507322 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': 2585356, 'mtr_portfolio_id': 20507322, 'created_at': datetime.datetime(2025, 2, 14, 5, 49, 59), 'result': '0.046203339803286836', 'result_long': None, 'result_double': None}] Qualite : 0.046203339803286836 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20507322 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20507322_14-02-2025_05_50_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20507322 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_P20507322_14-02-2025_05_50_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20507324, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20507325, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20507326, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20507327, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20507328, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20507329, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20507330, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20507331, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20507332, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20507333, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20507334, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20507335, 'pht': 3726}}" where mtr_portfolio_id = 20507322 and dashboard_run_id = 1610494 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`=20507322 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8885150, 0.046203339803286836, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20507322_14-02-2025_05_50_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20507324, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20507325, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20507326, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20507327, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20507328, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20507329, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20507330, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20507331, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20507332, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20507333, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20507334, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20507335, '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 = 20507586 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': 2585357, 'mtr_portfolio_id': 20507586, 'created_at': datetime.datetime(2025, 2, 14, 5, 50, 59), 'result': '0.038813652568694484', 'result_long': None, 'result_double': None}] Qualite : 0.038813652568694484 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20507586 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20507586_14-02-2025_05_51_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20507586 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_P20507586_14-02-2025_05_51_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20507590, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20507591, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20507592, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20507593, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20507594, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20507595, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20507596, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20507597, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20507598, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20507599, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20507600, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20507601, 'pht': 3726}}" where mtr_portfolio_id = 20507586 and dashboard_run_id = 1610494 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`=20507586 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8885151, 0.038813652568694484, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20507586_14-02-2025_05_51_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20507590, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20507591, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20507592, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20507593, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20507594, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20507595, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20507596, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20507597, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20507598, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20507599, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20507600, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20507601, '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 = 20508054 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': 2585358, 'mtr_portfolio_id': 20508054, 'created_at': datetime.datetime(2025, 2, 14, 5, 51, 31), 'result': '0.04079363407099793', 'result_long': None, 'result_double': None}] Qualite : 0.04079363407099793 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20508054 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20508054_14-02-2025_05_51_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20508054 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_P20508054_14-02-2025_05_51_34.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20508069, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20508070, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20508071, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20508072, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20508073, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20508074, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20508075, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20508076, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20508077, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20508078, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20508079, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20508080, 'pht': 3726}}" where mtr_portfolio_id = 20508054 and dashboard_run_id = 1610494 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`=20508054 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8885152, 0.04079363407099793, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20508054_14-02-2025_05_51_34.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20508069, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20508070, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20508071, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20508072, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20508073, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20508074, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20508075, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20508076, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20508077, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20508078, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20508079, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20508080, '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 = 20508612 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': 2585359, 'mtr_portfolio_id': 20508612, 'created_at': datetime.datetime(2025, 2, 14, 5, 52, 5), 'result': '0.0384166696994205', 'result_long': None, 'result_double': None}] Qualite : 0.0384166696994205 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20508612 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20508612_14-02-2025_05_52_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20508612 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_P20508612_14-02-2025_05_52_07.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20508616, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20508617, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20508618, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20508619, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20508620, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20508621, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20508622, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20508623, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20508624, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20508625, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20508626, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20508627, 'pht': 3726}}" where mtr_portfolio_id = 20508612 and dashboard_run_id = 1610494 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`=20508612 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8885153, 0.0384166696994205, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20508612_14-02-2025_05_52_07.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20508616, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20508617, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20508618, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20508619, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20508620, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20508621, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20508622, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20508623, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20508624, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20508625, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20508626, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20508627, '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 = 20508913 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': 2585360, 'mtr_portfolio_id': 20508913, 'created_at': datetime.datetime(2025, 2, 14, 5, 52, 29), 'result': '0.04869746126983598', 'result_long': None, 'result_double': None}] Qualite : 0.04869746126983598 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20508913 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20508913_14-02-2025_05_52_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20508913 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_P20508913_14-02-2025_05_52_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20509003, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20509004, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20509005, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20509006, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20509007, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20509008, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20509009, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20509010, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20509011, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20509012, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20509013, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20509014, 'pht': 3726}}" where mtr_portfolio_id = 20508913 and dashboard_run_id = 1610494 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`=20508913 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8885154, 0.04869746126983598, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20508913_14-02-2025_05_52_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20509003, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20509004, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20509005, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20509006, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20509007, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20509008, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20509009, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20509010, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20509011, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20509012, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20509013, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20509014, '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 = 20509635 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': 2585361, 'mtr_portfolio_id': 20509635, 'created_at': datetime.datetime(2025, 2, 14, 5, 53, 31), 'result': '0.042448892075204', 'result_long': None, 'result_double': None}] Qualite : 0.042448892075204 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20509635 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20509635_14-02-2025_05_53_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20509635 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_P20509635_14-02-2025_05_53_34.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20509662, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20509663, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20509664, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20509665, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20509666, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20509667, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20509668, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20509669, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20509670, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20509671, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20509672, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20509673, 'pht': 3726}}" where mtr_portfolio_id = 20509635 and dashboard_run_id = 1610494 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`=20509635 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8885155, 0.042448892075204, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20509635_14-02-2025_05_53_34.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20509662, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20509663, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20509664, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20509665, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20509666, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20509667, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20509668, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20509669, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20509670, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20509671, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20509672, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20509673, '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 = 20510094 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': 2585362, 'mtr_portfolio_id': 20510094, 'created_at': datetime.datetime(2025, 2, 14, 5, 54, 3), 'result': '0.04360889761143547', 'result_long': None, 'result_double': None}] Qualite : 0.04360889761143547 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20510094 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20510094_14-02-2025_05_54_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20510094 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_P20510094_14-02-2025_05_54_05.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20510147, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20510148, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20510149, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20510150, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20510151, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20510152, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20510153, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20510154, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20510155, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20510156, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20510157, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20510158, 'pht': 3726}}" where mtr_portfolio_id = 20510094 and dashboard_run_id = 1610494 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`=20510094 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8885156, 0.04360889761143547, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20510094_14-02-2025_05_54_05.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20510147, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20510148, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20510149, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20510150, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20510151, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20510152, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20510153, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20510154, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20510155, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20510156, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20510157, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20510158, '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 = 20510922 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': 2585363, 'mtr_portfolio_id': 20510922, 'created_at': datetime.datetime(2025, 2, 14, 5, 54, 32), 'result': '0.049148788419833826', 'result_long': None, 'result_double': None}] Qualite : 0.049148788419833826 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20510922 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20510922_14-02-2025_05_54_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20510922 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_P20510922_14-02-2025_05_54_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20510925, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20510926, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20510927, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20510928, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20510929, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20510930, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20510931, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20510932, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20510933, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20510934, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20510935, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20510936, 'pht': 3726}}" where mtr_portfolio_id = 20510922 and dashboard_run_id = 1610494 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`=20510922 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8885157, 0.049148788419833826, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20510922_14-02-2025_05_54_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20510925, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20510926, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20510927, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20510928, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20510929, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20510930, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20510931, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20510932, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20510933, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20510934, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20510935, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20510936, '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 = 20511266 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': 2585364, 'mtr_portfolio_id': 20511266, 'created_at': datetime.datetime(2025, 2, 14, 5, 55, 27), 'result': '0.03132485486682838', 'result_long': None, 'result_double': None}] Qualite : 0.03132485486682838 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20511266 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20511266_14-02-2025_05_55_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20511266 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_P20511266_14-02-2025_05_55_29.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20511296, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20511297, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20511298, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20511299, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20511300, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20511301, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20511302, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20511303, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20511304, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20511305, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20511306, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20511307, 'pht': 3726}}" where mtr_portfolio_id = 20511266 and dashboard_run_id = 1610494 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`=20511266 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8885158, 0.03132485486682838, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20511266_14-02-2025_05_55_29.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20511296, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20511297, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20511298, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20511299, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20511300, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20511301, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20511302, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20511303, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20511304, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20511305, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20511306, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20511307, '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 = 20511878 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': 2585365, 'mtr_portfolio_id': 20511878, 'created_at': datetime.datetime(2025, 2, 14, 5, 56, 4), 'result': '0.052386764394290325', 'result_long': None, 'result_double': None}] Qualite : 0.052386764394290325 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20511878 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20511878_14-02-2025_05_56_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20511878 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_P20511878_14-02-2025_05_56_07.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20511885, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20511886, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20511887, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20511888, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20511889, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20511890, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20511891, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20511892, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20511893, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20511894, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20511895, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20511896, 'pht': 3726}}" where mtr_portfolio_id = 20511878 and dashboard_run_id = 1610494 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`=20511878 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8885159, 0.052386764394290325, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20511878_14-02-2025_05_56_07.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20511885, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20511886, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20511887, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20511888, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20511889, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20511890, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20511891, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20511892, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20511893, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20511894, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20511895, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20511896, '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 = 20512359 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': 2585366, 'mtr_portfolio_id': 20512359, 'created_at': datetime.datetime(2025, 2, 14, 5, 56, 32), 'result': '0.04459758387936247', 'result_long': None, 'result_double': None}] Qualite : 0.04459758387936247 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20512359 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20512359_14-02-2025_05_56_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20512359 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_P20512359_14-02-2025_05_56_35.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20512416, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20512417, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20512418, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20512419, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20512420, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20512421, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20512422, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20512423, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20512424, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20512425, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20512426, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20512427, 'pht': 3726}}" where mtr_portfolio_id = 20512359 and dashboard_run_id = 1610494 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`=20512359 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8885160, 0.04459758387936247, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20512359_14-02-2025_05_56_35.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20512416, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20512417, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20512418, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20512419, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20512420, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20512421, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20512422, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20512423, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20512424, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20512425, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20512426, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20512427, '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 = 20513169 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': 2585367, 'mtr_portfolio_id': 20513169, 'created_at': datetime.datetime(2025, 2, 14, 5, 57, 33), 'result': '0.030173302105685876', 'result_long': None, 'result_double': None}] Qualite : 0.030173302105685876 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20513169 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20513169_14-02-2025_05_57_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20513169 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_P20513169_14-02-2025_05_57_35.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20513211, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20513212, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20513213, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20513214, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20513215, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20513216, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20513217, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20513218, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20513219, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20513220, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20513221, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20513222, 'pht': 3726}}" where mtr_portfolio_id = 20513169 and dashboard_run_id = 1610494 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`=20513169 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8885161, 0.030173302105685876, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20513169_14-02-2025_05_57_35.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20513211, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20513212, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20513213, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20513214, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20513215, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20513216, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20513217, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20513218, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20513219, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20513220, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20513221, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20513222, '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 = 20513944 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': 2585368, 'mtr_portfolio_id': 20513944, 'created_at': datetime.datetime(2025, 2, 14, 5, 58, 4), 'result': '0.04784741239625882', 'result_long': None, 'result_double': None}] Qualite : 0.04784741239625882 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20513944 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20513944_14-02-2025_05_58_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20513944 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_P20513944_14-02-2025_05_58_07.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20513995, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20513996, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20513997, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20513998, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20513999, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20514000, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20514001, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20514002, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20514003, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20514004, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20514005, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20514006, 'pht': 3726}}" where mtr_portfolio_id = 20513944 and dashboard_run_id = 1610494 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`=20513944 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8885162, 0.04784741239625882, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20513944_14-02-2025_05_58_07.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20513995, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20513996, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20513997, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20513998, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20513999, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20514000, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20514001, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20514002, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20514003, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20514004, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20514005, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20514006, '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 = 20514464 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': 2585369, 'mtr_portfolio_id': 20514464, 'created_at': datetime.datetime(2025, 2, 14, 5, 58, 31), 'result': '0.04229597315791667', 'result_long': None, 'result_double': None}] Qualite : 0.04229597315791667 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20514464 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20514464_14-02-2025_05_58_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20514464 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_P20514464_14-02-2025_05_58_34.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20514472, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20514473, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20514474, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20514475, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20514476, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20514477, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20514478, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20514479, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20514480, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20514481, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20514482, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20514483, 'pht': 3726}}" where mtr_portfolio_id = 20514464 and dashboard_run_id = 1610494 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`=20514464 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8885163, 0.04229597315791667, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20514464_14-02-2025_05_58_34.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20514472, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20514473, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20514474, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20514475, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20514476, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20514477, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20514478, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20514479, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20514480, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20514481, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20514482, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20514483, '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 = 20514902 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': 2585370, 'mtr_portfolio_id': 20514902, 'created_at': datetime.datetime(2025, 2, 14, 5, 59, 30), 'result': '0.04599093319686628', 'result_long': None, 'result_double': None}] Qualite : 0.04599093319686628 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20514902 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20514902_14-02-2025_05_59_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20514902 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_P20514902_14-02-2025_05_59_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20514920, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20514921, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20514922, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20514923, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20514924, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20514925, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20514926, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20514927, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20514928, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20514929, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20514930, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20514931, 'pht': 3726}}" where mtr_portfolio_id = 20514902 and dashboard_run_id = 1610494 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`=20514902 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8885164, 0.04599093319686628, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20514902_14-02-2025_05_59_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20514920, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20514921, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20514922, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20514923, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20514924, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20514925, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20514926, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20514927, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20514928, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20514929, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20514930, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20514931, '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 = 20516593 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': 2585371, 'mtr_portfolio_id': 20516593, 'created_at': datetime.datetime(2025, 2, 14, 6, 0), 'result': '0.043832776007235764', 'result_long': None, 'result_double': None}] Qualite : 0.043832776007235764 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20516593 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20516593_14-02-2025_06_00_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20516593 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_P20516593_14-02-2025_06_00_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20516596, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20516597, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20516598, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20516599, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20516600, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20516601, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20516602, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20516603, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20516604, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20516605, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20516606, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20516607, 'pht': 3726}}" where mtr_portfolio_id = 20516593 and dashboard_run_id = 1610494 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`=20516593 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8885165, 0.043832776007235764, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20516593_14-02-2025_06_00_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20516596, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20516597, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20516598, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20516599, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20516600, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20516601, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20516602, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20516603, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20516604, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20516605, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20516606, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20516607, '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 = 20516902 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': 2585372, 'mtr_portfolio_id': 20516902, 'created_at': datetime.datetime(2025, 2, 14, 6, 0, 32), 'result': '0.035023195948913226', 'result_long': None, 'result_double': None}] Qualite : 0.035023195948913226 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20516902 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20516902_14-02-2025_06_00_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20516902 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_P20516902_14-02-2025_06_00_34.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20516908, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20516909, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20516910, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20516911, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20516912, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20516913, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20516914, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20516915, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20516916, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20516917, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20516918, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20516919, 'pht': 3726}}" where mtr_portfolio_id = 20516902 and dashboard_run_id = 1610494 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`=20516902 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8885166, 0.035023195948913226, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20516902_14-02-2025_06_00_34.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20516908, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20516909, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20516910, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20516911, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20516912, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20516913, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20516914, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20516915, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20516916, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20516917, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20516918, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20516919, '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 = 20517393 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': 2585373, 'mtr_portfolio_id': 20517393, 'created_at': datetime.datetime(2025, 2, 14, 6, 1, 29), 'result': '0.034923369451849415', 'result_long': None, 'result_double': None}] Qualite : 0.034923369451849415 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20517393 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20517393_14-02-2025_06_01_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20517393 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_P20517393_14-02-2025_06_01_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20517447, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20517448, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20517449, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20517450, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20517451, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20517452, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20517453, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20517454, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20517455, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20517456, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20517457, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20517458, 'pht': 3726}}" where mtr_portfolio_id = 20517393 and dashboard_run_id = 1610494 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`=20517393 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8885167, 0.034923369451849415, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20517393_14-02-2025_06_01_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20517447, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20517448, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20517449, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20517450, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20517451, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20517452, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20517453, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20517454, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20517455, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20517456, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20517457, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20517458, '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 = 20518029 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': 2585374, 'mtr_portfolio_id': 20518029, 'created_at': datetime.datetime(2025, 2, 14, 6, 1, 58), 'result': '0.0393445656042057', 'result_long': None, 'result_double': None}] Qualite : 0.0393445656042057 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20518029 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20518029_14-02-2025_06_02_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20518029 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_P20518029_14-02-2025_06_02_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20518056, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20518057, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20518058, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20518059, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20518060, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20518061, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20518062, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20518063, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20518064, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20518065, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20518066, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20518067, 'pht': 3726}}" where mtr_portfolio_id = 20518029 and dashboard_run_id = 1610494 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`=20518029 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8885168, 0.0393445656042057, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20518029_14-02-2025_06_02_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20518056, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20518057, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20518058, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20518059, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20518060, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20518061, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20518062, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20518063, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20518064, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20518065, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20518066, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20518067, '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 = 20518770 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': 2585375, 'mtr_portfolio_id': 20518770, 'created_at': datetime.datetime(2025, 2, 14, 6, 3, 7), 'result': '0.03614604375527036', 'result_long': None, 'result_double': None}] Qualite : 0.03614604375527036 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20518770 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20518770_14-02-2025_06_03_10.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20518770 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_P20518770_14-02-2025_06_03_10.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20518773, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20518774, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20518775, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20518776, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20518777, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20518778, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20518779, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20518780, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20518781, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20518782, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20518783, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20518784, 'pht': 3726}}" where mtr_portfolio_id = 20518770 and dashboard_run_id = 1610494 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`=20518770 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8885169, 0.03614604375527036, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20518770_14-02-2025_06_03_10.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20518773, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20518774, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20518775, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20518776, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20518777, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20518778, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20518779, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20518780, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20518781, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20518782, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20518783, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20518784, '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 = 20519099 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': 2585376, 'mtr_portfolio_id': 20519099, 'created_at': datetime.datetime(2025, 2, 14, 6, 5, 33), 'result': '0.03619245673650885', 'result_long': None, 'result_double': None}] Qualite : 0.03619245673650885 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20519099 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20519099_14-02-2025_06_05_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20519099 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_P20519099_14-02-2025_06_05_38.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20519154, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20519155, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20519156, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20519157, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20519158, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20519159, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20519160, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20519161, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20519162, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20519163, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20519164, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20519165, 'pht': 3726}}" where mtr_portfolio_id = 20519099 and dashboard_run_id = 1610494 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`=20519099 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8885170, 0.03619245673650885, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20519099_14-02-2025_06_05_38.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20519154, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20519155, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20519156, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20519157, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20519158, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20519159, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20519160, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20519161, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20519162, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20519163, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20519164, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20519165, '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 = 20519720 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': 2585377, 'mtr_portfolio_id': 20519720, 'created_at': datetime.datetime(2025, 2, 14, 6, 6, 2), 'result': '0.048178943920851224', 'result_long': None, 'result_double': None}] Qualite : 0.048178943920851224 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20519720 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20519720_14-02-2025_06_06_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20519720 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_P20519720_14-02-2025_06_06_04.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20519747, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20519748, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20519749, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20519750, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20519751, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20519752, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20519753, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20519754, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20519755, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20519756, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20519757, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20519758, 'pht': 3726}}" where mtr_portfolio_id = 20519720 and dashboard_run_id = 1610494 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`=20519720 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8885171, 0.048178943920851224, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20519720_14-02-2025_06_06_04.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20519747, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20519748, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20519749, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20519750, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20519751, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20519752, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20519753, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20519754, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20519755, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20519756, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20519757, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20519758, '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 = 20520504 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': 2585378, 'mtr_portfolio_id': 20520504, 'created_at': datetime.datetime(2025, 2, 14, 6, 6, 32), 'result': '0.04089538588679669', 'result_long': None, 'result_double': None}] Qualite : 0.04089538588679669 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20520504 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20520504_14-02-2025_06_06_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20520504 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_P20520504_14-02-2025_06_06_34.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20520508, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20520509, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20520510, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20520511, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20520512, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20520513, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20520514, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20520515, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20520516, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20520517, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20520518, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20520519, 'pht': 3726}}" where mtr_portfolio_id = 20520504 and dashboard_run_id = 1610494 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`=20520504 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8885172, 0.04089538588679669, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20520504_14-02-2025_06_06_34.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20520508, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20520509, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20520510, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20520511, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20520512, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20520513, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20520514, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20520515, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20520516, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20520517, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20520518, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20520519, '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 = 20520906 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': 2585379, 'mtr_portfolio_id': 20520906, 'created_at': datetime.datetime(2025, 2, 14, 6, 7, 31), 'result': '0.041261856139384843', 'result_long': None, 'result_double': None}] Qualite : 0.041261856139384843 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20520906 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20520906_14-02-2025_06_07_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20520906 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_P20520906_14-02-2025_06_07_34.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20520913, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20520914, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20520915, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20520916, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20520917, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20520918, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20520919, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20520920, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20520921, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20520922, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20520923, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20520924, 'pht': 3726}}" where mtr_portfolio_id = 20520906 and dashboard_run_id = 1610494 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`=20520906 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8885173, 0.041261856139384843, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20520906_14-02-2025_06_07_34.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20520913, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20520914, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20520915, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20520916, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20520917, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20520918, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20520919, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20520920, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20520921, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20520922, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20520923, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20520924, '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 = 20521634 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': 2585380, 'mtr_portfolio_id': 20521634, 'created_at': datetime.datetime(2025, 2, 14, 6, 8, 5), 'result': '0.0363102193680705', 'result_long': None, 'result_double': None}] Qualite : 0.0363102193680705 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20521634 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20521634_14-02-2025_06_08_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20521634 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_P20521634_14-02-2025_06_08_07.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20521664, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20521665, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20521666, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20521667, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20521668, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20521669, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20521670, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20521671, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20521672, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20521673, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20521674, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20521675, 'pht': 3726}}" where mtr_portfolio_id = 20521634 and dashboard_run_id = 1610494 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`=20521634 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8885174, 0.0363102193680705, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20521634_14-02-2025_06_08_07.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20521664, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20521665, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20521666, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20521667, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20521668, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20521669, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20521670, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20521671, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20521672, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20521673, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20521674, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20521675, '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 = 20522165 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': 2585381, 'mtr_portfolio_id': 20522165, 'created_at': datetime.datetime(2025, 2, 14, 6, 8, 34), 'result': '0.042396130101101034', 'result_long': None, 'result_double': None}] Qualite : 0.042396130101101034 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20522165 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20522165_14-02-2025_06_08_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20522165 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_P20522165_14-02-2025_06_08_36.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20522215, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20522216, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20522217, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20522218, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20522219, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20522220, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20522221, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20522222, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20522223, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20522224, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20522225, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20522226, 'pht': 3726}}" where mtr_portfolio_id = 20522165 and dashboard_run_id = 1610494 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`=20522165 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8885175, 0.042396130101101034, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20522165_14-02-2025_06_08_36.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20522215, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20522216, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20522217, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20522218, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20522219, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20522220, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20522221, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20522222, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20522223, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20522224, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20522225, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20522226, '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 = 20523051 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': 2585382, 'mtr_portfolio_id': 20523051, 'created_at': datetime.datetime(2025, 2, 14, 6, 9, 31), 'result': '0.026988190438543714', 'result_long': None, 'result_double': None}] Qualite : 0.026988190438543714 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20523051 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20523051_14-02-2025_06_09_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20523051 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_P20523051_14-02-2025_06_09_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20523054, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20523055, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20523056, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20523057, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20523058, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20523059, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20523060, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20523061, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20523062, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20523063, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20523064, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20523065, 'pht': 3726}}" where mtr_portfolio_id = 20523051 and dashboard_run_id = 1610494 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`=20523051 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8885176, 0.026988190438543714, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20523051_14-02-2025_06_09_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20523054, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20523055, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20523056, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20523057, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20523058, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20523059, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20523060, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20523061, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20523062, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20523063, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20523064, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20523065, '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 = 20523199 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': 2585383, 'mtr_portfolio_id': 20523199, 'created_at': datetime.datetime(2025, 2, 14, 6, 10), 'result': '0.035691100158827836', 'result_long': None, 'result_double': None}] Qualite : 0.035691100158827836 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20523199 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20523199_14-02-2025_06_10_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20523199 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_P20523199_14-02-2025_06_10_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20523203, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20523204, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20523205, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20523206, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20523207, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20523208, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20523209, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20523210, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20523211, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20523212, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20523213, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20523214, 'pht': 3726}}" where mtr_portfolio_id = 20523199 and dashboard_run_id = 1610494 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`=20523199 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8885177, 0.035691100158827836, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20523199_14-02-2025_06_10_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20523203, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20523204, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20523205, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20523206, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20523207, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20523208, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20523209, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20523210, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20523211, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20523212, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20523213, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20523214, '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 = 20524003 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': 2585384, 'mtr_portfolio_id': 20524003, 'created_at': datetime.datetime(2025, 2, 14, 6, 10, 32), 'result': '0.04358435778758326', 'result_long': None, 'result_double': None}] Qualite : 0.04358435778758326 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20524003 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20524003_14-02-2025_06_10_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20524003 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_P20524003_14-02-2025_06_10_34.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20524005, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20524006, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20524007, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20524008, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20524009, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20524010, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20524011, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20524012, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20524013, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20524014, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20524015, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20524016, 'pht': 3726}}" where mtr_portfolio_id = 20524003 and dashboard_run_id = 1610494 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`=20524003 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8885178, 0.04358435778758326, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20524003_14-02-2025_06_10_34.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20524005, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20524006, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20524007, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20524008, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20524009, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20524010, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20524011, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20524012, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20524013, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20524014, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20524015, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20524016, '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 = 20524409 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': 2584082, 'mtr_portfolio_id': 20524409, 'created_at': datetime.datetime(2025, 2, 13, 22, 16, 30), 'result': '0.03963416211849185', 'result_long': None, 'result_double': None}] Qualite : 0.03963416211849185 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20524409 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20524409_13-02-2025_22_16_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20524409 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_P20524409_13-02-2025_22_16_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20524412, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20524413, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20524414, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20524415, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20524416, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20524417, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20524418, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20524419, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20524420, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20524421, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20524422, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20524423, 'pht': 3726}}" where mtr_portfolio_id = 20524409 and dashboard_run_id = 1610494 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`=20524409 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8885179, 0.03963416211849185, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20524409_13-02-2025_22_16_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20524412, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20524413, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20524414, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20524415, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20524416, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20524417, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20524418, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20524419, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20524420, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20524421, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20524422, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20524423, '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 = 20524841 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': 2584114, 'mtr_portfolio_id': 20524841, 'created_at': datetime.datetime(2025, 2, 13, 22, 33, 29), 'result': '0.05749399874969437', 'result_long': None, 'result_double': None}] Qualite : 0.05749399874969437 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20524841 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20524841_13-02-2025_22_33_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20524841 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_P20524841_13-02-2025_22_33_29.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20524844, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20524845, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20524846, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20524847, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20524848, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20524849, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20524850, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20524851, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20524852, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20524853, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20524854, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20524855, 'pht': 3726}}" where mtr_portfolio_id = 20524841 and dashboard_run_id = 1610494 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`=20524841 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8885180, 0.05749399874969437, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20524841_13-02-2025_22_33_29.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20524844, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20524845, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20524846, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20524847, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20524848, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20524849, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20524850, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20524851, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20524852, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20524853, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20524854, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20524855, '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 = 20525286 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': 2584141, 'mtr_portfolio_id': 20525286, 'created_at': datetime.datetime(2025, 2, 13, 22, 46, 56), 'result': '0.059493555636541476', 'result_long': None, 'result_double': None}] Qualite : 0.059493555636541476 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20525286 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20525286_13-02-2025_22_46_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20525286 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_P20525286_13-02-2025_22_46_57.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20525291, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20525292, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20525293, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20525294, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20525295, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20525296, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20525297, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20525298, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20525299, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20525300, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20525301, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20525302, 'pht': 3726}}" where mtr_portfolio_id = 20525286 and dashboard_run_id = 1610494 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`=20525286 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8885181, 0.059493555636541476, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20525286_13-02-2025_22_46_57.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20525291, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20525292, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20525293, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20525294, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20525295, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20525296, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20525297, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20525298, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20525299, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20525300, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20525301, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20525302, '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 = 20526127 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': 2584186, 'mtr_portfolio_id': 20526127, 'created_at': datetime.datetime(2025, 2, 13, 23, 2, 58), 'result': '0.04590287569442672', 'result_long': None, 'result_double': None}] Qualite : 0.04590287569442672 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20526127 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20526127_13-02-2025_23_02_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20526127 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_P20526127_13-02-2025_23_02_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20526130, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20526131, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20526132, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20526133, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20526134, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20526135, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20526136, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20526137, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20526138, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20526139, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20526140, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20526141, 'pht': 3726}}" where mtr_portfolio_id = 20526127 and dashboard_run_id = 1610494 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`=20526127 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8885182, 0.04590287569442672, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20526127_13-02-2025_23_02_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20526130, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20526131, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20526132, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20526133, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20526134, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20526135, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20526136, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20526137, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20526138, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20526139, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20526140, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20526141, '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 = 20526558 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': 2584220, 'mtr_portfolio_id': 20526558, 'created_at': datetime.datetime(2025, 2, 13, 23, 19, 29), 'result': '0.0431418347256479', 'result_long': None, 'result_double': None}] Qualite : 0.0431418347256479 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20526558 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20526558_13-02-2025_23_19_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20526558 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_P20526558_13-02-2025_23_19_29.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20526560, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20526561, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20526562, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20526563, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20526564, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20526565, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20526566, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20526567, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20526568, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20526569, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20526570, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20526571, 'pht': 3726}}" where mtr_portfolio_id = 20526558 and dashboard_run_id = 1610494 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`=20526558 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8885183, 0.0431418347256479, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20526558_13-02-2025_23_19_29.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20526560, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20526561, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20526562, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20526563, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20526564, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20526565, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20526566, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20526567, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20526568, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20526569, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20526570, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20526571, '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 = 20526995 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': 2584256, 'mtr_portfolio_id': 20526995, 'created_at': datetime.datetime(2025, 2, 13, 23, 33), 'result': '0.04480899892960075', 'result_long': None, 'result_double': None}] Qualite : 0.04480899892960075 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20526995 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20526995_13-02-2025_23_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20526995 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_P20526995_13-02-2025_23_33_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20527039, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20527040, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20527041, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20527042, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20527043, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20527044, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20527045, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20527046, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20527047, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20527048, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20527049, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20527050, 'pht': 3726}}" where mtr_portfolio_id = 20526995 and dashboard_run_id = 1610494 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`=20526995 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8885184, 0.04480899892960075, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20526995_13-02-2025_23_33_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20527039, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20527040, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20527041, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20527042, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20527043, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20527044, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20527045, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20527046, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20527047, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20527048, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20527049, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20527050, '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 = 20527820 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': 2584303, 'mtr_portfolio_id': 20527820, 'created_at': datetime.datetime(2025, 2, 13, 23, 48, 56), 'result': '0.06451756633204798', 'result_long': None, 'result_double': None}] Qualite : 0.06451756633204798 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20527820 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20527820_13-02-2025_23_48_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20527820 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_P20527820_13-02-2025_23_48_57.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20527878, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20527879, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20527880, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20527881, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20527882, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20527883, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20527884, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20527885, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20527886, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20527887, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20527888, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20527889, 'pht': 3726}}" where mtr_portfolio_id = 20527820 and dashboard_run_id = 1610494 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`=20527820 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8885185, 0.06451756633204798, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20527820_13-02-2025_23_48_57.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20527878, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20527879, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20527880, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20527881, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20527882, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20527883, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20527884, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20527885, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20527886, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20527887, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20527888, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20527889, '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 = 20528257 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': 2584333, 'mtr_portfolio_id': 20528257, 'created_at': datetime.datetime(2025, 2, 14, 4, 25, 59), 'result': '0.04214211821449696', 'result_long': None, 'result_double': None}] Qualite : 0.04214211821449696 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20528257 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20528257_14-02-2025_04_25_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528257 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_P20528257_14-02-2025_04_25_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20528335, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20528336, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20528337, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20528338, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20528339, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20528340, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20528341, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20528342, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20528343, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20528344, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20528345, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20528346, 'pht': 3726}}" where mtr_portfolio_id = 20528257 and dashboard_run_id = 1610494 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`=20528257 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8885186, 0.04214211821449696, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20528257_14-02-2025_04_25_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20528335, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20528336, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20528337, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20528338, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20528339, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20528340, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20528341, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20528342, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20528343, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20528344, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20528345, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20528346, '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 (20496702,20496893,20497229,20497769,20498225,20498729,20499230,20499537,20500137,20500514,20501204,20501611,20502251,20502819,20503438,20504018,20507322,20507586,20508054,20508612,20508913,20509635,20510094,20510922,20511266,20511878,20512359,20513169,20513944,20514464,20514902,20516593,20516902,20517393,20518029,20518770,20519099,20519720,20520504,20520906,20521634,20522165,20523051,20523199,20524003,20524409,20524841,20525286,20526127,20526558,20526995,20527820,20528257) result : ((1337269028,), (1337270069,), (1337270603,), (1337271192,), (1337271215,), (1337271241,), (1337271374,), (1337271398,), (1337271401,), (1337271428,), (1337271430,), (1337271455,), (1337271457,), (1337271475,), (1337271516,), (1337271534,), (1337271990,), (1337272064,), (1337272087,), (1337272088,), (1337272089,), (1337272415,), (1337272416,), (1337272474,), (1337272564,), (1337272565,), (1337272566,), (1337272576,), (1337272653,), (1337272654,), (1337272655,), (1337272659,), (1337272662,), (1337272699,), (1337272700,), (1337272725,), (1337272727,), (1337272729,), (1337272757,), (1337272759,), (1337272761,), (1337272789,), (1337272791,), (1337272792,), (1337272799,), (1337272803,), (1337272805,), (1337272823,), (1337272824,), (1337272825,), (1337272849,), (1337272850,), (1337272852,), (1337272857,), (1337272867,), (1337272882,), (1337273155,), (1337273000,), (1337273079,), (1337273081,), (1337273083,), (1337273138,), (1337273293,), (1337273356,), (1337273357,), (1337273387,), (1337273388,), (1337273389,), (1337273390,), (1337273395,), (1337273427,), (1337273429,), (1337273432,), (1337273434,), (1337273437,), (1337273462,), (1337273464,), (1337273467,), (1337273515,), (1337273526,), (1337273536,), (1337273537,), (1337273539,), (1337273650,), (1337273651,), (1337273652,), (1337273656,), (1337273658,), (1337273660,), (1337273681,), (1337273682,), (1337273683,), (1337273686,), (1337273717,), (1337273718,), (1337273719,), (1337273721,), (1337273724,), (1337273726,), (1337273744,), (1337273745,), (1337273748,), (1337273756,), (1337273759,), (1337273790,), (1337273791,), (1337273792,), (1337273793,), (1337273795,), (1337274102,), (1337274173,), (1337274245,), (1337274316,), (1337274455,), (1337274880,), (1337274881,), (1337274882,), (1337274883,), (1337274885,), (1337274887,), (1337275036,), (1337275085,), (1337275155,), (1337275218,), (1337275476,), (1337275478,), (1337275483,), (1337275490,), (1337275493,), (1337275981,), (1337275644,), (1337275710,), (1337275824,), (1337275877,), (1337275948,), (1337276435,), (1337276469,), (1337276531,), (1337276693,), (1337276695,), (1337276697,), (1337276715,), (1337276723,), (1337276728,), (1337276754,), (1337276758,), (1337276760,), (1337276763,), (1337276766,), (1337276772,), (1337276780,), (1337276782,), (1337276784,), (1337276802,), (1337276803,), (1337276804,), (1337276805,), (1337276807,), (1337276809,), (1337277164,), (1337277238,), (1337277315,), (1337277855,), (1337277856,), (1337277857,), (1337277860,), (1337277864,), (1337277878,), (1337278077,), (1337278137,), (1337278221,), (1337278272,), (1337278277,), (1337278563,), (1337278571,), (1337278573,), (1337278582,), (1337278590,), (1337278744,), (1337278817,), (1337278858,), (1337278914,), (1337279051,), (1337279058,), (1337279065,), (1337279068,), (1337279070,), (1337279073,), (1337279085,), (1337279093,), (1337279095,), (1337279097,), (1337279100,), (1337279103,), (1337279116,), (1337279120,), (1337279124,), (1337279128,), (1337279140,), (1337279152,), (1337279154,), (1337279155,), (1337279156,), (1337279157,), (1337279159,), (1337279161,), (1337279164,), (1337279165,), (1337279168,), (1337279186,), (1337279175,), (1337279177,), (1337279180,), (1337279182,), (1337279234,), (1337279237,), (1337279239,), (1337279246,), (1337279250,), (1337279253,), (1337279268,), (1337279271,), (1337279273,), (1337279288,), (1337279293,), (1337279295,), (1337279298,), (1337279301,), (1337279303,), (1337280085,), (1337280087,), (1337280090,), (1337280092,), (1337280370,), (1337280408,), (1337280415,), (1337280417,), (1337280420,), (1337280433,), (1337280435,), (1337280437,), (1337280439,), (1337280441,), (1337280444,), (1337280460,), (1337280463,), (1337280467,), (1337280469,), (1337280472,), (1337280497,), (1337280499,), (1337280501,), (1337280503,), (1337280506,), (1337280507,), (1337280533,), (1337280534,), (1337280535,), (1337280536,), (1337280538,), (1337280578,), (1337280579,), (1337280580,), (1337280581,), (1337280582,), (1337280602,), (1337280603,), (1337280607,), (1337280613,), (1337280614,), (1337280752,), (1337280822,), (1337280892,), (1337280896,), (1337280897,), (1337280924,), (1337280925,), (1337280926,), (1337280927,), (1337280928,), (1337280950,), (1337280952,), (1337280953,), (1337280954,), (1337280955,), (1337280998,), (1337280983,), (1337280996,), (1337280997,), (1337281321,), (1337281322,), (1337281323,), (1337281324,), (1337281325,), (1337281327,), (1337281345,), (1337281346,), (1337281347,), (1337281348,), (1337281384,), (1337281385,), (1337281386,), (1337281405,), (1337281406,), (1337281444,), (1337281446,), (1337281448,), (1337281450,), (1337281471,), (1337281472,), (1337281473,), (1337281474,), (1337281475,), (1337281477,), (1337281821,), (1337281828,), (1337281886,), (1337281890,), (1337281912,), (1337281952,), (1337281954,), (1337281956,), (1337281958,), (1337281961,), (1337281963,), (1337281975,), (1337281977,), (1337281979,), (1337281981,), (1337282006,), (1337282008,), (1337282009,), (1337282011,), (1337282020,), (1337282026,), (1337282038,), (1337282040,), (1337282042,), (1337282044,), (1337282047,), (1337282066,), (1337282078,), (1337282085,), (1337282088,), (1337282091,), (1337282094,), (1337282104,), (1337282106,), (1337282108,), (1337282126,), (1337282128,), (1337282132,), (1337282134,), (1337282140,), (1337282152,), (1337282606,), (1337282602,), (1337282603,), (1337282620,), (1337282622,), (1337282625,), (1337282628,), (1337282638,), (1337282644,), (1337282657,), (1337282659,), (1337282661,), (1337282663,), (1337282680,), (1337282682,), (1337282684,), (1337282686,), (1337282699,), (1337282704,), (1337282706,), (1337282710,), (1337282713,), (1337282716,), (1337282729,), (1337282731,), (1337282733,), (1337282745,), (1337282748,), (1337282803,), (1337282863,), (1337282897,), (1337282913,), (1337282915,), (1337282921,), (1337282928,), (1337282931,), (1337282933,), (1337282944,), (1337282951,), (1337283007,), (1337283037,), (1337283102,), (1337283457,), (1337283458,), (1337283459,), (1337283460,), (1337283773,), (1337283782,), (1337284292,), (1337284857,), (1337284845,), (1337284846,), (1337284847,), (1337284848,), (1337284850,), (1337285136,), (1337285142,), (1337285146,), (1337285412,), (1337285413,), (1337285414,), (1337285436,), (1337285438,), (1337285439,), (1337285440,), (1337285442,), (1337285852,), (1337285969,), (1337286097,), (1337286223,), (1337286302,), (1337286303,), (1337286336,), (1337286337,), (1337286338,), (1337286468,), (1337286875,), (1337286876,), (1337286877,), (1337286878,), (1337286880,), (1337286882,), (1337286899,), (1337286901,), (1337286904,), (1337286906,), (1337286909,), (1337286944,), (1337286946,), (1337286948,), (1337286950,), (1337286966,), (1337286968,), (1337286970,), (1337286972,), (1337286975,), (1337286978,), (1337286993,), (1337286995,), (1337287010,), (1337287014,), (1337287041,), (1337287043,), (1337287045,), (1337287047,), (1337287081,), (1337287083,), (1337287085,), (1337287089,), (1337287093,), (1337287097,), (1337287141,), (1337287145,), (1337287149,), (1337287188,), (1337287176,), (1337287180,), (1337287183,), (1337287185,), (1337287203,), (1337287214,), (1337287221,), (1337287227,), (1337287815,), (1337287884,), (1337287958,), (1337288041,), (1337288070,), (1337288072,), (1337288085,), (1337288087,), (1337288090,), (1337288093,), (1337288095,), (1337288481,), (1337288486,), (1337288489,), (1337288492,), (1337288501,), (1337288505,), (1337288777,), (1337288788,), (1337288902,), (1337288922,), (1337289019,), (1337289406,), (1337289479,), (1337289544,), (1337289583,), (1337289593,), (1337289598,), (1337289807,), (1337289828,), (1337289885,), (1337289887,), (1337289913,), (1337289916,), (1337290038,), (1337290040,), (1337290044,), (1337290046,), (1337290074,), (1337290080,), (1337290084,), (1337290090,), (1337290096,), (1337290100,), (1337290113,), (1337290114,), (1337290115,), (1337290152,), (1337290155,), (1337290159,), (1337290164,), (1337290169,), (1337290172,), (1337290189,), (1337290192,), (1337290196,), (1337290199,), (1337290213,), (1337290216,), (1337290220,), (1337290224,), (1337290228,), (1337290230,), (1337290252,), (1337290258,), (1337290301,), (1337290304,), (1337290308,), (1337290310,), (1337290312,), (1337290313,), (1337290343,), (1337290348,), (1337290358,), (1337290360,), (1337290110,), (1337290111,), (1337290112,), (1337290120,), (1337290124,), (1337290130,), (1337290136,), (1337290142,), (1337290148,), (1337290184,), (1337290186,), (1337290244,), (1337290245,), (1337290247,), (1337290250,), (1337290276,), (1337290279,), (1337290282,), (1337290285,), (1337290287,), (1337290291,), (1337290328,), (1337290333,), (1337290336,), (1337290340,), (1337290367,), (1337290370,), (1337290374,), (1337290378,), (1337290381,), (1337290385,), (1337290423,), (1337290442,), (1337290445,), (1337290448,), (1337290455,), (1337290464,), (1337290526,), (1337290529,), (1337290533,), (1337290587,), (1337290598,), (1337290603,), (1337290616,), (1337290620,), (1337290623,), (1337291239,), (1337291330,), (1337291414,), (1337291501,), (1337291591,), (1337291598,), (1337291622,), (1337292735,), (1337292737,), (1337293869,), (1337293597,), (1337293779,), (1337294079,), (1337294083,), (1337294087,), (1337294090,), (1337294094,), (1337294095,), (1337294119,), (1337294121,), (1337294168,), (1337294173,), (1337294208,), (1337294210,), (1337294214,), (1337294218,), (1337294373,), (1337294375,), (1337294378,), (1337294382,), (1337294385,), (1337294389,), (1337294414,), (1337294419,), (1337294424,), (1337294429,), (1337294460,), (1337294462,), (1337294465,), (1337294468,), (1337294471,), (1337294508,), (1337294510,), (1337294512,), (1337294515,), (1337294519,), (1337294676,), (1337294679,), (1337294682,), (1337294732,), (1337294734,), (1337294737,), (1337294740,), (1337294761,), (1337294763,), (1337294768,), (1337294771,), (1337294814,), (1337294817,), (1337294820,), (1337294826,), (1337294867,), (1337294872,), (1337294875,), (1337294957,), (1337294901,), (1337294903,), (1337294906,), (1337295049,), (1337295052,), (1337295061,), (1337295066,), (1337295068,), (1337295072,), (1337295476,), (1337295538,), (1337295553,), (1337295565,), (1337295609,), (1337295612,), (1337295614,), (1337295617,), (1337295679,), (1337295682,), (1337295685,), (1337295686,), (1337295690,), (1337295793,), (1337295796,), (1337295800,), (1337295802,), (1337295833,), (1337295835,), (1337295837,), (1337295840,), (1337295844,), (1337295847,), (1337296010,), (1337296061,), (1337296064,), (1337296067,), (1337296086,), (1337296089,), (1337296093,), (1337296097,), (1337296120,), (1337296123,), (1337296126,), (1337296129,), (1337296132,), (1337296141,), (1337296162,), (1337296164,), (1337296168,), (1337296196,), (1337296199,), (1337296203,), (1337296207,), (1337296237,), (1337296241,), (1337296247,), (1337296255,), (1337296263,), (1337296268,), (1337296452,), (1337296441,), (1337296444,), (1337296448,), (1337296490,), (1337296493,), (1337296497,), (1337296501,), (1337296505,), (1337296521,), (1337296524,), (1337296528,), (1337296532,), (1337296560,), (1337296563,), (1337296565,), (1337296566,), (1337296568,), (1337296572,), (1337297332,), (1337297334,), (1337297335,), (1337297337,), (1337297341,), (1337297361,), (1337297635,), (1337297637,), (1337297640,), (1337297680,), (1337297682,), (1337297685,), (1337297712,), (1337297715,), (1337297718,), (1337297721,), (1337297725,), (1337297765,), (1337297767,), (1337297801,), (1337297803,), (1337297812,), (1337297813,), (1337297817,), (1337297821,), (1337297864,), (1337297869,), (1337297871,), (1337297874,), (1337297904,), (1337297905,), (1337297907,), (1337298187,), (1337298064,), (1337298088,), (1337298090,), (1337298093,), (1337298298,), (1337298305,), (1337298308,), (1337298311,), (1337298316,), (1337298324,), (1337298556,), (1337298558,), (1337298561,), (1337298564,), (1337298566,), (1337298628,), (1337298631,), (1337298662,), (1337298744,), (1337298775,), (1337298778,), (1337299138,), (1337299153,), (1337299190,), (1337299223,), (1337299225,), (1337299229,), (1337299428,), (1337299513,), (1337299516,), (1337299566,), (1337299568,), (1337299571,), (1337299633,), (1337299647,), (1337299780,), (1337299783,), (1337299787,), (1337299970,), (1337300001,), (1337300004,), (1337300007,), (1337300048,), (1337300054,), (1337300075,), (1337300083,), (1337300153,), (1337300139,), (1337300141,), (1337300145,), (1337300149,), (1337300184,), (1337300185,), (1337300187,), (1337300190,), (1337300193,), (1337300219,), (1337300220,), (1337300222,), (1337300886,), (1337300889,), (1337300897,), (1337300942,), (1337301016,), (1337301018,), (1337301023,), (1337301051,), (1337301052,), (1337301054,), (1337301266,), (1337301267,), (1337301269,), (1337301291,), (1337301316,), (1337301317,), (1337301319,), (1337301350,), (1337301351,), (1337301353,), (1337301355,), (1337301382,), (1337301383,), (1337301494,), (1337303087,), (1337303218,), (1337303237,), (1337303453,), (1337303454,), (1337303456,), (1337303469,), (1337303471,), (1337303483,), (1337303514,), (1337303515,), (1337303517,), (1337303519,), (1337303521,), (1337303523,), (1337303543,), (1337303545,), (1337303547,), (1337303586,), (1337303811,), (1337303813,), (1337303815,), (1337303816,), (1337303818,), (1337303820,), (1337303919,), (1337303920,), (1337303925,), (1337303929,), (1337303973,), (1337303974,), (1337303976,), (1337303977,), (1337303980,), (1337303986,), (1337304039,), (1337304063,), (1337304065,), (1337304075,), (1337304176,), (1337304182,), (1337304193,), (1337304248,), (1337304252,), (1337304278,), (1337304289,), (1337304293,), (1337304298,), (1337304302,), (1337362904,), (1337363025,), (1337363058,), (1337364547,), (1337364599,), (1337364606,), (1337364611,), (1337364682,), (1337364684,), (1337364687,), (1337364690,), (1337364694,), (1337364773,), (1337364776,), (1337364780,), (1337364783,), (1337364787,), (1337364820,), (1337365566,), (1337365569,), (1337365573,), (1337366029,), (1337366044,), (1337366048,), (1337366051,), (1337366055,), (1337366411,), (1337366415,), (1337366420,), (1337366424,), (1337366430,), (1337366436,), (1337366444,), (1337366458,), (1337366494,), (1337366480,), (1337366484,), (1337366487,), (1337366489,), (1337366689,), (1337366693,), (1337366697,), (1337366699,), (1337366702,), (1337366706,), (1337367046,), (1337367211,), (1337367240,), (1337367246,), (1337367251,), (1337367433,), (1337367435,), (1337367438,), (1337367484,), (1337367488,), (1337367492,), (1337367498,), (1337367501,), (1337367505,), (1337367561,), (1337367565,), (1337367574,), (1337367579,), (1337367582,), (1337367586,), (1337367601,), (1337367603,), (1337367607,), (1337367828,), (1337367832,), (1337367836,), (1337367843,), (1337367909,), (1337367994,), (1337368078,), (1337368171,), (1337368266,), (1337369267,), (1337369271,), (1337369275,), (1337369280,), (1337369320,), (1337369323,), (1337369328,), (1337369332,), (1337369593,), (1337369684,), (1337369781,), (1337369868,), (1337369930,), (1337369944,), (1337370111,), (1337370143,), (1337370381,), (1337370471,), (1337370479,), (1337370489,), (1337370496,), (1337370500,), (1337370601,), (1337370553,), (1337370557,), (1337370564,), (1337370568,), (1337370588,), (1337370633,), (1337370637,), (1337370642,), (1337370646,), (1337370867,), (1337370869,), (1337370873,), (1337370876,), (1337370880,), (1337370884,), (1337371862,), (1337371913,), (1337371921,), (1337372308,), (1337372331,), (1337372420,), (1337372443,), (1337372446,), (1337372464,), (1337372499,), (1337372501,), (1337372505,), (1337372508,), (1337372512,), (1337372593,), (1337372595,), (1337372599,), (1337372603,), (1337372656,), (1337372659,), (1337372671,), (1337372675,), (1337372679,), (1337372681,), (1337372708,), (1337372711,), (1337372715,), (1337372717,), (1337372738,), (1337372740,), (1337372819,), (1337372822,), (1337372831,), (1337372834,), (1337372863,), (1337372866,), (1337372869,), (1337372872,), (1337372874,), (1337372879,), (1337372953,), (1337373042,), (1337373141,), (1337373236,), (1337373340,), (1337373440,), (1337373717,), (1337376707,), (1337377206,), (1337377212,), (1337377215,), (1337377219,), (1337377245,), (1337378072,), (1337378140,), (1337378190,), (1337378591,), (1337378598,), (1337378602,), (1337378707,), (1337378790,), (1337378881,), (1337378992,), (1337379037,), (1337379154,), (1337379159,), (1337379163,), (1337379166,), (1337379168,), (1337379480,), (1337379483,), (1337379487,), (1337379490,), (1337379518,), (1337379527,), (1337379529,), (1337379533,), (1337379538,), (1337379567,), (1337379570,), (1337379573,), (1337379611,), (1337379615,), (1337379737,), (1337379767,), (1337379823,), (1337379828,), (1337379833,), (1337379837,), (1337379841,), (1337379844,), (1337379905,), (1337379874,), (1337379879,), (1337379882,), (1337379887,), (1337379898,), (1337380102,), (1337380106,), (1337380111,), (1337380305,), (1337380309,), (1337380313,), (1337380321,), (1337380328,), (1337380331,), (1337380354,), (1337380357,), (1337380363,), (1337380367,), (1337380370,), (1337380393,), (1337380548,), (1337380551,), (1337380554,), (1337380558,), (1337380712,), (1337380880,), (1337380967,), (1337381036,), (1337381114,), (1337381278,), (1337381281,), (1337381300,), (1337381303,), (1337381586,), (1337381653,), (1337381720,), (1337381721,), (1337381728,), (1337381780,), (1337381870,), (1337381948,), (1337382070,), (1337382073,), (1337382082,), (1337382091,), (1337382134,), (1337382143,), (1337382175,), (1337382179,), (1337382184,), (1337382191,), (1337382196,), (1337382221,), (1337382359,), (1337382363,), (1337382369,), (1337382371,), (1337382375,), (1337382522,), (1337382540,), (1337382547,), (1337382569,), (1337382572,), (1337382576,), (1337383506,), (1337383503,), (1337385371,), (1337385374,), (1337385377,), (1337385380,), (1337385384,), (1337385532,), (1337385831,), (1337385843,), (1337386011,), (1337386013,), (1337386016,), (1337386019,), (1337386182,), (1337386439,), (1337386974,), (1337386976,), (1337387201,), (1337387364,), (1337387368,), (1337387382,), (1337387386,), (1337387390,), (1337387628,), (1337387643,), (1337387651,), (1337387653,), (1337387656,), (1337387688,), (1337387690,), (1337387700,), (1337387716,), (1337387763,), (1337387765,), (1337387768,), (1337387805,), (1337387823,), (1337387897,), (1337387952,), (1337387992,), (1337388014,), (1337388017,), (1337388021,), (1337388025,), (1337388036,), (1337388039,), (1337388067,), (1337388069,), (1337388072,), (1337388076,), (1337388139,), (1337388121,), (1337388123,), (1337388127,), (1337388131,), (1337388136,), (1337388162,), (1337388165,), (1337388168,), (1337388226,), (1337388229,), (1337388232,), (1337388235,), (1337388239,), (1337388243,), (1337388280,), (1337388282,), (1337388285,), (1337388326,), (1337388328,), (1337388331,), (1337388334,), (1337388337,), (1337388340,), (1337388376,), (1337388509,), (1337388567,), (1337388855,), (1337389018,), (1337389262,), (1337389332,), (1337389403,), (1337389958,), (1337389962,), (1337389965,), (1337389968,), (1337389971,), (1337389996,), (1337390027,), (1337390156,), (1337390169,), (1337390212,), (1337390215,), (1337390219,), (1337390222,), (1337390256,), (1337390260,), (1337390264,), (1337390284,), (1337390435,), (1337390438,), (1337390442,), (1337390447,), (1337390452,), (1337390456,), (1337390477,), (1337390481,), (1337390505,), (1337390508,), (1337390512,), (1337391127,), (1337391124,), (1337391319,), (1337391321,), (1337391323,), (1337391905,), (1337391964,), (1337392015,), (1337392225,), (1337392230,), (1337392231,), (1337392865,), (1337392875,), (1337392876,), (1337392881,), (1337392884,), (1337392886,), (1337392905,), (1337392911,), (1337393255,), (1337393262,), (1337393263,), (1337393276,), (1337393325,), (1337393371,), (1337393407,), (1337393409,), (1337393412,), (1337393521,), (1337393522,), (1337393523,), (1337393532,), (1337393535,), (1337393540,), (1337393581,), (1337393592,), (1337393594,), (1337393595,), (1337393597,), (1337393649,), (1337393651,), (1337393655,), (1337393659,), (1337393662,), (1337393664,), (1337393711,), (1337393703,), (1337393705,), (1337393708,), (1337393747,), (1337393753,), (1337393756,), (1337393759,), (1337393806,), (1337393808,), (1337393811,), (1337393830,), (1337394149,), (1337394237,), (1337394241,), (1337394243,), (1337394322,), (1337394325,), (1337394328,), (1337394336,), (1337394338,), (1337394373,), (1337394374,), (1337394377,), (1337394380,), (1337394550,), (1337394553,), (1337394560,), (1337394563,), (1337394882,), (1337394887,), (1337394891,), (1337395038,), (1337395050,), (1337395056,), (1337395100,), (1337395103,), (1337395107,), (1337395111,), (1337395114,), (1337395137,), (1337395148,), (1337395152,), (1337395162,), (1337395165,), (1337395192,), (1337395195,), (1337395199,), (1337395203,), (1337395373,), (1337395376,), (1337395381,), (1337395384,), (1337395389,), (1337395392,), (1337395420,), (1337395427,), (1337395431,), (1337395436,), (1337395441,), (1337395445,), (1337395455,), (1337395457,), (1337395461,), (1337395533,), (1337395494,), (1337395497,), (1337395500,), (1337395503,), (1337396191,), (1337396296,), (1337396299,), (1337396302,), (1337396306,), (1337396334,), (1337396366,), (1337396562,), (1337396690,), (1337396694,), (1337396697,), (1337396699,), (1337396702,), (1337396741,), (1337396744,), (1337396747,), (1337396750,), (1337396753,), (1337396755,), (1337396782,), (1337396786,), (1337396788,), (1337396791,), (1337396819,), (1337396821,), (1337396826,), (1337396829,), (1337396833,), (1337396835,), (1337396865,), (1337396869,), (1337396882,), (1337396885,), (1337396890,), (1337396924,), (1337396928,), (1337396930,), (1337396932,), (1337396957,), (1337396959,), (1337396965,), (1337396968,), (1337396971,), (1337396975,), (1337397005,), (1337397016,), (1337397027,), (1337397031,), (1337397117,), (1337397122,), (1337397126,), (1337397129,), (1337397145,), (1337397712,), (1337397970,), (1337398159,), (1337398162,), (1337398164,), (1337398167,), (1337398188,), (1337398190,), (1337398193,), (1337398618,), (1337398620,), (1337398624,), (1337398630,), (1337398637,), (1337398640,), (1337398709,), (1337398668,), (1337398685,), (1337398693,), (1337398700,), (1337398706,), (1337398745,), (1337398748,), (1337398763,), (1337398936,), (1337398950,), (1337399022,), (1337399117,), (1337399128,), (1337399131,), (1337399167,), (1337399170,), (1337399178,), (1337399190,), (1337399196,), (1337399210,), (1337399260,), (1337399262,), (1337399265,), (1337399268,), (1337399323,), (1337399326,), (1337399329,), (1337399334,), (1337399349,), (1337399357,), (1337399385,), (1337399424,), (1337399427,), (1337399429,), (1337399451,), (1337399554,), (1337399557,), (1337399560,), (1337399563,), (1337399566,), (1337399575,), (1337399618,), (1337399621,), (1337399625,), (1337399629,), (1337399632,), (1337399650,), (1337399858,), (1337399861,), (1337399865,), (1337399914,), (1337399917,), (1337399921,), (1337399924,), (1337399927,), (1337399931,), (1337399948,), (1337399950,), (1337399953,), (1337399956,), (1337399960,), (1337399995,), (1337399997,), (1337400000,), (1337400003,), (1337400049,), (1337400059,), (1337400062,), (1337400064,), (1337400066,), (1337400070,), (1337400089,), (1337400092,), (1337400095,), (1337400098,), (1337400104,), (1337400106,), (1337400155,), (1337400132,), (1337400141,), (1337400144,), (1337400194,), (1337400201,), (1337400213,), (1337400216,), (1337400219,), (1337400267,), (1337400270,), (1337400273,), (1337400283,), (1337400285,), (1337400332,), (1337400334,), (1337400336,), (1337400340,), (1337400344,), (1337400918,), (1337400945,), (1337400948,), (1337400951,), (1337400958,), (1337400960,), (1337401160,), (1337401162,), (1337401163,), (1337401205,), (1337401212,), (1337401217,), (1337401219,), (1337401404,), (1337401406,), (1337401455,), (1337401457,), (1337401460,), (1337401463,), (1337401494,), (1337401495,), (1337401498,), (1337401501,), (1337401502,), (1337401529,), (1337401532,), (1337401535,), (1337401537,), (1337401538,), (1337401544,), (1337401566,), (1337401569,), (1337401573,), (1337401682,), (1337401598,), (1337401652,), (1337401670,), (1337401748,), (1337401751,), (1337401755,), (1337401761,), (1337401764,), (1337401767,), (1337401786,), (1337401789,), (1337401847,), (1337401850,), (1337401859,), (1337401863,), (1337401934,), (1337401938,), (1337401941,), (1337401944,), (1337401950,), (1337401953,), (1337401981,), (1337401988,), (1337402021,), (1337402023,), (1337402026,), (1337402030,), (1337402036,), (1337402042,), (1337402069,), (1337402071,), (1337402075,), (1337402077,), (1337402080,), (1337402083,), (1337402125,), (1337402127,), (1337402130,), (1337402133,), (1337402191,), (1337402196,), (1337402222,), (1337402239,), (1337402243,), (1337402260,), (1337402263,), (1337402267,), (1337402270,), (1337402275,), (1337402281,), (1337402307,), (1337402313,), (1337402315,), (1337402394,), (1337402399,), (1337402404,), (1337402407,), (1337402410,), (1337402459,), (1337402464,), (1337402469,), (1337402476,), (1337402484,), (1337402487,), (1337402549,), (1337402541,), (1337402545,), (1337402547,), (1337402598,), (1337402618,), (1337402621,), (1337402624,), (1337402628,), (1337402637,), (1337402659,), (1337402661,), (1337402664,), (1337402667,), (1337402690,), (1337402692,), (1337402695,), (1337402698,), (1337402699,), (1337402758,), (1337402766,), (1337402770,), (1337402852,), (1337402854,), (1337402858,), (1337402860,), (1337402864,), (1337402908,), (1337402963,), (1337403029,), (1337403051,), (1337403228,), (1337403229,), (1337403232,), (1337403245,), (1337403249,), (1337403273,), (1337403362,), (1337403378,), (1337403380,), (1337403391,), (1337403395,), (1337403404,), (1337403490,), (1337403491,), (1337403562,), (1337403564,), (1337403567,), (1337403570,), (1337403676,), (1337403762,), (1337403775,), (1337403778,), (1337403782,), (1337403784,), (1337403841,), (1337403843,), (1337403875,), (1337403878,), (1337403934,), (1337404008,), (1337404226,), (1337404211,), (1337404214,), (1337404218,), (1337404222,), (1337404369,), (1337404372,), (1337404375,), (1337404382,), (1337404407,), (1337404410,), (1337404414,), (1337404418,), (1337404422,), (1337404427,), (1337404519,), (1337404722,), (1337404921,), (1337405214,), (1337405217,), (1337405222,), (1337405226,), (1337405234,), (1337405616,), (1337405620,), (1337405630,), (1337405636,), (1337405658,), (1337405667,), (1337405717,), (1337405765,), (1337405846,), (1337406197,), (1337406200,), (1337406203,), (1337406207,), (1337406214,), (1337406231,), (1337406233,), (1337406237,), (1337406241,), (1337406245,), (1337406250,), (1337406274,), (1337406276,), (1337406280,), (1337406359,), (1337406364,), (1337406366,), (1337406368,), (1337406436,), (1337406443,), (1337406466,), (1337407322,), (1337411725,), (1337411732,), (1337411735,), (1337411787,), (1337412833,), (1337412836,), (1337412840,), (1337412843,), (1337412968,), (1337412970,), (1337412973,), (1337413139,), (1337413143,), (1337413147,), (1337413148,), (1337413151,), (1337413223,), (1337413226,), (1337413229,), (1337413231,), (1337413234,), (1337413301,), (1337413303,), (1337413320,), (1337413364,), (1337413369,), (1337413375,), (1337413395,), (1337413404,), (1337413408,), (1337413414,), (1337413419,), (1337413445,), (1337413454,), (1337413457,), (1337413461,), (1337413464,), (1337413484,), (1337413486,), (1337413489,), (1337413636,), (1337413639,), (1337413642,), (1337413646,), (1337413840,), (1337413743,), (1337413745,), (1337413783,), (1337413835,), (1337413879,), (1337413881,), (1337413884,), (1337413887,), (1337413891,), (1337413912,), (1337413914,), (1337413917,), (1337413921,), (1337413943,), (1337413946,), (1337413950,), (1337413954,), (1337413956,), (1337413989,), (1337413992,), (1337413995,), (1337413999,), (1337414005,), (1337414030,), (1337414045,), (1337414055,), (1337414060,), (1337414064,), (1337415039,), (1337415042,), (1337415046,), (1337415050,), (1337415053,), (1337415057,), (1337415072,), (1337415304,), (1337415394,), (1337415408,), (1337415537,), (1337415540,), (1337415543,), (1337415546,), (1337415551,), (1337415554,), (1337415569,), (1337415593,), (1337415596,), (1337415600,), (1337415675,), (1337415678,), (1337415682,), (1337415685,), (1337415690,), (1337415710,), (1337415713,), (1337415717,), (1337415720,), (1337415723,), (1337415743,), (1337415754,), (1337415759,), (1337415762,), (1337415790,), (1337415794,), (1337415798,), (1337415835,), (1337415842,), (1337415844,), (1337415848,), (1337415850,), (1337415976,), (1337415876,), (1337415880,), (1337415884,), (1337415888,), (1337415959,), (1337416082,), (1337416087,), (1337416090,), (1337416328,), (1337416331,), (1337416340,), (1337416388,), (1337416391,), (1337416395,), (1337416398,), (1337416404,), (1337416431,), (1337416434,), (1337416441,), (1337416449,), (1337416507,), (1337416510,), (1337416662,), (1337416763,), (1337417001,), (1337417009,), (1337417397,), (1337417399,), (1337417403,), (1337417407,), (1337417735,), (1337417751,), (1337417755,), (1337417759,), (1337417809,), (1337417821,), (1337417906,), (1337417908,), (1337417911,), (1337417914,), (1337417916,), (1337417919,), (1337417942,), (1337417943,), (1337417945,), (1337417947,), (1337417984,), (1337417986,), (1337417989,), (1337417991,), (1337417994,), (1337418022,), (1337418025,), (1337418028,), (1337418030,), (1337418031,), (1337418034,), (1337418058,), (1337418059,), (1337418063,), (1337418107,), (1337418109,), (1337418112,), (1337418115,), (1337418117,), (1337418139,), (1337418283,), (1337418285,), (1337418287,), (1337418337,), (1337418327,), (1337418329,), (1337418332,), (1337418541,), (1337418548,), (1337418587,), (1337418602,), (1337418607,), (1337418620,), (1337418723,), (1337418725,), (1337418729,), (1337418738,), (1337418792,), (1337418795,), (1337418822,), (1337418823,), (1337418869,), (1337418872,), (1337418876,), (1337418879,), (1337418883,), (1337418885,), (1337418908,), (1337418911,), (1337418915,), (1337418939,), (1337418941,), (1337418944,), (1337418948,), (1337418953,), (1337419015,), (1337419019,), (1337419023,), (1337419036,), (1337419041,), (1337419101,), (1337419110,), (1337419115,), (1337419128,), (1337419136,), (1337419139,), (1337419161,), (1337419164,), (1337419168,), (1337419319,), (1337419322,), (1337419328,), (1337419330,), (1337419334,), (1337419339,), (1337419380,), (1337419388,), (1337419392,), (1337419395,), (1337419399,), (1337419401,), (1337419796,), (1337419800,), (1337419804,), (1337419815,), (1337419820,), (1337419823,), (1337419824,), (1337419826,), (1337419893,), (1337419869,), (1337419887,), (1337419891,), (1337421180,), (1337421259,), (1337421368,), (1337422233,), (1337422235,), (1337422238,), (1337422241,), (1337422244,), (1337422668,), (1337422670,), (1337422673,), (1337422815,), (1337422817,), (1337422830,), (1337422833,), (1337422846,), (1337422864,), (1337422868,), (1337422871,), (1337422874,), (1337422894,), (1337422897,), (1337422900,), (1337422904,), (1337422909,), (1337422911,), (1337422927,), (1337422929,), (1337422932,), (1337422935,), (1337422940,), (1337423135,), (1337423138,), (1337423142,), (1337423157,), (1337423160,), (1337423184,), (1337423186,), (1337423189,), (1337423193,), (1337423547,), (1337423430,), (1337423480,), (1337423493,), (1337423497,), (1337423545,), (1337424186,), (1337424275,), (1337424361,), (1337424454,), (1337424693,), (1337424765,), (1337424856,), (1337424899,), (1337424989,), (1337424993,), (1337424997,), (1337425005,), (1337425008,), (1337425396,), (1337425400,), (1337425403,), (1337425406,), (1337425464,), (1337425522,), (1337425610,), (1337425732,), (1337425878,), (1337425937,), (1337426071,), (1337426074,), (1337426076,), (1337426079,), (1337426082,), (1337426085,), (1337426105,), (1337426111,), (1337426121,), (1337426124,), (1337426155,), (1337426158,), (1337426161,), (1337426163,), (1337426165,), (1337426168,), (1337426187,), (1337426189,), (1337426202,), (1337426205,), (1337426233,), (1337426245,), (1337426248,), (1337426308,), (1337426350,), (1337426412,), (1337426414,), (1337426417,), (1337426420,), (1337426464,), (1337426494,), (1337426499,), (1337426505,), (1337426508,), (1337426534,), (1337426537,), (1337426540,), (1337426544,), (1337426548,), (1337426595,), (1337426597,), (1337426616,), (1337426644,), (1337426774,), (1337426762,), (1337426765,), (1337426768,), (1337426771,), (1337426797,), (1337426799,), (1337426805,), (1337426813,), (1337426853,), (1337426855,), (1337426858,), (1337426861,), (1337426863,), (1337426912,), (1337426926,), (1337426928,), (1337426930,), (1337426933,), (1337426957,), (1337426962,), (1337426965,), (1337426967,), (1337426993,), (1337426997,), (1337427001,), (1337427004,), (1337427009,), (1337427012,), (1337427031,), (1337427035,), (1337427038,), (1337427041,), (1337427044,), (1337427068,), (1337427078,), (1337427084,), (1337427108,), (1337427111,), (1337427114,), (1337427116,), (1337427144,), (1337427146,), (1337427149,), (1337427194,), (1337427196,), (1337427386,), (1337427392,), (1337427407,), (1337427432,), (1337427499,), (1337427502,), (1337427505,), (1337427901,), (1337427897,), (1337427932,), (1337427934,), (1337427969,), (1337428003,), (1337428007,), (1337428025,), (1337428029,), (1337428034,), (1337428040,), (1337428045,), (1337428258,), (1337428274,), (1337428278,), (1337428301,), (1337428304,), (1337428509,), (1337428512,), (1337428920,), (1337428988,), (1337429082,), (1337429157,), (1337429767,), (1337429865,), (1337429957,), (1337430041,), (1337430103,), (1337430105,), (1337430147,), (1337430157,), (1337430179,), (1337430182,), (1337430186,), (1337430188,), (1337430388,), (1337430453,), (1337430552,), (1337430644,), (1337430996,), (1337431000,), (1337431004,), (1337431010,), (1337431049,), (1337431138,), (1337431342,), (1337431333,), (1337431335,), (1337431338,), (1337431569,), (1337431640,), (1337431643,), (1337431646,), (1337431650,), (1337431655,), (1337431682,), (1337431685,), (1337431689,), (1337431692,), (1337431695,), (1337431698,), (1337431726,), (1337431729,), (1337431733,), (1337431737,), (1337431757,), (1337431762,), (1337431765,), (1337431769,), (1337431772,), (1337431778,), (1337431802,), (1337431808,), (1337431813,), (1337431815,), (1337431820,), (1337431856,), (1337432272,), (1337432375,), (1337432457,), (1337432944,), (1337432946,), (1337432956,), (1337432965,), (1337432968,), (1337432975,), (1337433310,), (1337433314,), (1337433317,), (1337433325,), (1337433328,), (1337433337,), (1337433368,), (1337433370,), (1337433428,), (1337433483,), (1337433679,), (1337433684,), (1337433686,), (1337434082,), (1337434121,), (1337434143,), (1337434167,), (1337434210,), (1337434217,), (1337434224,), (1337434228,), (1337434231,), (1337434253,), (1337434256,), (1337434260,), (1337434290,), (1337434294,), (1337434299,), (1337434456,), (1337434415,), (1337434445,), (1337434504,), (1337434509,), (1337434511,), (1337434527,), (1337434546,), (1337434549,), (1337434560,), (1337434564,), (1337434568,), (1337434587,), (1337434710,), (1337434723,), (1337434727,), (1337434779,), (1337434781,), (1337434797,), (1337434801,), (1337434804,), (1337434923,), (1337434929,), (1337434939,), (1337434981,), (1337434983,), (1337434986,), (1337434989,), (1337434991,), (1337435016,), (1337435020,), (1337435043,), (1337435046,), (1337435050,), (1337435054,), (1337435090,), (1337435093,), (1337435096,), (1337435100,), (1337435130,), (1337435135,), (1337435139,), (1337435144,), (1337435148,), (1337435256,), (1337435262,), (1337435268,), (1337435271,), (1337435296,), (1337435304,), (1337435306,), (1337435371,), (1337435379,), (1337435387,), (1337435390,), (1337435393,), (1337435395,), (1337435429,), (1337435416,), (1337435419,), (1337435425,), (1337435672,), (1337435674,), (1337435677,), (1337435719,), (1337435721,), (1337435945,), (1337436207,), (1337436248,), (1337436448,), (1337436485,), (1337436488,), (1337436514,), (1337436544,), (1337436791,), (1337436793,), (1337436796,), (1337436799,), (1337436824,), (1337436832,), (1337436835,), (1337436837,), (1337436840,), (1337436843,), (1337436885,), (1337436891,), (1337436896,), (1337436899,), (1337436901,), (1337436922,), (1337436936,), (1337436939,), (1337436942,), (1337436967,), (1337436969,), (1337436973,), (1337436977,), (1337436996,), (1337437023,), (1337437025,), (1337437027,), (1337437032,), (1337437040,), (1337437067,), (1337437069,), (1337437073,), (1337437076,), (1337441421,), (1337441417,), (1337441589,), (1337441701,), (1337441805,), (1337441808,), (1337441849,), (1337441852,), (1337441856,), (1337441860,), (1337442307,), (1337442310,), (1337442314,), (1337442317,), (1337442394,), (1337442465,), (1337442490,), (1337442536,), (1337442514,), (1337442526,), (1337442532,), (1337442571,), (1337442573,), (1337442576,), (1337442579,), (1337442591,), (1337442667,), (1337442668,), (1337442670,), (1337442898,), (1337443000,), (1337444742,), (1337444744,), (1337444819,), (1337444821,), (1337444822,), (1337444825,), (1337444856,), (1337444858,), (1337444859,), (1337447788,), (1337447954,), (1337447956,), (1337447960,), (1337447963,), (1337447966,), (1337447989,), (1337447990,), (1337448021,), (1337448022,), (1337448024,), (1337448026,), (1337448028,), (1337448051,), (1337448053,), (1337448056,), (1337448059,), (1337448079,), (1337448081,), (1337448127,), (1337448147,), (1337448160,), (1337448163,), (1337448201,), (1337448203,), (1337448206,), (1337448209,), (1337448245,), (1337448247,), (1337448250,), (1337448300,), (1337448304,), (1337448308,), (1337448314,), (1337448319,), (1337448331,), (1337448332,), (1337448336,), (1337448337,), (1337448345,), (1337448346,), (1337448382,), (1337448368,), (1337448374,), (1337448378,), (1337448380,), (1337448417,), (1337448419,), (1337448422,), (1337448424,), (1337448426,), (1337448429,), (1337448455,), (1337448456,), (1337448458,), (1337448460,), (1337448503,), (1337448516,), (1337448541,), (1337448542,), (1337448544,), (1337448546,), (1337448548,), (1337448549,), (1337448609,), (1337448846,), (1337449104,), (1337449363,), (1337449437,), (1337449619,), (1337449620,), (1337449632,), (1337449635,), (1337450082,), (1337450084,), (1337450086,), (1337450089,), (1337450203,), (1337450204,), (1337450207,), (1337450208,), (1337450210,), (1337450214,), (1337450247,), (1337450253,), (1337450255,), (1337450257,), (1337450284,), (1337450287,), (1337450290,), (1337450294,), (1337450298,), (1337450302,), (1337450325,), (1337450400,), (1337450409,), (1337450413,), (1337450417,), (1337450454,), (1337450459,), (1337450469,), (1337450473,), (1337450497,), (1337450499,), (1337450502,), (1337450505,), (1337450508,), (1337450583,), (1337450542,), (1337450543,), (1337450545,), (1337450550,), (1337451228,), (1337451388,), (1337451418,), (1337451543,), (1337451570,), (1337451572,), (1337451623,), (1337451624,), (1337451626,), (1337451628,), (1337451683,), (1337451752,), (1337451753,), (1337451755,), (1337451757,), (1337451758,), (1337451760,), (1337451775,), (1337451777,), (1337451780,), (1337451782,), (1337451783,), (1337451808,), (1337451812,), (1337451817,), (1337451820,), (1337451884,), (1337451887,), (1337451890,), (1337451893,), (1337451938,), (1337451941,), (1337451960,), (1337451973,), (1337451976,), (1337452030,), (1337452168,), (1337452171,), (1337452205,), (1337452208,), (1337452211,), (1337452233,), (1337452249,), (1337452252,), (1337452254,), (1337452256,), (1337452257,), (1337452271,), (1337452275,), (1337452278,), (1337452281,), (1337452284,), (1337452374,), (1337452376,), (1337452379,), (1337452407,), (1337452397,), (1337452399,), (1337452402,), (1337452405,), (1337452579,), (1337452581,), (1337452584,), (1337452587,), (1337452601,), (1337452604,), (1337452607,), (1337452614,), (1337452621,), (1337452653,), (1337452664,), (1337452669,), (1337452672,), (1337452675,), (1337452677,), (1337452704,), (1337452711,), (1337452714,), (1337452717,), (1337452719,), (1337452721,), (1337453652,), (1337453654,), (1337453659,), (1337454262,), (1337454288,), (1337454292,), (1337454296,), (1337454300,), (1337454304,), (1337454312,), (1337454319,), (1337454324,), (1337454331,), (1337454332,), (1337454333,), (1337454352,), (1337454354,), (1337454390,), (1337454393,), (1337454397,), (1337454401,), (1337454411,), (1337454414,), (1337454466,), (1337454482,), (1337454495,), (1337454497,), (1337454548,), (1337454569,), (1337454575,), (1337454584,), (1337454587,), (1337454675,), (1337454679,), (1337454684,), (1337454688,), (1337454689,), (1337454710,), (1337454720,), (1337454733,), (1337454737,), (1337454740,), (1337454741,), (1337454753,), (1337454756,), (1337454759,), (1337454762,), (1337454766,), (1337454868,), (1337454789,), (1337454792,), (1337454796,), (1337454851,), (1337454917,), (1337454923,), (1337454934,), (1337454939,), (1337455017,), (1337455087,), (1337455096,), (1337455103,), (1337455135,), (1337455137,), (1337455141,), (1337455143,), (1337455216,), (1337455219,), (1337455234,), (1337455241,), (1337455243,), (1337456136,), (1337456138,), (1337456141,), (1337456144,), (1337456537,), (1337456541,), (1337456551,), (1337456555,), (1337456616,), (1337456631,), (1337456670,), (1337456672,), (1337456675,), (1337456678,), (1337456680,), (1337456682,), (1337456760,), (1337456762,), (1337456765,), (1337456838,), (1337456840,), (1337456842,), (1337456845,), (1337456849,), (1337456851,), (1337456861,), (1337456864,), (1337456867,), (1337456873,), (1337456880,), (1337456881,), (1337456900,), (1337456903,), (1337456906,), (1337457212,), (1337457214,), (1337457217,), (1337457220,), (1337457222,), (1337457272,), (1337457392,), (1337457394,), (1337457396,), (1337457399,), (1337457402,), (1337457404,), (1337457501,), (1337457425,), (1337457427,), (1337457474,), (1337457493,), (1337457564,), (1337457576,), (1337457580,), (1337457584,), (1337457587,), (1337457603,), (1337457606,), (1337457610,), (1337458203,), (1337458207,), (1337458211,), (1337458215,), (1337458220,), (1337458561,), (1337458565,), (1337458567,), (1337458569,), (1337458571,), (1337458573,), (1337458592,), (1337458594,), (1337458596,), (1337458611,), (1337458613,), (1337458616,), (1337458619,), (1337458621,), (1337458623,), (1337458640,), (1337458642,), (1337458650,), (1337458656,), (1337458657,), (1337458689,), (1337458691,), (1337458694,), (1337458697,), (1337458736,), (1337458737,), (1337458740,), (1337458743,), (1337458756,), (1337458782,), (1337458786,), (1337458790,), (1337458793,), (1337458819,), (1337458821,), (1337458823,), (1337458827,), (1337458842,), (1337458844,), (1337458847,), (1337458849,), (1337458852,), (1337458855,), (1337458880,), (1337458884,), (1337458887,), (1337458902,), (1337458903,), (1337458946,), (1337458948,), (1337458982,), (1337458967,), (1337458969,), (1337458972,), (1337458975,), (1337458978,), (1337459269,), (1337459271,), (1337459276,), (1337459355,), (1337459426,), (1337459429,), (1337459436,), (1337459439,), (1337459442,), (1337459486,), (1337459488,), (1337459518,), (1337459522,), (1337459533,), (1337459536,), (1337459539,), (1337459577,), (1337459593,), (1337459617,), (1337459620,), (1337459622,), (1337459637,), (1337459641,), (1337459652,), (1337459660,), (1337459664,), (1337459682,), (1337459685,), (1337459689,), (1337459692,), (1337459694,), (1337459714,), (1337459716,), (1337459722,), (1337459736,), (1337459739,), (1337459742,), (1337459759,), (1337459761,), (1337459827,), (1337459842,), (1337459901,), (1337459902,), (1337459903,), (1337459905,), (1337459908,), (1337459909,), (1337459931,), (1337459932,), (1337459934,), (1337459936,), (1337459937,), (1337459940,), (1337460137,), (1337460138,), (1337460140,), (1337460188,), (1337460189,), (1337460191,), (1337460193,), (1337460217,), (1337460219,), (1337460221,), (1337460228,), (1337460236,), (1337460240,), (1337460284,), (1337460276,), (1337460279,), (1337460282,), (1337460348,), (1337460349,), (1337460351,), (1337460353,), (1337460405,), (1337460406,), (1337460408,), (1337462256,), (1337462522,), (1337462524,), (1337462532,), (1337462533,), (1337462560,), (1337462561,), (1337462563,), (1337462568,), (1337462662,), (1337462663,), (1337462665,), (1337462667,), (1337462700,), (1337462701,), (1337462703,), (1337462705,), (1337462706,), (1337462727,), (1337462728,), (1337462730,), (1337462732,), (1337462734,), (1337462775,), (1337462777,), (1337462781,), (1337462782,), (1337462784,), (1337462807,), (1337462809,), (1337462811,), (1337462852,), (1337462843,), (1337462844,), (1337462846,), (1337462848,), (1337462851,), (1337462890,), (1337462891,), (1337462893,), (1337462894,), (1337462933,), (1337462939,), (1337462943,), (1337462945,), (1337463588,), (1337463601,), (1337463613,), (1337463618,), (1337463619,), (1337463977,), (1337463992,), (1337463996,), (1337463998,), (1337464000,), (1337464030,), (1337464031,), (1337464033,), (1337464035,), (1337464037,), (1337464061,), (1337464063,), (1337464105,), (1337464112,), (1337464116,), (1337464118,), (1337464120,), (1337464122,), (1337464148,), (1337464157,), (1337464159,), (1337464160,), (1337464162,), (1337464163,), (1337464176,), (1337464177,), (1337464179,), (1337464197,), (1337464199,), (1337464201,), (1337464203,), (1337464218,), (1337464219,), (1337464221,), (1337464222,), (1337464226,), (1337464229,), (1337464246,), (1337464247,), (1337464249,), (1337464254,), (1337464260,), (1337464304,), (1337464307,), (1337464313,), (1337464476,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'13022025': {'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([20524003]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1337448382, 1337448346, 1337448345, 1337448337, 1337448336, 1337448332, 1337448331, 1337448319, 1337448314, 1337448308, 1337448304, 1337448300, 1337448250, 1337448247, 1337448245, 1337448209, 1337448206, 1337448203, 1337448201, 1337448163, 1337448160, 1337448147, 1337448127, 1337448081, 1337448079, 1337448059, 1337448056, 1337448053, 1337448051, 1337448028, 1337448026, 1337448024, 1337448022, 1337448021, 1337447990, 1337447989, 1337447966, 1337447963, 1337447960, 1337447956, 1337447954] map_info['map_portfolio_photo'] : {20524003: [1337448382, 1337448346, 1337448345, 1337448337, 1337448336, 1337448332, 1337448331, 1337448319, 1337448314, 1337448308, 1337448304, 1337448300, 1337448250, 1337448247, 1337448245, 1337448209, 1337448206, 1337448203, 1337448201, 1337448163, 1337448160, 1337448147, 1337448127, 1337448081, 1337448079, 1337448059, 1337448056, 1337448053, 1337448051, 1337448028, 1337448026, 1337448024, 1337448022, 1337448021, 1337447990, 1337447989, 1337447966, 1337447963, 1337447960, 1337447956, 1337447954]} final : True mtd_id 4302 list_pids : [1337448382, 1337448346, 1337448345, 1337448337, 1337448336, 1337448332, 1337448331, 1337448319, 1337448314, 1337448308, 1337448304, 1337448300, 1337448250, 1337448247, 1337448245, 1337448209, 1337448206, 1337448203, 1337448201, 1337448163, 1337448160, 1337448147, 1337448127, 1337448081, 1337448079, 1337448059, 1337448056, 1337448053, 1337448051, 1337448028, 1337448026, 1337448024, 1337448022, 1337448021, 1337447990, 1337447989, 1337447966, 1337447963, 1337447960, 1337447956, 1337447954] Looping around the photos to save general results len do output : 1 /20524003Didn'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, '2585384') ('4302', '20524003', '1337448382', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448346', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448345', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448337', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448336', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448332', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448331', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448319', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448314', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448308', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448304', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448300', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448250', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448247', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448245', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448209', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448206', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448203', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448201', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448163', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448160', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448147', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448127', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448081', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448079', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448059', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448056', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448053', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448051', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448028', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448026', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448024', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448022', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337448021', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337447990', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337447989', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337447966', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337447963', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337447960', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337447956', None, None, None, None, None, '2585384') ('4302', None, None, None, None, None, None, None, '2585384') ('4302', '20524003', '1337447954', None, None, None, None, None, '2585384') 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, '20524003', 'None', None, None, None, None, '2585384'), ('4302', '20524003', '1337448382', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337448346', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337448345', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337448337', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337448336', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337448332', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337448331', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337448319', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337448314', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337448308', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337448304', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337448300', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337448250', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337448247', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337448245', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337448209', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337448206', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337448203', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337448201', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337448163', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337448160', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337448147', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337448127', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337448081', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337448079', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337448059', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337448056', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337448053', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337448051', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337448028', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337448026', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337448024', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337448022', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337448021', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337447990', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337447989', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337447966', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337447963', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337447960', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337447956', None, None, None, None, None, '2585384'), ('4302', '20524003', '1337447954', None, None, None, None, None, '2585384')] time used for this insertion : 0.8196074962615967 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.3911349773406982 time spend to save output : 0.8199813365936279 total time spend for step 5 : 4.211116313934326 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 (2585384) 3.68user 2.24system 0:28.33elapsed 20%CPU (0avgtext+0avgdata 167892maxresident)k 1248inputs+33800outputs (1major+88504minor)pagefaults 0swaps