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 : 1301526 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 (2691597) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2691597) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21697624 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2691597'] with mtr_portfolio_ids : ['21697624'] and first list_photo_ids : [] new path : /proc/1301526/ Name: python3 Umask: 0002 State: R (running) Tgid: 1301526 Ngid: 0 Pid: 1301526 PPid: 1301524 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 1301526 NSpid: 1301526 NSpgid: 1299896 NSsid: 1299896 VmPeak: 1106844 kB VmSize: 1106844 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 97872 kB VmRSS: 97872 kB RssAnon: 59768 kB RssFile: 38104 kB RssShmem: 0 kB VmData: 865592 kB VmStk: 132 kB VmExe: 2644 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: 43 nonvoluntary_ctxt_switches: 45 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '1301526', 'Ngid': '0', 'Pid': '1301526', 'PPid': '1301524', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '1301526', 'NSpid': '1301526', 'NSpgid': '1299896', 'NSsid': '1299896', 'VmPeak': '1106844 kB', 'VmSize': '1106844 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '97872 kB', 'VmRSS': '97872 kB', 'RssAnon': '59768 kB', 'RssFile': '38104 kB', 'RssShmem': '0 kB', 'VmData': '865592 kB', 'VmStk': '132 kB', 'VmExe': '2644 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': '43', 'nonvoluntary_ctxt_switches': '45'} ('datou_batch_current', '1301526', '1106844', '0', '1106844', '865592', '97872', b'', 'marlene', '2691597') 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 (21697624) 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 (2691597 ) ) 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 (21697624) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1347227141, 'portfolio_id': 21697624}, {'photo_id': 1347226710, 'portfolio_id': 21697624}, {'photo_id': 1347226688, 'portfolio_id': 21697624}, {'photo_id': 1347226682, 'portfolio_id': 21697624}, {'photo_id': 1347226675, 'portfolio_id': 21697624}, {'photo_id': 1347226595, 'portfolio_id': 21697624}, {'photo_id': 1347226589, 'portfolio_id': 21697624}, {'photo_id': 1347226572, 'portfolio_id': 21697624}, {'photo_id': 1347226524, 'portfolio_id': 21697624}, {'photo_id': 1347226464, 'portfolio_id': 21697624}, {'photo_id': 1347226400, 'portfolio_id': 21697624}, {'photo_id': 1347225767, 'portfolio_id': 21697624}, {'photo_id': 1347225762, 'portfolio_id': 21697624}, {'photo_id': 1347224163, 'portfolio_id': 21697624}, {'photo_id': 1347224135, 'portfolio_id': 21697624}, {'photo_id': 1347223856, 'portfolio_id': 21697624}, {'photo_id': 1347223819, 'portfolio_id': 21697624}, {'photo_id': 1347223780, 'portfolio_id': 21697624}, {'photo_id': 1347223404, 'portfolio_id': 21697624}, {'photo_id': 1347223381, 'portfolio_id': 21697624}, {'photo_id': 1347223354, 'portfolio_id': 21697624}, {'photo_id': 1347223158, 'portfolio_id': 21697624}, {'photo_id': 1347223112, 'portfolio_id': 21697624}, {'photo_id': 1347223078, 'portfolio_id': 21697624}, {'photo_id': 1347223042, 'portfolio_id': 21697624}, {'photo_id': 1347223024, 'portfolio_id': 21697624}, {'photo_id': 1347222977, 'portfolio_id': 21697624}, {'photo_id': 1347222510, 'portfolio_id': 21697624}, {'photo_id': 1347222469, 'portfolio_id': 21697624}, {'photo_id': 1347222357, 'portfolio_id': 21697624}, {'photo_id': 1347222331, 'portfolio_id': 21697624}, {'photo_id': 1347222306, 'portfolio_id': 21697624}, {'photo_id': 1347221965, 'portfolio_id': 21697624}] map_portfolio_id_photo_id: {21697624: [1347227141, 1347226710, 1347226688, 1347226682, 1347226675, 1347226595, 1347226589, 1347226572, 1347226524, 1347226464, 1347226400, 1347225767, 1347225762, 1347224163, 1347224135, 1347223856, 1347223819, 1347223780, 1347223404, 1347223381, 1347223354, 1347223158, 1347223112, 1347223078, 1347223042, 1347223024, 1347222977, 1347222510, 1347222469, 1347222357, 1347222331, 1347222306, 1347221965]} ##### Call download_photos : nb_thread : 1 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos ##### After load_data_input time to download the photos : 0.18960881233215332 #### 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 Wed Mar 26 05:47:26 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21697624) 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 : 21697624 get user id for portfolio 21697624 get sub ptf for main ptf 21697624, type 3726 and hashtags ['kraft', 'environnement', 'metal', 'papier', 'flou', 'Carton_gris', 'autre_refus', 'mal_croppe', 'Carton_brun', 'cartonnette', 'plastique', 'Teint_Dans_La_Masse'] 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`=21697624 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','environnement','metal','papier','flou','Carton_gris','autre_refus','mal_croppe','Carton_brun','cartonnette','plastique','Teint_Dans_La_Masse')) 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`=21697624 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','environnement','metal','papier','flou','Carton_gris','autre_refus','mal_croppe','Carton_brun','cartonnette','plastique','Teint_Dans_La_Masse')) AND mptpi.`min_score`=0.5 To do returned map {'Teint_Dans_La_Masse': {'main_port_id': 21697624, 'sub_port_id': 21697655, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14227989, 'last_updated_at': datetime.datetime(2025, 3, 25, 16, 18, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 25, 16, 18, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 25, 16, 8, 59)}, 'environnement': {'main_port_id': 21697624, 'sub_port_id': 21697656, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14227990, 'last_updated_at': datetime.datetime(2025, 3, 25, 16, 18, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 25, 16, 18, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 25, 16, 8, 59)}, 'kraft': {'main_port_id': 21697624, 'sub_port_id': 21697657, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14227991, 'last_updated_at': datetime.datetime(2025, 3, 25, 16, 18, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 25, 16, 18, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 25, 16, 8, 59)}, 'Carton_brun': {'main_port_id': 21697624, 'sub_port_id': 21697658, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14227992, 'last_updated_at': datetime.datetime(2025, 3, 25, 16, 18, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 25, 16, 18, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 25, 16, 8, 59)}, 'metal': {'main_port_id': 21697624, 'sub_port_id': 21697659, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14227993, 'last_updated_at': datetime.datetime(2025, 3, 25, 16, 18, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 25, 16, 18, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 25, 16, 8, 59)}, 'papier': {'main_port_id': 21697624, 'sub_port_id': 21697660, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14227994, 'last_updated_at': datetime.datetime(2025, 3, 25, 16, 18, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 25, 16, 18, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 25, 16, 8, 59)}, 'autre_refus': {'main_port_id': 21697624, 'sub_port_id': 21697661, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14227995, 'last_updated_at': datetime.datetime(2025, 3, 25, 16, 18, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 25, 16, 18, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 25, 16, 8, 59)}, 'plastique': {'main_port_id': 21697624, 'sub_port_id': 21697662, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14227996, 'last_updated_at': datetime.datetime(2025, 3, 25, 16, 18, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 25, 16, 18, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 25, 16, 8, 59)}, 'Carton_gris': {'main_port_id': 21697624, 'sub_port_id': 21697663, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14227997, 'last_updated_at': datetime.datetime(2025, 3, 25, 16, 18, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 25, 16, 18, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 25, 16, 8, 59)}, 'flou': {'main_port_id': 21697624, 'sub_port_id': 21697664, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14227998, 'last_updated_at': datetime.datetime(2025, 3, 25, 16, 18, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 25, 16, 18, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 25, 16, 8, 59)}, 'mal_croppe': {'main_port_id': 21697624, 'sub_port_id': 21697665, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14227999, 'last_updated_at': datetime.datetime(2025, 3, 25, 16, 18, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 25, 16, 18, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 25, 16, 8, 59)}, 'cartonnette': {'main_port_id': 21697624, 'sub_port_id': 21697666, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14228000, 'last_updated_at': datetime.datetime(2025, 3, 25, 16, 18, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 25, 16, 18, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 25, 16, 8, 59)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21697655 , 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=21697624 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 (21697655) result : ((1347223854,), (1347223857,), (1347223858,), (1347224330,), (1347224362,), (1347224368,), (1347224372,), (1347224463,), (1347224464,), (1347227926,), (1347228523,), (1347228524,), (1347228527,), (1347228528,), (1347228529,), (1347228530,), (1347234546,), (1347234580,), (1347234581,), (1347234582,), (1347234583,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21697624) result : ((1347221965,), (1347222306,), (1347222331,), (1347222357,), (1347222469,), (1347222510,), (1347222977,), (1347223024,), (1347223042,), (1347223078,), (1347223112,), (1347223158,), (1347223354,), (1347223381,), (1347223404,), (1347223780,), (1347223819,), (1347223856,), (1347224135,), (1347224163,), (1347225762,), (1347225767,), (1347226400,), (1347226464,), (1347226524,), (1347226572,), (1347226589,), (1347226595,), (1347226675,), (1347226682,), (1347226688,), (1347226710,), (1347227141,)) 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 (1347226400) 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 21697656 , 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=21697624 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 (21697656) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21697624) result : ((1347221965,), (1347222306,), (1347222331,), (1347222357,), (1347222469,), (1347222510,), (1347222977,), (1347223024,), (1347223042,), (1347223078,), (1347223112,), (1347223158,), (1347223354,), (1347223381,), (1347223404,), (1347223780,), (1347223819,), (1347223856,), (1347224135,), (1347224163,), (1347225762,), (1347225767,), (1347226400,), (1347226464,), (1347226524,), (1347226572,), (1347226589,), (1347226595,), (1347226675,), (1347226682,), (1347226688,), (1347226710,), (1347227141,)) 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 (1347226400) 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 21697657 , 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=21697624 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 (21697657) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21697624) result : ((1347221965,), (1347222306,), (1347222331,), (1347222357,), (1347222469,), (1347222510,), (1347222977,), (1347223024,), (1347223042,), (1347223078,), (1347223112,), (1347223158,), (1347223354,), (1347223381,), (1347223404,), (1347223780,), (1347223819,), (1347223856,), (1347224135,), (1347224163,), (1347225762,), (1347225767,), (1347226400,), (1347226464,), (1347226524,), (1347226572,), (1347226589,), (1347226595,), (1347226675,), (1347226682,), (1347226688,), (1347226710,), (1347227141,)) 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 (1347226400) 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 21697658 , 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=21697624 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 (21697658) result : ((1347223675,), (1347227958,), (1347227959,), (1347228551,), (1347234697,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21697624) result : ((1347221965,), (1347222306,), (1347222331,), (1347222357,), (1347222469,), (1347222510,), (1347222977,), (1347223024,), (1347223042,), (1347223078,), (1347223112,), (1347223158,), (1347223354,), (1347223381,), (1347223404,), (1347223780,), (1347223819,), (1347223856,), (1347224135,), (1347224163,), (1347225762,), (1347225767,), (1347226400,), (1347226464,), (1347226524,), (1347226572,), (1347226589,), (1347226595,), (1347226675,), (1347226682,), (1347226688,), (1347226710,), (1347227141,)) 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 (1347226400) 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 21697659 , 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=21697624 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 (21697659) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21697624) result : ((1347221965,), (1347222306,), (1347222331,), (1347222357,), (1347222469,), (1347222510,), (1347222977,), (1347223024,), (1347223042,), (1347223078,), (1347223112,), (1347223158,), (1347223354,), (1347223381,), (1347223404,), (1347223780,), (1347223819,), (1347223856,), (1347224135,), (1347224163,), (1347225762,), (1347225767,), (1347226400,), (1347226464,), (1347226524,), (1347226572,), (1347226589,), (1347226595,), (1347226675,), (1347226682,), (1347226688,), (1347226710,), (1347227141,)) 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 (1347226400) 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 21697660 , 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=21697624 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 (21697660) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21697624) result : ((1347221965,), (1347222306,), (1347222331,), (1347222357,), (1347222469,), (1347222510,), (1347222977,), (1347223024,), (1347223042,), (1347223078,), (1347223112,), (1347223158,), (1347223354,), (1347223381,), (1347223404,), (1347223780,), (1347223819,), (1347223856,), (1347224135,), (1347224163,), (1347225762,), (1347225767,), (1347226400,), (1347226464,), (1347226524,), (1347226572,), (1347226589,), (1347226595,), (1347226675,), (1347226682,), (1347226688,), (1347226710,), (1347227141,)) 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 (1347226400) 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 21697661 , 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=21697624 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 (21697661) result : ((1347228539,), (1347228542,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21697624) result : ((1347221965,), (1347222306,), (1347222331,), (1347222357,), (1347222469,), (1347222510,), (1347222977,), (1347223024,), (1347223042,), (1347223078,), (1347223112,), (1347223158,), (1347223354,), (1347223381,), (1347223404,), (1347223780,), (1347223819,), (1347223856,), (1347224135,), (1347224163,), (1347225762,), (1347225767,), (1347226400,), (1347226464,), (1347226524,), (1347226572,), (1347226589,), (1347226595,), (1347226675,), (1347226682,), (1347226688,), (1347226710,), (1347227141,)) 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 (1347226400) 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 21697662 , 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=21697624 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 (21697662) result : ((1347226887,), (1347227969,), (1347227970,), (1347227971,), (1347227972,), (1347234547,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21697624) result : ((1347221965,), (1347222306,), (1347222331,), (1347222357,), (1347222469,), (1347222510,), (1347222977,), (1347223024,), (1347223042,), (1347223078,), (1347223112,), (1347223158,), (1347223354,), (1347223381,), (1347223404,), (1347223780,), (1347223819,), (1347223856,), (1347224135,), (1347224163,), (1347225762,), (1347225767,), (1347226400,), (1347226464,), (1347226524,), (1347226572,), (1347226589,), (1347226595,), (1347226675,), (1347226682,), (1347226688,), (1347226710,), (1347227141,)) 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 (1347226400) 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 21697663 , 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=21697624 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 (21697663) result : ((1347226832,), (1347226834,), (1347227939,), (1347227941,), (1347227942,), (1347228555,), (1347228557,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21697624) result : ((1347221965,), (1347222306,), (1347222331,), (1347222357,), (1347222469,), (1347222510,), (1347222977,), (1347223024,), (1347223042,), (1347223078,), (1347223112,), (1347223158,), (1347223354,), (1347223381,), (1347223404,), (1347223780,), (1347223819,), (1347223856,), (1347224135,), (1347224163,), (1347225762,), (1347225767,), (1347226400,), (1347226464,), (1347226524,), (1347226572,), (1347226589,), (1347226595,), (1347226675,), (1347226682,), (1347226688,), (1347226710,), (1347227141,)) 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 (1347226400) 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 21697664 , 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=21697624 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 (21697664) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21697624) result : ((1347221965,), (1347222306,), (1347222331,), (1347222357,), (1347222469,), (1347222510,), (1347222977,), (1347223024,), (1347223042,), (1347223078,), (1347223112,), (1347223158,), (1347223354,), (1347223381,), (1347223404,), (1347223780,), (1347223819,), (1347223856,), (1347224135,), (1347224163,), (1347225762,), (1347225767,), (1347226400,), (1347226464,), (1347226524,), (1347226572,), (1347226589,), (1347226595,), (1347226675,), (1347226682,), (1347226688,), (1347226710,), (1347227141,)) 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 (1347226400) 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 21697665 , 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=21697624 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 (21697665) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21697624) result : ((1347221965,), (1347222306,), (1347222331,), (1347222357,), (1347222469,), (1347222510,), (1347222977,), (1347223024,), (1347223042,), (1347223078,), (1347223112,), (1347223158,), (1347223354,), (1347223381,), (1347223404,), (1347223780,), (1347223819,), (1347223856,), (1347224135,), (1347224163,), (1347225762,), (1347225767,), (1347226400,), (1347226464,), (1347226524,), (1347226572,), (1347226589,), (1347226595,), (1347226675,), (1347226682,), (1347226688,), (1347226710,), (1347227141,)) 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 (1347226400) 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 21697666 , 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=21697624 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 (21697666) result : ((1347224474,), (1347227949,), (1347228580,), (1347228581,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21697624) result : ((1347221965,), (1347222306,), (1347222331,), (1347222357,), (1347222469,), (1347222510,), (1347222977,), (1347223024,), (1347223042,), (1347223078,), (1347223112,), (1347223158,), (1347223354,), (1347223381,), (1347223404,), (1347223780,), (1347223819,), (1347223856,), (1347224135,), (1347224163,), (1347225762,), (1347225767,), (1347226400,), (1347226464,), (1347226524,), (1347226572,), (1347226589,), (1347226595,), (1347226675,), (1347226682,), (1347226688,), (1347226710,), (1347227141,)) 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 (1347226400) 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`=21697624 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','environnement','metal','papier','flou','Carton_gris','autre_refus','mal_croppe','Carton_brun','cartonnette','plastique','Teint_Dans_La_Masse')) 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`=21697624 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','environnement','metal','papier','flou','Carton_gris','autre_refus','mal_croppe','Carton_brun','cartonnette','plastique','Teint_Dans_La_Masse')) AND mptpi.`min_score`=0.5 To do returned map {'Teint_Dans_La_Masse': {'main_port_id': 21697624, 'sub_port_id': 21697695, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14228031, 'last_updated_at': datetime.datetime(2025, 3, 25, 16, 9, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 25, 16, 9, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 25, 16, 9, 1)}, 'environnement': {'main_port_id': 21697624, 'sub_port_id': 21697697, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14228032, 'last_updated_at': datetime.datetime(2025, 3, 25, 16, 9, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 25, 16, 9, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 25, 16, 9, 1)}, 'kraft': {'main_port_id': 21697624, 'sub_port_id': 21697698, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14228033, 'last_updated_at': datetime.datetime(2025, 3, 25, 16, 9, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 25, 16, 9, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 25, 16, 9, 1)}, 'Carton_brun': {'main_port_id': 21697624, 'sub_port_id': 21697699, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14228034, 'last_updated_at': datetime.datetime(2025, 3, 25, 16, 9, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 25, 16, 9, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 25, 16, 9, 1)}, 'metal': {'main_port_id': 21697624, 'sub_port_id': 21697700, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14228035, 'last_updated_at': datetime.datetime(2025, 3, 25, 16, 9, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 25, 16, 9, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 25, 16, 9, 1)}, 'papier': {'main_port_id': 21697624, 'sub_port_id': 21697702, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14228036, 'last_updated_at': datetime.datetime(2025, 3, 25, 16, 9, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 25, 16, 9, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 25, 16, 9, 1)}, 'autre_refus': {'main_port_id': 21697624, 'sub_port_id': 21697703, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14228037, 'last_updated_at': datetime.datetime(2025, 3, 25, 16, 9, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 25, 16, 9, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 25, 16, 9, 1)}, 'plastique': {'main_port_id': 21697624, 'sub_port_id': 21697704, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14228038, 'last_updated_at': datetime.datetime(2025, 3, 25, 16, 9, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 25, 16, 9, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 25, 16, 9, 1)}, 'Carton_gris': {'main_port_id': 21697624, 'sub_port_id': 21697705, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14228039, 'last_updated_at': datetime.datetime(2025, 3, 25, 16, 9, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 25, 16, 9, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 25, 16, 9, 1)}, 'flou': {'main_port_id': 21697624, 'sub_port_id': 21697706, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14228040, 'last_updated_at': datetime.datetime(2025, 3, 25, 16, 9, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 25, 16, 9, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 25, 16, 9, 1)}, 'mal_croppe': {'main_port_id': 21697624, 'sub_port_id': 21697707, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14228041, 'last_updated_at': datetime.datetime(2025, 3, 25, 16, 9, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 25, 16, 9, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 25, 16, 9, 1)}, 'cartonnette': {'main_port_id': 21697624, 'sub_port_id': 21697708, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14228042, 'last_updated_at': datetime.datetime(2025, 3, 25, 16, 18, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 25, 16, 18, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 25, 16, 9, 1)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21697695,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21697655 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21697697,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21697656 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21697698,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21697657 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21697699,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21697658 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21697700,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21697659 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21697702,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21697660 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21697703,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21697661 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21697704,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21697662 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21697705,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21697663 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21697706,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21697664 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21697707,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21697665 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21697708,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21697666 lien utilise dans velours : https://www.fotonower.com/velours/21697695,21697697,21697698,21697699,21697700,21697702,21697703,21697704,21697705,21697706,21697707,21697708?tags=Teint_Dans_La_Masse,environnement,kraft,Carton_brun,metal,papier,autre_refus,plastique,Carton_gris,flou,mal_croppe,cartonnette After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21697624]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1347227141, 1347226710, 1347226688, 1347226682, 1347226675, 1347226595, 1347226589, 1347226572, 1347226524, 1347226464, 1347226400, 1347225767, 1347225762, 1347224163, 1347224135, 1347223856, 1347223819, 1347223780, 1347223404, 1347223381, 1347223354, 1347223158, 1347223112, 1347223078, 1347223042, 1347223024, 1347222977, 1347222510, 1347222469, 1347222357, 1347222331, 1347222306, 1347221965] map_info['map_portfolio_photo'] : {21697624: [1347227141, 1347226710, 1347226688, 1347226682, 1347226675, 1347226595, 1347226589, 1347226572, 1347226524, 1347226464, 1347226400, 1347225767, 1347225762, 1347224163, 1347224135, 1347223856, 1347223819, 1347223780, 1347223404, 1347223381, 1347223354, 1347223158, 1347223112, 1347223078, 1347223042, 1347223024, 1347222977, 1347222510, 1347222469, 1347222357, 1347222331, 1347222306, 1347221965]} final : False mtd_id 4302 list_pids : [1347227141, 1347226710, 1347226688, 1347226682, 1347226675, 1347226595, 1347226589, 1347226572, 1347226524, 1347226464, 1347226400, 1347225767, 1347225762, 1347224163, 1347224135, 1347223856, 1347223819, 1347223780, 1347223404, 1347223381, 1347223354, 1347223158, 1347223112, 1347223078, 1347223042, 1347223024, 1347222977, 1347222510, 1347222469, 1347222357, 1347222331, 1347222306, 1347221965] Looping around the photos to save general results len do output : 1 /21697624. 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, '2691597') ('4302', '21697624', '1347227141', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347226710', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347226688', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347226682', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347226675', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347226595', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347226589', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347226572', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347226524', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347226464', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347226400', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347225767', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347225762', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347224163', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347224135', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347223856', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347223819', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347223780', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347223404', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347223381', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347223354', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347223158', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347223112', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347223078', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347223042', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347223024', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347222977', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347222510', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347222469', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347222357', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347222331', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347222306', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347221965', None, None, None, None, None, '2691597') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 34 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, '21697624', "{'Teint_Dans_La_Masse': 21697655, 'environnement': 21697656, 'kraft': 21697657, 'Carton_brun': 21697658, 'metal': 21697659, 'papier': 21697660, 'autre_refus': 21697661, 'plastique': 21697662, 'Carton_gris': 21697663, 'flou': 21697664, 'mal_croppe': 21697665, 'cartonnette': 21697666}", None, None, None, None, '2691597'), ('4302', '21697624', '1347227141', None, None, None, None, None, '2691597'), ('4302', '21697624', '1347226710', None, None, None, None, None, '2691597'), ('4302', '21697624', '1347226688', None, None, None, None, None, '2691597'), ('4302', '21697624', '1347226682', None, None, None, None, None, '2691597'), ('4302', '21697624', '1347226675', None, None, None, None, None, '2691597'), ('4302', '21697624', '1347226595', None, None, None, None, None, '2691597'), ('4302', '21697624', '1347226589', None, None, None, None, None, '2691597'), ('4302', '21697624', '1347226572', None, None, None, None, None, '2691597'), ('4302', '21697624', '1347226524', None, None, None, None, None, '2691597'), ('4302', '21697624', '1347226464', None, None, None, None, None, '2691597'), ('4302', '21697624', '1347226400', None, None, None, None, None, '2691597'), ('4302', '21697624', '1347225767', None, None, None, None, None, '2691597'), ('4302', '21697624', '1347225762', None, None, None, None, None, '2691597'), ('4302', '21697624', '1347224163', None, None, None, None, None, '2691597'), ('4302', '21697624', '1347224135', None, None, None, None, None, '2691597'), ('4302', '21697624', '1347223856', None, None, None, None, None, '2691597'), ('4302', '21697624', '1347223819', None, None, None, None, None, '2691597'), ('4302', '21697624', '1347223780', None, None, None, None, None, '2691597'), ('4302', '21697624', '1347223404', None, None, None, None, None, '2691597'), ('4302', '21697624', '1347223381', None, None, None, None, None, '2691597'), ('4302', '21697624', '1347223354', None, None, None, None, None, '2691597'), ('4302', '21697624', '1347223158', None, None, None, None, None, '2691597'), ('4302', '21697624', '1347223112', None, None, None, None, None, '2691597'), ('4302', '21697624', '1347223078', None, None, None, None, None, '2691597'), ('4302', '21697624', '1347223042', None, None, None, None, None, '2691597'), ('4302', '21697624', '1347223024', None, None, None, None, None, '2691597'), ('4302', '21697624', '1347222977', None, None, None, None, None, '2691597'), ('4302', '21697624', '1347222510', None, None, None, None, None, '2691597'), ('4302', '21697624', '1347222469', None, None, None, None, None, '2691597'), ('4302', '21697624', '1347222357', None, None, None, None, None, '2691597'), ('4302', '21697624', '1347222331', None, None, None, None, None, '2691597'), ('4302', '21697624', '1347222306', None, None, None, None, None, '2691597'), ('4302', '21697624', '1347221965', None, None, None, None, None, '2691597')] time used for this insertion : 0.019856691360473633 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.6688768863677979 time spend to save output : 0.020130395889282227 total time spend for step 1 : 0.6890072822570801 step2:final Wed Mar 26 05:47:27 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :0, first value : [] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21697624) 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 21697624 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1347221965,1347222510,1347222469,1347222357,1347222331,1347222306,1347223158,1347223112,1347223078,1347223042,1347223024,1347222977,1347223404,1347223381,1347223354,1347223856,1347223819,1347223780,1347224163,1347224135,1347225767,1347225762,1347226595,1347226589,1347226572,1347226524,1347226464,1347226400,1347226710,1347226688,1347226682,1347226675,1347227141); 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([21697624]) Inside saveOutput : final : False verbose : True original output for save of step final : {1347227141: ('0.032674838840125724',), 1347226710: ('0.032674838840125724',), 1347226688: ('0.032674838840125724',), 1347226682: ('0.032674838840125724',), 1347226675: ('0.032674838840125724',), 1347226595: ('0.032674838840125724',), 1347226589: ('0.032674838840125724',), 1347226572: ('0.032674838840125724',), 1347226524: ('0.032674838840125724',), 1347226464: ('0.032674838840125724',), 1347226400: ('0.032674838840125724',), 1347225767: ('0.032674838840125724',), 1347225762: ('0.032674838840125724',), 1347224163: ('0.032674838840125724',), 1347224135: ('0.032674838840125724',), 1347223856: ('0.032674838840125724',), 1347223819: ('0.032674838840125724',), 1347223780: ('0.032674838840125724',), 1347223404: ('0.032674838840125724',), 1347223381: ('0.032674838840125724',), 1347223354: ('0.032674838840125724',), 1347223158: ('0.032674838840125724',), 1347223112: ('0.032674838840125724',), 1347223078: ('0.032674838840125724',), 1347223042: ('0.032674838840125724',), 1347223024: ('0.032674838840125724',), 1347222977: ('0.032674838840125724',), 1347222510: ('0.032674838840125724',), 1347222469: ('0.032674838840125724',), 1347222357: ('0.032674838840125724',), 1347222331: ('0.032674838840125724',), 1347222306: ('0.032674838840125724',), 1347221965: ('0.032674838840125724',)} new output for save of step final : {1347227141: ('0.032674838840125724',), 1347226710: ('0.032674838840125724',), 1347226688: ('0.032674838840125724',), 1347226682: ('0.032674838840125724',), 1347226675: ('0.032674838840125724',), 1347226595: ('0.032674838840125724',), 1347226589: ('0.032674838840125724',), 1347226572: ('0.032674838840125724',), 1347226524: ('0.032674838840125724',), 1347226464: ('0.032674838840125724',), 1347226400: ('0.032674838840125724',), 1347225767: ('0.032674838840125724',), 1347225762: ('0.032674838840125724',), 1347224163: ('0.032674838840125724',), 1347224135: ('0.032674838840125724',), 1347223856: ('0.032674838840125724',), 1347223819: ('0.032674838840125724',), 1347223780: ('0.032674838840125724',), 1347223404: ('0.032674838840125724',), 1347223381: ('0.032674838840125724',), 1347223354: ('0.032674838840125724',), 1347223158: ('0.032674838840125724',), 1347223112: ('0.032674838840125724',), 1347223078: ('0.032674838840125724',), 1347223042: ('0.032674838840125724',), 1347223024: ('0.032674838840125724',), 1347222977: ('0.032674838840125724',), 1347222510: ('0.032674838840125724',), 1347222469: ('0.032674838840125724',), 1347222357: ('0.032674838840125724',), 1347222331: ('0.032674838840125724',), 1347222306: ('0.032674838840125724',), 1347221965: ('0.032674838840125724',)} [1347227141, 1347226710, 1347226688, 1347226682, 1347226675, 1347226595, 1347226589, 1347226572, 1347226524, 1347226464, 1347226400, 1347225767, 1347225762, 1347224163, 1347224135, 1347223856, 1347223819, 1347223780, 1347223404, 1347223381, 1347223354, 1347223158, 1347223112, 1347223078, 1347223042, 1347223024, 1347222977, 1347222510, 1347222469, 1347222357, 1347222331, 1347222306, 1347221965] map_info['map_portfolio_photo'] : {21697624: [1347227141, 1347226710, 1347226688, 1347226682, 1347226675, 1347226595, 1347226589, 1347226572, 1347226524, 1347226464, 1347226400, 1347225767, 1347225762, 1347224163, 1347224135, 1347223856, 1347223819, 1347223780, 1347223404, 1347223381, 1347223354, 1347223158, 1347223112, 1347223078, 1347223042, 1347223024, 1347222977, 1347222510, 1347222469, 1347222357, 1347222331, 1347222306, 1347221965]} final : False mtd_id 4302 list_pids : [1347227141, 1347226710, 1347226688, 1347226682, 1347226675, 1347226595, 1347226589, 1347226572, 1347226524, 1347226464, 1347226400, 1347225767, 1347225762, 1347224163, 1347224135, 1347223856, 1347223819, 1347223780, 1347223404, 1347223381, 1347223354, 1347223158, 1347223112, 1347223078, 1347223042, 1347223024, 1347222977, 1347222510, 1347222469, 1347222357, 1347222331, 1347222306, 1347221965] Looping around the photos to save general results len do output : 33 /1347227141.Didn't retrieve data . /1347226710.Didn't retrieve data . /1347226688.Didn't retrieve data . /1347226682.Didn't retrieve data . /1347226675.Didn't retrieve data . /1347226595.Didn't retrieve data . /1347226589.Didn't retrieve data . /1347226572.Didn't retrieve data . /1347226524.Didn't retrieve data . /1347226464.Didn't retrieve data . /1347226400.Didn't retrieve data . /1347225767.Didn't retrieve data . /1347225762.Didn't retrieve data . /1347224163.Didn't retrieve data . /1347224135.Didn't retrieve data . /1347223856.Didn't retrieve data . /1347223819.Didn't retrieve data . /1347223780.Didn't retrieve data . /1347223404.Didn't retrieve data . /1347223381.Didn't retrieve data . /1347223354.Didn't retrieve data . /1347223158.Didn't retrieve data . /1347223112.Didn't retrieve data . /1347223078.Didn't retrieve data . /1347223042.Didn't retrieve data . /1347223024.Didn't retrieve data . /1347222977.Didn't retrieve data . /1347222510.Didn't retrieve data . /1347222469.Didn't retrieve data . /1347222357.Didn't retrieve data . /1347222331.Didn't retrieve data . /1347222306.Didn't retrieve data . /1347221965.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, '2691597') ('4302', '21697624', '1347227141', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347226710', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347226688', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347226682', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347226675', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347226595', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347226589', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347226572', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347226524', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347226464', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347226400', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347225767', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347225762', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347224163', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347224135', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347223856', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347223819', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347223780', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347223404', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347223381', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347223354', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347223158', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347223112', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347223078', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347223042', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347223024', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347222977', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347222510', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347222469', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347222357', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347222331', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347222306', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347221965', None, None, None, None, None, '2691597') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 99 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', '21697624', '1347227141', '0.032674838840125724', None, None, None, None, '2691597'), ('4302', '21697624', '1347226710', '0.032674838840125724', None, None, None, None, '2691597'), ('4302', '21697624', '1347226688', '0.032674838840125724', None, None, None, None, '2691597'), ('4302', '21697624', '1347226682', '0.032674838840125724', None, None, None, None, '2691597'), ('4302', '21697624', '1347226675', '0.032674838840125724', None, None, None, None, '2691597'), ('4302', '21697624', '1347226595', '0.032674838840125724', None, None, None, None, '2691597'), ('4302', '21697624', '1347226589', '0.032674838840125724', None, None, None, None, '2691597'), ('4302', '21697624', '1347226572', '0.032674838840125724', None, None, None, None, '2691597'), ('4302', '21697624', '1347226524', '0.032674838840125724', None, None, None, None, '2691597'), ('4302', '21697624', '1347226464', '0.032674838840125724', None, None, None, None, '2691597'), ('4302', '21697624', '1347226400', '0.032674838840125724', None, None, None, None, '2691597'), ('4302', '21697624', '1347225767', '0.032674838840125724', None, None, None, None, '2691597'), ('4302', '21697624', '1347225762', '0.032674838840125724', None, None, None, None, '2691597'), ('4302', '21697624', '1347224163', '0.032674838840125724', None, None, None, None, '2691597'), ('4302', '21697624', '1347224135', '0.032674838840125724', None, None, None, None, '2691597'), ('4302', '21697624', '1347223856', '0.032674838840125724', None, None, None, None, '2691597'), ('4302', '21697624', '1347223819', '0.032674838840125724', None, None, None, None, '2691597'), ('4302', '21697624', '1347223780', '0.032674838840125724', None, None, None, None, '2691597'), ('4302', '21697624', '1347223404', '0.032674838840125724', None, None, None, None, '2691597'), ('4302', '21697624', '1347223381', '0.032674838840125724', None, None, None, None, '2691597'), ('4302', '21697624', '1347223354', '0.032674838840125724', None, None, None, None, '2691597'), ('4302', '21697624', '1347223158', '0.032674838840125724', None, None, None, None, '2691597'), ('4302', '21697624', '1347223112', '0.032674838840125724', None, None, None, None, '2691597'), ('4302', '21697624', '1347223078', '0.032674838840125724', None, None, None, None, '2691597'), ('4302', '21697624', '1347223042', '0.032674838840125724', None, None, None, None, '2691597'), ('4302', '21697624', '1347223024', '0.032674838840125724', None, None, None, None, '2691597'), ('4302', '21697624', '1347222977', '0.032674838840125724', None, None, None, None, '2691597'), ('4302', '21697624', '1347222510', '0.032674838840125724', None, None, None, None, '2691597'), ('4302', '21697624', '1347222469', '0.032674838840125724', None, None, None, None, '2691597'), ('4302', '21697624', '1347222357', '0.032674838840125724', None, None, None, None, '2691597'), ('4302', '21697624', '1347222331', '0.032674838840125724', None, None, None, None, '2691597'), ('4302', '21697624', '1347222306', '0.032674838840125724', None, None, None, None, '2691597'), ('4302', '21697624', '1347221965', '0.032674838840125724', None, None, None, None, '2691597')] time used for this insertion : 0.018471479415893555 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.06613802909851074 time spend to save output : 0.019790172576904297 total time spend for step 2 : 0.08592820167541504 step3:velours_tree Wed Mar 26 05:47:27 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : {21697624: [{'Teint_Dans_La_Masse': 21697655, 'environnement': 21697656, 'kraft': 21697657, 'Carton_brun': 21697658, 'metal': 21697659, 'papier': 21697660, 'autre_refus': 21697661, 'plastique': 21697662, 'Carton_gris': 21697663, 'flou': 21697664, 'mal_croppe': 21697665, 'cartonnette': 21697666}]} input_args_next_step : {21697624: ()} output_args : {21697624: [{'Teint_Dans_La_Masse': 21697655, 'environnement': 21697656, 'kraft': 21697657, 'Carton_brun': 21697658, 'metal': 21697659, 'papier': 21697660, 'autre_refus': 21697661, 'plastique': 21697662, 'Carton_gris': 21697663, 'flou': 21697664, 'mal_croppe': 21697665, 'cartonnette': 21697666}]} args : 21697624 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': 21697655, 'environnement': 21697656, 'kraft': 21697657, 'Carton_brun': 21697658, 'metal': 21697659, 'papier': 21697660, 'autre_refus': 21697661, 'plastique': 21697662, 'Carton_gris': 21697663, 'flou': 21697664, 'mal_croppe': 21697665, 'cartonnette': 21697666},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21697624) 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([21697624]) 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.31099748611450195 time spend to save output : 4.3392181396484375e-05 total time spend for step 3 : 0.31104087829589844 step4:send_mail_cod Wed Mar 26 05:47:27 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 : {1347227141: ('0.032674838840125724',), 1347226710: ('0.032674838840125724',), 1347226688: ('0.032674838840125724',), 1347226682: ('0.032674838840125724',), 1347226675: ('0.032674838840125724',), 1347226595: ('0.032674838840125724',), 1347226589: ('0.032674838840125724',), 1347226572: ('0.032674838840125724',), 1347226524: ('0.032674838840125724',), 1347226464: ('0.032674838840125724',), 1347226400: ('0.032674838840125724',), 1347225767: ('0.032674838840125724',), 1347225762: ('0.032674838840125724',), 1347224163: ('0.032674838840125724',), 1347224135: ('0.032674838840125724',), 1347223856: ('0.032674838840125724',), 1347223819: ('0.032674838840125724',), 1347223780: ('0.032674838840125724',), 1347223404: ('0.032674838840125724',), 1347223381: ('0.032674838840125724',), 1347223354: ('0.032674838840125724',), 1347223158: ('0.032674838840125724',), 1347223112: ('0.032674838840125724',), 1347223078: ('0.032674838840125724',), 1347223042: ('0.032674838840125724',), 1347223024: ('0.032674838840125724',), 1347222977: ('0.032674838840125724',), 1347222510: ('0.032674838840125724',), 1347222469: ('0.032674838840125724',), 1347222357: ('0.032674838840125724',), 1347222331: ('0.032674838840125724',), 1347222306: ('0.032674838840125724',), 1347221965: ('0.032674838840125724',)} input_args_next_step : {1347227141: ()} output_args : {1347227141: ('0.032674838840125724',), 1347226710: ('0.032674838840125724',), 1347226688: ('0.032674838840125724',), 1347226682: ('0.032674838840125724',), 1347226675: ('0.032674838840125724',), 1347226595: ('0.032674838840125724',), 1347226589: ('0.032674838840125724',), 1347226572: ('0.032674838840125724',), 1347226524: ('0.032674838840125724',), 1347226464: ('0.032674838840125724',), 1347226400: ('0.032674838840125724',), 1347225767: ('0.032674838840125724',), 1347225762: ('0.032674838840125724',), 1347224163: ('0.032674838840125724',), 1347224135: ('0.032674838840125724',), 1347223856: ('0.032674838840125724',), 1347223819: ('0.032674838840125724',), 1347223780: ('0.032674838840125724',), 1347223404: ('0.032674838840125724',), 1347223381: ('0.032674838840125724',), 1347223354: ('0.032674838840125724',), 1347223158: ('0.032674838840125724',), 1347223112: ('0.032674838840125724',), 1347223078: ('0.032674838840125724',), 1347223042: ('0.032674838840125724',), 1347223024: ('0.032674838840125724',), 1347222977: ('0.032674838840125724',), 1347222510: ('0.032674838840125724',), 1347222469: ('0.032674838840125724',), 1347222357: ('0.032674838840125724',), 1347222331: ('0.032674838840125724',), 1347222306: ('0.032674838840125724',), 1347221965: ('0.032674838840125724',)} args : 1347227141 depend.output_id : 0 input_args_next_step : {1347227141: ('0.032674838840125724',), 1347226710: ()} output_args : {1347227141: ('0.032674838840125724',), 1347226710: ('0.032674838840125724',), 1347226688: ('0.032674838840125724',), 1347226682: ('0.032674838840125724',), 1347226675: ('0.032674838840125724',), 1347226595: ('0.032674838840125724',), 1347226589: ('0.032674838840125724',), 1347226572: ('0.032674838840125724',), 1347226524: ('0.032674838840125724',), 1347226464: ('0.032674838840125724',), 1347226400: ('0.032674838840125724',), 1347225767: ('0.032674838840125724',), 1347225762: ('0.032674838840125724',), 1347224163: ('0.032674838840125724',), 1347224135: ('0.032674838840125724',), 1347223856: ('0.032674838840125724',), 1347223819: ('0.032674838840125724',), 1347223780: ('0.032674838840125724',), 1347223404: ('0.032674838840125724',), 1347223381: ('0.032674838840125724',), 1347223354: ('0.032674838840125724',), 1347223158: ('0.032674838840125724',), 1347223112: ('0.032674838840125724',), 1347223078: ('0.032674838840125724',), 1347223042: ('0.032674838840125724',), 1347223024: ('0.032674838840125724',), 1347222977: ('0.032674838840125724',), 1347222510: ('0.032674838840125724',), 1347222469: ('0.032674838840125724',), 1347222357: ('0.032674838840125724',), 1347222331: ('0.032674838840125724',), 1347222306: ('0.032674838840125724',), 1347221965: ('0.032674838840125724',)} args : 1347226710 depend.output_id : 0 input_args_next_step : {1347227141: ('0.032674838840125724',), 1347226710: ('0.032674838840125724',), 1347226688: ()} output_args : {1347227141: ('0.032674838840125724',), 1347226710: ('0.032674838840125724',), 1347226688: ('0.032674838840125724',), 1347226682: ('0.032674838840125724',), 1347226675: ('0.032674838840125724',), 1347226595: ('0.032674838840125724',), 1347226589: ('0.032674838840125724',), 1347226572: ('0.032674838840125724',), 1347226524: ('0.032674838840125724',), 1347226464: ('0.032674838840125724',), 1347226400: ('0.032674838840125724',), 1347225767: ('0.032674838840125724',), 1347225762: ('0.032674838840125724',), 1347224163: ('0.032674838840125724',), 1347224135: ('0.032674838840125724',), 1347223856: ('0.032674838840125724',), 1347223819: ('0.032674838840125724',), 1347223780: ('0.032674838840125724',), 1347223404: ('0.032674838840125724',), 1347223381: ('0.032674838840125724',), 1347223354: ('0.032674838840125724',), 1347223158: ('0.032674838840125724',), 1347223112: ('0.032674838840125724',), 1347223078: ('0.032674838840125724',), 1347223042: ('0.032674838840125724',), 1347223024: ('0.032674838840125724',), 1347222977: ('0.032674838840125724',), 1347222510: ('0.032674838840125724',), 1347222469: ('0.032674838840125724',), 1347222357: ('0.032674838840125724',), 1347222331: ('0.032674838840125724',), 1347222306: ('0.032674838840125724',), 1347221965: ('0.032674838840125724',)} args : 1347226688 depend.output_id : 0 input_args_next_step : {1347227141: ('0.032674838840125724',), 1347226710: ('0.032674838840125724',), 1347226688: ('0.032674838840125724',), 1347226682: ()} output_args : {1347227141: ('0.032674838840125724',), 1347226710: ('0.032674838840125724',), 1347226688: ('0.032674838840125724',), 1347226682: ('0.032674838840125724',), 1347226675: ('0.032674838840125724',), 1347226595: ('0.032674838840125724',), 1347226589: ('0.032674838840125724',), 1347226572: ('0.032674838840125724',), 1347226524: ('0.032674838840125724',), 1347226464: ('0.032674838840125724',), 1347226400: ('0.032674838840125724',), 1347225767: ('0.032674838840125724',), 1347225762: ('0.032674838840125724',), 1347224163: ('0.032674838840125724',), 1347224135: ('0.032674838840125724',), 1347223856: ('0.032674838840125724',), 1347223819: ('0.032674838840125724',), 1347223780: ('0.032674838840125724',), 1347223404: ('0.032674838840125724',), 1347223381: ('0.032674838840125724',), 1347223354: ('0.032674838840125724',), 1347223158: ('0.032674838840125724',), 1347223112: ('0.032674838840125724',), 1347223078: ('0.032674838840125724',), 1347223042: ('0.032674838840125724',), 1347223024: ('0.032674838840125724',), 1347222977: ('0.032674838840125724',), 1347222510: ('0.032674838840125724',), 1347222469: ('0.032674838840125724',), 1347222357: ('0.032674838840125724',), 1347222331: ('0.032674838840125724',), 1347222306: ('0.032674838840125724',), 1347221965: ('0.032674838840125724',)} args : 1347226682 depend.output_id : 0 input_args_next_step : {1347227141: ('0.032674838840125724',), 1347226710: ('0.032674838840125724',), 1347226688: ('0.032674838840125724',), 1347226682: ('0.032674838840125724',), 1347226675: ()} output_args : {1347227141: ('0.032674838840125724',), 1347226710: ('0.032674838840125724',), 1347226688: ('0.032674838840125724',), 1347226682: ('0.032674838840125724',), 1347226675: ('0.032674838840125724',), 1347226595: ('0.032674838840125724',), 1347226589: ('0.032674838840125724',), 1347226572: ('0.032674838840125724',), 1347226524: ('0.032674838840125724',), 1347226464: ('0.032674838840125724',), 1347226400: ('0.032674838840125724',), 1347225767: ('0.032674838840125724',), 1347225762: ('0.032674838840125724',), 1347224163: ('0.032674838840125724',), 1347224135: ('0.032674838840125724',), 1347223856: ('0.032674838840125724',), 1347223819: ('0.032674838840125724',), 1347223780: ('0.032674838840125724',), 1347223404: ('0.032674838840125724',), 1347223381: ('0.032674838840125724',), 1347223354: ('0.032674838840125724',), 1347223158: ('0.032674838840125724',), 1347223112: ('0.032674838840125724',), 1347223078: ('0.032674838840125724',), 1347223042: ('0.032674838840125724',), 1347223024: ('0.032674838840125724',), 1347222977: ('0.032674838840125724',), 1347222510: ('0.032674838840125724',), 1347222469: ('0.032674838840125724',), 1347222357: ('0.032674838840125724',), 1347222331: ('0.032674838840125724',), 1347222306: ('0.032674838840125724',), 1347221965: ('0.032674838840125724',)} args : 1347226675 depend.output_id : 0 input_args_next_step : {1347227141: ('0.032674838840125724',), 1347226710: ('0.032674838840125724',), 1347226688: ('0.032674838840125724',), 1347226682: ('0.032674838840125724',), 1347226675: ('0.032674838840125724',), 1347226595: ()} output_args : {1347227141: ('0.032674838840125724',), 1347226710: ('0.032674838840125724',), 1347226688: ('0.032674838840125724',), 1347226682: ('0.032674838840125724',), 1347226675: ('0.032674838840125724',), 1347226595: ('0.032674838840125724',), 1347226589: ('0.032674838840125724',), 1347226572: ('0.032674838840125724',), 1347226524: ('0.032674838840125724',), 1347226464: ('0.032674838840125724',), 1347226400: ('0.032674838840125724',), 1347225767: ('0.032674838840125724',), 1347225762: ('0.032674838840125724',), 1347224163: ('0.032674838840125724',), 1347224135: ('0.032674838840125724',), 1347223856: ('0.032674838840125724',), 1347223819: ('0.032674838840125724',), 1347223780: ('0.032674838840125724',), 1347223404: ('0.032674838840125724',), 1347223381: ('0.032674838840125724',), 1347223354: ('0.032674838840125724',), 1347223158: ('0.032674838840125724',), 1347223112: ('0.032674838840125724',), 1347223078: ('0.032674838840125724',), 1347223042: ('0.032674838840125724',), 1347223024: ('0.032674838840125724',), 1347222977: ('0.032674838840125724',), 1347222510: ('0.032674838840125724',), 1347222469: ('0.032674838840125724',), 1347222357: ('0.032674838840125724',), 1347222331: ('0.032674838840125724',), 1347222306: ('0.032674838840125724',), 1347221965: ('0.032674838840125724',)} args : 1347226595 depend.output_id : 0 input_args_next_step : {1347227141: ('0.032674838840125724',), 1347226710: ('0.032674838840125724',), 1347226688: ('0.032674838840125724',), 1347226682: ('0.032674838840125724',), 1347226675: ('0.032674838840125724',), 1347226595: ('0.032674838840125724',), 1347226589: ()} output_args : {1347227141: ('0.032674838840125724',), 1347226710: ('0.032674838840125724',), 1347226688: ('0.032674838840125724',), 1347226682: ('0.032674838840125724',), 1347226675: ('0.032674838840125724',), 1347226595: ('0.032674838840125724',), 1347226589: ('0.032674838840125724',), 1347226572: ('0.032674838840125724',), 1347226524: ('0.032674838840125724',), 1347226464: ('0.032674838840125724',), 1347226400: ('0.032674838840125724',), 1347225767: ('0.032674838840125724',), 1347225762: ('0.032674838840125724',), 1347224163: ('0.032674838840125724',), 1347224135: ('0.032674838840125724',), 1347223856: ('0.032674838840125724',), 1347223819: ('0.032674838840125724',), 1347223780: ('0.032674838840125724',), 1347223404: ('0.032674838840125724',), 1347223381: ('0.032674838840125724',), 1347223354: ('0.032674838840125724',), 1347223158: ('0.032674838840125724',), 1347223112: ('0.032674838840125724',), 1347223078: ('0.032674838840125724',), 1347223042: ('0.032674838840125724',), 1347223024: ('0.032674838840125724',), 1347222977: ('0.032674838840125724',), 1347222510: ('0.032674838840125724',), 1347222469: ('0.032674838840125724',), 1347222357: ('0.032674838840125724',), 1347222331: ('0.032674838840125724',), 1347222306: ('0.032674838840125724',), 1347221965: ('0.032674838840125724',)} args : 1347226589 depend.output_id : 0 input_args_next_step : {1347227141: ('0.032674838840125724',), 1347226710: ('0.032674838840125724',), 1347226688: ('0.032674838840125724',), 1347226682: ('0.032674838840125724',), 1347226675: ('0.032674838840125724',), 1347226595: ('0.032674838840125724',), 1347226589: ('0.032674838840125724',), 1347226572: ()} output_args : {1347227141: ('0.032674838840125724',), 1347226710: ('0.032674838840125724',), 1347226688: ('0.032674838840125724',), 1347226682: ('0.032674838840125724',), 1347226675: ('0.032674838840125724',), 1347226595: ('0.032674838840125724',), 1347226589: ('0.032674838840125724',), 1347226572: ('0.032674838840125724',), 1347226524: ('0.032674838840125724',), 1347226464: ('0.032674838840125724',), 1347226400: ('0.032674838840125724',), 1347225767: ('0.032674838840125724',), 1347225762: ('0.032674838840125724',), 1347224163: ('0.032674838840125724',), 1347224135: ('0.032674838840125724',), 1347223856: ('0.032674838840125724',), 1347223819: ('0.032674838840125724',), 1347223780: ('0.032674838840125724',), 1347223404: ('0.032674838840125724',), 1347223381: ('0.032674838840125724',), 1347223354: ('0.032674838840125724',), 1347223158: ('0.032674838840125724',), 1347223112: ('0.032674838840125724',), 1347223078: ('0.032674838840125724',), 1347223042: ('0.032674838840125724',), 1347223024: ('0.032674838840125724',), 1347222977: ('0.032674838840125724',), 1347222510: ('0.032674838840125724',), 1347222469: ('0.032674838840125724',), 1347222357: ('0.032674838840125724',), 1347222331: ('0.032674838840125724',), 1347222306: ('0.032674838840125724',), 1347221965: ('0.032674838840125724',)} args : 1347226572 depend.output_id : 0 input_args_next_step : {1347227141: ('0.032674838840125724',), 1347226710: ('0.032674838840125724',), 1347226688: ('0.032674838840125724',), 1347226682: ('0.032674838840125724',), 1347226675: ('0.032674838840125724',), 1347226595: ('0.032674838840125724',), 1347226589: ('0.032674838840125724',), 1347226572: ('0.032674838840125724',), 1347226524: ()} output_args : {1347227141: ('0.032674838840125724',), 1347226710: ('0.032674838840125724',), 1347226688: ('0.032674838840125724',), 1347226682: ('0.032674838840125724',), 1347226675: ('0.032674838840125724',), 1347226595: ('0.032674838840125724',), 1347226589: ('0.032674838840125724',), 1347226572: ('0.032674838840125724',), 1347226524: ('0.032674838840125724',), 1347226464: ('0.032674838840125724',), 1347226400: ('0.032674838840125724',), 1347225767: ('0.032674838840125724',), 1347225762: ('0.032674838840125724',), 1347224163: ('0.032674838840125724',), 1347224135: ('0.032674838840125724',), 1347223856: ('0.032674838840125724',), 1347223819: ('0.032674838840125724',), 1347223780: ('0.032674838840125724',), 1347223404: ('0.032674838840125724',), 1347223381: ('0.032674838840125724',), 1347223354: ('0.032674838840125724',), 1347223158: ('0.032674838840125724',), 1347223112: ('0.032674838840125724',), 1347223078: ('0.032674838840125724',), 1347223042: ('0.032674838840125724',), 1347223024: ('0.032674838840125724',), 1347222977: ('0.032674838840125724',), 1347222510: ('0.032674838840125724',), 1347222469: ('0.032674838840125724',), 1347222357: ('0.032674838840125724',), 1347222331: ('0.032674838840125724',), 1347222306: ('0.032674838840125724',), 1347221965: ('0.032674838840125724',)} args : 1347226524 depend.output_id : 0 input_args_next_step : {1347227141: ('0.032674838840125724',), 1347226710: ('0.032674838840125724',), 1347226688: ('0.032674838840125724',), 1347226682: ('0.032674838840125724',), 1347226675: ('0.032674838840125724',), 1347226595: ('0.032674838840125724',), 1347226589: ('0.032674838840125724',), 1347226572: ('0.032674838840125724',), 1347226524: ('0.032674838840125724',), 1347226464: ()} output_args : {1347227141: ('0.032674838840125724',), 1347226710: ('0.032674838840125724',), 1347226688: ('0.032674838840125724',), 1347226682: ('0.032674838840125724',), 1347226675: ('0.032674838840125724',), 1347226595: ('0.032674838840125724',), 1347226589: ('0.032674838840125724',), 1347226572: ('0.032674838840125724',), 1347226524: ('0.032674838840125724',), 1347226464: ('0.032674838840125724',), 1347226400: ('0.032674838840125724',), 1347225767: ('0.032674838840125724',), 1347225762: ('0.032674838840125724',), 1347224163: ('0.032674838840125724',), 1347224135: ('0.032674838840125724',), 1347223856: ('0.032674838840125724',), 1347223819: ('0.032674838840125724',), 1347223780: ('0.032674838840125724',), 1347223404: ('0.032674838840125724',), 1347223381: ('0.032674838840125724',), 1347223354: ('0.032674838840125724',), 1347223158: ('0.032674838840125724',), 1347223112: ('0.032674838840125724',), 1347223078: ('0.032674838840125724',), 1347223042: ('0.032674838840125724',), 1347223024: ('0.032674838840125724',), 1347222977: ('0.032674838840125724',), 1347222510: ('0.032674838840125724',), 1347222469: ('0.032674838840125724',), 1347222357: ('0.032674838840125724',), 1347222331: ('0.032674838840125724',), 1347222306: ('0.032674838840125724',), 1347221965: ('0.032674838840125724',)} args : 1347226464 depend.output_id : 0 input_args_next_step : {1347227141: ('0.032674838840125724',), 1347226710: ('0.032674838840125724',), 1347226688: ('0.032674838840125724',), 1347226682: ('0.032674838840125724',), 1347226675: ('0.032674838840125724',), 1347226595: ('0.032674838840125724',), 1347226589: ('0.032674838840125724',), 1347226572: ('0.032674838840125724',), 1347226524: ('0.032674838840125724',), 1347226464: ('0.032674838840125724',), 1347226400: ()} output_args : {1347227141: ('0.032674838840125724',), 1347226710: ('0.032674838840125724',), 1347226688: ('0.032674838840125724',), 1347226682: ('0.032674838840125724',), 1347226675: ('0.032674838840125724',), 1347226595: ('0.032674838840125724',), 1347226589: ('0.032674838840125724',), 1347226572: ('0.032674838840125724',), 1347226524: ('0.032674838840125724',), 1347226464: ('0.032674838840125724',), 1347226400: ('0.032674838840125724',), 1347225767: ('0.032674838840125724',), 1347225762: ('0.032674838840125724',), 1347224163: ('0.032674838840125724',), 1347224135: ('0.032674838840125724',), 1347223856: ('0.032674838840125724',), 1347223819: ('0.032674838840125724',), 1347223780: ('0.032674838840125724',), 1347223404: ('0.032674838840125724',), 1347223381: ('0.032674838840125724',), 1347223354: ('0.032674838840125724',), 1347223158: ('0.032674838840125724',), 1347223112: ('0.032674838840125724',), 1347223078: ('0.032674838840125724',), 1347223042: ('0.032674838840125724',), 1347223024: ('0.032674838840125724',), 1347222977: ('0.032674838840125724',), 1347222510: ('0.032674838840125724',), 1347222469: ('0.032674838840125724',), 1347222357: ('0.032674838840125724',), 1347222331: ('0.032674838840125724',), 1347222306: ('0.032674838840125724',), 1347221965: ('0.032674838840125724',)} args : 1347226400 depend.output_id : 0 input_args_next_step : {1347227141: ('0.032674838840125724',), 1347226710: ('0.032674838840125724',), 1347226688: ('0.032674838840125724',), 1347226682: ('0.032674838840125724',), 1347226675: ('0.032674838840125724',), 1347226595: ('0.032674838840125724',), 1347226589: ('0.032674838840125724',), 1347226572: ('0.032674838840125724',), 1347226524: ('0.032674838840125724',), 1347226464: ('0.032674838840125724',), 1347226400: ('0.032674838840125724',), 1347225767: ()} output_args : {1347227141: ('0.032674838840125724',), 1347226710: ('0.032674838840125724',), 1347226688: ('0.032674838840125724',), 1347226682: ('0.032674838840125724',), 1347226675: ('0.032674838840125724',), 1347226595: ('0.032674838840125724',), 1347226589: ('0.032674838840125724',), 1347226572: ('0.032674838840125724',), 1347226524: ('0.032674838840125724',), 1347226464: ('0.032674838840125724',), 1347226400: ('0.032674838840125724',), 1347225767: ('0.032674838840125724',), 1347225762: ('0.032674838840125724',), 1347224163: ('0.032674838840125724',), 1347224135: ('0.032674838840125724',), 1347223856: ('0.032674838840125724',), 1347223819: ('0.032674838840125724',), 1347223780: ('0.032674838840125724',), 1347223404: ('0.032674838840125724',), 1347223381: ('0.032674838840125724',), 1347223354: ('0.032674838840125724',), 1347223158: ('0.032674838840125724',), 1347223112: ('0.032674838840125724',), 1347223078: ('0.032674838840125724',), 1347223042: ('0.032674838840125724',), 1347223024: ('0.032674838840125724',), 1347222977: ('0.032674838840125724',), 1347222510: ('0.032674838840125724',), 1347222469: ('0.032674838840125724',), 1347222357: ('0.032674838840125724',), 1347222331: ('0.032674838840125724',), 1347222306: ('0.032674838840125724',), 1347221965: ('0.032674838840125724',)} args : 1347225767 depend.output_id : 0 input_args_next_step : {1347227141: ('0.032674838840125724',), 1347226710: ('0.032674838840125724',), 1347226688: ('0.032674838840125724',), 1347226682: ('0.032674838840125724',), 1347226675: ('0.032674838840125724',), 1347226595: ('0.032674838840125724',), 1347226589: ('0.032674838840125724',), 1347226572: ('0.032674838840125724',), 1347226524: ('0.032674838840125724',), 1347226464: ('0.032674838840125724',), 1347226400: ('0.032674838840125724',), 1347225767: ('0.032674838840125724',), 1347225762: ()} output_args : {1347227141: ('0.032674838840125724',), 1347226710: ('0.032674838840125724',), 1347226688: ('0.032674838840125724',), 1347226682: ('0.032674838840125724',), 1347226675: ('0.032674838840125724',), 1347226595: ('0.032674838840125724',), 1347226589: ('0.032674838840125724',), 1347226572: ('0.032674838840125724',), 1347226524: ('0.032674838840125724',), 1347226464: ('0.032674838840125724',), 1347226400: ('0.032674838840125724',), 1347225767: ('0.032674838840125724',), 1347225762: ('0.032674838840125724',), 1347224163: ('0.032674838840125724',), 1347224135: ('0.032674838840125724',), 1347223856: ('0.032674838840125724',), 1347223819: ('0.032674838840125724',), 1347223780: ('0.032674838840125724',), 1347223404: ('0.032674838840125724',), 1347223381: ('0.032674838840125724',), 1347223354: ('0.032674838840125724',), 1347223158: ('0.032674838840125724',), 1347223112: ('0.032674838840125724',), 1347223078: ('0.032674838840125724',), 1347223042: ('0.032674838840125724',), 1347223024: ('0.032674838840125724',), 1347222977: ('0.032674838840125724',), 1347222510: ('0.032674838840125724',), 1347222469: ('0.032674838840125724',), 1347222357: ('0.032674838840125724',), 1347222331: ('0.032674838840125724',), 1347222306: ('0.032674838840125724',), 1347221965: ('0.032674838840125724',)} args : 1347225762 depend.output_id : 0 input_args_next_step : {1347227141: ('0.032674838840125724',), 1347226710: ('0.032674838840125724',), 1347226688: ('0.032674838840125724',), 1347226682: ('0.032674838840125724',), 1347226675: ('0.032674838840125724',), 1347226595: ('0.032674838840125724',), 1347226589: ('0.032674838840125724',), 1347226572: ('0.032674838840125724',), 1347226524: ('0.032674838840125724',), 1347226464: ('0.032674838840125724',), 1347226400: ('0.032674838840125724',), 1347225767: ('0.032674838840125724',), 1347225762: ('0.032674838840125724',), 1347224163: ()} output_args : {1347227141: ('0.032674838840125724',), 1347226710: ('0.032674838840125724',), 1347226688: ('0.032674838840125724',), 1347226682: ('0.032674838840125724',), 1347226675: ('0.032674838840125724',), 1347226595: ('0.032674838840125724',), 1347226589: ('0.032674838840125724',), 1347226572: ('0.032674838840125724',), 1347226524: ('0.032674838840125724',), 1347226464: ('0.032674838840125724',), 1347226400: ('0.032674838840125724',), 1347225767: ('0.032674838840125724',), 1347225762: ('0.032674838840125724',), 1347224163: ('0.032674838840125724',), 1347224135: ('0.032674838840125724',), 1347223856: ('0.032674838840125724',), 1347223819: ('0.032674838840125724',), 1347223780: ('0.032674838840125724',), 1347223404: ('0.032674838840125724',), 1347223381: ('0.032674838840125724',), 1347223354: ('0.032674838840125724',), 1347223158: ('0.032674838840125724',), 1347223112: ('0.032674838840125724',), 1347223078: ('0.032674838840125724',), 1347223042: ('0.032674838840125724',), 1347223024: ('0.032674838840125724',), 1347222977: ('0.032674838840125724',), 1347222510: ('0.032674838840125724',), 1347222469: ('0.032674838840125724',), 1347222357: ('0.032674838840125724',), 1347222331: ('0.032674838840125724',), 1347222306: ('0.032674838840125724',), 1347221965: ('0.032674838840125724',)} args : 1347224163 depend.output_id : 0 input_args_next_step : {1347227141: ('0.032674838840125724',), 1347226710: ('0.032674838840125724',), 1347226688: ('0.032674838840125724',), 1347226682: ('0.032674838840125724',), 1347226675: ('0.032674838840125724',), 1347226595: ('0.032674838840125724',), 1347226589: ('0.032674838840125724',), 1347226572: ('0.032674838840125724',), 1347226524: ('0.032674838840125724',), 1347226464: ('0.032674838840125724',), 1347226400: ('0.032674838840125724',), 1347225767: ('0.032674838840125724',), 1347225762: ('0.032674838840125724',), 1347224163: ('0.032674838840125724',), 1347224135: ()} output_args : {1347227141: ('0.032674838840125724',), 1347226710: ('0.032674838840125724',), 1347226688: ('0.032674838840125724',), 1347226682: ('0.032674838840125724',), 1347226675: ('0.032674838840125724',), 1347226595: ('0.032674838840125724',), 1347226589: ('0.032674838840125724',), 1347226572: ('0.032674838840125724',), 1347226524: ('0.032674838840125724',), 1347226464: ('0.032674838840125724',), 1347226400: ('0.032674838840125724',), 1347225767: ('0.032674838840125724',), 1347225762: ('0.032674838840125724',), 1347224163: ('0.032674838840125724',), 1347224135: ('0.032674838840125724',), 1347223856: ('0.032674838840125724',), 1347223819: ('0.032674838840125724',), 1347223780: ('0.032674838840125724',), 1347223404: ('0.032674838840125724',), 1347223381: ('0.032674838840125724',), 1347223354: ('0.032674838840125724',), 1347223158: ('0.032674838840125724',), 1347223112: ('0.032674838840125724',), 1347223078: ('0.032674838840125724',), 1347223042: ('0.032674838840125724',), 1347223024: ('0.032674838840125724',), 1347222977: ('0.032674838840125724',), 1347222510: ('0.032674838840125724',), 1347222469: ('0.032674838840125724',), 1347222357: ('0.032674838840125724',), 1347222331: ('0.032674838840125724',), 1347222306: ('0.032674838840125724',), 1347221965: ('0.032674838840125724',)} args : 1347224135 depend.output_id : 0 input_args_next_step : {1347227141: ('0.032674838840125724',), 1347226710: ('0.032674838840125724',), 1347226688: ('0.032674838840125724',), 1347226682: ('0.032674838840125724',), 1347226675: ('0.032674838840125724',), 1347226595: ('0.032674838840125724',), 1347226589: ('0.032674838840125724',), 1347226572: ('0.032674838840125724',), 1347226524: ('0.032674838840125724',), 1347226464: ('0.032674838840125724',), 1347226400: ('0.032674838840125724',), 1347225767: ('0.032674838840125724',), 1347225762: ('0.032674838840125724',), 1347224163: ('0.032674838840125724',), 1347224135: ('0.032674838840125724',), 1347223856: ()} output_args : {1347227141: ('0.032674838840125724',), 1347226710: ('0.032674838840125724',), 1347226688: ('0.032674838840125724',), 1347226682: ('0.032674838840125724',), 1347226675: ('0.032674838840125724',), 1347226595: ('0.032674838840125724',), 1347226589: ('0.032674838840125724',), 1347226572: ('0.032674838840125724',), 1347226524: ('0.032674838840125724',), 1347226464: ('0.032674838840125724',), 1347226400: ('0.032674838840125724',), 1347225767: ('0.032674838840125724',), 1347225762: ('0.032674838840125724',), 1347224163: ('0.032674838840125724',), 1347224135: ('0.032674838840125724',), 1347223856: ('0.032674838840125724',), 1347223819: ('0.032674838840125724',), 1347223780: ('0.032674838840125724',), 1347223404: ('0.032674838840125724',), 1347223381: ('0.032674838840125724',), 1347223354: ('0.032674838840125724',), 1347223158: ('0.032674838840125724',), 1347223112: ('0.032674838840125724',), 1347223078: ('0.032674838840125724',), 1347223042: ('0.032674838840125724',), 1347223024: ('0.032674838840125724',), 1347222977: ('0.032674838840125724',), 1347222510: ('0.032674838840125724',), 1347222469: ('0.032674838840125724',), 1347222357: ('0.032674838840125724',), 1347222331: ('0.032674838840125724',), 1347222306: ('0.032674838840125724',), 1347221965: ('0.032674838840125724',)} args : 1347223856 depend.output_id : 0 input_args_next_step : {1347227141: ('0.032674838840125724',), 1347226710: ('0.032674838840125724',), 1347226688: ('0.032674838840125724',), 1347226682: ('0.032674838840125724',), 1347226675: ('0.032674838840125724',), 1347226595: ('0.032674838840125724',), 1347226589: ('0.032674838840125724',), 1347226572: ('0.032674838840125724',), 1347226524: ('0.032674838840125724',), 1347226464: ('0.032674838840125724',), 1347226400: ('0.032674838840125724',), 1347225767: ('0.032674838840125724',), 1347225762: ('0.032674838840125724',), 1347224163: ('0.032674838840125724',), 1347224135: ('0.032674838840125724',), 1347223856: ('0.032674838840125724',), 1347223819: ()} output_args : {1347227141: ('0.032674838840125724',), 1347226710: ('0.032674838840125724',), 1347226688: ('0.032674838840125724',), 1347226682: ('0.032674838840125724',), 1347226675: ('0.032674838840125724',), 1347226595: ('0.032674838840125724',), 1347226589: ('0.032674838840125724',), 1347226572: ('0.032674838840125724',), 1347226524: ('0.032674838840125724',), 1347226464: ('0.032674838840125724',), 1347226400: ('0.032674838840125724',), 1347225767: ('0.032674838840125724',), 1347225762: ('0.032674838840125724',), 1347224163: ('0.032674838840125724',), 1347224135: ('0.032674838840125724',), 1347223856: ('0.032674838840125724',), 1347223819: ('0.032674838840125724',), 1347223780: ('0.032674838840125724',), 1347223404: ('0.032674838840125724',), 1347223381: ('0.032674838840125724',), 1347223354: ('0.032674838840125724',), 1347223158: ('0.032674838840125724',), 1347223112: ('0.032674838840125724',), 1347223078: ('0.032674838840125724',), 1347223042: ('0.032674838840125724',), 1347223024: ('0.032674838840125724',), 1347222977: ('0.032674838840125724',), 1347222510: ('0.032674838840125724',), 1347222469: ('0.032674838840125724',), 1347222357: ('0.032674838840125724',), 1347222331: ('0.032674838840125724',), 1347222306: ('0.032674838840125724',), 1347221965: ('0.032674838840125724',)} args : 1347223819 depend.output_id : 0 input_args_next_step : {1347227141: ('0.032674838840125724',), 1347226710: ('0.032674838840125724',), 1347226688: ('0.032674838840125724',), 1347226682: ('0.032674838840125724',), 1347226675: ('0.032674838840125724',), 1347226595: ('0.032674838840125724',), 1347226589: ('0.032674838840125724',), 1347226572: ('0.032674838840125724',), 1347226524: ('0.032674838840125724',), 1347226464: ('0.032674838840125724',), 1347226400: ('0.032674838840125724',), 1347225767: ('0.032674838840125724',), 1347225762: ('0.032674838840125724',), 1347224163: ('0.032674838840125724',), 1347224135: ('0.032674838840125724',), 1347223856: ('0.032674838840125724',), 1347223819: ('0.032674838840125724',), 1347223780: ()} output_args : {1347227141: ('0.032674838840125724',), 1347226710: ('0.032674838840125724',), 1347226688: ('0.032674838840125724',), 1347226682: ('0.032674838840125724',), 1347226675: ('0.032674838840125724',), 1347226595: ('0.032674838840125724',), 1347226589: ('0.032674838840125724',), 1347226572: ('0.032674838840125724',), 1347226524: ('0.032674838840125724',), 1347226464: ('0.032674838840125724',), 1347226400: ('0.032674838840125724',), 1347225767: ('0.032674838840125724',), 1347225762: ('0.032674838840125724',), 1347224163: ('0.032674838840125724',), 1347224135: ('0.032674838840125724',), 1347223856: ('0.032674838840125724',), 1347223819: ('0.032674838840125724',), 1347223780: ('0.032674838840125724',), 1347223404: ('0.032674838840125724',), 1347223381: ('0.032674838840125724',), 1347223354: ('0.032674838840125724',), 1347223158: ('0.032674838840125724',), 1347223112: ('0.032674838840125724',), 1347223078: ('0.032674838840125724',), 1347223042: ('0.032674838840125724',), 1347223024: ('0.032674838840125724',), 1347222977: ('0.032674838840125724',), 1347222510: ('0.032674838840125724',), 1347222469: ('0.032674838840125724',), 1347222357: ('0.032674838840125724',), 1347222331: ('0.032674838840125724',), 1347222306: ('0.032674838840125724',), 1347221965: ('0.032674838840125724',)} args : 1347223780 depend.output_id : 0 input_args_next_step : {1347227141: ('0.032674838840125724',), 1347226710: ('0.032674838840125724',), 1347226688: ('0.032674838840125724',), 1347226682: ('0.032674838840125724',), 1347226675: ('0.032674838840125724',), 1347226595: ('0.032674838840125724',), 1347226589: ('0.032674838840125724',), 1347226572: ('0.032674838840125724',), 1347226524: ('0.032674838840125724',), 1347226464: ('0.032674838840125724',), 1347226400: ('0.032674838840125724',), 1347225767: ('0.032674838840125724',), 1347225762: ('0.032674838840125724',), 1347224163: ('0.032674838840125724',), 1347224135: ('0.032674838840125724',), 1347223856: ('0.032674838840125724',), 1347223819: ('0.032674838840125724',), 1347223780: ('0.032674838840125724',), 1347223404: ()} output_args : {1347227141: ('0.032674838840125724',), 1347226710: ('0.032674838840125724',), 1347226688: ('0.032674838840125724',), 1347226682: ('0.032674838840125724',), 1347226675: ('0.032674838840125724',), 1347226595: ('0.032674838840125724',), 1347226589: ('0.032674838840125724',), 1347226572: ('0.032674838840125724',), 1347226524: ('0.032674838840125724',), 1347226464: ('0.032674838840125724',), 1347226400: ('0.032674838840125724',), 1347225767: ('0.032674838840125724',), 1347225762: ('0.032674838840125724',), 1347224163: ('0.032674838840125724',), 1347224135: ('0.032674838840125724',), 1347223856: ('0.032674838840125724',), 1347223819: ('0.032674838840125724',), 1347223780: ('0.032674838840125724',), 1347223404: ('0.032674838840125724',), 1347223381: ('0.032674838840125724',), 1347223354: ('0.032674838840125724',), 1347223158: ('0.032674838840125724',), 1347223112: ('0.032674838840125724',), 1347223078: ('0.032674838840125724',), 1347223042: ('0.032674838840125724',), 1347223024: ('0.032674838840125724',), 1347222977: ('0.032674838840125724',), 1347222510: ('0.032674838840125724',), 1347222469: ('0.032674838840125724',), 1347222357: ('0.032674838840125724',), 1347222331: ('0.032674838840125724',), 1347222306: ('0.032674838840125724',), 1347221965: ('0.032674838840125724',)} args : 1347223404 depend.output_id : 0 input_args_next_step : {1347227141: ('0.032674838840125724',), 1347226710: ('0.032674838840125724',), 1347226688: ('0.032674838840125724',), 1347226682: ('0.032674838840125724',), 1347226675: ('0.032674838840125724',), 1347226595: ('0.032674838840125724',), 1347226589: ('0.032674838840125724',), 1347226572: ('0.032674838840125724',), 1347226524: ('0.032674838840125724',), 1347226464: ('0.032674838840125724',), 1347226400: ('0.032674838840125724',), 1347225767: ('0.032674838840125724',), 1347225762: ('0.032674838840125724',), 1347224163: ('0.032674838840125724',), 1347224135: ('0.032674838840125724',), 1347223856: ('0.032674838840125724',), 1347223819: ('0.032674838840125724',), 1347223780: ('0.032674838840125724',), 1347223404: ('0.032674838840125724',), 1347223381: ()} output_args : {1347227141: ('0.032674838840125724',), 1347226710: ('0.032674838840125724',), 1347226688: ('0.032674838840125724',), 1347226682: ('0.032674838840125724',), 1347226675: ('0.032674838840125724',), 1347226595: ('0.032674838840125724',), 1347226589: ('0.032674838840125724',), 1347226572: ('0.032674838840125724',), 1347226524: ('0.032674838840125724',), 1347226464: ('0.032674838840125724',), 1347226400: ('0.032674838840125724',), 1347225767: ('0.032674838840125724',), 1347225762: ('0.032674838840125724',), 1347224163: ('0.032674838840125724',), 1347224135: ('0.032674838840125724',), 1347223856: ('0.032674838840125724',), 1347223819: ('0.032674838840125724',), 1347223780: ('0.032674838840125724',), 1347223404: ('0.032674838840125724',), 1347223381: ('0.032674838840125724',), 1347223354: ('0.032674838840125724',), 1347223158: ('0.032674838840125724',), 1347223112: ('0.032674838840125724',), 1347223078: ('0.032674838840125724',), 1347223042: ('0.032674838840125724',), 1347223024: ('0.032674838840125724',), 1347222977: ('0.032674838840125724',), 1347222510: ('0.032674838840125724',), 1347222469: ('0.032674838840125724',), 1347222357: ('0.032674838840125724',), 1347222331: ('0.032674838840125724',), 1347222306: ('0.032674838840125724',), 1347221965: ('0.032674838840125724',)} args : 1347223381 depend.output_id : 0 input_args_next_step : {1347227141: ('0.032674838840125724',), 1347226710: ('0.032674838840125724',), 1347226688: ('0.032674838840125724',), 1347226682: ('0.032674838840125724',), 1347226675: ('0.032674838840125724',), 1347226595: ('0.032674838840125724',), 1347226589: ('0.032674838840125724',), 1347226572: ('0.032674838840125724',), 1347226524: ('0.032674838840125724',), 1347226464: ('0.032674838840125724',), 1347226400: ('0.032674838840125724',), 1347225767: ('0.032674838840125724',), 1347225762: ('0.032674838840125724',), 1347224163: ('0.032674838840125724',), 1347224135: ('0.032674838840125724',), 1347223856: ('0.032674838840125724',), 1347223819: ('0.032674838840125724',), 1347223780: ('0.032674838840125724',), 1347223404: ('0.032674838840125724',), 1347223381: ('0.032674838840125724',), 1347223354: ()} output_args : {1347227141: ('0.032674838840125724',), 1347226710: ('0.032674838840125724',), 1347226688: ('0.032674838840125724',), 1347226682: ('0.032674838840125724',), 1347226675: ('0.032674838840125724',), 1347226595: ('0.032674838840125724',), 1347226589: ('0.032674838840125724',), 1347226572: ('0.032674838840125724',), 1347226524: ('0.032674838840125724',), 1347226464: ('0.032674838840125724',), 1347226400: ('0.032674838840125724',), 1347225767: ('0.032674838840125724',), 1347225762: ('0.032674838840125724',), 1347224163: ('0.032674838840125724',), 1347224135: ('0.032674838840125724',), 1347223856: ('0.032674838840125724',), 1347223819: ('0.032674838840125724',), 1347223780: ('0.032674838840125724',), 1347223404: ('0.032674838840125724',), 1347223381: ('0.032674838840125724',), 1347223354: ('0.032674838840125724',), 1347223158: ('0.032674838840125724',), 1347223112: ('0.032674838840125724',), 1347223078: ('0.032674838840125724',), 1347223042: ('0.032674838840125724',), 1347223024: ('0.032674838840125724',), 1347222977: ('0.032674838840125724',), 1347222510: ('0.032674838840125724',), 1347222469: ('0.032674838840125724',), 1347222357: ('0.032674838840125724',), 1347222331: ('0.032674838840125724',), 1347222306: ('0.032674838840125724',), 1347221965: ('0.032674838840125724',)} args : 1347223354 depend.output_id : 0 input_args_next_step : {1347227141: ('0.032674838840125724',), 1347226710: ('0.032674838840125724',), 1347226688: ('0.032674838840125724',), 1347226682: ('0.032674838840125724',), 1347226675: ('0.032674838840125724',), 1347226595: ('0.032674838840125724',), 1347226589: ('0.032674838840125724',), 1347226572: ('0.032674838840125724',), 1347226524: ('0.032674838840125724',), 1347226464: ('0.032674838840125724',), 1347226400: ('0.032674838840125724',), 1347225767: ('0.032674838840125724',), 1347225762: ('0.032674838840125724',), 1347224163: ('0.032674838840125724',), 1347224135: ('0.032674838840125724',), 1347223856: ('0.032674838840125724',), 1347223819: ('0.032674838840125724',), 1347223780: ('0.032674838840125724',), 1347223404: ('0.032674838840125724',), 1347223381: ('0.032674838840125724',), 1347223354: ('0.032674838840125724',), 1347223158: ()} output_args : {1347227141: ('0.032674838840125724',), 1347226710: ('0.032674838840125724',), 1347226688: ('0.032674838840125724',), 1347226682: ('0.032674838840125724',), 1347226675: ('0.032674838840125724',), 1347226595: ('0.032674838840125724',), 1347226589: ('0.032674838840125724',), 1347226572: ('0.032674838840125724',), 1347226524: ('0.032674838840125724',), 1347226464: ('0.032674838840125724',), 1347226400: ('0.032674838840125724',), 1347225767: ('0.032674838840125724',), 1347225762: ('0.032674838840125724',), 1347224163: ('0.032674838840125724',), 1347224135: ('0.032674838840125724',), 1347223856: ('0.032674838840125724',), 1347223819: ('0.032674838840125724',), 1347223780: ('0.032674838840125724',), 1347223404: ('0.032674838840125724',), 1347223381: ('0.032674838840125724',), 1347223354: ('0.032674838840125724',), 1347223158: ('0.032674838840125724',), 1347223112: ('0.032674838840125724',), 1347223078: ('0.032674838840125724',), 1347223042: ('0.032674838840125724',), 1347223024: ('0.032674838840125724',), 1347222977: ('0.032674838840125724',), 1347222510: ('0.032674838840125724',), 1347222469: ('0.032674838840125724',), 1347222357: ('0.032674838840125724',), 1347222331: ('0.032674838840125724',), 1347222306: ('0.032674838840125724',), 1347221965: ('0.032674838840125724',)} args : 1347223158 depend.output_id : 0 input_args_next_step : {1347227141: ('0.032674838840125724',), 1347226710: ('0.032674838840125724',), 1347226688: ('0.032674838840125724',), 1347226682: ('0.032674838840125724',), 1347226675: ('0.032674838840125724',), 1347226595: ('0.032674838840125724',), 1347226589: ('0.032674838840125724',), 1347226572: ('0.032674838840125724',), 1347226524: ('0.032674838840125724',), 1347226464: ('0.032674838840125724',), 1347226400: ('0.032674838840125724',), 1347225767: ('0.032674838840125724',), 1347225762: ('0.032674838840125724',), 1347224163: ('0.032674838840125724',), 1347224135: ('0.032674838840125724',), 1347223856: ('0.032674838840125724',), 1347223819: ('0.032674838840125724',), 1347223780: ('0.032674838840125724',), 1347223404: ('0.032674838840125724',), 1347223381: ('0.032674838840125724',), 1347223354: ('0.032674838840125724',), 1347223158: ('0.032674838840125724',), 1347223112: ()} output_args : {1347227141: ('0.032674838840125724',), 1347226710: ('0.032674838840125724',), 1347226688: ('0.032674838840125724',), 1347226682: ('0.032674838840125724',), 1347226675: ('0.032674838840125724',), 1347226595: ('0.032674838840125724',), 1347226589: ('0.032674838840125724',), 1347226572: ('0.032674838840125724',), 1347226524: ('0.032674838840125724',), 1347226464: ('0.032674838840125724',), 1347226400: ('0.032674838840125724',), 1347225767: ('0.032674838840125724',), 1347225762: ('0.032674838840125724',), 1347224163: ('0.032674838840125724',), 1347224135: ('0.032674838840125724',), 1347223856: ('0.032674838840125724',), 1347223819: ('0.032674838840125724',), 1347223780: ('0.032674838840125724',), 1347223404: ('0.032674838840125724',), 1347223381: ('0.032674838840125724',), 1347223354: ('0.032674838840125724',), 1347223158: ('0.032674838840125724',), 1347223112: ('0.032674838840125724',), 1347223078: ('0.032674838840125724',), 1347223042: ('0.032674838840125724',), 1347223024: ('0.032674838840125724',), 1347222977: ('0.032674838840125724',), 1347222510: ('0.032674838840125724',), 1347222469: ('0.032674838840125724',), 1347222357: ('0.032674838840125724',), 1347222331: ('0.032674838840125724',), 1347222306: ('0.032674838840125724',), 1347221965: ('0.032674838840125724',)} args : 1347223112 depend.output_id : 0 input_args_next_step : {1347227141: ('0.032674838840125724',), 1347226710: ('0.032674838840125724',), 1347226688: ('0.032674838840125724',), 1347226682: ('0.032674838840125724',), 1347226675: ('0.032674838840125724',), 1347226595: ('0.032674838840125724',), 1347226589: ('0.032674838840125724',), 1347226572: ('0.032674838840125724',), 1347226524: ('0.032674838840125724',), 1347226464: ('0.032674838840125724',), 1347226400: ('0.032674838840125724',), 1347225767: ('0.032674838840125724',), 1347225762: ('0.032674838840125724',), 1347224163: ('0.032674838840125724',), 1347224135: ('0.032674838840125724',), 1347223856: ('0.032674838840125724',), 1347223819: ('0.032674838840125724',), 1347223780: ('0.032674838840125724',), 1347223404: ('0.032674838840125724',), 1347223381: ('0.032674838840125724',), 1347223354: ('0.032674838840125724',), 1347223158: ('0.032674838840125724',), 1347223112: ('0.032674838840125724',), 1347223078: ()} output_args : {1347227141: ('0.032674838840125724',), 1347226710: ('0.032674838840125724',), 1347226688: ('0.032674838840125724',), 1347226682: ('0.032674838840125724',), 1347226675: ('0.032674838840125724',), 1347226595: ('0.032674838840125724',), 1347226589: ('0.032674838840125724',), 1347226572: ('0.032674838840125724',), 1347226524: ('0.032674838840125724',), 1347226464: ('0.032674838840125724',), 1347226400: ('0.032674838840125724',), 1347225767: ('0.032674838840125724',), 1347225762: ('0.032674838840125724',), 1347224163: ('0.032674838840125724',), 1347224135: ('0.032674838840125724',), 1347223856: ('0.032674838840125724',), 1347223819: ('0.032674838840125724',), 1347223780: ('0.032674838840125724',), 1347223404: ('0.032674838840125724',), 1347223381: ('0.032674838840125724',), 1347223354: ('0.032674838840125724',), 1347223158: ('0.032674838840125724',), 1347223112: ('0.032674838840125724',), 1347223078: ('0.032674838840125724',), 1347223042: ('0.032674838840125724',), 1347223024: ('0.032674838840125724',), 1347222977: ('0.032674838840125724',), 1347222510: ('0.032674838840125724',), 1347222469: ('0.032674838840125724',), 1347222357: ('0.032674838840125724',), 1347222331: ('0.032674838840125724',), 1347222306: ('0.032674838840125724',), 1347221965: ('0.032674838840125724',)} args : 1347223078 depend.output_id : 0 input_args_next_step : {1347227141: ('0.032674838840125724',), 1347226710: ('0.032674838840125724',), 1347226688: ('0.032674838840125724',), 1347226682: ('0.032674838840125724',), 1347226675: ('0.032674838840125724',), 1347226595: ('0.032674838840125724',), 1347226589: ('0.032674838840125724',), 1347226572: ('0.032674838840125724',), 1347226524: ('0.032674838840125724',), 1347226464: ('0.032674838840125724',), 1347226400: ('0.032674838840125724',), 1347225767: ('0.032674838840125724',), 1347225762: ('0.032674838840125724',), 1347224163: ('0.032674838840125724',), 1347224135: ('0.032674838840125724',), 1347223856: ('0.032674838840125724',), 1347223819: ('0.032674838840125724',), 1347223780: ('0.032674838840125724',), 1347223404: ('0.032674838840125724',), 1347223381: ('0.032674838840125724',), 1347223354: ('0.032674838840125724',), 1347223158: ('0.032674838840125724',), 1347223112: ('0.032674838840125724',), 1347223078: ('0.032674838840125724',), 1347223042: ()} output_args : {1347227141: ('0.032674838840125724',), 1347226710: ('0.032674838840125724',), 1347226688: ('0.032674838840125724',), 1347226682: ('0.032674838840125724',), 1347226675: ('0.032674838840125724',), 1347226595: ('0.032674838840125724',), 1347226589: ('0.032674838840125724',), 1347226572: ('0.032674838840125724',), 1347226524: ('0.032674838840125724',), 1347226464: ('0.032674838840125724',), 1347226400: ('0.032674838840125724',), 1347225767: ('0.032674838840125724',), 1347225762: ('0.032674838840125724',), 1347224163: ('0.032674838840125724',), 1347224135: ('0.032674838840125724',), 1347223856: ('0.032674838840125724',), 1347223819: ('0.032674838840125724',), 1347223780: ('0.032674838840125724',), 1347223404: ('0.032674838840125724',), 1347223381: ('0.032674838840125724',), 1347223354: ('0.032674838840125724',), 1347223158: ('0.032674838840125724',), 1347223112: ('0.032674838840125724',), 1347223078: ('0.032674838840125724',), 1347223042: ('0.032674838840125724',), 1347223024: ('0.032674838840125724',), 1347222977: ('0.032674838840125724',), 1347222510: ('0.032674838840125724',), 1347222469: ('0.032674838840125724',), 1347222357: ('0.032674838840125724',), 1347222331: ('0.032674838840125724',), 1347222306: ('0.032674838840125724',), 1347221965: ('0.032674838840125724',)} args : 1347223042 depend.output_id : 0 input_args_next_step : {1347227141: ('0.032674838840125724',), 1347226710: ('0.032674838840125724',), 1347226688: ('0.032674838840125724',), 1347226682: ('0.032674838840125724',), 1347226675: ('0.032674838840125724',), 1347226595: ('0.032674838840125724',), 1347226589: ('0.032674838840125724',), 1347226572: ('0.032674838840125724',), 1347226524: ('0.032674838840125724',), 1347226464: ('0.032674838840125724',), 1347226400: ('0.032674838840125724',), 1347225767: ('0.032674838840125724',), 1347225762: ('0.032674838840125724',), 1347224163: ('0.032674838840125724',), 1347224135: ('0.032674838840125724',), 1347223856: ('0.032674838840125724',), 1347223819: ('0.032674838840125724',), 1347223780: ('0.032674838840125724',), 1347223404: ('0.032674838840125724',), 1347223381: ('0.032674838840125724',), 1347223354: ('0.032674838840125724',), 1347223158: ('0.032674838840125724',), 1347223112: ('0.032674838840125724',), 1347223078: ('0.032674838840125724',), 1347223042: ('0.032674838840125724',), 1347223024: ()} output_args : {1347227141: ('0.032674838840125724',), 1347226710: ('0.032674838840125724',), 1347226688: ('0.032674838840125724',), 1347226682: ('0.032674838840125724',), 1347226675: ('0.032674838840125724',), 1347226595: ('0.032674838840125724',), 1347226589: ('0.032674838840125724',), 1347226572: ('0.032674838840125724',), 1347226524: ('0.032674838840125724',), 1347226464: ('0.032674838840125724',), 1347226400: ('0.032674838840125724',), 1347225767: ('0.032674838840125724',), 1347225762: ('0.032674838840125724',), 1347224163: ('0.032674838840125724',), 1347224135: ('0.032674838840125724',), 1347223856: ('0.032674838840125724',), 1347223819: ('0.032674838840125724',), 1347223780: ('0.032674838840125724',), 1347223404: ('0.032674838840125724',), 1347223381: ('0.032674838840125724',), 1347223354: ('0.032674838840125724',), 1347223158: ('0.032674838840125724',), 1347223112: ('0.032674838840125724',), 1347223078: ('0.032674838840125724',), 1347223042: ('0.032674838840125724',), 1347223024: ('0.032674838840125724',), 1347222977: ('0.032674838840125724',), 1347222510: ('0.032674838840125724',), 1347222469: ('0.032674838840125724',), 1347222357: ('0.032674838840125724',), 1347222331: ('0.032674838840125724',), 1347222306: ('0.032674838840125724',), 1347221965: ('0.032674838840125724',)} args : 1347223024 depend.output_id : 0 input_args_next_step : {1347227141: ('0.032674838840125724',), 1347226710: ('0.032674838840125724',), 1347226688: ('0.032674838840125724',), 1347226682: ('0.032674838840125724',), 1347226675: ('0.032674838840125724',), 1347226595: ('0.032674838840125724',), 1347226589: ('0.032674838840125724',), 1347226572: ('0.032674838840125724',), 1347226524: ('0.032674838840125724',), 1347226464: ('0.032674838840125724',), 1347226400: ('0.032674838840125724',), 1347225767: ('0.032674838840125724',), 1347225762: ('0.032674838840125724',), 1347224163: ('0.032674838840125724',), 1347224135: ('0.032674838840125724',), 1347223856: ('0.032674838840125724',), 1347223819: ('0.032674838840125724',), 1347223780: ('0.032674838840125724',), 1347223404: ('0.032674838840125724',), 1347223381: ('0.032674838840125724',), 1347223354: ('0.032674838840125724',), 1347223158: ('0.032674838840125724',), 1347223112: ('0.032674838840125724',), 1347223078: ('0.032674838840125724',), 1347223042: ('0.032674838840125724',), 1347223024: ('0.032674838840125724',), 1347222977: ()} output_args : {1347227141: ('0.032674838840125724',), 1347226710: ('0.032674838840125724',), 1347226688: ('0.032674838840125724',), 1347226682: ('0.032674838840125724',), 1347226675: ('0.032674838840125724',), 1347226595: ('0.032674838840125724',), 1347226589: ('0.032674838840125724',), 1347226572: ('0.032674838840125724',), 1347226524: ('0.032674838840125724',), 1347226464: ('0.032674838840125724',), 1347226400: ('0.032674838840125724',), 1347225767: ('0.032674838840125724',), 1347225762: ('0.032674838840125724',), 1347224163: ('0.032674838840125724',), 1347224135: ('0.032674838840125724',), 1347223856: ('0.032674838840125724',), 1347223819: ('0.032674838840125724',), 1347223780: ('0.032674838840125724',), 1347223404: ('0.032674838840125724',), 1347223381: ('0.032674838840125724',), 1347223354: ('0.032674838840125724',), 1347223158: ('0.032674838840125724',), 1347223112: ('0.032674838840125724',), 1347223078: ('0.032674838840125724',), 1347223042: ('0.032674838840125724',), 1347223024: ('0.032674838840125724',), 1347222977: ('0.032674838840125724',), 1347222510: ('0.032674838840125724',), 1347222469: ('0.032674838840125724',), 1347222357: ('0.032674838840125724',), 1347222331: ('0.032674838840125724',), 1347222306: ('0.032674838840125724',), 1347221965: ('0.032674838840125724',)} args : 1347222977 depend.output_id : 0 input_args_next_step : {1347227141: ('0.032674838840125724',), 1347226710: ('0.032674838840125724',), 1347226688: ('0.032674838840125724',), 1347226682: ('0.032674838840125724',), 1347226675: ('0.032674838840125724',), 1347226595: ('0.032674838840125724',), 1347226589: ('0.032674838840125724',), 1347226572: ('0.032674838840125724',), 1347226524: ('0.032674838840125724',), 1347226464: ('0.032674838840125724',), 1347226400: ('0.032674838840125724',), 1347225767: ('0.032674838840125724',), 1347225762: ('0.032674838840125724',), 1347224163: ('0.032674838840125724',), 1347224135: ('0.032674838840125724',), 1347223856: ('0.032674838840125724',), 1347223819: ('0.032674838840125724',), 1347223780: ('0.032674838840125724',), 1347223404: ('0.032674838840125724',), 1347223381: ('0.032674838840125724',), 1347223354: ('0.032674838840125724',), 1347223158: ('0.032674838840125724',), 1347223112: ('0.032674838840125724',), 1347223078: ('0.032674838840125724',), 1347223042: ('0.032674838840125724',), 1347223024: ('0.032674838840125724',), 1347222977: ('0.032674838840125724',), 1347222510: ()} output_args : {1347227141: ('0.032674838840125724',), 1347226710: ('0.032674838840125724',), 1347226688: ('0.032674838840125724',), 1347226682: ('0.032674838840125724',), 1347226675: ('0.032674838840125724',), 1347226595: ('0.032674838840125724',), 1347226589: ('0.032674838840125724',), 1347226572: ('0.032674838840125724',), 1347226524: ('0.032674838840125724',), 1347226464: ('0.032674838840125724',), 1347226400: ('0.032674838840125724',), 1347225767: ('0.032674838840125724',), 1347225762: ('0.032674838840125724',), 1347224163: ('0.032674838840125724',), 1347224135: ('0.032674838840125724',), 1347223856: ('0.032674838840125724',), 1347223819: ('0.032674838840125724',), 1347223780: ('0.032674838840125724',), 1347223404: ('0.032674838840125724',), 1347223381: ('0.032674838840125724',), 1347223354: ('0.032674838840125724',), 1347223158: ('0.032674838840125724',), 1347223112: ('0.032674838840125724',), 1347223078: ('0.032674838840125724',), 1347223042: ('0.032674838840125724',), 1347223024: ('0.032674838840125724',), 1347222977: ('0.032674838840125724',), 1347222510: ('0.032674838840125724',), 1347222469: ('0.032674838840125724',), 1347222357: ('0.032674838840125724',), 1347222331: ('0.032674838840125724',), 1347222306: ('0.032674838840125724',), 1347221965: ('0.032674838840125724',)} args : 1347222510 depend.output_id : 0 input_args_next_step : {1347227141: ('0.032674838840125724',), 1347226710: ('0.032674838840125724',), 1347226688: ('0.032674838840125724',), 1347226682: ('0.032674838840125724',), 1347226675: ('0.032674838840125724',), 1347226595: ('0.032674838840125724',), 1347226589: ('0.032674838840125724',), 1347226572: ('0.032674838840125724',), 1347226524: ('0.032674838840125724',), 1347226464: ('0.032674838840125724',), 1347226400: ('0.032674838840125724',), 1347225767: ('0.032674838840125724',), 1347225762: ('0.032674838840125724',), 1347224163: ('0.032674838840125724',), 1347224135: ('0.032674838840125724',), 1347223856: ('0.032674838840125724',), 1347223819: ('0.032674838840125724',), 1347223780: ('0.032674838840125724',), 1347223404: ('0.032674838840125724',), 1347223381: ('0.032674838840125724',), 1347223354: ('0.032674838840125724',), 1347223158: ('0.032674838840125724',), 1347223112: ('0.032674838840125724',), 1347223078: ('0.032674838840125724',), 1347223042: ('0.032674838840125724',), 1347223024: ('0.032674838840125724',), 1347222977: ('0.032674838840125724',), 1347222510: ('0.032674838840125724',), 1347222469: ()} output_args : {1347227141: ('0.032674838840125724',), 1347226710: ('0.032674838840125724',), 1347226688: ('0.032674838840125724',), 1347226682: ('0.032674838840125724',), 1347226675: ('0.032674838840125724',), 1347226595: ('0.032674838840125724',), 1347226589: ('0.032674838840125724',), 1347226572: ('0.032674838840125724',), 1347226524: ('0.032674838840125724',), 1347226464: ('0.032674838840125724',), 1347226400: ('0.032674838840125724',), 1347225767: ('0.032674838840125724',), 1347225762: ('0.032674838840125724',), 1347224163: ('0.032674838840125724',), 1347224135: ('0.032674838840125724',), 1347223856: ('0.032674838840125724',), 1347223819: ('0.032674838840125724',), 1347223780: ('0.032674838840125724',), 1347223404: ('0.032674838840125724',), 1347223381: ('0.032674838840125724',), 1347223354: ('0.032674838840125724',), 1347223158: ('0.032674838840125724',), 1347223112: ('0.032674838840125724',), 1347223078: ('0.032674838840125724',), 1347223042: ('0.032674838840125724',), 1347223024: ('0.032674838840125724',), 1347222977: ('0.032674838840125724',), 1347222510: ('0.032674838840125724',), 1347222469: ('0.032674838840125724',), 1347222357: ('0.032674838840125724',), 1347222331: ('0.032674838840125724',), 1347222306: ('0.032674838840125724',), 1347221965: ('0.032674838840125724',)} args : 1347222469 depend.output_id : 0 input_args_next_step : {1347227141: ('0.032674838840125724',), 1347226710: ('0.032674838840125724',), 1347226688: ('0.032674838840125724',), 1347226682: ('0.032674838840125724',), 1347226675: ('0.032674838840125724',), 1347226595: ('0.032674838840125724',), 1347226589: ('0.032674838840125724',), 1347226572: ('0.032674838840125724',), 1347226524: ('0.032674838840125724',), 1347226464: ('0.032674838840125724',), 1347226400: ('0.032674838840125724',), 1347225767: ('0.032674838840125724',), 1347225762: ('0.032674838840125724',), 1347224163: ('0.032674838840125724',), 1347224135: ('0.032674838840125724',), 1347223856: ('0.032674838840125724',), 1347223819: ('0.032674838840125724',), 1347223780: ('0.032674838840125724',), 1347223404: ('0.032674838840125724',), 1347223381: ('0.032674838840125724',), 1347223354: ('0.032674838840125724',), 1347223158: ('0.032674838840125724',), 1347223112: ('0.032674838840125724',), 1347223078: ('0.032674838840125724',), 1347223042: ('0.032674838840125724',), 1347223024: ('0.032674838840125724',), 1347222977: ('0.032674838840125724',), 1347222510: ('0.032674838840125724',), 1347222469: ('0.032674838840125724',), 1347222357: ()} output_args : {1347227141: ('0.032674838840125724',), 1347226710: ('0.032674838840125724',), 1347226688: ('0.032674838840125724',), 1347226682: ('0.032674838840125724',), 1347226675: ('0.032674838840125724',), 1347226595: ('0.032674838840125724',), 1347226589: ('0.032674838840125724',), 1347226572: ('0.032674838840125724',), 1347226524: ('0.032674838840125724',), 1347226464: ('0.032674838840125724',), 1347226400: ('0.032674838840125724',), 1347225767: ('0.032674838840125724',), 1347225762: ('0.032674838840125724',), 1347224163: ('0.032674838840125724',), 1347224135: ('0.032674838840125724',), 1347223856: ('0.032674838840125724',), 1347223819: ('0.032674838840125724',), 1347223780: ('0.032674838840125724',), 1347223404: ('0.032674838840125724',), 1347223381: ('0.032674838840125724',), 1347223354: ('0.032674838840125724',), 1347223158: ('0.032674838840125724',), 1347223112: ('0.032674838840125724',), 1347223078: ('0.032674838840125724',), 1347223042: ('0.032674838840125724',), 1347223024: ('0.032674838840125724',), 1347222977: ('0.032674838840125724',), 1347222510: ('0.032674838840125724',), 1347222469: ('0.032674838840125724',), 1347222357: ('0.032674838840125724',), 1347222331: ('0.032674838840125724',), 1347222306: ('0.032674838840125724',), 1347221965: ('0.032674838840125724',)} args : 1347222357 depend.output_id : 0 input_args_next_step : {1347227141: ('0.032674838840125724',), 1347226710: ('0.032674838840125724',), 1347226688: ('0.032674838840125724',), 1347226682: ('0.032674838840125724',), 1347226675: ('0.032674838840125724',), 1347226595: ('0.032674838840125724',), 1347226589: ('0.032674838840125724',), 1347226572: ('0.032674838840125724',), 1347226524: ('0.032674838840125724',), 1347226464: ('0.032674838840125724',), 1347226400: ('0.032674838840125724',), 1347225767: ('0.032674838840125724',), 1347225762: ('0.032674838840125724',), 1347224163: ('0.032674838840125724',), 1347224135: ('0.032674838840125724',), 1347223856: ('0.032674838840125724',), 1347223819: ('0.032674838840125724',), 1347223780: ('0.032674838840125724',), 1347223404: ('0.032674838840125724',), 1347223381: ('0.032674838840125724',), 1347223354: ('0.032674838840125724',), 1347223158: ('0.032674838840125724',), 1347223112: ('0.032674838840125724',), 1347223078: ('0.032674838840125724',), 1347223042: ('0.032674838840125724',), 1347223024: ('0.032674838840125724',), 1347222977: ('0.032674838840125724',), 1347222510: ('0.032674838840125724',), 1347222469: ('0.032674838840125724',), 1347222357: ('0.032674838840125724',), 1347222331: ()} output_args : {1347227141: ('0.032674838840125724',), 1347226710: ('0.032674838840125724',), 1347226688: ('0.032674838840125724',), 1347226682: ('0.032674838840125724',), 1347226675: ('0.032674838840125724',), 1347226595: ('0.032674838840125724',), 1347226589: ('0.032674838840125724',), 1347226572: ('0.032674838840125724',), 1347226524: ('0.032674838840125724',), 1347226464: ('0.032674838840125724',), 1347226400: ('0.032674838840125724',), 1347225767: ('0.032674838840125724',), 1347225762: ('0.032674838840125724',), 1347224163: ('0.032674838840125724',), 1347224135: ('0.032674838840125724',), 1347223856: ('0.032674838840125724',), 1347223819: ('0.032674838840125724',), 1347223780: ('0.032674838840125724',), 1347223404: ('0.032674838840125724',), 1347223381: ('0.032674838840125724',), 1347223354: ('0.032674838840125724',), 1347223158: ('0.032674838840125724',), 1347223112: ('0.032674838840125724',), 1347223078: ('0.032674838840125724',), 1347223042: ('0.032674838840125724',), 1347223024: ('0.032674838840125724',), 1347222977: ('0.032674838840125724',), 1347222510: ('0.032674838840125724',), 1347222469: ('0.032674838840125724',), 1347222357: ('0.032674838840125724',), 1347222331: ('0.032674838840125724',), 1347222306: ('0.032674838840125724',), 1347221965: ('0.032674838840125724',)} args : 1347222331 depend.output_id : 0 input_args_next_step : {1347227141: ('0.032674838840125724',), 1347226710: ('0.032674838840125724',), 1347226688: ('0.032674838840125724',), 1347226682: ('0.032674838840125724',), 1347226675: ('0.032674838840125724',), 1347226595: ('0.032674838840125724',), 1347226589: ('0.032674838840125724',), 1347226572: ('0.032674838840125724',), 1347226524: ('0.032674838840125724',), 1347226464: ('0.032674838840125724',), 1347226400: ('0.032674838840125724',), 1347225767: ('0.032674838840125724',), 1347225762: ('0.032674838840125724',), 1347224163: ('0.032674838840125724',), 1347224135: ('0.032674838840125724',), 1347223856: ('0.032674838840125724',), 1347223819: ('0.032674838840125724',), 1347223780: ('0.032674838840125724',), 1347223404: ('0.032674838840125724',), 1347223381: ('0.032674838840125724',), 1347223354: ('0.032674838840125724',), 1347223158: ('0.032674838840125724',), 1347223112: ('0.032674838840125724',), 1347223078: ('0.032674838840125724',), 1347223042: ('0.032674838840125724',), 1347223024: ('0.032674838840125724',), 1347222977: ('0.032674838840125724',), 1347222510: ('0.032674838840125724',), 1347222469: ('0.032674838840125724',), 1347222357: ('0.032674838840125724',), 1347222331: ('0.032674838840125724',), 1347222306: ()} output_args : {1347227141: ('0.032674838840125724',), 1347226710: ('0.032674838840125724',), 1347226688: ('0.032674838840125724',), 1347226682: ('0.032674838840125724',), 1347226675: ('0.032674838840125724',), 1347226595: ('0.032674838840125724',), 1347226589: ('0.032674838840125724',), 1347226572: ('0.032674838840125724',), 1347226524: ('0.032674838840125724',), 1347226464: ('0.032674838840125724',), 1347226400: ('0.032674838840125724',), 1347225767: ('0.032674838840125724',), 1347225762: ('0.032674838840125724',), 1347224163: ('0.032674838840125724',), 1347224135: ('0.032674838840125724',), 1347223856: ('0.032674838840125724',), 1347223819: ('0.032674838840125724',), 1347223780: ('0.032674838840125724',), 1347223404: ('0.032674838840125724',), 1347223381: ('0.032674838840125724',), 1347223354: ('0.032674838840125724',), 1347223158: ('0.032674838840125724',), 1347223112: ('0.032674838840125724',), 1347223078: ('0.032674838840125724',), 1347223042: ('0.032674838840125724',), 1347223024: ('0.032674838840125724',), 1347222977: ('0.032674838840125724',), 1347222510: ('0.032674838840125724',), 1347222469: ('0.032674838840125724',), 1347222357: ('0.032674838840125724',), 1347222331: ('0.032674838840125724',), 1347222306: ('0.032674838840125724',), 1347221965: ('0.032674838840125724',)} args : 1347222306 depend.output_id : 0 input_args_next_step : {1347227141: ('0.032674838840125724',), 1347226710: ('0.032674838840125724',), 1347226688: ('0.032674838840125724',), 1347226682: ('0.032674838840125724',), 1347226675: ('0.032674838840125724',), 1347226595: ('0.032674838840125724',), 1347226589: ('0.032674838840125724',), 1347226572: ('0.032674838840125724',), 1347226524: ('0.032674838840125724',), 1347226464: ('0.032674838840125724',), 1347226400: ('0.032674838840125724',), 1347225767: ('0.032674838840125724',), 1347225762: ('0.032674838840125724',), 1347224163: ('0.032674838840125724',), 1347224135: ('0.032674838840125724',), 1347223856: ('0.032674838840125724',), 1347223819: ('0.032674838840125724',), 1347223780: ('0.032674838840125724',), 1347223404: ('0.032674838840125724',), 1347223381: ('0.032674838840125724',), 1347223354: ('0.032674838840125724',), 1347223158: ('0.032674838840125724',), 1347223112: ('0.032674838840125724',), 1347223078: ('0.032674838840125724',), 1347223042: ('0.032674838840125724',), 1347223024: ('0.032674838840125724',), 1347222977: ('0.032674838840125724',), 1347222510: ('0.032674838840125724',), 1347222469: ('0.032674838840125724',), 1347222357: ('0.032674838840125724',), 1347222331: ('0.032674838840125724',), 1347222306: ('0.032674838840125724',), 1347221965: ()} output_args : {1347227141: ('0.032674838840125724',), 1347226710: ('0.032674838840125724',), 1347226688: ('0.032674838840125724',), 1347226682: ('0.032674838840125724',), 1347226675: ('0.032674838840125724',), 1347226595: ('0.032674838840125724',), 1347226589: ('0.032674838840125724',), 1347226572: ('0.032674838840125724',), 1347226524: ('0.032674838840125724',), 1347226464: ('0.032674838840125724',), 1347226400: ('0.032674838840125724',), 1347225767: ('0.032674838840125724',), 1347225762: ('0.032674838840125724',), 1347224163: ('0.032674838840125724',), 1347224135: ('0.032674838840125724',), 1347223856: ('0.032674838840125724',), 1347223819: ('0.032674838840125724',), 1347223780: ('0.032674838840125724',), 1347223404: ('0.032674838840125724',), 1347223381: ('0.032674838840125724',), 1347223354: ('0.032674838840125724',), 1347223158: ('0.032674838840125724',), 1347223112: ('0.032674838840125724',), 1347223078: ('0.032674838840125724',), 1347223042: ('0.032674838840125724',), 1347223024: ('0.032674838840125724',), 1347222977: ('0.032674838840125724',), 1347222510: ('0.032674838840125724',), 1347222469: ('0.032674838840125724',), 1347222357: ('0.032674838840125724',), 1347222331: ('0.032674838840125724',), 1347222306: ('0.032674838840125724',), 1347221965: ('0.032674838840125724',)} args : 1347221965 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 : {21697624: [{'Teint_Dans_La_Masse': 21697655, 'environnement': 21697656, 'kraft': 21697657, 'Carton_brun': 21697658, 'metal': 21697659, 'papier': 21697660, 'autre_refus': 21697661, 'plastique': 21697662, 'Carton_gris': 21697663, 'flou': 21697664, 'mal_croppe': 21697665, 'cartonnette': 21697666}]} input_args_next_step : {1347227141: ('0.032674838840125724',), 1347226710: ('0.032674838840125724',), 1347226688: ('0.032674838840125724',), 1347226682: ('0.032674838840125724',), 1347226675: ('0.032674838840125724',), 1347226595: ('0.032674838840125724',), 1347226589: ('0.032674838840125724',), 1347226572: ('0.032674838840125724',), 1347226524: ('0.032674838840125724',), 1347226464: ('0.032674838840125724',), 1347226400: ('0.032674838840125724',), 1347225767: ('0.032674838840125724',), 1347225762: ('0.032674838840125724',), 1347224163: ('0.032674838840125724',), 1347224135: ('0.032674838840125724',), 1347223856: ('0.032674838840125724',), 1347223819: ('0.032674838840125724',), 1347223780: ('0.032674838840125724',), 1347223404: ('0.032674838840125724',), 1347223381: ('0.032674838840125724',), 1347223354: ('0.032674838840125724',), 1347223158: ('0.032674838840125724',), 1347223112: ('0.032674838840125724',), 1347223078: ('0.032674838840125724',), 1347223042: ('0.032674838840125724',), 1347223024: ('0.032674838840125724',), 1347222977: ('0.032674838840125724',), 1347222510: ('0.032674838840125724',), 1347222469: ('0.032674838840125724',), 1347222357: ('0.032674838840125724',), 1347222331: ('0.032674838840125724',), 1347222306: ('0.032674838840125724',), 1347221965: ('0.032674838840125724',), 21697624: ()} output_args : {21697624: [{'Teint_Dans_La_Masse': 21697655, 'environnement': 21697656, 'kraft': 21697657, 'Carton_brun': 21697658, 'metal': 21697659, 'papier': 21697660, 'autre_refus': 21697661, 'plastique': 21697662, 'Carton_gris': 21697663, 'flou': 21697664, 'mal_croppe': 21697665, 'cartonnette': 21697666}]} args : 21697624 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 :34, first value : ('0.032674838840125724',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21697624) 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 (1347227141,1347226710,1347226688,1347226682,1347226675,1347226595,1347226589,1347226572,1347226524,1347226464,1347226400,1347225767,1347225762,1347224163,1347224135,1347223856,1347223819,1347223780,1347223404,1347223381,1347223354,1347223158,1347223112,1347223078,1347223042,1347223024,1347222977,1347222510,1347222469,1347222357,1347222331,1347222306,1347221965) Found this number of photos: 33 ##### Call download_photos : nb_thread : 5 begin to download photo : 1347221965 begin to download photo : 1347223024 begin to download photo : 1347223404 begin to download photo : 1347225767 begin to download photo : 1347226675 download finish for photo 1347221965 begin to download photo : 1347222306 download finish for photo 1347226675 begin to download photo : 1347226682 download finish for photo 1347223404 begin to download photo : 1347223780 download finish for photo 1347225767 begin to download photo : 1347226400 download finish for photo 1347223024 begin to download photo : 1347223042 download finish for photo 1347226682 begin to download photo : 1347226688 download finish for photo 1347223780 begin to download photo : 1347223819 download finish for photo 1347223042 begin to download photo : 1347223078 download finish for photo 1347226400 begin to download photo : 1347226464 download finish for photo 1347222306 begin to download photo : 1347222331 download finish for photo 1347223819 begin to download photo : 1347223856 download finish for photo 1347226688 begin to download photo : 1347226710 download finish for photo 1347223078 begin to download photo : 1347223112 download finish for photo 1347222331 begin to download photo : 1347222357 download finish for photo 1347226464 begin to download photo : 1347226524 download finish for photo 1347226710 begin to download photo : 1347227141 download finish for photo 1347223856 begin to download photo : 1347224135 download finish for photo 1347223112 begin to download photo : 1347223158 download finish for photo 1347222357 begin to download photo : 1347222469 download finish for photo 1347226524 begin to download photo : 1347226572 download finish for photo 1347224135 begin to download photo : 1347224163 download finish for photo 1347227141 download finish for photo 1347223158 begin to download photo : 1347223354 download finish for photo 1347222469 begin to download photo : 1347222510 download finish for photo 1347226572 begin to download photo : 1347226589 download finish for photo 1347224163 begin to download photo : 1347225762 download finish for photo 1347223354 begin to download photo : 1347223381 download finish for photo 1347222510 begin to download photo : 1347222977 download finish for photo 1347226589 begin to download photo : 1347226595 download finish for photo 1347225762 download finish for photo 1347223381 download finish for photo 1347222977 download finish for photo 1347226595 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette216976571742964449/ imagette216976591742964449/ length of list_filenames : 33 ; length of list_pids : 33 ; length of list_args : 33 results_Auto_P21697624_26-03-2025_05_47_29.pdf 21697657 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=21697657 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette216976571742964449 21697659 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=21697659 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette216976591742964449 21697661 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=21697661 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1347228539: '1742916032_721394_1347226524_908889fd9b05ab17e3350f7f89242336_rle_crop_3729378972_0.png', 1347228542: '1742916053_721780_1347225762_cd08dd35e124f30511d81dd41ad415ca_rle_crop_3729379145_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/6800b97110f7b2e3b86b60c5e0c6a54b_98311915.png change filename to text .imagette216976611742964449/ imagette216976611742964449/1742916032_721394_1347226524_908889fd9b05ab17e3350f7f89242336_rle_crop_3729378972_0.png.png imagette216976611742964449/1742916053_721780_1347225762_cd08dd35e124f30511d81dd41ad415ca_rle_crop_3729379145_0.png.png wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/7c0ac4367a16c72671d618cb50768c2c_69097339.png imagette216976611742964449 21697662 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=21697662 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1347226887: '1742915774_711002_1347224135_620653323ecb3383ad4801c8c5f987d9_rle_crop_3729364702_0.png', 1347227969: '1742915991_720637_1347226682_3450e9242bdc537524825fbfdf9c750a_rle_crop_3729369374_0.png', 1347227970: '1742915991_720637_1347226682_3450e9242bdc537524825fbfdf9c750a_rle_crop_3729374668_0.png', 1347227971: '1742915991_720637_1347226682_3450e9242bdc537524825fbfdf9c750a_bib_crop_3729369376_0.jpg', 1347227972: '1742915991_720637_1347226675_8d3ec3c941552442742a5f2abb0cea6a_rle_crop_3729369381_0.png', 1347234547: '1742917594_749193_1347224163_3c7c8908f8b8ebeac4767c344cbcdecb_rle_crop_3729404997_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/9dca637c98695c3eeaeffe4e835bc910_61579084.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/98fbcc76920b2f73707269e6c3ec1e4c_35338236.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/bec790e75752f7c20754ff1feab3b28b_8399469.png change filename to text .wget -O 4.jpg http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/c5256e1edffb84309f379ec8634a27c4_48380132.jpg change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/2d85cbfcdb41dc479e3e1560f7f5c57b_35502769.png change filename to text .imagette216976621742964449/ imagette216976621742964449/1742915991_720637_1347226682_3450e9242bdc537524825fbfdf9c750a_bib_crop_3729369376_0.jpg.jpg imagette216976621742964449/1742915774_711002_1347224135_620653323ecb3383ad4801c8c5f987d9_rle_crop_3729364702_0.png.png imagette216976621742964449/1742915991_720637_1347226682_3450e9242bdc537524825fbfdf9c750a_rle_crop_3729374668_0.png.png imagette216976621742964449/1742915991_720637_1347226675_8d3ec3c941552442742a5f2abb0cea6a_rle_crop_3729369381_0.png.png imagette216976621742964449/1742915991_720637_1347226682_3450e9242bdc537524825fbfdf9c750a_rle_crop_3729369374_0.png.png imagette216976621742964449/1742917594_749193_1347224163_3c7c8908f8b8ebeac4767c344cbcdecb_rle_crop_3729404997_0.png.png imagette216976641742964449/ imagette216976651742964449/ wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/7d350ea8aac5d02ef5f8f06984d5cb91_6655465.png imagette216976621742964449 21697664 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=21697664 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette216976641742964449 21697665 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=21697665 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette216976651742964449 21697666 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=21697666 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1347224474: '1742915314_704390_1347223078_97adf489386d1ba0cde37b6df5fe8766_rle_crop_3729347577_0.png', 1347227949: '1742915991_720637_1347226688_9273aacb57bda6ba7650764045cae958_rle_crop_3729369331_0.png', 1347228580: '1742916032_721394_1347226464_ac2b717e4f1cbc20336abaf0edbd8ac4_rle_crop_3729379030_0.png', 1347228581: '1742916032_721394_1347226464_ac2b717e4f1cbc20336abaf0edbd8ac4_rle_crop_3729379031_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/faa5504587b7a220dd3592f4ad1640e3_22815023.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/b3e5b40ae4f8140cebb5b2524ace5fb4_61172722.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/3ad38fca223ef32769b6bb12c9f3e65c_37833378.png change filename to text .imagette216976661742964449/ imagette216976661742964449/1742915314_704390_1347223078_97adf489386d1ba0cde37b6df5fe8766_rle_crop_3729347577_0.png.png imagette216976661742964449/1742915991_720637_1347226688_9273aacb57bda6ba7650764045cae958_rle_crop_3729369331_0.png.png imagette216976661742964449/1742916032_721394_1347226464_ac2b717e4f1cbc20336abaf0edbd8ac4_rle_crop_3729379030_0.png.png imagette216976661742964449/1742916032_721394_1347226464_ac2b717e4f1cbc20336abaf0edbd8ac4_rle_crop_3729379031_0.png.png wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/90b0f7af9797c6179e0e8706ac65e1e2_97419413.png imagette216976661742964449 21697655 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=21697655 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1347228523: '1742916032_721394_1347226589_f45c0ee4bd7546282446eb70f9f8ba17_rle_crop_3729378874_0.png', 1347234583: '1742917611_749367_1347222306_865816ce5ce3d85a89696cfb73a2fad0_rle_crop_3729344532_0.png', 1347234582: '1742917611_749367_1347222306_865816ce5ce3d85a89696cfb73a2fad0_rle_crop_3729344534_0.png', 1347234581: '1742917611_749367_1347222306_865816ce5ce3d85a89696cfb73a2fad0_rle_crop_3729344536_0.png', 1347234580: '1742917611_749367_1347223158_91645af172d16d3967c98ba785845f4b_rle_crop_3729405723_0.png', 1347234546: '1742917594_749193_1347223780_cef065afde58e7271bf12738b0a9a9c3_rle_crop_3729346672_0.png', 1347228530: '1742916053_721780_1347225762_cd08dd35e124f30511d81dd41ad415ca_rle_crop_3729379150_0.png', 1347228529: '1742916053_721780_1347226595_4336202eea34bfa22ae9d7f70057e93c_rle_crop_3729379076_0.png', 1347228528: '1742916053_721780_1347226595_4336202eea34bfa22ae9d7f70057e93c_rle_crop_3729379075_0.png', 1347228527: '1742916053_721780_1347226595_4336202eea34bfa22ae9d7f70057e93c_rle_crop_3729379073_0.png', 1347228524: '1742916032_721394_1347226400_17cad4510fd9039db567b4599cc109d2_rle_crop_3729379138_0.png', 1347223854: '1742915191_702621_1347222306_865816ce5ce3d85a89696cfb73a2fad0_rle_crop_3729344536_0.png', 1347227926: '1742915991_720637_1347226682_3450e9242bdc537524825fbfdf9c750a_rle_crop_3729369373_0.png', 1347224464: '1742915314_704390_1347223024_a4dbdb6f027d5dd95ed242fcebc450f9_rle_crop_3729347609_0.png', 1347224463: '1742915314_704390_1347223404_99f58bd2528923af49633eb5bda5c1e2_rle_crop_3729347518_0.png', 1347224372: '1742915323_2438396_1347223354_dbedba03bbef948dcf41a4912ee83159_rle_crop_3729347299_0.png', 1347224368: '1742915323_2438396_1347223354_dbedba03bbef948dcf41a4912ee83159_rle_crop_3729347298_0.png', 1347224362: '1742915323_2438396_1347223381_167771a38c79a4c0afa18aa1ba42d95b_rle_crop_3729347286_0.png', 1347224330: '1742915294_703802_1347223780_cef065afde58e7271bf12738b0a9a9c3_rle_crop_3729346672_0.png', 1347223858: '1742915191_702621_1347222306_865816ce5ce3d85a89696cfb73a2fad0_rle_crop_3729344532_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/b9a72f3216e73cf4056bb85e87c3301a_29231611.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/e4b77209b56cf38829137ac842228cf6_66747270.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/68bf793e2489dae6b28f47f102b6b8c3_7730995.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/26b4ffb6f3e80329a0dbe98f7e56d84e_49126315.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/c214d6ece162d846f17873f41c80c3ef_69185864.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/88325cd0e6706a1f72537ed409990953_91502301.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/44d27315cc0a02025f0676c3fb715bda_90908501.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/47787e71f9a32a4dfd48fb8163c432b0_18732047.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/d7e4e926466a4b08265e11266a53b944_50007120.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/ef02a24c7a539754dc06addd60de56ea_27862133.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/d54c2d002f003cf3e8aa151291bac67f_3604449.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/26b4ffb6f3e80329a0dbe98f7e56d84e_56639827.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/59625602857f17b8d738817f0dab6054_78471734.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/8e614a159cc0d988c0ee35bd89f7ccbb_68660683.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/0bb319f9d6324b11bac30b93e3e0f6e1_30767858.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/2bb61d909e01ebb7c12394fbcf4a87a3_39507807.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/b354c34ea9d9b88c990a0ee182eb51a8_60945490.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/369b093de582781cf1e7cba4eabd5237_15838350.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/88325cd0e6706a1f72537ed409990953_18238006.png change filename to text .imagette216976551742964450/ imagette216976551742964450/1742915314_704390_1347223404_99f58bd2528923af49633eb5bda5c1e2_rle_crop_3729347518_0.png.png imagette216976551742964450/1742915294_703802_1347223780_cef065afde58e7271bf12738b0a9a9c3_rle_crop_3729346672_0.png.png imagette216976551742964450/1742915314_704390_1347223024_a4dbdb6f027d5dd95ed242fcebc450f9_rle_crop_3729347609_0.png.png imagette216976551742964450/1742916032_721394_1347226400_17cad4510fd9039db567b4599cc109d2_rle_crop_3729379138_0.png.png imagette216976551742964450/1742916053_721780_1347226595_4336202eea34bfa22ae9d7f70057e93c_rle_crop_3729379075_0.png.png imagette216976551742964450/1742915991_720637_1347226682_3450e9242bdc537524825fbfdf9c750a_rle_crop_3729369373_0.png.png imagette216976551742964450/1742916053_721780_1347225762_cd08dd35e124f30511d81dd41ad415ca_rle_crop_3729379150_0.png.png imagette216976551742964450/1742915191_702621_1347222306_865816ce5ce3d85a89696cfb73a2fad0_rle_crop_3729344536_0.png.png imagette216976551742964450/1742917611_749367_1347222306_865816ce5ce3d85a89696cfb73a2fad0_rle_crop_3729344536_0.png.png imagette216976551742964450/1742916053_721780_1347226595_4336202eea34bfa22ae9d7f70057e93c_rle_crop_3729379076_0.png.png imagette216976551742964450/1742916053_721780_1347226595_4336202eea34bfa22ae9d7f70057e93c_rle_crop_3729379073_0.png.png imagette216976551742964450/1742917611_749367_1347222306_865816ce5ce3d85a89696cfb73a2fad0_rle_crop_3729344534_0.png.png imagette216976551742964450/1742916032_721394_1347226589_f45c0ee4bd7546282446eb70f9f8ba17_rle_crop_3729378874_0.png.png imagette216976551742964450/1742917611_749367_1347223158_91645af172d16d3967c98ba785845f4b_rle_crop_3729405723_0.png.png imagette216976551742964450/1742917611_749367_1347222306_865816ce5ce3d85a89696cfb73a2fad0_rle_crop_3729344532_0.png.png imagette216976551742964450/1742917594_749193_1347223780_cef065afde58e7271bf12738b0a9a9c3_rle_crop_3729346672_0.png.png imagette216976551742964450/1742915323_2438396_1347223354_dbedba03bbef948dcf41a4912ee83159_rle_crop_3729347298_0.png.png imagette216976551742964450/1742915191_702621_1347222306_865816ce5ce3d85a89696cfb73a2fad0_rle_crop_3729344532_0.png.png imagette216976551742964450/1742915323_2438396_1347223381_167771a38c79a4c0afa18aa1ba42d95b_rle_crop_3729347286_0.png.png imagette216976551742964450/1742915323_2438396_1347223354_dbedba03bbef948dcf41a4912ee83159_rle_crop_3729347299_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/e4b77209b56cf38829137ac842228cf6_22900025.png imagette216976551742964450 21697658 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=21697658 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1347223675: '1742915203_2435161_1347221965_aed4ecefef9d1eb0be570a28dfd0e205_rle_crop_3729343781_0.png', 1347227958: '1742915991_720637_1347227141_8799a8d936abdab9e1b320af2ed100ee_rle_crop_3729374189_0.png', 1347227959: '1742915991_720637_1347226675_8d3ec3c941552442742a5f2abb0cea6a_rle_crop_3729369386_0.png', 1347228551: '1742916053_721780_1347225762_cd08dd35e124f30511d81dd41ad415ca_rle_crop_3729379149_0.png', 1347234697: '1742917611_749367_1347223158_91645af172d16d3967c98ba785845f4b_rle_crop_3729405720_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/dfd4063fd217369f9025afe8ca468436_60426327.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/90468673196e6970c57eea18a4bbfdb4_93092093.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/7034cbac7d6971b96c8316e9d3d854c4_71626292.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/e0306e26853c990a1675bf4b2bf71321_2651838.png change filename to text .imagette216976581742964452/ imagette216976581742964452/1742915203_2435161_1347221965_aed4ecefef9d1eb0be570a28dfd0e205_rle_crop_3729343781_0.png.png imagette216976581742964452/1742917611_749367_1347223158_91645af172d16d3967c98ba785845f4b_rle_crop_3729405720_0.png.png imagette216976581742964452/1742915991_720637_1347226675_8d3ec3c941552442742a5f2abb0cea6a_rle_crop_3729369386_0.png.png imagette216976581742964452/1742915991_720637_1347227141_8799a8d936abdab9e1b320af2ed100ee_rle_crop_3729374189_0.png.png imagette216976581742964452/1742916053_721780_1347225762_cd08dd35e124f30511d81dd41ad415ca_rle_crop_3729379149_0.png.png wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/92776627cf00e544bba1c1c9ae0bc4ae_74239149.png imagette216976581742964452 21697663 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=21697663 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1347226832: '1742915774_711002_1347225767_fccff6f84564069c4e01a9242468c285_rle_crop_3729363038_0.png', 1347226834: '1742915774_711002_1347224135_620653323ecb3383ad4801c8c5f987d9_rle_crop_3729364704_0.png', 1347227939: '1742915991_720637_1347227141_8799a8d936abdab9e1b320af2ed100ee_rle_crop_3729374181_0.png', 1347227941: '1742915991_720637_1347226688_9273aacb57bda6ba7650764045cae958_rle_crop_3729369328_0.png', 1347227942: '1742915991_720637_1347226675_8d3ec3c941552442742a5f2abb0cea6a_rle_crop_3729369383_0.png', 1347228555: '1742916032_721394_1347226572_845272759e2d2519bf970da2b43fe565_rle_crop_3729378934_0.png', 1347228557: '1742916032_721394_1347226464_ac2b717e4f1cbc20336abaf0edbd8ac4_rle_crop_3729379028_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/50ec1f7317896d384a2ce51bec5662f5_98634153.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/0084f5d0f240ecfc8201ef0825bcffa9_89370845.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/c0ce57e0acebf4ac080c03dd37da7a4b_98346663.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/ef9e106c16ec8231febba2f30b9fa80a_25955093.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/98c676789eec40f7bec27aa24151d0e5_46276225.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/0287394de53a5dd9fb69ab2f45b9c1d1_56626167.png change filename to text .imagette216976631742964453/ imagette216976631742964453/1742915991_720637_1347227141_8799a8d936abdab9e1b320af2ed100ee_rle_crop_3729374181_0.png.png imagette216976631742964453/1742915991_720637_1347226675_8d3ec3c941552442742a5f2abb0cea6a_rle_crop_3729369383_0.png.png imagette216976631742964453/1742916032_721394_1347226572_845272759e2d2519bf970da2b43fe565_rle_crop_3729378934_0.png.png imagette216976631742964453/1742915774_711002_1347224135_620653323ecb3383ad4801c8c5f987d9_rle_crop_3729364704_0.png.png imagette216976631742964453/1742915991_720637_1347226688_9273aacb57bda6ba7650764045cae958_rle_crop_3729369328_0.png.png imagette216976631742964453/1742915774_711002_1347225767_fccff6f84564069c4e01a9242468c285_rle_crop_3729363038_0.png.png imagette216976631742964453/1742916032_721394_1347226464_ac2b717e4f1cbc20336abaf0edbd8ac4_rle_crop_3729379028_0.png.png wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/fc66d193ef847cd55f243e7ff5d11d7b_40864781.png imagette216976631742964453 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=21697624 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/21697695,21697697,21697698,21697699,21697700,21697702,21697703,21697704,21697705,21697706,21697707,21697708?tags=Teint_Dans_La_Masse,environnement,kraft,Carton_brun,metal,papier,autre_refus,plastique,Carton_gris,flou,mal_croppe,cartonnette your option no_mail is active, we will not send the real mail to your client args[1347227141] : ('0.032674838840125724',) no score found for photo 1347227141 We are sending mail with results at report@fotonower.com args[1347226710] : ('0.032674838840125724',) no score found for photo 1347226710 We are sending mail with results at report@fotonower.com args[1347226688] : ('0.032674838840125724',) no score found for photo 1347226688 We are sending mail with results at report@fotonower.com args[1347226682] : ('0.032674838840125724',) no score found for photo 1347226682 We are sending mail with results at report@fotonower.com args[1347226675] : ('0.032674838840125724',) no score found for photo 1347226675 We are sending mail with results at report@fotonower.com args[1347226595] : ('0.032674838840125724',) no score found for photo 1347226595 We are sending mail with results at report@fotonower.com args[1347226589] : ('0.032674838840125724',) no score found for photo 1347226589 We are sending mail with results at report@fotonower.com args[1347226572] : ('0.032674838840125724',) no score found for photo 1347226572 We are sending mail with results at report@fotonower.com args[1347226524] : ('0.032674838840125724',) no score found for photo 1347226524 We are sending mail with results at report@fotonower.com args[1347226464] : ('0.032674838840125724',) no score found for photo 1347226464 We are sending mail with results at report@fotonower.com args[1347226400] : ('0.032674838840125724',) no score found for photo 1347226400 We are sending mail with results at report@fotonower.com args[1347225767] : ('0.032674838840125724',) no score found for photo 1347225767 We are sending mail with results at report@fotonower.com args[1347225762] : ('0.032674838840125724',) no score found for photo 1347225762 We are sending mail with results at report@fotonower.com args[1347224163] : ('0.032674838840125724',) no score found for photo 1347224163 We are sending mail with results at report@fotonower.com args[1347224135] : ('0.032674838840125724',) no score found for photo 1347224135 We are sending mail with results at report@fotonower.com args[1347223856] : ('0.032674838840125724',) no score found for photo 1347223856 We are sending mail with results at report@fotonower.com args[1347223819] : ('0.032674838840125724',) no score found for photo 1347223819 We are sending mail with results at report@fotonower.com args[1347223780] : ('0.032674838840125724',) no score found for photo 1347223780 We are sending mail with results at report@fotonower.com args[1347223404] : ('0.032674838840125724',) no score found for photo 1347223404 We are sending mail with results at report@fotonower.com args[1347223381] : ('0.032674838840125724',) no score found for photo 1347223381 We are sending mail with results at report@fotonower.com args[1347223354] : ('0.032674838840125724',) no score found for photo 1347223354 We are sending mail with results at report@fotonower.com args[1347223158] : ('0.032674838840125724',) no score found for photo 1347223158 We are sending mail with results at report@fotonower.com args[1347223112] : ('0.032674838840125724',) no score found for photo 1347223112 We are sending mail with results at report@fotonower.com args[1347223078] : ('0.032674838840125724',) no score found for photo 1347223078 We are sending mail with results at report@fotonower.com args[1347223042] : ('0.032674838840125724',) no score found for photo 1347223042 We are sending mail with results at report@fotonower.com args[1347223024] : ('0.032674838840125724',) no score found for photo 1347223024 We are sending mail with results at report@fotonower.com args[1347222977] : ('0.032674838840125724',) no score found for photo 1347222977 We are sending mail with results at report@fotonower.com args[1347222510] : ('0.032674838840125724',) no score found for photo 1347222510 We are sending mail with results at report@fotonower.com args[1347222469] : ('0.032674838840125724',) no score found for photo 1347222469 We are sending mail with results at report@fotonower.com args[1347222357] : ('0.032674838840125724',) no score found for photo 1347222357 We are sending mail with results at report@fotonower.com args[1347222331] : ('0.032674838840125724',) no score found for photo 1347222331 We are sending mail with results at report@fotonower.com args[1347222306] : ('0.032674838840125724',) no score found for photo 1347222306 We are sending mail with results at report@fotonower.com args[1347221965] : ('0.032674838840125724',) no score found for photo 1347221965 We are sending mail with results at report@fotonower.com refus_total : 0.032674838840125724 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=21697624 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_P21697624_26-03-2025_05_47_29.pdf results_Auto_P21697624_26-03-2025_05_47_29.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21697624_26-03-2025_05_47_29.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','21697624','results_Auto_P21697624_26-03-2025_05_47_29.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21697624_26-03-2025_05_47_29.pdf','pdf','','0.34','0.032674838840125724') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21697624]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1347227141, 1347226710, 1347226688, 1347226682, 1347226675, 1347226595, 1347226589, 1347226572, 1347226524, 1347226464, 1347226400, 1347225767, 1347225762, 1347224163, 1347224135, 1347223856, 1347223819, 1347223780, 1347223404, 1347223381, 1347223354, 1347223158, 1347223112, 1347223078, 1347223042, 1347223024, 1347222977, 1347222510, 1347222469, 1347222357, 1347222331, 1347222306, 1347221965] map_info['map_portfolio_photo'] : {21697624: [1347227141, 1347226710, 1347226688, 1347226682, 1347226675, 1347226595, 1347226589, 1347226572, 1347226524, 1347226464, 1347226400, 1347225767, 1347225762, 1347224163, 1347224135, 1347223856, 1347223819, 1347223780, 1347223404, 1347223381, 1347223354, 1347223158, 1347223112, 1347223078, 1347223042, 1347223024, 1347222977, 1347222510, 1347222469, 1347222357, 1347222331, 1347222306, 1347221965]} final : False mtd_id 4302 list_pids : [1347227141, 1347226710, 1347226688, 1347226682, 1347226675, 1347226595, 1347226589, 1347226572, 1347226524, 1347226464, 1347226400, 1347225767, 1347225762, 1347224163, 1347224135, 1347223856, 1347223819, 1347223780, 1347223404, 1347223381, 1347223354, 1347223158, 1347223112, 1347223078, 1347223042, 1347223024, 1347222977, 1347222510, 1347222469, 1347222357, 1347222331, 1347222306, 1347221965] 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, '2691597') ('4302', '21697624', '1347227141', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347226710', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347226688', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347226682', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347226675', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347226595', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347226589', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347226572', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347226524', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347226464', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347226400', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347225767', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347225762', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347224163', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347224135', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347223856', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347223819', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347223780', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347223404', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347223381', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347223354', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347223158', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347223112', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347223078', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347223042', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347223024', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347222977', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347222510', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347222469', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347222357', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347222331', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347222306', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347221965', None, None, None, None, None, '2691597') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 33 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', '21697624', '1347227141', None, None, None, None, None, '2691597'), ('4302', '21697624', '1347226710', None, None, None, None, None, '2691597'), ('4302', '21697624', '1347226688', None, None, None, None, None, '2691597'), ('4302', '21697624', '1347226682', None, None, None, None, None, '2691597'), ('4302', '21697624', '1347226675', None, None, None, None, None, '2691597'), ('4302', '21697624', '1347226595', None, None, None, None, None, '2691597'), ('4302', '21697624', '1347226589', None, None, None, None, None, '2691597'), ('4302', '21697624', '1347226572', None, None, None, None, None, '2691597'), ('4302', '21697624', '1347226524', None, None, None, None, None, '2691597'), ('4302', '21697624', '1347226464', None, None, None, None, None, '2691597'), ('4302', '21697624', '1347226400', None, None, None, None, None, '2691597'), ('4302', '21697624', '1347225767', None, None, None, None, None, '2691597'), ('4302', '21697624', '1347225762', None, None, None, None, None, '2691597'), ('4302', '21697624', '1347224163', None, None, None, None, None, '2691597'), ('4302', '21697624', '1347224135', None, None, None, None, None, '2691597'), ('4302', '21697624', '1347223856', None, None, None, None, None, '2691597'), ('4302', '21697624', '1347223819', None, None, None, None, None, '2691597'), ('4302', '21697624', '1347223780', None, None, None, None, None, '2691597'), ('4302', '21697624', '1347223404', None, None, None, None, None, '2691597'), ('4302', '21697624', '1347223381', None, None, None, None, None, '2691597'), ('4302', '21697624', '1347223354', None, None, None, None, None, '2691597'), ('4302', '21697624', '1347223158', None, None, None, None, None, '2691597'), ('4302', '21697624', '1347223112', None, None, None, None, None, '2691597'), ('4302', '21697624', '1347223078', None, None, None, None, None, '2691597'), ('4302', '21697624', '1347223042', None, None, None, None, None, '2691597'), ('4302', '21697624', '1347223024', None, None, None, None, None, '2691597'), ('4302', '21697624', '1347222977', None, None, None, None, None, '2691597'), ('4302', '21697624', '1347222510', None, None, None, None, None, '2691597'), ('4302', '21697624', '1347222469', None, None, None, None, None, '2691597'), ('4302', '21697624', '1347222357', None, None, None, None, None, '2691597'), ('4302', '21697624', '1347222331', None, None, None, None, None, '2691597'), ('4302', '21697624', '1347222306', None, None, None, None, None, '2691597'), ('4302', '21697624', '1347221965', None, None, None, None, None, '2691597')] time used for this insertion : 0.021762847900390625 save_final save missing photos in datou_result : time spend for datou_step_exec : 7.865427017211914 time spend to save output : 0.022131919860839844 total time spend for step 4 : 7.887558937072754 step5:split_time_score Wed Mar 26 05:47:35 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 : ['21697624'] 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 : [('21697624',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21697624) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1347226675: {'path': 'temp/1742964447_1301526_1347226675_8d3ec3c941552442742a5f2abb0cea6a.jpg', 'extension': 'jpg'}, 1347226682: {'path': 'temp/1742964447_1301526_1347226682_3450e9242bdc537524825fbfdf9c750a.jpg', 'extension': 'jpg'}, 1347226688: {'path': 'temp/1742964447_1301526_1347226688_9273aacb57bda6ba7650764045cae958.jpg', 'extension': 'jpg'}, 1347226710: {'path': 'temp/1742964447_1301526_1347226710_3139b8f5bf9321b9df8ddfad43028763.jpg', 'extension': 'jpg'}, 1347227141: {'path': 'temp/1742964447_1301526_1347227141_8799a8d936abdab9e1b320af2ed100ee.jpg', 'extension': 'jpg'}, 1347223404: {'path': 'temp/1742964447_1301526_1347223404_99f58bd2528923af49633eb5bda5c1e2.jpg', 'extension': 'jpg'}, 1347223780: {'path': 'temp/1742964447_1301526_1347223780_cef065afde58e7271bf12738b0a9a9c3.jpg', 'extension': 'jpg'}, 1347223819: {'path': 'temp/1742964447_1301526_1347223819_ec06c41c5081fb463c806b360b0e76db.jpg', 'extension': 'jpg'}, 1347223856: {'path': 'temp/1742964447_1301526_1347223856_b6e9b49731a91f341de6ad6894274764.jpg', 'extension': 'jpg'}, 1347224135: {'path': 'temp/1742964447_1301526_1347224135_620653323ecb3383ad4801c8c5f987d9.jpg', 'extension': 'jpg'}, 1347224163: {'path': 'temp/1742964447_1301526_1347224163_3c7c8908f8b8ebeac4767c344cbcdecb.jpg', 'extension': 'jpg'}, 1347225762: {'path': 'temp/1742964447_1301526_1347225762_cd08dd35e124f30511d81dd41ad415ca.jpg', 'extension': 'jpg'}, 1347223024: {'path': 'temp/1742964447_1301526_1347223024_a4dbdb6f027d5dd95ed242fcebc450f9.jpg', 'extension': 'jpg'}, 1347223042: {'path': 'temp/1742964447_1301526_1347223042_1aebb91f2a7625ba80dbbaf8f33bd33a.jpg', 'extension': 'jpg'}, 1347223078: {'path': 'temp/1742964447_1301526_1347223078_97adf489386d1ba0cde37b6df5fe8766.jpg', 'extension': 'jpg'}, 1347223112: {'path': 'temp/1742964447_1301526_1347223112_64e9335d00b3516dc57a53861c29cf4e.jpg', 'extension': 'jpg'}, 1347223158: {'path': 'temp/1742964447_1301526_1347223158_91645af172d16d3967c98ba785845f4b.jpg', 'extension': 'jpg'}, 1347223354: {'path': 'temp/1742964447_1301526_1347223354_dbedba03bbef948dcf41a4912ee83159.jpg', 'extension': 'jpg'}, 1347223381: {'path': 'temp/1742964447_1301526_1347223381_167771a38c79a4c0afa18aa1ba42d95b.jpg', 'extension': 'jpg'}, 1347221965: {'path': 'temp/1742964447_1301526_1347221965_aed4ecefef9d1eb0be570a28dfd0e205.jpg', 'extension': 'jpg'}, 1347222306: {'path': 'temp/1742964447_1301526_1347222306_865816ce5ce3d85a89696cfb73a2fad0.jpg', 'extension': 'jpg'}, 1347222331: {'path': 'temp/1742964447_1301526_1347222331_d5a76ae486c6c1e7ac79f7b5e4d0611b.jpg', 'extension': 'jpg'}, 1347222357: {'path': 'temp/1742964447_1301526_1347222357_b87c93df5cb265bca908ce392b5e4ae2.jpg', 'extension': 'jpg'}, 1347222469: {'path': 'temp/1742964447_1301526_1347222469_756195eb74e70f4318a76680745e98a7.jpg', 'extension': 'jpg'}, 1347222510: {'path': 'temp/1742964447_1301526_1347222510_25020e93ac719a15ceb0e8f8d8334c3e.jpg', 'extension': 'jpg'}, 1347222977: {'path': 'temp/1742964447_1301526_1347222977_75076a7434135a34d82f2feeb355cfc1.jpg', 'extension': 'jpg'}, 1347225767: {'path': 'temp/1742964447_1301526_1347225767_fccff6f84564069c4e01a9242468c285.jpg', 'extension': 'jpg'}, 1347226400: {'path': 'temp/1742964447_1301526_1347226400_17cad4510fd9039db567b4599cc109d2.jpg', 'extension': 'jpg'}, 1347226464: {'path': 'temp/1742964447_1301526_1347226464_ac2b717e4f1cbc20336abaf0edbd8ac4.jpg', 'extension': 'jpg'}, 1347226524: {'path': 'temp/1742964447_1301526_1347226524_908889fd9b05ab17e3350f7f89242336.jpg', 'extension': 'jpg'}, 1347226572: {'path': 'temp/1742964447_1301526_1347226572_845272759e2d2519bf970da2b43fe565.jpg', 'extension': 'jpg'}, 1347226589: {'path': 'temp/1742964447_1301526_1347226589_f45c0ee4bd7546282446eb70f9f8ba17.jpg', 'extension': 'jpg'}, 1347226595: {'path': 'temp/1742964447_1301526_1347226595_4336202eea34bfa22ae9d7f70057e93c.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 = 21697624; (('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 = 21697624 group by h (('16', 33),) 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=21697624 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 (21697624) 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 (21697624) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 25032025 21697624 Nombre de photos uploadées : 33 / 23040 (0%) 25032025 21697624 Nombre de photos taguées (types de déchets): 0 / 33 (0%) 25032025 21697624 Nombre de photos taguées (volume) : 0 / 33 (0%) [{'photo_id': 1347221965, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/aed4ecefef9d1eb0be570a28dfd0e205.jpg', 'username': None, 'uploaded_at': 1742914992, 'text': 'image_25032025_16_01_24_010138m0.jpg 1e-05 for time 1, id_amount 3 this amount prod time diff : 1e-05'}, {'photo_id': 1347222510, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/25020e93ac719a15ceb0e8f8d8334c3e.jpg', 'username': None, 'uploaded_at': 1742915052, 'text': 'image_25032025_16_01_34_010140m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1347222469, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/756195eb74e70f4318a76680745e98a7.jpg', 'username': None, 'uploaded_at': 1742915052, 'text': 'image_25032025_16_02_13_010140m0.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1347222357, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/b87c93df5cb265bca908ce392b5e4ae2.jpg', 'username': None, 'uploaded_at': 1742915052, 'text': 'image_25032025_16_02_24_010133m0.jpg 4e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 3.0994415283203125e-06 elapsed_time : order_list_meta_photo_and_scores 7.3909759521484375e-06 ????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0017690658569335938 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 21697624, '2025-03-25' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1685799,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.02821063995361328 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= 1685799 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1685799, 'dashboard_run_id': 1697247, 'mtr_portfolio_id': 21677868, 'dashboard_result_id': 9627905, '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_P21677868_26-03-2025_05_34_36.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21677881, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21677882, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21677883, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21677884, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21677885, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21677886, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21677887, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21677888, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21677889, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21677890, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21677891, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21677892, 'pht': 3726}}"}, {'dashboat_entry_day': 1685799, 'dashboard_run_id': 1697247, 'mtr_portfolio_id': 21677990, 'dashboard_result_id': 9627906, '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_P21677990_26-03-2025_05_35_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21678027, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21678028, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21678029, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21678030, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21678031, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21678032, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21678033, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21678034, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21678035, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21678036, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21678037, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21678038, 'pht': 3726}}"}, {'dashboat_entry_day': 1685799, 'dashboard_run_id': 1697247, 'mtr_portfolio_id': 21678453, 'dashboard_result_id': 9627907, '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_P21678453_26-03-2025_05_35_33.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21678478, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21678479, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21678480, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21678481, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21678482, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21678483, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21678484, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21678485, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21678486, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21678487, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21678488, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21678489, 'pht': 3726}}"}, {'dashboat_entry_day': 1685799, 'dashboard_run_id': 1697247, 'mtr_portfolio_id': 21678764, 'dashboard_result_id': 9627908, '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_P21678764_26-03-2025_05_36_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21678790, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21678791, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21678792, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21678793, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21678794, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21678795, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21678796, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21678797, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21678798, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21678799, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21678800, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21678801, 'pht': 3726}}"}, {'dashboat_entry_day': 1685799, 'dashboard_run_id': 1697247, 'mtr_portfolio_id': 21679339, 'dashboard_result_id': 9627909, '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_P21679339_26-03-2025_05_36_36.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21679340, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21679341, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21679342, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21679343, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21679344, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21679345, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21679346, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21679347, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21679348, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21679349, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21679350, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21679351, 'pht': 3726}}"}, {'dashboat_entry_day': 1685799, 'dashboard_run_id': 1697247, 'mtr_portfolio_id': 21679980, 'dashboard_result_id': 9627910, '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_P21679980_26-03-2025_05_37_34.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21679981, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21679982, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21679983, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21679984, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21679985, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21679986, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21679987, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21679988, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21679989, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21679990, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21679991, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21679992, 'pht': 3726}}"}, {'dashboat_entry_day': 1685799, 'dashboard_run_id': 1697247, 'mtr_portfolio_id': 21680463, 'dashboard_result_id': 9627911, '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_P21680463_26-03-2025_05_38_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21680464, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21680465, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21680466, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21680467, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21680468, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21680469, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21680470, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21680471, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21680472, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21680473, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21680474, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21680475, 'pht': 3726}}"}, {'dashboat_entry_day': 1685799, 'dashboard_run_id': 1697247, 'mtr_portfolio_id': 21680843, 'dashboard_result_id': 9627912, '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_P21680843_26-03-2025_05_38_56.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21680858, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21680860, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21680862, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21680864, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21680866, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21680868, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21680870, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21680872, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21680874, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21680876, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21680878, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21680879, 'pht': 3726}}"}, {'dashboat_entry_day': 1685799, 'dashboard_run_id': 1697247, 'mtr_portfolio_id': 21681615, 'dashboard_result_id': 9627913, '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_P21681615_26-03-2025_05_38_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21681616, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21681617, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21681618, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21681619, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21681620, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21681621, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21681622, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21681623, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21681624, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21681625, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21681626, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21681627, 'pht': 3726}}"}, {'dashboat_entry_day': 1685799, 'dashboard_run_id': 1697247, 'mtr_portfolio_id': 21681919, 'dashboard_result_id': 9627914, '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_P21681919_26-03-2025_05_39_06.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21681938, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21681939, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21681940, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21681941, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21681942, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21681943, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21681944, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21681945, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21681946, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21681947, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21681948, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21681949, 'pht': 3726}}"}, {'dashboat_entry_day': 1685799, 'dashboard_run_id': 1697247, 'mtr_portfolio_id': 21682484, 'dashboard_result_id': 9627915, '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_P21682484_26-03-2025_05_39_35.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21682545, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21682546, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21682547, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21682548, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21682549, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21682550, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21682551, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21682552, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21682553, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21682554, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21682555, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21682556, 'pht': 3726}}"}, {'dashboat_entry_day': 1685799, 'dashboard_run_id': 1697247, 'mtr_portfolio_id': 21683084, 'dashboard_result_id': 9627916, '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_P21683084_26-03-2025_05_40_04.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21683085, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21683086, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21683087, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21683088, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21683089, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21683090, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21683091, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21683092, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21683093, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21683094, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21683095, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21683096, 'pht': 3726}}"}, {'dashboat_entry_day': 1685799, 'dashboard_run_id': 1697247, 'mtr_portfolio_id': 21683744, 'dashboard_result_id': 9627917, '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_P21683744_26-03-2025_05_40_33.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21683745, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21683746, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21683747, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21683748, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21683749, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21683750, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21683751, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21683752, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21683753, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21683754, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21683755, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21683756, 'pht': 3726}}"}, {'dashboat_entry_day': 1685799, 'dashboard_run_id': 1697247, 'mtr_portfolio_id': 21684719, 'dashboard_result_id': 9627918, '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_P21684719_26-03-2025_05_41_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21684747, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21684748, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21684749, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21684750, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21684751, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21684752, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21684753, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21684754, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21684755, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21684756, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21684757, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21684758, 'pht': 3726}}"}, {'dashboat_entry_day': 1685799, 'dashboard_run_id': 1697247, 'mtr_portfolio_id': 21685604, 'dashboard_result_id': 9627919, '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_P21685604_26-03-2025_05_42_03.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21685657, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21685658, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21685659, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21685660, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21685661, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21685662, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21685663, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21685664, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21685665, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21685666, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21685667, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21685668, 'pht': 3726}}"}, {'dashboat_entry_day': 1685799, 'dashboard_run_id': 1697247, 'mtr_portfolio_id': 21686497, 'dashboard_result_id': 9627920, '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_P21686497_26-03-2025_05_43_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21686535, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21686536, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21686537, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21686538, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21686539, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21686540, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21686541, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21686542, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21686543, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21686544, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21686545, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21686546, 'pht': 3726}}"}, {'dashboat_entry_day': 1685799, 'dashboard_run_id': 1697247, 'mtr_portfolio_id': 21692496, 'dashboard_result_id': 9627921, '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_P21692496_26-03-2025_05_43_29.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21692497, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21692498, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21692499, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21692500, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21692501, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21692502, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21692503, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21692504, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21692505, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21692506, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21692507, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21692508, 'pht': 3726}}"}, {'dashboat_entry_day': 1685799, 'dashboard_run_id': 1697247, 'mtr_portfolio_id': 21692901, 'dashboard_result_id': 9627922, '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_P21692901_26-03-2025_05_44_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21692902, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21692903, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21692904, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21692905, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21692906, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21692907, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21692908, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21692909, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21692910, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21692911, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21692912, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21692913, 'pht': 3726}}"}, {'dashboat_entry_day': 1685799, 'dashboard_run_id': 1697247, 'mtr_portfolio_id': 21693404, 'dashboard_result_id': 9627923, '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_P21693404_26-03-2025_05_45_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21693461, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21693462, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21693463, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21693465, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21693466, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21693467, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21693469, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21693470, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21693471, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21693473, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21693474, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21693475, 'pht': 3726}}"}, {'dashboat_entry_day': 1685799, 'dashboard_run_id': 1697247, 'mtr_portfolio_id': 21693948, 'dashboard_result_id': 9627924, '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_P21693948_26-03-2025_05_45_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21693953, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21693954, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21693955, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21693956, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21693957, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21693958, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21693959, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21693960, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21693961, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21693962, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21693963, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21693964, 'pht': 3726}}"}, {'dashboat_entry_day': 1685799, 'dashboard_run_id': 1697247, 'mtr_portfolio_id': 21694587, 'dashboard_result_id': 9627925, '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_P21694587_26-03-2025_05_45_43.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21694588, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21694589, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21694590, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21694591, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21694592, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21694593, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21694594, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21694595, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21694596, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21694597, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21694598, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21694599, 'pht': 3726}}"}, {'dashboat_entry_day': 1685799, 'dashboard_run_id': 1697247, 'mtr_portfolio_id': 21695129, 'dashboard_result_id': 9627926, '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_P21695129_26-03-2025_05_46_05.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21695134, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21695135, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21695136, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21695137, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21695138, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21695139, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21695140, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21695141, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21695142, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21695143, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21695144, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21695145, 'pht': 3726}}"}, {'dashboat_entry_day': 1685799, 'dashboard_run_id': 1697247, 'mtr_portfolio_id': 21696146, 'dashboard_result_id': 9627927, '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_P21696146_26-03-2025_05_46_33.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21696171, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21696172, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21696173, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21696174, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21696175, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21696176, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21696177, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21696178, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21696179, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21696180, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21696181, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21696182, 'pht': 3726}}"}, {'dashboat_entry_day': 1685799, 'dashboard_run_id': 1697247, 'mtr_portfolio_id': 21697166, 'dashboard_result_id': 9627928, '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_P21697166_26-03-2025_05_47_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21697181, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21697182, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21697183, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21697184, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21697185, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21697186, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21697187, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21697188, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21697189, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21697190, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21697191, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21697192, 'pht': 3726}}"}, {'dashboat_entry_day': 1685799, 'dashboard_run_id': 1697247, 'mtr_portfolio_id': 21697624, 'dashboard_result_id': 9627929, '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_P21697624_25-03-2025_16_18_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21697655, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21697656, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21697657, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21697658, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21697659, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21697660, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21697661, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21697662, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21697663, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21697664, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21697665, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21697666, 'pht': 3726}}"}, {'dashboat_entry_day': 1685799, 'dashboard_run_id': 1697247, 'mtr_portfolio_id': 21698231, 'dashboard_result_id': 9627930, '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_P21698231_25-03-2025_16_33_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21698253, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21698254, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21698255, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21698256, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21698257, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21698258, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21698259, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21698260, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21698261, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21698262, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21698263, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21698264, 'pht': 3726}}"}, {'dashboat_entry_day': 1685799, 'dashboard_run_id': 1697247, 'mtr_portfolio_id': 21699089, 'dashboard_result_id': 9627931, '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_P21699089_25-03-2025_16_48_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21699115, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21699116, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21699117, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21699118, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21699119, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21699120, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21699121, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21699122, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21699123, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21699124, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21699125, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21699126, 'pht': 3726}}"}, {'dashboat_entry_day': 1685799, 'dashboard_run_id': 1697247, 'mtr_portfolio_id': 21700039, 'dashboard_result_id': 9627932, '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_P21700039_25-03-2025_17_05_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21700055, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21700056, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21700057, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21700058, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21700059, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21700060, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21700061, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21700062, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21700063, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21700064, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21700065, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21700066, 'pht': 3726}}"}, {'dashboat_entry_day': 1685799, 'dashboard_run_id': 1697247, 'mtr_portfolio_id': 21700672, 'dashboard_result_id': 9627933, '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_P21700672_25-03-2025_17_17_56.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21700686, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21700687, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21700688, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21700689, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21700690, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21700691, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21700692, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21700693, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21700694, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21700695, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21700696, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21700697, 'pht': 3726}}"}, {'dashboat_entry_day': 1685799, 'dashboard_run_id': 1697247, 'mtr_portfolio_id': 21701715, 'dashboard_result_id': 9627934, '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_P21701715_26-03-2025_00_02_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21701735, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21701736, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21701737, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21701738, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21701739, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21701740, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21701741, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21701742, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21701743, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21701744, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21701745, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21701746, 'pht': 3726}}"}, {'dashboat_entry_day': 1685799, 'dashboard_run_id': 1697247, 'mtr_portfolio_id': 21704505, 'dashboard_result_id': 9627935, '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_P21704505_25-03-2025_19_34_27.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21704509, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21704510, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21704511, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21704512, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21704513, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21704514, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21704515, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21704516, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21704517, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21704518, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21704519, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21704520, 'pht': 3726}}"}, {'dashboat_entry_day': 1685799, 'dashboard_run_id': 1697247, 'mtr_portfolio_id': 21704931, 'dashboard_result_id': 9627936, '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_P21704931_25-03-2025_19_50_29.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21704935, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21704936, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21704937, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21704938, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21704939, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21704940, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21704941, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21704942, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21704943, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21704944, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21704945, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21704946, 'pht': 3726}}"}, {'dashboat_entry_day': 1685799, 'dashboard_run_id': 1697247, 'mtr_portfolio_id': 21705744, 'dashboard_result_id': 9627937, '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_P21705744_25-03-2025_20_05_08.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21705745, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21705746, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21705747, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21705748, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21705749, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21705750, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21705751, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21705752, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21705753, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21705754, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21705755, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21705756, 'pht': 3726}}"}, {'dashboat_entry_day': 1685799, 'dashboard_run_id': 1697247, 'mtr_portfolio_id': 21706355, 'dashboard_result_id': 9627938, '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_P21706355_25-03-2025_20_18_33.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21706481, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21706482, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21706483, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21706484, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21706485, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21706486, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21706487, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21706488, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21706489, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21706490, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21706491, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21706492, 'pht': 3726}}"}, {'dashboat_entry_day': 1685799, 'dashboard_run_id': 1697247, 'mtr_portfolio_id': 21707261, 'dashboard_result_id': 9627939, '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_P21707261_25-03-2025_20_35_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21707323, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21707324, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21707325, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21707326, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21707327, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21707328, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21707329, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21707330, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21707331, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21707332, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21707333, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21707334, 'pht': 3726}}"}, {'dashboat_entry_day': 1685799, 'dashboard_run_id': 1697247, 'mtr_portfolio_id': 21707953, 'dashboard_result_id': 9627940, '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_P21707953_25-03-2025_20_48_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21708025, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21708026, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21708027, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21708028, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21708029, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21708030, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21708031, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21708032, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21708033, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21708034, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21708035, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21708036, 'pht': 3726}}"}, {'dashboat_entry_day': 1685799, 'dashboard_run_id': 1697247, 'mtr_portfolio_id': 21708597, 'dashboard_result_id': 9627941, '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_P21708597_25-03-2025_21_06_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21708664, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21708665, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21708666, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21708667, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21708668, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21708669, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21708670, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21708671, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21708672, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21708673, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21708674, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21708675, 'pht': 3726}}"}, {'dashboat_entry_day': 1685799, 'dashboard_run_id': 1697247, 'mtr_portfolio_id': 21709627, 'dashboard_result_id': 9627942, '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_P21709627_25-03-2025_21_18_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21709628, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21709629, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21709630, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21709631, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21709632, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21709633, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21709634, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21709635, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21709636, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21709637, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21709638, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21709639, 'pht': 3726}}"}, {'dashboat_entry_day': 1685799, 'dashboard_run_id': 1697247, 'mtr_portfolio_id': 21709947, 'dashboard_result_id': 9627943, '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_P21709947_25-03-2025_21_34_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21709948, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21709949, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21709950, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21709951, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21709952, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21709953, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21709954, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21709955, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21709956, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21709957, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21709958, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21709959, 'pht': 3726}}"}, {'dashboat_entry_day': 1685799, 'dashboard_run_id': 1697247, 'mtr_portfolio_id': 21710365, 'dashboard_result_id': 9627944, '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_P21710365_25-03-2025_21_48_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21710366, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21710367, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21710368, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21710369, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21710370, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21710371, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21710372, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21710373, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21710374, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21710375, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21710376, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21710377, 'pht': 3726}}"}, {'dashboat_entry_day': 1685799, 'dashboard_run_id': 1697247, 'mtr_portfolio_id': 21710866, 'dashboard_result_id': 9627945, '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_P21710866_25-03-2025_22_04_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21710867, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21710868, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21710869, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21710870, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21710871, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21710872, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21710873, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21710874, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21710875, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21710876, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21710877, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21710878, 'pht': 3726}}"}, {'dashboat_entry_day': 1685799, 'dashboard_run_id': 1697247, 'mtr_portfolio_id': 21711534, 'dashboard_result_id': 9627946, '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_P21711534_25-03-2025_22_18_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21711535, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21711536, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21711537, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21711538, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21711539, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21711540, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21711541, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21711542, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21711543, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21711544, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21711545, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21711546, 'pht': 3726}}"}, {'dashboat_entry_day': 1685799, 'dashboard_run_id': 1697247, 'mtr_portfolio_id': 21712415, 'dashboard_result_id': 9627947, '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_P21712415_25-03-2025_22_34_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21712450, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21712451, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21712452, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21712453, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21712454, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21712455, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21712456, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21712457, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21712458, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21712460, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21712461, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21712462, 'pht': 3726}}"}, {'dashboat_entry_day': 1685799, 'dashboard_run_id': 1697247, 'mtr_portfolio_id': 21713262, 'dashboard_result_id': 9627948, '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_P21713262_25-03-2025_22_57_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21713283, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21713285, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21713286, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21713287, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21713289, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21713290, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21713291, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21713293, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21713294, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21713295, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21713297, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21713298, '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 = 21677868 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': 2691573, 'mtr_portfolio_id': 21677868, 'created_at': datetime.datetime(2025, 3, 26, 5, 34, 34), 'result': '0.0715825959855595', 'result_long': None, 'result_double': None}] Qualite : 0.0715825959855595 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21677868 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21677868_26-03-2025_05_34_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21677868 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_P21677868_26-03-2025_05_34_36.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21677881, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21677882, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21677883, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21677884, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21677885, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21677886, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21677887, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21677888, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21677889, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21677890, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21677891, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21677892, 'pht': 3726}}" where mtr_portfolio_id = 21677868 and dashboard_run_id = 1697247 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`=21677868 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9627905, 0.0715825959855595, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21677868_26-03-2025_05_34_36.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21677881, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21677882, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21677883, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21677884, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21677885, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21677886, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21677887, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21677888, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21677889, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21677890, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21677891, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21677892, '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 = 21677990 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': 2691574, 'mtr_portfolio_id': 21677990, 'created_at': datetime.datetime(2025, 3, 26, 5, 35), 'result': '0.08025695816266848', 'result_long': None, 'result_double': None}] Qualite : 0.08025695816266848 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21677990 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21677990_26-03-2025_05_35_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21677990 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_P21677990_26-03-2025_05_35_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21678027, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21678028, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21678029, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21678030, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21678031, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21678032, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21678033, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21678034, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21678035, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21678036, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21678037, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21678038, 'pht': 3726}}" where mtr_portfolio_id = 21677990 and dashboard_run_id = 1697247 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`=21677990 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9627906, 0.08025695816266848, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21677990_26-03-2025_05_35_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21678027, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21678028, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21678029, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21678030, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21678031, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21678032, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21678033, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21678034, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21678035, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21678036, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21678037, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21678038, '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 = 21678453 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': 2691575, 'mtr_portfolio_id': 21678453, 'created_at': datetime.datetime(2025, 3, 26, 5, 35, 31), 'result': '0.06718621733038112', 'result_long': None, 'result_double': None}] Qualite : 0.06718621733038112 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21678453 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21678453_26-03-2025_05_35_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21678453 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_P21678453_26-03-2025_05_35_33.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21678478, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21678479, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21678480, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21678481, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21678482, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21678483, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21678484, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21678485, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21678486, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21678487, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21678488, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21678489, 'pht': 3726}}" where mtr_portfolio_id = 21678453 and dashboard_run_id = 1697247 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`=21678453 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9627907, 0.06718621733038112, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21678453_26-03-2025_05_35_33.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21678478, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21678479, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21678480, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21678481, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21678482, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21678483, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21678484, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21678485, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21678486, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21678487, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21678488, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21678489, '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 = 21678764 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': 2691576, 'mtr_portfolio_id': 21678764, 'created_at': datetime.datetime(2025, 3, 26, 5, 35, 59), 'result': '0.06925618892467911', 'result_long': None, 'result_double': None}] Qualite : 0.06925618892467911 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21678764 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21678764_26-03-2025_05_36_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21678764 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_P21678764_26-03-2025_05_36_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21678790, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21678791, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21678792, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21678793, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21678794, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21678795, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21678796, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21678797, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21678798, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21678799, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21678800, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21678801, 'pht': 3726}}" where mtr_portfolio_id = 21678764 and dashboard_run_id = 1697247 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`=21678764 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9627908, 0.06925618892467911, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21678764_26-03-2025_05_36_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21678790, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21678791, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21678792, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21678793, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21678794, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21678795, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21678796, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21678797, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21678798, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21678799, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21678800, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21678801, '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 = 21679339 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': 2691577, 'mtr_portfolio_id': 21679339, 'created_at': datetime.datetime(2025, 3, 26, 5, 36, 33), 'result': '0.06791707972966063', 'result_long': None, 'result_double': None}] Qualite : 0.06791707972966063 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21679339 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21679339_26-03-2025_05_36_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21679339 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_P21679339_26-03-2025_05_36_36.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21679340, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21679341, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21679342, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21679343, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21679344, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21679345, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21679346, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21679347, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21679348, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21679349, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21679350, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21679351, 'pht': 3726}}" where mtr_portfolio_id = 21679339 and dashboard_run_id = 1697247 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`=21679339 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9627909, 0.06791707972966063, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21679339_26-03-2025_05_36_36.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21679340, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21679341, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21679342, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21679343, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21679344, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21679345, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21679346, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21679347, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21679348, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21679349, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21679350, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21679351, '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 = 21679980 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': 2691578, 'mtr_portfolio_id': 21679980, 'created_at': datetime.datetime(2025, 3, 26, 5, 37, 29), 'result': '0.0772240459006402', 'result_long': None, 'result_double': None}] Qualite : 0.0772240459006402 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21679980 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21679980_26-03-2025_05_37_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21679980 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_P21679980_26-03-2025_05_37_34.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21679981, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21679982, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21679983, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21679984, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21679985, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21679986, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21679987, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21679988, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21679989, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21679990, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21679991, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21679992, 'pht': 3726}}" where mtr_portfolio_id = 21679980 and dashboard_run_id = 1697247 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`=21679980 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9627910, 0.0772240459006402, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21679980_26-03-2025_05_37_34.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21679981, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21679982, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21679983, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21679984, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21679985, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21679986, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21679987, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21679988, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21679989, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21679990, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21679991, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21679992, '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 = 21680463 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': 2691579, 'mtr_portfolio_id': 21680463, 'created_at': datetime.datetime(2025, 3, 26, 5, 37, 58), 'result': '0.08460389695755587', 'result_long': None, 'result_double': None}] Qualite : 0.08460389695755587 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21680463 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21680463_26-03-2025_05_38_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21680463 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_P21680463_26-03-2025_05_38_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21680464, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21680465, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21680466, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21680467, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21680468, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21680469, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21680470, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21680471, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21680472, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21680473, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21680474, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21680475, 'pht': 3726}}" where mtr_portfolio_id = 21680463 and dashboard_run_id = 1697247 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`=21680463 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9627911, 0.08460389695755587, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21680463_26-03-2025_05_38_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21680464, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21680465, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21680466, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21680467, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21680468, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21680469, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21680470, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21680471, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21680472, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21680473, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21680474, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21680475, '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 = 21680843 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': 2691580, 'mtr_portfolio_id': 21680843, 'created_at': datetime.datetime(2025, 3, 26, 5, 38, 52), 'result': '0.07059091180379333', 'result_long': None, 'result_double': None}] Qualite : 0.07059091180379333 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21680843 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21680843_26-03-2025_05_38_56.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21680843 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_P21680843_26-03-2025_05_38_56.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21680858, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21680860, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21680862, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21680864, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21680866, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21680868, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21680870, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21680872, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21680874, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21680876, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21680878, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21680879, 'pht': 3726}}" where mtr_portfolio_id = 21680843 and dashboard_run_id = 1697247 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`=21680843 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9627912, 0.07059091180379333, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21680843_26-03-2025_05_38_56.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21680858, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21680860, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21680862, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21680864, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21680866, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21680868, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21680870, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21680872, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21680874, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21680876, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21680878, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21680879, '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 = 21681615 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': 2691581, 'mtr_portfolio_id': 21681615, 'created_at': datetime.datetime(2025, 3, 26, 5, 38, 29), 'result': '0.07010301939141994', 'result_long': None, 'result_double': None}] Qualite : 0.07010301939141994 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21681615 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21681615_26-03-2025_05_38_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21681615 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_P21681615_26-03-2025_05_38_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21681616, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21681617, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21681618, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21681619, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21681620, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21681621, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21681622, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21681623, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21681624, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21681625, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21681626, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21681627, 'pht': 3726}}" where mtr_portfolio_id = 21681615 and dashboard_run_id = 1697247 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`=21681615 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9627913, 0.07010301939141994, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21681615_26-03-2025_05_38_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21681616, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21681617, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21681618, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21681619, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21681620, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21681621, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21681622, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21681623, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21681624, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21681625, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21681626, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21681627, '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 = 21681919 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': 2691582, 'mtr_portfolio_id': 21681919, 'created_at': datetime.datetime(2025, 3, 26, 5, 39, 2), 'result': '0.08167730373687396', 'result_long': None, 'result_double': None}] Qualite : 0.08167730373687396 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21681919 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21681919_26-03-2025_05_39_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21681919 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_P21681919_26-03-2025_05_39_06.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21681938, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21681939, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21681940, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21681941, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21681942, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21681943, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21681944, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21681945, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21681946, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21681947, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21681948, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21681949, 'pht': 3726}}" where mtr_portfolio_id = 21681919 and dashboard_run_id = 1697247 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`=21681919 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9627914, 0.08167730373687396, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21681919_26-03-2025_05_39_06.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21681938, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21681939, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21681940, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21681941, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21681942, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21681943, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21681944, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21681945, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21681946, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21681947, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21681948, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21681949, '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 = 21682484 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': 2691583, 'mtr_portfolio_id': 21682484, 'created_at': datetime.datetime(2025, 3, 26, 5, 39, 32), 'result': '0.06573097830226139', 'result_long': None, 'result_double': None}] Qualite : 0.06573097830226139 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21682484 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21682484_26-03-2025_05_39_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21682484 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_P21682484_26-03-2025_05_39_35.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21682545, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21682546, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21682547, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21682548, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21682549, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21682550, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21682551, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21682552, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21682553, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21682554, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21682555, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21682556, 'pht': 3726}}" where mtr_portfolio_id = 21682484 and dashboard_run_id = 1697247 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`=21682484 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9627915, 0.06573097830226139, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21682484_26-03-2025_05_39_35.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21682545, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21682546, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21682547, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21682548, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21682549, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21682550, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21682551, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21682552, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21682553, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21682554, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21682555, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21682556, '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 = 21683084 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': 2691584, 'mtr_portfolio_id': 21683084, 'created_at': datetime.datetime(2025, 3, 26, 5, 40), 'result': '0.07915996440660478', 'result_long': None, 'result_double': None}] Qualite : 0.07915996440660478 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21683084 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21683084_26-03-2025_05_40_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21683084 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_P21683084_26-03-2025_05_40_04.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21683085, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21683086, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21683087, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21683088, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21683089, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21683090, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21683091, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21683092, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21683093, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21683094, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21683095, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21683096, 'pht': 3726}}" where mtr_portfolio_id = 21683084 and dashboard_run_id = 1697247 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`=21683084 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9627916, 0.07915996440660478, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21683084_26-03-2025_05_40_04.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21683085, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21683086, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21683087, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21683088, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21683089, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21683090, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21683091, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21683092, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21683093, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21683094, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21683095, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21683096, '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 = 21683744 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': 2691585, 'mtr_portfolio_id': 21683744, 'created_at': datetime.datetime(2025, 3, 26, 5, 40, 30), 'result': '0.07823332183563945', 'result_long': None, 'result_double': None}] Qualite : 0.07823332183563945 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21683744 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21683744_26-03-2025_05_40_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21683744 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_P21683744_26-03-2025_05_40_33.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21683745, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21683746, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21683747, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21683748, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21683749, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21683750, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21683751, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21683752, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21683753, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21683754, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21683755, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21683756, 'pht': 3726}}" where mtr_portfolio_id = 21683744 and dashboard_run_id = 1697247 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`=21683744 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9627917, 0.07823332183563945, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21683744_26-03-2025_05_40_33.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21683745, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21683746, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21683747, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21683748, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21683749, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21683750, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21683751, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21683752, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21683753, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21683754, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21683755, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21683756, '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 = 21684719 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': 2691586, 'mtr_portfolio_id': 21684719, 'created_at': datetime.datetime(2025, 3, 26, 5, 41, 28), 'result': '0.07033571087430354', 'result_long': None, 'result_double': None}] Qualite : 0.07033571087430354 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21684719 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21684719_26-03-2025_05_41_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21684719 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_P21684719_26-03-2025_05_41_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21684747, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21684748, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21684749, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21684750, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21684751, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21684752, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21684753, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21684754, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21684755, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21684756, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21684757, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21684758, 'pht': 3726}}" where mtr_portfolio_id = 21684719 and dashboard_run_id = 1697247 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`=21684719 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9627918, 0.07033571087430354, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21684719_26-03-2025_05_41_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21684747, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21684748, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21684749, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21684750, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21684751, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21684752, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21684753, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21684754, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21684755, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21684756, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21684757, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21684758, '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 = 21685604 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': 2691587, 'mtr_portfolio_id': 21685604, 'created_at': datetime.datetime(2025, 3, 26, 5, 42), 'result': '0.08158108187186815', 'result_long': None, 'result_double': None}] Qualite : 0.08158108187186815 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21685604 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21685604_26-03-2025_05_42_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21685604 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_P21685604_26-03-2025_05_42_03.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21685657, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21685658, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21685659, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21685660, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21685661, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21685662, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21685663, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21685664, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21685665, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21685666, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21685667, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21685668, 'pht': 3726}}" where mtr_portfolio_id = 21685604 and dashboard_run_id = 1697247 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`=21685604 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9627919, 0.08158108187186815, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21685604_26-03-2025_05_42_03.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21685657, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21685658, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21685659, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21685660, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21685661, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21685662, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21685663, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21685664, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21685665, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21685666, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21685667, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21685668, '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 = 21686497 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': 2691588, 'mtr_portfolio_id': 21686497, 'created_at': datetime.datetime(2025, 3, 26, 5, 42, 57), 'result': '0.06912904835081517', 'result_long': None, 'result_double': None}] Qualite : 0.06912904835081517 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21686497 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21686497_26-03-2025_05_43_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21686497 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_P21686497_26-03-2025_05_43_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21686535, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21686536, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21686537, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21686538, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21686539, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21686540, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21686541, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21686542, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21686543, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21686544, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21686545, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21686546, 'pht': 3726}}" where mtr_portfolio_id = 21686497 and dashboard_run_id = 1697247 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`=21686497 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9627920, 0.06912904835081517, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21686497_26-03-2025_05_43_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21686535, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21686536, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21686537, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21686538, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21686539, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21686540, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21686541, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21686542, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21686543, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21686544, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21686545, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21686546, '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 = 21692496 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': 2691589, 'mtr_portfolio_id': 21692496, 'created_at': datetime.datetime(2025, 3, 26, 5, 43, 28), 'result': '0.10334752239330441', 'result_long': None, 'result_double': None}] Qualite : 0.10334752239330441 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21692496 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21692496_26-03-2025_05_43_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21692496 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_P21692496_26-03-2025_05_43_29.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21692497, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21692498, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21692499, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21692500, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21692501, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21692502, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21692503, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21692504, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21692505, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21692506, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21692507, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21692508, 'pht': 3726}}" where mtr_portfolio_id = 21692496 and dashboard_run_id = 1697247 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`=21692496 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9627921, 0.10334752239330441, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21692496_26-03-2025_05_43_29.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21692497, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21692498, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21692499, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21692500, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21692501, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21692502, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21692503, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21692504, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21692505, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21692506, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21692507, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21692508, '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 = 21692901 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': 2691590, 'mtr_portfolio_id': 21692901, 'created_at': datetime.datetime(2025, 3, 26, 5, 43, 58), 'result': '0.04265767476349356', 'result_long': None, 'result_double': None}] Qualite : 0.04265767476349356 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21692901 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21692901_26-03-2025_05_44_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21692901 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_P21692901_26-03-2025_05_44_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21692902, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21692903, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21692904, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21692905, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21692906, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21692907, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21692908, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21692909, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21692910, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21692911, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21692912, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21692913, 'pht': 3726}}" where mtr_portfolio_id = 21692901 and dashboard_run_id = 1697247 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`=21692901 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9627922, 0.04265767476349356, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21692901_26-03-2025_05_44_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21692902, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21692903, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21692904, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21692905, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21692906, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21692907, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21692908, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21692909, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21692910, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21692911, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21692912, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21692913, '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 = 21693404 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': 2691591, 'mtr_portfolio_id': 21693404, 'created_at': datetime.datetime(2025, 3, 26, 5, 44, 59), 'result': '0.03457016542619058', 'result_long': None, 'result_double': None}] Qualite : 0.03457016542619058 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21693404 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21693404_26-03-2025_05_45_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21693404 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_P21693404_26-03-2025_05_45_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21693461, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21693462, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21693463, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21693465, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21693466, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21693467, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21693469, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21693470, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21693471, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21693473, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21693474, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21693475, 'pht': 3726}}" where mtr_portfolio_id = 21693404 and dashboard_run_id = 1697247 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`=21693404 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9627923, 0.03457016542619058, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21693404_26-03-2025_05_45_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21693461, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21693462, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21693463, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21693465, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21693466, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21693467, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21693469, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21693470, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21693471, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21693473, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21693474, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21693475, '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 = 21693948 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': 2691592, 'mtr_portfolio_id': 21693948, 'created_at': datetime.datetime(2025, 3, 26, 5, 45, 29), 'result': '0.028274225744902556', 'result_long': None, 'result_double': None}] Qualite : 0.028274225744902556 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21693948 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21693948_26-03-2025_05_45_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21693948 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_P21693948_26-03-2025_05_45_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21693953, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21693954, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21693955, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21693956, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21693957, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21693958, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21693959, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21693960, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21693961, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21693962, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21693963, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21693964, 'pht': 3726}}" where mtr_portfolio_id = 21693948 and dashboard_run_id = 1697247 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`=21693948 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9627924, 0.028274225744902556, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21693948_26-03-2025_05_45_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21693953, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21693954, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21693955, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21693956, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21693957, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21693958, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21693959, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21693960, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21693961, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21693962, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21693963, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21693964, '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 = 21694587 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': 2691593, 'mtr_portfolio_id': 21694587, 'created_at': datetime.datetime(2025, 3, 26, 5, 45, 41), 'result': '0.03438723755798815', 'result_long': None, 'result_double': None}] Qualite : 0.03438723755798815 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21694587 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21694587_26-03-2025_05_45_43.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21694587 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_P21694587_26-03-2025_05_45_43.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21694588, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21694589, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21694590, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21694591, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21694592, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21694593, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21694594, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21694595, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21694596, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21694597, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21694598, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21694599, 'pht': 3726}}" where mtr_portfolio_id = 21694587 and dashboard_run_id = 1697247 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`=21694587 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9627925, 0.03438723755798815, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21694587_26-03-2025_05_45_43.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21694588, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21694589, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21694590, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21694591, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21694592, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21694593, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21694594, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21694595, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21694596, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21694597, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21694598, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21694599, '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 = 21695129 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': 2691594, 'mtr_portfolio_id': 21695129, 'created_at': datetime.datetime(2025, 3, 26, 5, 46, 1), 'result': '0.02470067472603434', 'result_long': None, 'result_double': None}] Qualite : 0.02470067472603434 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21695129 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21695129_26-03-2025_05_46_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21695129 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_P21695129_26-03-2025_05_46_05.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21695134, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21695135, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21695136, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21695137, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21695138, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21695139, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21695140, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21695141, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21695142, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21695143, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21695144, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21695145, 'pht': 3726}}" where mtr_portfolio_id = 21695129 and dashboard_run_id = 1697247 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`=21695129 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9627926, 0.02470067472603434, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21695129_26-03-2025_05_46_05.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21695134, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21695135, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21695136, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21695137, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21695138, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21695139, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21695140, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21695141, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21695142, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21695143, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21695144, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21695145, '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 = 21696146 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': 2691595, 'mtr_portfolio_id': 21696146, 'created_at': datetime.datetime(2025, 3, 26, 5, 46, 29), 'result': '0.025416044144277547', 'result_long': None, 'result_double': None}] Qualite : 0.025416044144277547 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21696146 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21696146_26-03-2025_05_46_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21696146 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_P21696146_26-03-2025_05_46_33.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21696171, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21696172, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21696173, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21696174, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21696175, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21696176, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21696177, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21696178, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21696179, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21696180, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21696181, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21696182, 'pht': 3726}}" where mtr_portfolio_id = 21696146 and dashboard_run_id = 1697247 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`=21696146 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9627927, 0.025416044144277547, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21696146_26-03-2025_05_46_33.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21696171, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21696172, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21696173, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21696174, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21696175, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21696176, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21696177, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21696178, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21696179, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21696180, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21696181, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21696182, '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 = 21697166 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': 2691596, 'mtr_portfolio_id': 21697166, 'created_at': datetime.datetime(2025, 3, 26, 5, 46, 58), 'result': '0.023984296976328708', 'result_long': None, 'result_double': None}] Qualite : 0.023984296976328708 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21697166 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21697166_26-03-2025_05_47_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21697166 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_P21697166_26-03-2025_05_47_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21697181, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21697182, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21697183, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21697184, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21697185, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21697186, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21697187, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21697188, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21697189, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21697190, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21697191, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21697192, 'pht': 3726}}" where mtr_portfolio_id = 21697166 and dashboard_run_id = 1697247 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`=21697166 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9627928, 0.023984296976328708, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21697166_26-03-2025_05_47_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21697181, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21697182, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21697183, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21697184, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21697185, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21697186, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21697187, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21697188, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21697189, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21697190, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21697191, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21697192, '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 = 21697624 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': 2691597, 'mtr_portfolio_id': 21697624, 'created_at': datetime.datetime(2025, 3, 26, 5, 47, 27), 'result': '0.032674838840125724', 'result_long': None, 'result_double': None}] Qualite : 0.032674838840125724 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21697624 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21697624_26-03-2025_05_47_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21697624 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_P21697624_26-03-2025_05_47_29.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21697655, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21697656, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21697657, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21697658, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21697659, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21697660, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21697661, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21697662, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21697663, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21697664, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21697665, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21697666, 'pht': 3726}}" where mtr_portfolio_id = 21697624 and dashboard_run_id = 1697247 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`=21697624 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9627929, 0.032674838840125724, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21697624_26-03-2025_05_47_29.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21697655, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21697656, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21697657, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21697658, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21697659, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21697660, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21697661, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21697662, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21697663, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21697664, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21697665, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21697666, '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 = 21698231 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': 2689845, 'mtr_portfolio_id': 21698231, 'created_at': datetime.datetime(2025, 3, 25, 16, 33), 'result': '0.03905241123885982', 'result_long': None, 'result_double': None}] Qualite : 0.03905241123885982 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21698231 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21698231_25-03-2025_16_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21698231 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_P21698231_25-03-2025_16_33_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21698253, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21698254, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21698255, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21698256, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21698257, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21698258, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21698259, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21698260, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21698261, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21698262, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21698263, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21698264, 'pht': 3726}}" where mtr_portfolio_id = 21698231 and dashboard_run_id = 1697247 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`=21698231 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9627930, 0.03905241123885982, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21698231_25-03-2025_16_33_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21698253, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21698254, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21698255, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21698256, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21698257, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21698258, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21698259, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21698260, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21698261, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21698262, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21698263, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21698264, '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 = 21699089 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': 2689911, 'mtr_portfolio_id': 21699089, 'created_at': datetime.datetime(2025, 3, 25, 16, 48, 59), 'result': '0.04860963579605444', 'result_long': None, 'result_double': None}] Qualite : 0.04860963579605444 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21699089 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21699089_25-03-2025_16_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21699089 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_P21699089_25-03-2025_16_48_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21699115, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21699116, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21699117, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21699118, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21699119, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21699120, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21699121, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21699122, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21699123, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21699124, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21699125, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21699126, 'pht': 3726}}" where mtr_portfolio_id = 21699089 and dashboard_run_id = 1697247 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`=21699089 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9627931, 0.04860963579605444, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21699089_25-03-2025_16_48_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21699115, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21699116, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21699117, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21699118, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21699119, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21699120, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21699121, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21699122, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21699123, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21699124, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21699125, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21699126, '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 = 21700039 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': 2690023, 'mtr_portfolio_id': 21700039, 'created_at': datetime.datetime(2025, 3, 25, 17, 4, 59), 'result': '0.04290373396819406', 'result_long': None, 'result_double': None}] Qualite : 0.04290373396819406 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21700039 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21700039_25-03-2025_17_05_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21700039 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_P21700039_25-03-2025_17_05_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21700055, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21700056, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21700057, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21700058, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21700059, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21700060, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21700061, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21700062, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21700063, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21700064, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21700065, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21700066, 'pht': 3726}}" where mtr_portfolio_id = 21700039 and dashboard_run_id = 1697247 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`=21700039 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9627932, 0.04290373396819406, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21700039_25-03-2025_17_05_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21700055, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21700056, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21700057, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21700058, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21700059, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21700060, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21700061, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21700062, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21700063, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21700064, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21700065, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21700066, '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 = 21700672 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': 2690068, 'mtr_portfolio_id': 21700672, 'created_at': datetime.datetime(2025, 3, 25, 17, 17, 56), 'result': '0.031433546771438906', 'result_long': None, 'result_double': None}] Qualite : 0.031433546771438906 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21700672 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21700672_25-03-2025_17_17_56.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21700672 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_P21700672_25-03-2025_17_17_56.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21700686, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21700687, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21700688, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21700689, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21700690, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21700691, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21700692, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21700693, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21700694, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21700695, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21700696, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21700697, 'pht': 3726}}" where mtr_portfolio_id = 21700672 and dashboard_run_id = 1697247 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`=21700672 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9627933, 0.031433546771438906, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21700672_25-03-2025_17_17_56.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21700686, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21700687, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21700688, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21700689, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21700690, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21700691, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21700692, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21700693, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21700694, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21700695, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21700696, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21700697, '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 = 21701715 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': 2690121, 'mtr_portfolio_id': 21701715, 'created_at': datetime.datetime(2025, 3, 26, 0, 2, 31), 'result': '0.038716811417085086', 'result_long': None, 'result_double': None}] Qualite : 0.038716811417085086 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21701715 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21701715_26-03-2025_00_02_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21701715 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_P21701715_26-03-2025_00_02_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21701735, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21701736, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21701737, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21701738, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21701739, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21701740, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21701741, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21701742, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21701743, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21701744, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21701745, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21701746, 'pht': 3726}}" where mtr_portfolio_id = 21701715 and dashboard_run_id = 1697247 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`=21701715 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9627934, 0.038716811417085086, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21701715_26-03-2025_00_02_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21701735, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21701736, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21701737, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21701738, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21701739, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21701740, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21701741, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21701742, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21701743, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21701744, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21701745, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21701746, '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 = 21704505 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': 2690350, 'mtr_portfolio_id': 21704505, 'created_at': datetime.datetime(2025, 3, 25, 19, 34, 27), 'result': '0.05062935631658604', 'result_long': None, 'result_double': None}] Qualite : 0.05062935631658604 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21704505 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21704505_25-03-2025_19_34_27.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21704505 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_P21704505_25-03-2025_19_34_27.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21704509, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21704510, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21704511, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21704512, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21704513, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21704514, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21704515, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21704516, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21704517, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21704518, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21704519, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21704520, 'pht': 3726}}" where mtr_portfolio_id = 21704505 and dashboard_run_id = 1697247 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`=21704505 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9627935, 0.05062935631658604, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21704505_25-03-2025_19_34_27.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21704509, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21704510, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21704511, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21704512, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21704513, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21704514, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21704515, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21704516, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21704517, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21704518, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21704519, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21704520, '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 = 21704931 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': 2690392, 'mtr_portfolio_id': 21704931, 'created_at': datetime.datetime(2025, 3, 25, 19, 50, 29), 'result': '0.044781338509724974', 'result_long': None, 'result_double': None}] Qualite : 0.044781338509724974 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21704931 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21704931_25-03-2025_19_50_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21704931 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_P21704931_25-03-2025_19_50_29.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21704935, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21704936, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21704937, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21704938, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21704939, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21704940, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21704941, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21704942, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21704943, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21704944, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21704945, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21704946, 'pht': 3726}}" where mtr_portfolio_id = 21704931 and dashboard_run_id = 1697247 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`=21704931 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9627936, 0.044781338509724974, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21704931_25-03-2025_19_50_29.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21704935, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21704936, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21704937, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21704938, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21704939, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21704940, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21704941, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21704942, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21704943, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21704944, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21704945, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21704946, '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 = 21705744 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': 2690433, 'mtr_portfolio_id': 21705744, 'created_at': datetime.datetime(2025, 3, 25, 20, 5, 7), 'result': '0.04577946720757211', 'result_long': None, 'result_double': None}] Qualite : 0.04577946720757211 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21705744 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21705744_25-03-2025_20_05_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21705744 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_P21705744_25-03-2025_20_05_08.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21705745, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21705746, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21705747, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21705748, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21705749, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21705750, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21705751, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21705752, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21705753, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21705754, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21705755, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21705756, 'pht': 3726}}" where mtr_portfolio_id = 21705744 and dashboard_run_id = 1697247 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`=21705744 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9627937, 0.04577946720757211, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21705744_25-03-2025_20_05_08.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21705745, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21705746, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21705747, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21705748, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21705749, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21705750, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21705751, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21705752, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21705753, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21705754, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21705755, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21705756, '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 = 21706355 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': 2690493, 'mtr_portfolio_id': 21706355, 'created_at': datetime.datetime(2025, 3, 25, 20, 18, 32), 'result': '0.05466395004213558', 'result_long': None, 'result_double': None}] Qualite : 0.05466395004213558 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21706355 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21706355_25-03-2025_20_18_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21706355 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_P21706355_25-03-2025_20_18_33.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21706481, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21706482, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21706483, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21706484, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21706485, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21706486, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21706487, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21706488, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21706489, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21706490, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21706491, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21706492, 'pht': 3726}}" where mtr_portfolio_id = 21706355 and dashboard_run_id = 1697247 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`=21706355 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9627938, 0.05466395004213558, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21706355_25-03-2025_20_18_33.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21706481, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21706482, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21706483, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21706484, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21706485, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21706486, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21706487, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21706488, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21706489, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21706490, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21706491, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21706492, '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 = 21707261 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': 2690533, 'mtr_portfolio_id': 21707261, 'created_at': datetime.datetime(2025, 3, 25, 20, 35, 1), 'result': '0.029453294160891177', 'result_long': None, 'result_double': None}] Qualite : 0.029453294160891177 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21707261 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21707261_25-03-2025_20_35_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21707261 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_P21707261_25-03-2025_20_35_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21707323, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21707324, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21707325, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21707326, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21707327, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21707328, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21707329, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21707330, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21707331, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21707332, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21707333, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21707334, 'pht': 3726}}" where mtr_portfolio_id = 21707261 and dashboard_run_id = 1697247 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`=21707261 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9627939, 0.029453294160891177, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21707261_25-03-2025_20_35_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21707323, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21707324, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21707325, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21707326, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21707327, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21707328, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21707329, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21707330, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21707331, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21707332, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21707333, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21707334, '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 = 21707953 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': 2690582, 'mtr_portfolio_id': 21707953, 'created_at': datetime.datetime(2025, 3, 25, 20, 48, 59), 'result': '0.05040768491453269', 'result_long': None, 'result_double': None}] Qualite : 0.05040768491453269 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21707953 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21707953_25-03-2025_20_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21707953 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_P21707953_25-03-2025_20_48_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21708025, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21708026, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21708027, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21708028, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21708029, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21708030, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21708031, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21708032, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21708033, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21708034, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21708035, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21708036, 'pht': 3726}}" where mtr_portfolio_id = 21707953 and dashboard_run_id = 1697247 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`=21707953 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9627940, 0.05040768491453269, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21707953_25-03-2025_20_48_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21708025, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21708026, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21708027, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21708028, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21708029, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21708030, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21708031, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21708032, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21708033, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21708034, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21708035, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21708036, '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 = 21708597 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': 2690616, 'mtr_portfolio_id': 21708597, 'created_at': datetime.datetime(2025, 3, 25, 21, 6, 58), 'result': '0.03552667540840205', 'result_long': None, 'result_double': None}] Qualite : 0.03552667540840205 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21708597 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21708597_25-03-2025_21_06_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21708597 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_P21708597_25-03-2025_21_06_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21708664, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21708665, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21708666, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21708667, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21708668, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21708669, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21708670, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21708671, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21708672, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21708673, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21708674, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21708675, 'pht': 3726}}" where mtr_portfolio_id = 21708597 and dashboard_run_id = 1697247 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`=21708597 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9627941, 0.03552667540840205, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21708597_25-03-2025_21_06_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21708664, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21708665, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21708666, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21708667, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21708668, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21708669, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21708670, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21708671, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21708672, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21708673, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21708674, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21708675, '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 = 21709627 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': 2690675, 'mtr_portfolio_id': 21709627, 'created_at': datetime.datetime(2025, 3, 25, 21, 18, 58), 'result': '0.029460588873851532', 'result_long': None, 'result_double': None}] Qualite : 0.029460588873851532 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21709627 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21709627_25-03-2025_21_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21709627 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_P21709627_25-03-2025_21_18_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21709628, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21709629, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21709630, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21709631, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21709632, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21709633, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21709634, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21709635, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21709636, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21709637, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21709638, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21709639, 'pht': 3726}}" where mtr_portfolio_id = 21709627 and dashboard_run_id = 1697247 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`=21709627 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9627942, 0.029460588873851532, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21709627_25-03-2025_21_18_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21709628, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21709629, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21709630, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21709631, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21709632, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21709633, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21709634, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21709635, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21709636, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21709637, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21709638, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21709639, '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 = 21709947 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': 2690692, 'mtr_portfolio_id': 21709947, 'created_at': datetime.datetime(2025, 3, 25, 21, 34, 1), 'result': '0.07255758893752548', 'result_long': None, 'result_double': None}] Qualite : 0.07255758893752548 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21709947 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21709947_25-03-2025_21_34_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21709947 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_P21709947_25-03-2025_21_34_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21709948, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21709949, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21709950, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21709951, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21709952, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21709953, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21709954, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21709955, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21709956, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21709957, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21709958, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21709959, 'pht': 3726}}" where mtr_portfolio_id = 21709947 and dashboard_run_id = 1697247 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`=21709947 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9627943, 0.07255758893752548, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21709947_25-03-2025_21_34_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21709948, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21709949, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21709950, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21709951, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21709952, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21709953, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21709954, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21709955, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21709956, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21709957, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21709958, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21709959, '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 = 21710365 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': 2690723, 'mtr_portfolio_id': 21710365, 'created_at': datetime.datetime(2025, 3, 25, 21, 48), 'result': '0.05375270878866383', 'result_long': None, 'result_double': None}] Qualite : 0.05375270878866383 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21710365 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21710365_25-03-2025_21_48_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21710365 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_P21710365_25-03-2025_21_48_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21710366, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21710367, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21710368, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21710369, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21710370, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21710371, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21710372, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21710373, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21710374, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21710375, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21710376, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21710377, 'pht': 3726}}" where mtr_portfolio_id = 21710365 and dashboard_run_id = 1697247 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`=21710365 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9627944, 0.05375270878866383, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21710365_25-03-2025_21_48_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21710366, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21710367, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21710368, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21710369, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21710370, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21710371, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21710372, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21710373, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21710374, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21710375, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21710376, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21710377, '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 = 21710866 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': 2690760, 'mtr_portfolio_id': 21710866, 'created_at': datetime.datetime(2025, 3, 25, 22, 3, 59), 'result': '0.05562681950865728', 'result_long': None, 'result_double': None}] Qualite : 0.05562681950865728 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21710866 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21710866_25-03-2025_22_04_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21710866 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_P21710866_25-03-2025_22_04_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21710867, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21710868, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21710869, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21710870, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21710871, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21710872, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21710873, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21710874, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21710875, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21710876, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21710877, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21710878, 'pht': 3726}}" where mtr_portfolio_id = 21710866 and dashboard_run_id = 1697247 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`=21710866 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9627945, 0.05562681950865728, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21710866_25-03-2025_22_04_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21710867, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21710868, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21710869, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21710870, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21710871, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21710872, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21710873, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21710874, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21710875, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21710876, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21710877, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21710878, '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 = 21711534 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': 2690864, 'mtr_portfolio_id': 21711534, 'created_at': datetime.datetime(2025, 3, 25, 22, 18, 2), 'result': '0.07301631710143765', 'result_long': None, 'result_double': None}] Qualite : 0.07301631710143765 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21711534 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21711534_25-03-2025_22_18_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21711534 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_P21711534_25-03-2025_22_18_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21711535, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21711536, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21711537, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21711538, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21711539, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21711540, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21711541, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21711542, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21711543, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21711544, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21711545, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21711546, 'pht': 3726}}" where mtr_portfolio_id = 21711534 and dashboard_run_id = 1697247 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`=21711534 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9627946, 0.07301631710143765, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21711534_25-03-2025_22_18_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21711535, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21711536, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21711537, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21711538, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21711539, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21711540, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21711541, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21711542, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21711543, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21711544, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21711545, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21711546, '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 = 21712415 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': 2690911, 'mtr_portfolio_id': 21712415, 'created_at': datetime.datetime(2025, 3, 25, 22, 34, 3), 'result': '0.07915081851170958', 'result_long': None, 'result_double': None}] Qualite : 0.07915081851170958 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21712415 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21712415_25-03-2025_22_34_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21712415 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_P21712415_25-03-2025_22_34_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21712450, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21712451, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21712452, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21712453, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21712454, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21712455, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21712456, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21712457, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21712458, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21712460, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21712461, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21712462, 'pht': 3726}}" where mtr_portfolio_id = 21712415 and dashboard_run_id = 1697247 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`=21712415 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9627947, 0.07915081851170958, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21712415_25-03-2025_22_34_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21712450, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21712451, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21712452, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21712453, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21712454, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21712455, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21712456, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21712457, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21712458, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21712460, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21712461, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21712462, '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 = 21713262 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': 2690954, 'mtr_portfolio_id': 21713262, 'created_at': datetime.datetime(2025, 3, 25, 22, 56, 59), 'result': '0.06766338717633107', 'result_long': None, 'result_double': None}] Qualite : 0.06766338717633107 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21713262 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21713262_25-03-2025_22_57_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21713262 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_P21713262_25-03-2025_22_57_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21713283, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21713285, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21713286, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21713287, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21713289, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21713290, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21713291, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21713293, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21713294, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21713295, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21713297, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21713298, 'pht': 3726}}" where mtr_portfolio_id = 21713262 and dashboard_run_id = 1697247 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`=21713262 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9627948, 0.06766338717633107, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21713262_25-03-2025_22_57_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21713283, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21713285, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21713286, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21713287, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21713289, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21713290, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21713291, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21713293, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21713294, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21713295, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21713297, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21713298, '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 (21677868,21677990,21678453,21678764,21679339,21679980,21680463,21680843,21681615,21681919,21682484,21683084,21683744,21684719,21685604,21686497,21692496,21692901,21693404,21693948,21694587,21695129,21696146,21697166,21697624,21698231,21699089,21700039,21700672,21701715,21704505,21704931,21705744,21706355,21707261,21707953,21708597,21709627,21709947,21710365,21710866,21711534,21712415,21713262) result : ((1347087237,), (1347087310,), (1347087314,), (1347087346,), (1347087491,), (1347087499,), (1347087508,), (1347087514,), (1347087519,), (1347087718,), (1347087924,), (1347087961,), (1347087963,), (1347087967,), (1347087972,), (1347088091,), (1347088260,), (1347088280,), (1347088292,), (1347088506,), (1347088499,), (1347088502,), (1347088687,), (1347088693,), (1347088698,), (1347088715,), (1347088719,), (1347088979,), (1347089010,), (1347089012,), (1347089023,), (1347089026,), (1347089032,), (1347089177,), (1347089178,), (1347089181,), (1347089188,), (1347089222,), (1347089228,), (1347089233,), (1347089235,), (1347089255,), (1347089268,), (1347089271,), (1347089274,), (1347089277,), (1347089313,), (1347089344,), (1347089347,), (1347089351,), (1347089355,), (1347089361,), (1347089365,), (1347089435,), (1347089499,), (1347089620,), (1347089631,), (1347089705,), (1347089708,), (1347089715,), (1347089736,), (1347089742,), (1347089747,), (1347089808,), (1347089832,), (1347089840,), (1347089846,), (1347089850,), (1347089880,), (1347089882,), (1347089884,), (1347089887,), (1347089892,), (1347089895,), (1347089917,), (1347089920,), (1347089923,), (1347089992,), (1347089998,), (1347090010,), (1347090038,), (1347090042,), (1347090045,), (1347090091,), (1347090093,), (1347090095,), (1347090149,), (1347090128,), (1347090129,), (1347090132,), (1347090136,), (1347090146,), (1347090185,), (1347090186,), (1347090189,), (1347090193,), (1347090198,), (1347090202,), (1347090267,), (1347090270,), (1347090287,), (1347090292,), (1347090364,), (1347090373,), (1347090375,), (1347090382,), (1347090395,), (1347090450,), (1347090529,), (1347090532,), (1347090535,), (1347090538,), (1347090541,), (1347090542,), (1347090719,), (1347090740,), (1347090768,), (1347090796,), (1347091166,), (1347091194,), (1347091214,), (1347091239,), (1347091340,), (1347091346,), (1347091370,), (1347091394,), (1347091420,), (1347091443,), (1347091502,), (1347091548,), (1347091556,), (1347091606,), (1347091610,), (1347092019,), (1347092003,), (1347092007,), (1347092093,), (1347092095,), (1347092097,), (1347092217,), (1347092222,), (1347092226,), (1347092233,), (1347092238,), (1347092245,), (1347092252,), (1347092256,), (1347092260,), (1347092264,), (1347092269,), (1347092286,), (1347092292,), (1347092298,), (1347092304,), (1347092308,), (1347092322,), (1347092324,), (1347092329,), (1347092333,), (1347092347,), (1347092351,), (1347092354,), (1347092363,), (1347092367,), (1347092371,), (1347092388,), (1347092391,), (1347092393,), (1347092396,), (1347092399,), (1347092408,), (1347092458,), (1347092460,), (1347092462,), (1347092465,), (1347092492,), (1347092493,), (1347092494,), (1347092497,), (1347092507,), (1347092519,), (1347092549,), (1347092561,), (1347092564,), (1347092567,), (1347092570,), (1347092576,), (1347092620,), (1347092622,), (1347092624,), (1347092835,), (1347092863,), (1347093137,), (1347093746,), (1347093780,), (1347093811,), (1347093843,), (1347093857,), (1347093905,), (1347093983,), (1347094006,), (1347094027,), (1347094049,), (1347094073,), (1347094227,), (1347094150,), (1347094174,), (1347094196,), (1347094201,), (1347094310,), (1347094345,), (1347094379,), (1347094401,), (1347094429,), (1347094506,), (1347094520,), (1347094532,), (1347094537,), (1347094545,), (1347094549,), (1347094617,), (1347094625,), (1347094634,), (1347094645,), (1347094761,), (1347094778,), (1347094786,), (1347094806,), (1347094809,), (1347094848,), (1347094852,), (1347094860,), (1347094866,), (1347094873,), (1347094882,), (1347094897,), (1347094898,), (1347094972,), (1347094975,), (1347094982,), (1347094988,), (1347094995,), (1347095020,), (1347095072,), (1347095074,), (1347095078,), (1347095127,), (1347095131,), (1347095136,), (1347095184,), (1347095191,), (1347095193,), (1347095197,), (1347095245,), (1347095246,), (1347095247,), (1347095251,), (1347095254,), (1347095280,), (1347095281,), (1347095282,), (1347095287,), (1347095596,), (1347095598,), (1347095610,), (1347095618,), (1347095635,), (1347095676,), (1347095680,), (1347095685,), (1347095691,), (1347095695,), (1347095726,), (1347095729,), (1347095732,), (1347095738,), (1347095822,), (1347095782,), (1347095794,), (1347095798,), (1347095806,), (1347095814,), (1347095855,), (1347095865,), (1347095880,), (1347095894,), (1347095898,), (1347095916,), (1347095932,), (1347095935,), (1347095956,), (1347095963,), (1347095997,), (1347095999,), (1347096001,), (1347096053,), (1347096055,), (1347096061,), (1347096066,), (1347096069,), (1347096075,), (1347096096,), (1347096103,), (1347096131,), (1347096136,), (1347096149,), (1347096176,), (1347096268,), (1347096276,), (1347096278,), (1347096297,), (1347096321,), (1347096324,), (1347096326,), (1347096331,), (1347096334,), (1347096340,), (1347096484,), (1347096633,), (1347096636,), (1347096833,), (1347096836,), (1347096840,), (1347096844,), (1347096848,), (1347096853,), (1347096881,), (1347096903,), (1347096912,), (1347096951,), (1347096962,), (1347096975,), (1347097009,), (1347097011,), (1347097013,), (1347097014,), (1347097020,), (1347097083,), (1347097110,), (1347097166,), (1347097174,), (1347097180,), (1347097313,), (1347097315,), (1347097334,), (1347097338,), (1347097352,), (1347097475,), (1347097446,), (1347097449,), (1347097460,), (1347097470,), (1347097592,), (1347097593,), (1347097657,), (1347097661,), (1347097664,), (1347097668,), (1347097674,), (1347097677,), (1347097697,), (1347097707,), (1347097729,), (1347097742,), (1347097748,), (1347097750,), (1347097768,), (1347097771,), (1347097775,), (1347097780,), (1347098050,), (1347098139,), (1347098141,), (1347098176,), (1347098179,), (1347098186,), (1347098204,), (1347098233,), (1347098235,), (1347098237,), (1347098239,), (1347098299,), (1347098302,), (1347098305,), (1347098310,), (1347098316,), (1347098351,), (1347098353,), (1347098355,), (1347098359,), (1347098394,), (1347098397,), (1347098401,), (1347098405,), (1347098430,), (1347098432,), (1347098434,), (1347098438,), (1347098443,), (1347098448,), (1347098464,), (1347098473,), (1347098478,), (1347098520,), (1347098525,), (1347098528,), (1347098533,), (1347098537,), (1347098555,), (1347098710,), (1347098609,), (1347098618,), (1347098627,), (1347098640,), (1347098671,), (1347098952,), (1347098964,), (1347098983,), (1347099105,), (1347099114,), (1347099120,), (1347099130,), (1347099161,), (1347099162,), (1347099164,), (1347099168,), (1347099173,), (1347099212,), (1347099215,), (1347099218,), (1347099223,), (1347099234,), (1347099263,), (1347099267,), (1347099270,), (1347099328,), (1347099332,), (1347099338,), (1347099364,), (1347099366,), (1347099369,), (1347099376,), (1347099384,), (1347099388,), (1347099993,), (1347100663,), (1347100692,), (1347100726,), (1347100753,), (1347100782,), (1347100887,), (1347100891,), (1347100911,), (1347100913,), (1347100934,), (1347100937,), (1347100986,), (1347100989,), (1347101190,), (1347101118,), (1347101148,), (1347101165,), (1347101179,), (1347101338,), (1347101379,), (1347101410,), (1347101566,), (1347101574,), (1347101666,), (1347101671,), (1347101780,), (1347101809,), (1347101822,), (1347101827,), (1347101912,), (1347101919,), (1347102154,), (1347102307,), (1347102317,), (1347102328,), (1347102339,), (1347102351,), (1347102364,), (1347102367,), (1347102373,), (1347102377,), (1347102379,), (1347102381,), (1347102383,), (1347102392,), (1347102399,), (1347102409,), (1347102419,), (1347102429,), (1347102440,), (1347102465,), (1347102470,), (1347102475,), (1347102491,), (1347102497,), (1347102504,), (1347102511,), (1347102514,), (1347102518,), (1347102620,), (1347102627,), (1347102633,), (1347102641,), (1347102656,), (1347102671,), (1347102723,), (1347102900,), (1347102928,), (1347102942,), (1347102952,), (1347102970,), (1347102991,), (1347102454,), (1347102457,), (1347102461,), (1347102536,), (1347102555,), (1347102567,), (1347102576,), (1347102582,), (1347102589,), (1347102694,), (1347102702,), (1347102708,), (1347102714,), (1347102719,), (1347102786,), (1347102808,), (1347102833,), (1347102855,), (1347102877,), (1347103057,), (1347103076,), (1347103081,), (1347103084,), (1347103089,), (1347103094,), (1347103113,), (1347103125,), (1347103133,), (1347103140,), (1347103186,), (1347103194,), (1347103199,), (1347103207,), (1347103219,), (1347103238,), (1347103282,), (1347103292,), (1347103296,), (1347103301,), (1347103306,), (1347103366,), (1347103375,), (1347103383,), (1347103394,), (1347103439,), (1347103725,), (1347103729,), (1347103733,), (1347103917,), (1347103920,), (1347103925,), (1347103933,), (1347103939,), (1347104127,), (1347104145,), (1347104166,), (1347104188,), (1347104217,), (1347104239,), (1347104493,), (1347104509,), (1347104530,), (1347104570,), (1347104729,), (1347104755,), (1347104769,), (1347104787,), (1347104796,), (1347104802,), (1347104855,), (1347104862,), (1347104864,), (1347104870,), (1347104875,), (1347104966,), (1347105251,), (1347105202,), (1347105224,), (1347105233,), (1347105245,), (1347105338,), (1347105346,), (1347105351,), (1347105362,), (1347105504,), (1347105511,), (1347105514,), (1347105572,), (1347105590,), (1347105705,), (1347105736,), (1347105751,), (1347105757,), (1347105897,), (1347105929,), (1347105950,), (1347105958,), (1347105974,), (1347105982,), (1347106156,), (1347106164,), (1347106166,), (1347106324,), (1347106331,), (1347106335,), (1347106343,), (1347106353,), (1347106360,), (1347106393,), (1347106404,), (1347106413,), (1347106419,), (1347106468,), (1347106471,), (1347106479,), (1347106495,), (1347106511,), (1347106721,), (1347106733,), (1347106736,), (1347106745,), (1347106748,), (1347106756,), (1347106793,), (1347106798,), (1347106801,), (1347106860,), (1347106863,), (1347106866,), (1347106918,), (1347106923,), (1347107024,), (1347107027,), (1347107029,), (1347107040,), (1347107048,), (1347107055,), (1347107221,), (1347107224,), (1347107228,), (1347107298,), (1347107465,), (1347107470,), (1347107475,), (1347107481,), (1347107484,), (1347107492,), (1347107681,), (1347107610,), (1347107619,), (1347107671,), (1347107768,), (1347107773,), (1347107778,), (1347107784,), (1347107789,), (1347107817,), (1347107967,), (1347108010,), (1347108018,), (1347108105,), (1347108109,), (1347108113,), (1347108119,), (1347108177,), (1347108179,), (1347108180,), (1347108186,), (1347108293,), (1347108297,), (1347108301,), (1347108311,), (1347108322,), (1347108544,), (1347108555,), (1347108562,), (1347108570,), (1347108580,), (1347108842,), (1347108849,), (1347108901,), (1347108905,), (1347108910,), (1347108970,), (1347108976,), (1347108980,), (1347108988,), (1347108992,), (1347108997,), (1347109304,), (1347109342,), (1347109414,), (1347109433,), (1347109565,), (1347109566,), (1347109583,), (1347109646,), (1347109717,), (1347109801,), (1347110063,), (1347110066,), (1347110070,), (1347110093,), (1347110108,), (1347110116,), (1347110195,), (1347110206,), (1347110209,), (1347110212,), (1347110239,), (1347110243,), (1347111070,), (1347111101,), (1347111156,), (1347111205,), (1347111255,), (1347111654,), (1347111485,), (1347111538,), (1347111605,), (1347111872,), (1347111913,), (1347112024,), (1347112166,), (1347112235,), (1347112304,), (1347112619,), (1347112676,), (1347112705,), (1347112721,), (1347113014,), (1347113024,), (1347113036,), (1347113075,), (1347113083,), (1347113088,), (1347113137,), (1347113302,), (1347113448,), (1347113535,), (1347113566,), (1347113583,), (1347113868,), (1347113908,), (1347114256,), (1347114278,), (1347114302,), (1347114327,), (1347114348,), (1347114365,), (1347114414,), (1347114418,), (1347114424,), (1347114430,), (1347114439,), (1347114446,), (1347114516,), (1347114532,), (1347114544,), (1347114550,), (1347114679,), (1347114684,), (1347114701,), (1347114707,), (1347114735,), (1347114749,), (1347115304,), (1347115332,), (1347115350,), (1347115356,), (1347115363,), (1347115390,), (1347115468,), (1347115530,), (1347115589,), (1347115612,), (1347115637,), (1347115780,), (1347115680,), (1347115684,), (1347115693,), (1347115728,), (1347115756,), (1347116011,), (1347116046,), (1347116113,), (1347116176,), (1347116226,), (1347116461,), (1347116470,), (1347116495,), (1347116511,), (1347116558,), (1347116604,), (1347116759,), (1347116828,), (1347116854,), (1347116903,), (1347116919,), (1347117074,), (1347117092,), (1347117104,), (1347117123,), (1347117129,), (1347117212,), (1347117238,), (1347117268,), (1347117319,), (1347117334,), (1347117366,), (1347117369,), (1347117418,), (1347117433,), (1347117738,), (1347117751,), (1347117781,), (1347117811,), (1347117868,), (1347117906,), (1347118059,), (1347118067,), (1347118074,), (1347118079,), (1347118091,), (1347118098,), (1347118191,), (1347118203,), (1347118303,), (1347118338,), (1347118350,), (1347118360,), (1347118371,), (1347118393,), (1347118535,), (1347118556,), (1347118575,), (1347118581,), (1347118587,), (1347118772,), (1347118799,), (1347118824,), (1347118828,), (1347118836,), (1347118923,), (1347118952,), (1347118980,), (1347119013,), (1347119061,), (1347119089,), (1347119490,), (1347119518,), (1347119544,), (1347119574,), (1347119820,), (1347119738,), (1347119776,), (1347119793,), (1347119807,), (1347119813,), (1347120013,), (1347120028,), (1347120035,), (1347120042,), (1347120205,), (1347120209,), (1347120213,), (1347120413,), (1347120420,), (1347120426,), (1347120432,), (1347120440,), (1347120508,), (1347120654,), (1347120659,), (1347120664,), (1347120669,), (1347120686,), (1347120696,), (1347120759,), (1347120763,), (1347120769,), (1347120778,), (1347120837,), (1347120848,), (1347120860,), (1347120868,), (1347120872,), (1347121000,), (1347121004,), (1347121021,), (1347121052,), (1347121070,), (1347121101,), (1347121140,), (1347121141,), (1347121145,), (1347121152,), (1347121253,), (1347121257,), (1347121261,), (1347121295,), (1347121328,), (1347121343,), (1347121430,), (1347121433,), (1347121444,), (1347121549,), (1347121553,), (1347121559,), (1347121645,), (1347121648,), (1347121651,), (1347121655,), (1347121663,), (1347121707,), (1347121715,), (1347121720,), (1347121767,), (1347121771,), (1347121772,), (1347121782,), (1347121790,), (1347122063,), (1347122028,), (1347122045,), (1347122050,), (1347122055,), (1347122059,), (1347122229,), (1347122234,), (1347122238,), (1347122480,), (1347122496,), (1347122525,), (1347122544,), (1347122549,), (1347122642,), (1347122682,), (1347122690,), (1347122706,), (1347122710,), (1347122807,), (1347122810,), (1347122812,), (1347122815,), (1347122921,), (1347122945,), (1347122946,), (1347122963,), (1347123080,), (1347123090,), (1347123099,), (1347123138,), (1347123427,), (1347123435,), (1347123500,), (1347123513,), (1347123546,), (1347123569,), (1347123613,), (1347123618,), (1347123621,), (1347123669,), (1347123671,), (1347124016,), (1347124066,), (1347124122,), (1347124159,), (1347124183,), (1347124322,), (1347124898,), (1347124946,), (1347125008,), (1347125043,), (1347125890,), (1347125903,), (1347125969,), (1347125981,), (1347126025,), (1347126074,), (1347201169,), (1347201204,), (1347201240,), (1347201275,), (1347201389,), (1347201393,), (1347201396,), (1347201400,), (1347201585,), (1347201616,), (1347202157,), (1347202188,), (1347202562,), (1347202586,), (1347202652,), (1347202657,), (1347202832,), (1347203467,), (1347203464,), (1347203605,), (1347203609,), (1347203614,), (1347204008,), (1347204010,), (1347204012,), (1347204043,), (1347204049,), (1347204096,), (1347204100,), (1347204102,), (1347204105,), (1347204160,), (1347204164,), (1347204168,), (1347204173,), (1347204178,), (1347204212,), (1347204215,), (1347204242,), (1347204254,), (1347204270,), (1347204275,), (1347204343,), (1347204347,), (1347204351,), (1347204356,), (1347204362,), (1347204552,), (1347204555,), (1347204557,), (1347204560,), (1347204662,), (1347204668,), (1347204671,), (1347204708,), (1347204719,), (1347204725,), (1347204794,), (1347204805,), (1347204808,), (1347204812,), (1347204817,), (1347204889,), (1347204895,), (1347204902,), (1347204905,), (1347204908,), (1347204952,), (1347204957,), (1347204959,), (1347204963,), (1347204968,), (1347205032,), (1347205050,), (1347205085,), (1347205099,), (1347205104,), (1347205106,), (1347205129,), (1347205134,), (1347205137,), (1347205142,), (1347205173,), (1347205179,), (1347205186,), (1347205190,), (1347205192,), (1347205196,), (1347205378,), (1347205356,), (1347205363,), (1347205366,), (1347205375,), (1347205531,), (1347205551,), (1347205559,), (1347205573,), (1347205575,), (1347205593,), (1347205646,), (1347205662,), (1347205692,), (1347205718,), (1347205956,), (1347205993,), (1347206017,), (1347206046,), (1347206970,), (1347206973,), (1347206975,), (1347206980,), (1347206984,), (1347207016,), (1347207020,), (1347207023,), (1347207045,), (1347207077,), (1347207172,), (1347207174,), (1347207177,), (1347207210,), (1347207217,), (1347207221,), (1347207302,), (1347207307,), (1347207312,), (1347207316,), (1347207382,), (1347207391,), (1347207394,), (1347207400,), (1347207404,), (1347207409,), (1347207439,), (1347207441,), (1347207443,), (1347207448,), (1347207511,), (1347207502,), (1347207504,), (1347207506,), (1347207509,), (1347207750,), (1347207860,), (1347207871,), (1347207876,), (1347207889,), (1347207954,), (1347207962,), (1347207965,), (1347207969,), (1347207996,), (1347208002,), (1347208005,), (1347208007,), (1347208013,), (1347208020,), (1347208099,), (1347208105,), (1347208113,), (1347208198,), (1347208201,), (1347208204,), (1347208209,), (1347208219,), (1347208231,), (1347208292,), (1347208309,), (1347208318,), (1347208325,), (1347208373,), (1347208377,), (1347208380,), (1347208385,), (1347208390,), (1347208452,), (1347208539,), (1347208578,), (1347208585,), (1347208856,), (1347208859,), (1347208893,), (1347208901,), (1347208905,), (1347208965,), (1347208968,), (1347208976,), (1347208983,), (1347209028,), (1347209030,), (1347209033,), (1347209038,), (1347209044,), (1347209049,), (1347209080,), (1347209167,), (1347209195,), (1347209216,), (1347209242,), (1347210248,), (1347210313,), (1347210358,), (1347210384,), (1347210909,), (1347210751,), (1347210784,), (1347210835,), (1347210871,), (1347211453,), (1347211506,), (1347211524,), (1347211569,), (1347211667,), (1347211670,), (1347211673,), (1347211676,), (1347211683,), (1347211690,), (1347211733,), (1347211735,), (1347211749,), (1347211755,), (1347211937,), (1347211938,), (1347212011,), (1347212028,), (1347212033,), (1347212040,), (1347212047,), (1347212053,), (1347212082,), (1347212085,), (1347212179,), (1347212181,), (1347212237,), (1347212242,), (1347212246,), (1347212250,), (1347212255,), (1347212328,), (1347212330,), (1347212332,), (1347212335,), (1347212342,), (1347212507,), (1347212535,), (1347212567,), (1347212627,), (1347212633,), (1347212636,), (1347212642,), (1347212647,), (1347212652,), (1347212688,), (1347212695,), (1347212701,), (1347212706,), (1347212764,), (1347212747,), (1347212749,), (1347212751,), (1347212754,), (1347212759,), (1347212915,), (1347212959,), (1347212962,), (1347212965,), (1347212972,), (1347213005,), (1347213011,), (1347213018,), (1347213023,), (1347213027,), (1347213031,), (1347213073,), (1347213077,), (1347213240,), (1347213336,), (1347213476,), (1347213498,), (1347213505,), (1347213514,), (1347213519,), (1347213542,), (1347213704,), (1347213705,), (1347213711,), (1347213715,), (1347213773,), (1347213777,), (1347213780,), (1347213812,), (1347213841,), (1347213845,), (1347214091,), (1347214104,), (1347214112,), (1347214121,), (1347214128,), (1347214560,), (1347214564,), (1347214572,), (1347214581,), (1347214629,), (1347214655,), (1347214674,), (1347214691,), (1347214783,), (1347214831,), (1347214879,), (1347214881,), (1347214885,), (1347214896,), (1347214904,), (1347214985,), (1347215006,), (1347215010,), (1347215031,), (1347215040,), (1347215137,), (1347215140,), (1347215142,), (1347215147,), (1347215151,), (1347215193,), (1347215197,), (1347215201,), (1347215206,), (1347215507,), (1347215510,), (1347215538,), (1347215561,), (1347215566,), (1347215624,), (1347215609,), (1347215613,), (1347215617,), (1347215621,), (1347215653,), (1347215677,), (1347215701,), (1347215733,), (1347215783,), (1347216059,), (1347216079,), (1347216097,), (1347216125,), (1347216150,), (1347216333,), (1347216354,), (1347216406,), (1347216441,), (1347216483,), (1347216514,), (1347216629,), (1347216637,), (1347216640,), (1347216645,), (1347216659,), (1347216746,), (1347216749,), (1347216759,), (1347216767,), (1347216772,), (1347216777,), (1347216929,), (1347216956,), (1347216983,), (1347217011,), (1347217148,), (1347217165,), (1347217187,), (1347217236,), (1347217265,), (1347217600,), (1347217624,), (1347217647,), (1347217699,), (1347217718,), (1347217737,), (1347218057,), (1347218077,), (1347218099,), (1347218154,), (1347218275,), (1347218294,), (1347218328,), (1347218364,), (1347218403,), (1347218635,), (1347218669,), (1347218692,), (1347218725,), (1347218754,), (1347219010,), (1347219012,), (1347219015,), (1347219035,), (1347219508,), (1347219548,), (1347219569,), (1347219575,), (1347219602,), (1347219644,), (1347219941,), (1347219945,), (1347219948,), (1347219953,), (1347219957,), (1347220022,), (1347220002,), (1347220006,), (1347220015,), (1347220144,), (1347220150,), (1347220156,), (1347220165,), (1347220171,), (1347220176,), (1347220219,), (1347220223,), (1347220232,), (1347220285,), (1347220289,), (1347220292,), (1347220295,), (1347220299,), (1347220348,), (1347220352,), (1347220356,), (1347220455,), (1347220567,), (1347220576,), (1347220591,), (1347220678,), (1347220681,), (1347220684,), (1347220686,), (1347220693,), (1347220697,), (1347220727,), (1347220731,), (1347220735,), (1347220740,), (1347220747,), (1347220771,), (1347220775,), (1347220779,), (1347220786,), (1347220790,), (1347220794,), (1347220867,), (1347220876,), (1347220893,), (1347220898,), (1347220901,), (1347220904,), (1347220967,), (1347220988,), (1347221000,), (1347221011,), (1347221022,), (1347221046,), (1347221053,), (1347221069,), (1347221076,), (1347221140,), (1347221985,), (1347221965,), (1347222306,), (1347222331,), (1347222357,), (1347222469,), (1347222510,), (1347222977,), (1347223024,), (1347223042,), (1347223078,), (1347223112,), (1347223158,), (1347223354,), (1347223381,), (1347223404,), (1347223780,), (1347223819,), (1347223856,), (1347224135,), (1347224163,), (1347225762,), (1347225767,), (1347226400,), (1347226464,), (1347226524,), (1347226572,), (1347226589,), (1347226595,), (1347226675,), (1347226682,), (1347226688,), (1347226710,), (1347227141,), (1347226965,), (1347226990,), (1347226996,), (1347227027,), (1347227121,), (1347227234,), (1347227239,), (1347227242,), (1347227260,), (1347227537,), (1347227539,), (1347227546,), (1347227556,), (1347227561,), (1347227564,), (1347227824,), (1347227841,), (1347227878,), (1347228173,), (1347228202,), (1347228231,), (1347228265,), (1347228299,), (1347228338,), (1347228664,), (1347228698,), (1347228718,), (1347228726,), (1347228912,), (1347228966,), (1347229014,), (1347229044,), (1347229071,), (1347229100,), (1347229507,), (1347229548,), (1347229585,), (1347229620,), (1347229647,), (1347229720,), (1347229723,), (1347229729,), (1347229747,), (1347229767,), (1347229798,), (1347230438,), (1347230489,), (1347230537,), (1347230591,), (1347230912,), (1347230922,), (1347230932,), (1347230955,), (1347230986,), (1347231011,), (1347231356,), (1347231427,), (1347231461,), (1347231490,), (1347231811,), (1347231818,), (1347231824,), (1347231828,), (1347232060,), (1347232064,), (1347232067,), (1347232072,), (1347232076,), (1347232080,), (1347232254,), (1347232272,), (1347232279,), (1347232285,), (1347232310,), (1347232336,), (1347232416,), (1347232396,), (1347232400,), (1347232405,), (1347232409,), (1347232571,), (1347232616,), (1347232634,), (1347232640,), (1347232644,), (1347232696,), (1347232699,), (1347232703,), (1347232708,), (1347232713,), (1347232802,), (1347232884,), (1347232945,), (1347232961,), (1347232993,), (1347233013,), (1347233113,), (1347233122,), (1347233127,), (1347233162,), (1347233231,), (1347233268,), (1347233272,), (1347233276,), (1347233290,), (1347233294,), (1347233325,), (1347233340,), (1347233348,), (1347233461,), (1347233463,), (1347233467,), (1347233470,), (1347233504,), (1347233513,), (1347233517,), (1347233522,), (1347233526,), (1347233529,), (1347233569,), (1347233572,), (1347233577,), (1347233581,), (1347233647,), (1347233651,), (1347233656,), (1347233665,), (1347233682,), (1347233719,), (1347233783,), (1347233826,), (1347233850,), (1347233878,), (1347233910,), (1347234019,), (1347234023,), (1347234024,), (1347234027,), (1347234031,), (1347234038,), (1347234085,), (1347234093,), (1347234096,), (1347234106,), (1347234109,), (1347234327,), (1347234358,), (1347234394,), (1347234412,), (1347234451,), (1347234469,), (1347234560,), (1347234549,), (1347234553,), (1347234556,), (1347234611,), (1347234700,), (1347234706,), (1347234708,), (1347234710,), (1347234719,), (1347234763,), (1347234770,), (1347234775,), (1347234778,), (1347234940,), (1347234973,), (1347235014,), (1347235029,), (1347235051,), (1347235089,), (1347235330,), (1347235334,), (1347235340,), (1347235346,), (1347235389,), (1347235392,), (1347235396,), (1347235402,), (1347235407,), (1347235413,), (1347235435,), (1347235443,), (1347235497,), (1347235502,), (1347235545,), (1347235570,), (1347235589,), (1347235657,), (1347235663,), (1347235667,), (1347235835,), (1347235852,), (1347235876,), (1347235886,), (1347235894,), (1347235948,), (1347235951,), (1347235953,), (1347235958,), (1347235963,), (1347235991,), (1347235993,), (1347235997,), (1347235999,), (1347236002,), (1347236007,), (1347236151,), (1347236192,), (1347236275,), (1347236334,), (1347237058,), (1347237089,), (1347237132,), (1347237157,), (1347237186,), (1347237722,), (1347237762,), (1347237798,), (1347237852,), (1347237881,), (1347237906,), (1347237993,), (1347238031,), (1347238074,), (1347238544,), (1347238217,), (1347238300,), (1347238340,), (1347238382,), (1347238440,), (1347238875,), (1347238917,), (1347238943,), (1347238981,), (1347239046,), (1347239344,), (1347239389,), (1347239440,), (1347239478,), (1347240437,), (1347240493,), (1347240554,), (1347240659,), (1347240733,), (1347240781,), (1347241151,), (1347241158,), (1347241189,), (1347241195,), (1347241202,), (1347241442,), (1347241490,), (1347241542,), (1347241593,), (1347241616,), (1347241706,), (1347242191,), (1347242261,), (1347242308,), (1347242353,), (1347242744,), (1347242760,), (1347242778,), (1347242792,), (1347242998,), (1347243032,), (1347243904,), (1347243945,), (1347244220,), (1347244245,), (1347244253,), (1347244261,), (1347244390,), (1347244449,), (1347244489,), (1347244498,), (1347244536,), (1347244540,), (1347244546,), (1347244568,), (1347244574,), (1347244630,), (1347244635,), (1347244639,), (1347244645,), (1347244652,), (1347244710,), (1347244689,), (1347244693,), (1347244700,), (1347244704,), (1347244708,), (1347244744,), (1347244748,), (1347244765,), (1347244793,), (1347245193,), (1347245222,), (1347245251,), (1347245273,), (1347245299,), (1347245303,), (1347245340,), (1347245345,), (1347245350,), (1347245357,), (1347245363,), (1347245471,), (1347245475,), (1347245479,), (1347245484,), (1347245526,), (1347245531,), (1347245541,), (1347245545,), (1347245549,), (1347245554,), (1347245590,), (1347245595,), (1347245598,), (1347245606,), (1347245610,), (1347245656,), (1347245667,), (1347245676,), (1347245706,), (1347245713,), (1347245913,), (1347245933,), (1347245938,), (1347245958,), (1347245964,), (1347246025,), (1347246027,), (1347246030,), (1347246069,), (1347246073,), (1347246084,), (1347246091,), (1347246093,), (1347246148,), (1347246151,), (1347246154,), (1347246159,), (1347246163,), (1347246199,), (1347246209,), (1347246211,), (1347246215,), (1347246218,), (1347246222,), (1347246253,), (1347246256,), (1347246257,), (1347246319,), (1347264070,), (1347274872,), (1347274920,), (1347274923,), (1347275008,), (1347275013,), (1347275017,), (1347275150,), (1347275183,), (1347275217,), (1347275246,), (1347275313,), (1347275315,), (1347275352,), (1347275470,), (1347275478,), (1347275487,), (1347275500,), (1347275503,), (1347275510,), (1347275513,), (1347275517,), (1347275525,), (1347275543,), (1347275555,), (1347275565,), (1347275571,), (1347275573,), (1347275613,), (1347275614,), (1347275629,), (1347275639,), (1347275715,), (1347275835,), (1347275839,), (1347275858,), (1347275882,), (1347276118,), (1347276145,), (1347276169,), (1347276183,), (1347276211,), (1347276539,), (1347276541,), (1347276542,), (1347276546,), (1347276568,), (1347276748,), (1347276759,), (1347276773,), (1347276783,), (1347276802,), (1347276842,), (1347277032,), (1347276964,), (1347276977,), (1347277004,), (1347277088,), (1347277132,), (1347277147,), (1347277171,), (1347277194,), (1347277360,), (1347277374,), (1347277377,), (1347277381,), (1347277385,), (1347277389,), (1347277779,), (1347277835,), (1347277945,), (1347278009,), (1347278185,), (1347278274,), (1347278298,), (1347278352,), (1347278360,), (1347278368,), (1347278474,), (1347278498,), (1347278503,), (1347278514,), (1347278534,), (1347278903,), (1347278918,), (1347278922,), (1347278934,), (1347279127,), (1347279138,), (1347279147,), (1347279155,), (1347279181,), (1347279202,), (1347279283,), (1347279287,), (1347279291,), (1347279295,), (1347279300,), (1347279385,), (1347279412,), (1347279443,), (1347279453,), (1347279458,), (1347279547,), (1347279550,), (1347279584,), (1347279610,), (1347279680,), (1347279903,), (1347279904,), (1347279927,), (1347279993,), (1347280047,), (1347280420,), (1347280471,), (1347280514,), (1347280554,), (1347280630,), (1347280660,), (1347280982,), (1347280989,), (1347281026,), (1347281066,), (1347281110,), (1347281564,), (1347281590,), (1347281611,), (1347281927,), (1347281779,), (1347281819,), (1347281850,), (1347281859,), (1347281881,), (1347282160,), (1347282261,), (1347282306,), (1347282318,), (1347282473,), (1347282475,), (1347282478,), (1347282487,), (1347282495,), (1347282503,), (1347282552,), (1347282556,), (1347282572,), (1347282583,), (1347282590,), (1347282703,), (1347282712,), (1347282731,), (1347282761,), (1347282784,), (1347282817,), (1347283044,), (1347283072,), (1347283177,), (1347283468,), (1347284156,), (1347284427,), (1347284456,), (1347284474,), (1347284520,), (1347284542,), (1347284699,), (1347284724,), (1347284752,), (1347284773,), (1347284797,), (1347284811,), (1347284837,), (1347284840,), (1347284843,), (1347284844,), (1347285118,), (1347285172,), (1347285210,), (1347285281,), (1347285341,), (1347285409,), (1347285586,), (1347285645,), (1347285717,), (1347285787,), (1347285851,), (1347286187,), (1347286017,), (1347286073,), (1347286128,), (1347287063,), (1347287124,), (1347287189,), (1347287245,), (1347287320,), (1347287386,), (1347288016,), (1347288081,), (1347288136,), (1347288261,), (1347288320,), (1347288732,), (1347288750,), (1347288792,), (1347288844,), (1347288882,), (1347288921,), (1347289314,), (1347289360,), (1347289389,), (1347289444,), (1347289475,), (1347289982,), (1347290033,), (1347290061,), (1347290079,), (1347290205,), (1347290223,), (1347290228,), (1347290244,), (1347290247,), (1347290258,), (1347290282,), (1347290390,), (1347290538,), (1347290549,), (1347290556,), (1347290615,), (1347290629,), (1347290638,), (1347290641,), (1347290646,), (1347290650,), (1347290681,), (1347290708,), (1347290720,), (1347290745,), (1347290753,), (1347290869,), (1347290874,), (1347290878,), (1347290884,), (1347291121,), (1347291122,), (1347291125,), (1347291129,), (1347291134,), (1347291220,), (1347291225,), (1347291230,), (1347291235,), (1347291240,), (1347291244,), (1347291360,), (1347291366,), (1347291372,), (1347291483,), (1347291548,), (1347291630,), (1347291648,), (1347291665,), (1347291695,), (1347291810,), (1347291760,), (1347291786,), (1347291799,), (1347291986,), (1347291994,), (1347292005,), (1347292017,), (1347292043,), (1347292065,), (1347292202,), (1347292238,), (1347292261,), (1347292291,), (1347292560,), (1347292585,), (1347292628,), (1347292679,), (1347292950,), (1347293571,), (1347293587,), (1347293592,), (1347293666,), (1347293672,), (1347293678,), (1347293685,), (1347293723,), (1347293728,), (1347293732,), (1347293745,), (1347293756,), (1347293762,), (1347293886,), (1347293891,), (1347293897,), (1347293903,), (1347293907,), (1347293990,), (1347293998,), (1347294021,), (1347294059,), (1347294096,), (1347294143,), (1347294450,), (1347294482,), (1347294538,), (1347294592,), (1347294749,), (1347294756,), (1347294763,), (1347294770,), (1347294777,), (1347294784,), (1347294802,), (1347294808,), (1347294883,), (1347294942,), (1347294965,), (1347295427,), (1347295679,), (1347295164,), (1347295206,), (1347295230,), (1347295313,), (1347295389,), (1347295507,), (1347295516,), (1347295540,), (1347295608,), (1347295635,), (1347295648,), (1347295670,), (1347295674,), (1347296006,), (1347296022,), (1347296039,), (1347296055,), (1347296139,), (1347296143,), (1347296147,), (1347296151,), (1347296377,), (1347296530,), (1347296553,), (1347296576,), (1347296663,), (1347296667,), (1347296671,), (1347296675,), (1347296787,), (1347296806,), (1347296827,), (1347296853,), (1347296879,), (1347296902,), (1347297113,), (1347297136,), (1347297164,), (1347297436,), (1347297441,), (1347297443,), (1347297447,), (1347297455,), (1347297465,), (1347298000,), (1347298073,), (1347298103,), (1347298176,), (1347298262,), (1347298306,), (1347298782,), (1347298851,), (1347298940,), (1347299425,), (1347299475,), (1347299533,), (1347299594,), (1347299667,), (1347299734,), (1347300414,), (1347300253,), (1347300339,), (1347300366,), (1347300408,), (1347300537,), (1347300558,), (1347300576,), (1347300584,), (1347300594,), (1347300603,), (1347300642,), (1347300652,), (1347300654,), (1347300659,), (1347300663,), (1347300825,), (1347300832,), (1347300850,), (1347300861,), (1347300863,), (1347300927,), (1347300938,), (1347300947,), (1347300960,), (1347300997,), (1347301002,), (1347301286,), (1347301308,), (1347301318,), (1347301327,), (1347301333,), (1347301415,), (1347301421,), (1347301427,), (1347301430,), (1347301435,), (1347301461,), (1347301465,), (1347301468,), (1347301472,), (1347301509,), (1347301515,), (1347301524,), (1347301532,), (1347301539,), (1347301544,), (1347301595,), (1347301600,), (1347301605,), (1347301611,), (1347301637,), (1347301642,), (1347301652,), (1347301661,), (1347301668,), (1347301854,), (1347301904,), (1347301937,), (1347304330,), (1347304305,), (1347304482,), (1347305156,), (1347305181,), (1347305210,), (1347305821,), (1347306149,), (1347306307,), (1347306651,), (1347306655,), (1347306763,), (1347307045,), (1347307341,), (1347307552,), (1347307558,), (1347307567,), (1347307569,), (1347307757,), (1347307786,), (1347307788,), (1347307854,), (1347307856,), (1347307858,), (1347307862,), (1347307894,), (1347307896,), (1347307902,), (1347307906,), (1347307909,), (1347307918,), (1347307987,), (1347307993,), (1347307998,), (1347308000,), (1347308004,), (1347308043,), (1347308047,), (1347308049,), (1347308078,), (1347308501,), (1347308588,), (1347308698,), (1347308930,), (1347308952,), (1347308954,), (1347308962,), (1347308998,), (1347309159,), (1347309162,), (1347309165,), (1347309183,), (1347309185,), (1347309195,), (1347309240,), (1347309298,), (1347309302,), (1347309305,), (1347309341,), (1347309343,), (1347309345,), (1347309347,), (1347309370,), (1347309406,), (1347309401,), (1347309404,), (1347309613,), (1347309762,), (1347309768,), (1347309775,), (1347309812,), (1347310018,), (1347310022,), (1347310113,), (1347310120,), (1347310127,), (1347310259,), (1347310262,), (1347310265,), (1347310269,), (1347310273,), (1347310308,), (1347310311,), (1347310317,), (1347310320,), (1347310334,), (1347310433,), (1347310437,), (1347310440,), (1347310467,), (1347310579,), (1347310584,), (1347310686,), (1347310690,), (1347310693,), (1347310696,), (1347310746,), (1347310751,), (1347310756,), (1347310764,), (1347310766,), (1347310813,), (1347310816,), (1347310819,), (1347310940,), (1347310946,), (1347310948,), (1347311075,), (1347311079,), (1347311083,), (1347311086,), (1347311088,), (1347311091,), (1347311115,), (1347311117,), (1347311121,), (1347311124,), (1347311160,), (1347311164,), (1347311174,), (1347311182,), (1347311185,), (1347311246,), (1347311224,), (1347311226,), (1347311229,), (1347311236,), (1347311296,), (1347311331,), (1347311341,), (1347311348,), (1347311352,), (1347311356,), (1347311418,), (1347311421,), (1347311425,), (1347311429,), (1347311432,), (1347311602,), (1347311607,), (1347311611,), (1347311666,), (1347311668,), (1347311670,), (1347311672,), (1347311673,), (1347311803,), (1347311922,), (1347311924,), (1347311926,), (1347311954,), (1347311958,), (1347311974,), (1347311988,), (1347311995,), (1347312021,), (1347312025,), (1347312030,), (1347312036,), (1347312046,), (1347312084,), (1347312090,), (1347312094,), (1347312101,), (1347312120,), (1347312124,), (1347312129,), (1347312137,), (1347312142,), (1347312180,), (1347312186,), (1347312199,), (1347312202,), (1347312206,), (1347312219,), (1347312291,), (1347312295,), (1347312320,), (1347312350,), (1347312381,), (1347312728,), (1347312745,), (1347312750,), (1347313527,), (1347313558,), (1347313585,), (1347313613,), (1347313646,), (1347313652,), (1347313687,), (1347313695,), (1347313719,), (1347313837,), (1347313796,), (1347313822,), (1347314525,), (1347314634,), (1347314761,), (1347314831,), (1347314866,), (1347314979,), (1347314981,), (1347314983,), (1347314987,), (1347314995,), (1347315070,), (1347315076,), (1347315126,), (1347315203,), (1347315261,), (1347315319,), (1347315736,), (1347315765,), (1347316162,), (1347316168,), (1347316196,), (1347316246,), (1347316276,), (1347316496,), (1347316538,), (1347316589,), (1347316626,), (1347316903,), (1347316942,), (1347316969,), (1347316997,), (1347318108,), (1347318377,), (1347319408,), (1347319424,), (1347319440,), (1347319459,), (1347319797,), (1347319841,), (1347319887,), (1347319908,), (1347319942,), (1347320647,), (1347320670,), (1347320724,), (1347320768,), (1347320785,), (1347320837,), (1347321265,), (1347321294,), (1347321317,), (1347321334,), (1347321639,), (1347321666,), (1347321691,), (1347321709,), (1347322125,), (1347322142,), (1347322192,), (1347322248,), (1347322962,), (1347322754,), (1347322799,), (1347322827,), (1347322891,), (1347322939,), (1347323201,), (1347323223,), (1347323831,), (1347323841,), (1347323858,), (1347323902,), (1347324028,), (1347324504,), (1347324507,), (1347324513,), (1347324523,), (1347324531,), (1347324556,), (1347324980,), (1347325003,), (1347325058,), (1347325459,), (1347325495,), (1347325565,), (1347325616,), (1347325665,), (1347325955,), (1347325989,), (1347326020,), (1347326045,), (1347326350,), (1347326392,), (1347326440,), (1347326497,), (1347326566,), (1347326948,), (1347326994,), (1347327030,), (1347327553,), (1347327631,), (1347327777,), (1347328445,), (1347328484,), (1347328540,), (1347328590,), (1347328662,), (1347329122,), (1347329267,), (1347329347,), (1347329439,), (1347329487,), (1347329980,), (1347330027,), (1347330063,), (1347330096,), (1347330135,), (1347330178,), (1347330389,), (1347330413,), (1347330459,), (1347330656,), (1347330683,), (1347330709,), (1347330738,), (1347330763,), (1347331377,), (1347331111,), (1347331193,), (1347331228,), (1347331291,), (1347331764,), (1347331808,), (1347332405,), (1347332440,), (1347332470,), (1347332498,), (1347332522,), (1347333709,), (1347334566,), (1347338666,), (1347338695,), (1347339427,), (1347343022,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'25032025': {'nb_upload': 33, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21697624]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1347227141, 1347226710, 1347226688, 1347226682, 1347226675, 1347226595, 1347226589, 1347226572, 1347226524, 1347226464, 1347226400, 1347225767, 1347225762, 1347224163, 1347224135, 1347223856, 1347223819, 1347223780, 1347223404, 1347223381, 1347223354, 1347223158, 1347223112, 1347223078, 1347223042, 1347223024, 1347222977, 1347222510, 1347222469, 1347222357, 1347222331, 1347222306, 1347221965] map_info['map_portfolio_photo'] : {21697624: [1347227141, 1347226710, 1347226688, 1347226682, 1347226675, 1347226595, 1347226589, 1347226572, 1347226524, 1347226464, 1347226400, 1347225767, 1347225762, 1347224163, 1347224135, 1347223856, 1347223819, 1347223780, 1347223404, 1347223381, 1347223354, 1347223158, 1347223112, 1347223078, 1347223042, 1347223024, 1347222977, 1347222510, 1347222469, 1347222357, 1347222331, 1347222306, 1347221965]} final : True mtd_id 4302 list_pids : [1347227141, 1347226710, 1347226688, 1347226682, 1347226675, 1347226595, 1347226589, 1347226572, 1347226524, 1347226464, 1347226400, 1347225767, 1347225762, 1347224163, 1347224135, 1347223856, 1347223819, 1347223780, 1347223404, 1347223381, 1347223354, 1347223158, 1347223112, 1347223078, 1347223042, 1347223024, 1347222977, 1347222510, 1347222469, 1347222357, 1347222331, 1347222306, 1347221965] Looping around the photos to save general results len do output : 1 /21697624Didn'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, '2691597') ('4302', '21697624', '1347227141', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347226710', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347226688', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347226682', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347226675', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347226595', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347226589', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347226572', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347226524', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347226464', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347226400', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347225767', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347225762', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347224163', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347224135', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347223856', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347223819', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347223780', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347223404', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347223381', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347223354', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347223158', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347223112', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347223078', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347223042', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347223024', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347222977', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347222510', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347222469', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347222357', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347222331', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347222306', None, None, None, None, None, '2691597') ('4302', None, None, None, None, None, None, None, '2691597') ('4302', '21697624', '1347221965', None, None, None, None, None, '2691597') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 34 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, '21697624', 'None', None, None, None, None, '2691597'), ('4302', '21697624', '1347227141', None, None, None, None, None, '2691597'), ('4302', '21697624', '1347226710', None, None, None, None, None, '2691597'), ('4302', '21697624', '1347226688', None, None, None, None, None, '2691597'), ('4302', '21697624', '1347226682', None, None, None, None, None, '2691597'), ('4302', '21697624', '1347226675', None, None, None, None, None, '2691597'), ('4302', '21697624', '1347226595', None, None, None, None, None, '2691597'), ('4302', '21697624', '1347226589', None, None, None, None, None, '2691597'), ('4302', '21697624', '1347226572', None, None, None, None, None, '2691597'), ('4302', '21697624', '1347226524', None, None, None, None, None, '2691597'), ('4302', '21697624', '1347226464', None, None, None, None, None, '2691597'), ('4302', '21697624', '1347226400', None, None, None, None, None, '2691597'), ('4302', '21697624', '1347225767', None, None, None, None, None, '2691597'), ('4302', '21697624', '1347225762', None, None, None, None, None, '2691597'), ('4302', '21697624', '1347224163', None, None, None, None, None, '2691597'), ('4302', '21697624', '1347224135', None, None, None, None, None, '2691597'), ('4302', '21697624', '1347223856', None, None, None, None, None, '2691597'), ('4302', '21697624', '1347223819', None, None, None, None, None, '2691597'), ('4302', '21697624', '1347223780', None, None, None, None, None, '2691597'), ('4302', '21697624', '1347223404', None, None, None, None, None, '2691597'), ('4302', '21697624', '1347223381', None, None, None, None, None, '2691597'), ('4302', '21697624', '1347223354', None, None, None, None, None, '2691597'), ('4302', '21697624', '1347223158', None, None, None, None, None, '2691597'), ('4302', '21697624', '1347223112', None, None, None, None, None, '2691597'), ('4302', '21697624', '1347223078', None, None, None, None, None, '2691597'), ('4302', '21697624', '1347223042', None, None, None, None, None, '2691597'), ('4302', '21697624', '1347223024', None, None, None, None, None, '2691597'), ('4302', '21697624', '1347222977', None, None, None, None, None, '2691597'), ('4302', '21697624', '1347222510', None, None, None, None, None, '2691597'), ('4302', '21697624', '1347222469', None, None, None, None, None, '2691597'), ('4302', '21697624', '1347222357', None, None, None, None, None, '2691597'), ('4302', '21697624', '1347222331', None, None, None, None, None, '2691597'), ('4302', '21697624', '1347222306', None, None, None, None, None, '2691597'), ('4302', '21697624', '1347221965', None, None, None, None, None, '2691597')] time used for this insertion : 0.025345563888549805 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.65380859375 time spend to save output : 0.025747060775756836 total time spend for step 5 : 2.679555654525757 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 (2691597) 2.81user 1.49system 0:14.25elapsed 30%CPU (0avgtext+0avgdata 160972maxresident)k 456inputs+22424outputs (4major+75742minor)pagefaults 0swaps