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 : 3086285 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 (2585354) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2585354) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20503438 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2585354'] with mtr_portfolio_ids : ['20503438'] and first list_photo_ids : [] new path : /proc/3086285/ Name: python3 Umask: 0002 State: R (running) Tgid: 3086285 Ngid: 0 Pid: 3086285 PPid: 3086283 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 3086285 NSpid: 3086285 NSpgid: 3085732 NSsid: 3085732 VmPeak: 483988 kB VmSize: 483964 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 97652 kB VmRSS: 97652 kB RssAnon: 59732 kB RssFile: 37920 kB RssShmem: 0 kB VmData: 242716 kB VmStk: 132 kB VmExe: 2640 kB VmLib: 130468 kB VmPTE: 544 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: 41 nonvoluntary_ctxt_switches: 118 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '3086285', 'Ngid': '0', 'Pid': '3086285', 'PPid': '3086283', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '3086285', 'NSpid': '3086285', 'NSpgid': '3085732', 'NSsid': '3085732', 'VmPeak': '483988 kB', 'VmSize': '483964 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '97652 kB', 'VmRSS': '97652 kB', 'RssAnon': '59732 kB', 'RssFile': '37920 kB', 'RssShmem': '0 kB', 'VmData': '242716 kB', 'VmStk': '132 kB', 'VmExe': '2640 kB', 'VmLib': '130468 kB', 'VmPTE': '544 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': '41', 'nonvoluntary_ctxt_switches': '118'} ('datou_batch_current', '3086285', '483988', '0', '483964', '242716', '97652', b'', 'marlene', '2585354') 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 (20503438) 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 (2585354 ) ) 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 (20503438) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1337303087, 'portfolio_id': 20503438}, {'photo_id': 1337301494, 'portfolio_id': 20503438}, {'photo_id': 1337301383, 'portfolio_id': 20503438}, {'photo_id': 1337301382, 'portfolio_id': 20503438}, {'photo_id': 1337301355, 'portfolio_id': 20503438}, {'photo_id': 1337301353, 'portfolio_id': 20503438}, {'photo_id': 1337301351, 'portfolio_id': 20503438}, {'photo_id': 1337301350, 'portfolio_id': 20503438}, {'photo_id': 1337301319, 'portfolio_id': 20503438}, {'photo_id': 1337301317, 'portfolio_id': 20503438}, {'photo_id': 1337301316, 'portfolio_id': 20503438}, {'photo_id': 1337301291, 'portfolio_id': 20503438}, {'photo_id': 1337301269, 'portfolio_id': 20503438}, {'photo_id': 1337301267, 'portfolio_id': 20503438}, {'photo_id': 1337301266, 'portfolio_id': 20503438}, {'photo_id': 1337301054, 'portfolio_id': 20503438}, {'photo_id': 1337301052, 'portfolio_id': 20503438}, {'photo_id': 1337301051, 'portfolio_id': 20503438}, {'photo_id': 1337301023, 'portfolio_id': 20503438}, {'photo_id': 1337301018, 'portfolio_id': 20503438}, {'photo_id': 1337301016, 'portfolio_id': 20503438}, {'photo_id': 1337300942, 'portfolio_id': 20503438}, {'photo_id': 1337300897, 'portfolio_id': 20503438}, {'photo_id': 1337300889, 'portfolio_id': 20503438}, {'photo_id': 1337300886, 'portfolio_id': 20503438}, {'photo_id': 1337300222, 'portfolio_id': 20503438}, {'photo_id': 1337300220, 'portfolio_id': 20503438}, {'photo_id': 1337300219, 'portfolio_id': 20503438}, {'photo_id': 1337300193, 'portfolio_id': 20503438}, {'photo_id': 1337300190, 'portfolio_id': 20503438}, {'photo_id': 1337300187, 'portfolio_id': 20503438}, {'photo_id': 1337300185, 'portfolio_id': 20503438}, {'photo_id': 1337300184, 'portfolio_id': 20503438}, {'photo_id': 1337300149, 'portfolio_id': 20503438}, {'photo_id': 1337300145, 'portfolio_id': 20503438}, {'photo_id': 1337300141, 'portfolio_id': 20503438}, {'photo_id': 1337300139, 'portfolio_id': 20503438}] map_portfolio_id_photo_id: {20503438: [1337303087, 1337301494, 1337301383, 1337301382, 1337301355, 1337301353, 1337301351, 1337301350, 1337301319, 1337301317, 1337301316, 1337301291, 1337301269, 1337301267, 1337301266, 1337301054, 1337301052, 1337301051, 1337301023, 1337301018, 1337301016, 1337300942, 1337300897, 1337300889, 1337300886, 1337300222, 1337300220, 1337300219, 1337300193, 1337300190, 1337300187, 1337300185, 1337300184, 1337300149, 1337300145, 1337300141, 1337300139]} ##### 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 : 3.433410406112671 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Fri Feb 14 05:48:30 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20503438) 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 : 20503438 get user id for portfolio 20503438 get sub ptf for main ptf 20503438, type 3726 and hashtags ['papier', 'plastique', 'cartonnette', 'Carton_gris', 'kraft', 'metal', 'Carton_brun', 'environnement', 'Teint_Dans_La_Masse', 'mal_croppe', 'autre_refus', 'flou'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20503438 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','plastique','cartonnette','Carton_gris','kraft','metal','Carton_brun','environnement','Teint_Dans_La_Masse','mal_croppe','autre_refus','flou')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20503438 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','plastique','cartonnette','Carton_gris','kraft','metal','Carton_brun','environnement','Teint_Dans_La_Masse','mal_croppe','autre_refus','flou')) AND mptpi.`min_score`=0.5 To do returned map {'autre_refus': {'main_port_id': 20503438, 'sub_port_id': 20503491, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13172360, 'last_updated_at': datetime.datetime(2025, 2, 13, 8, 50, 31), 'last_updated_at_desc': datetime.datetime(2025, 2, 13, 8, 50, 31), 'last_updated_at_asc': datetime.datetime(2025, 2, 13, 8, 34, 58)}, 'Carton_brun': {'main_port_id': 20503438, 'sub_port_id': 20503492, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13172361, 'last_updated_at': datetime.datetime(2025, 2, 13, 8, 50, 31), 'last_updated_at_desc': datetime.datetime(2025, 2, 13, 8, 50, 31), 'last_updated_at_asc': datetime.datetime(2025, 2, 13, 8, 34, 58)}, 'metal': {'main_port_id': 20503438, 'sub_port_id': 20503493, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13172362, 'last_updated_at': datetime.datetime(2025, 2, 13, 8, 50, 31), 'last_updated_at_desc': datetime.datetime(2025, 2, 13, 8, 50, 31), 'last_updated_at_asc': datetime.datetime(2025, 2, 13, 8, 34, 58)}, 'environnement': {'main_port_id': 20503438, 'sub_port_id': 20503494, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13172363, 'last_updated_at': datetime.datetime(2025, 2, 13, 8, 50, 31), 'last_updated_at_desc': datetime.datetime(2025, 2, 13, 8, 50, 31), 'last_updated_at_asc': datetime.datetime(2025, 2, 13, 8, 34, 58)}, 'papier': {'main_port_id': 20503438, 'sub_port_id': 20503495, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13172364, 'last_updated_at': datetime.datetime(2025, 2, 13, 8, 50, 31), 'last_updated_at_desc': datetime.datetime(2025, 2, 13, 8, 50, 31), 'last_updated_at_asc': datetime.datetime(2025, 2, 13, 8, 34, 58)}, 'plastique': {'main_port_id': 20503438, 'sub_port_id': 20503496, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13172365, 'last_updated_at': datetime.datetime(2025, 2, 13, 8, 50, 31), 'last_updated_at_desc': datetime.datetime(2025, 2, 13, 8, 50, 31), 'last_updated_at_asc': datetime.datetime(2025, 2, 13, 8, 34, 58)}, 'cartonnette': {'main_port_id': 20503438, 'sub_port_id': 20503497, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13172366, 'last_updated_at': datetime.datetime(2025, 2, 13, 8, 50, 31), 'last_updated_at_desc': datetime.datetime(2025, 2, 13, 8, 50, 31), 'last_updated_at_asc': datetime.datetime(2025, 2, 13, 8, 34, 58)}, 'Teint_Dans_La_Masse': {'main_port_id': 20503438, 'sub_port_id': 20503498, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13172367, 'last_updated_at': datetime.datetime(2025, 2, 13, 8, 50, 31), 'last_updated_at_desc': datetime.datetime(2025, 2, 13, 8, 50, 31), 'last_updated_at_asc': datetime.datetime(2025, 2, 13, 8, 34, 58)}, 'kraft': {'main_port_id': 20503438, 'sub_port_id': 20503499, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13172368, 'last_updated_at': datetime.datetime(2025, 2, 13, 8, 50, 31), 'last_updated_at_desc': datetime.datetime(2025, 2, 13, 8, 50, 31), 'last_updated_at_asc': datetime.datetime(2025, 2, 13, 8, 34, 58)}, 'mal_croppe': {'main_port_id': 20503438, 'sub_port_id': 20503500, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13172369, 'last_updated_at': datetime.datetime(2025, 2, 13, 8, 50, 31), 'last_updated_at_desc': datetime.datetime(2025, 2, 13, 8, 50, 31), 'last_updated_at_asc': datetime.datetime(2025, 2, 13, 8, 34, 58)}, 'flou': {'main_port_id': 20503438, 'sub_port_id': 20503501, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13172370, 'last_updated_at': datetime.datetime(2025, 2, 13, 8, 50, 31), 'last_updated_at_desc': datetime.datetime(2025, 2, 13, 8, 50, 31), 'last_updated_at_asc': datetime.datetime(2025, 2, 13, 8, 34, 58)}, 'Carton_gris': {'main_port_id': 20503438, 'sub_port_id': 20503502, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13172371, 'last_updated_at': datetime.datetime(2025, 2, 13, 8, 50, 31), 'last_updated_at_desc': datetime.datetime(2025, 2, 13, 8, 50, 31), 'last_updated_at_asc': datetime.datetime(2025, 2, 13, 8, 34, 58)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20503491 , 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=20503438 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 (20503491) result : ((1337301021,), (1337301339,), (1337301340,), (1337306317,), (1337306357,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20503438) result : ((1337300139,), (1337300141,), (1337300145,), (1337300149,), (1337300184,), (1337300185,), (1337300187,), (1337300190,), (1337300193,), (1337300219,), (1337300220,), (1337300222,), (1337300886,), (1337300889,), (1337300897,), (1337300942,), (1337301016,), (1337301018,), (1337301023,), (1337301051,), (1337301052,), (1337301054,), (1337301266,), (1337301267,), (1337301269,), (1337301291,), (1337301316,), (1337301317,), (1337301319,), (1337301350,), (1337301351,), (1337301353,), (1337301355,), (1337301382,), (1337301383,), (1337301494,), (1337303087,)) 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 () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20503492 , 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=20503438 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 (20503492) result : ((1337301002,), (1337301466,), (1337306361,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20503438) result : ((1337300139,), (1337300141,), (1337300145,), (1337300149,), (1337300184,), (1337300185,), (1337300187,), (1337300190,), (1337300193,), (1337300219,), (1337300220,), (1337300222,), (1337300886,), (1337300889,), (1337300897,), (1337300942,), (1337301016,), (1337301018,), (1337301023,), (1337301051,), (1337301052,), (1337301054,), (1337301266,), (1337301267,), (1337301269,), (1337301291,), (1337301316,), (1337301317,), (1337301319,), (1337301350,), (1337301351,), (1337301353,), (1337301355,), (1337301382,), (1337301383,), (1337301494,), (1337303087,)) 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 () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20503493 , 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=20503438 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 (20503493) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20503438) result : ((1337300139,), (1337300141,), (1337300145,), (1337300149,), (1337300184,), (1337300185,), (1337300187,), (1337300190,), (1337300193,), (1337300219,), (1337300220,), (1337300222,), (1337300886,), (1337300889,), (1337300897,), (1337300942,), (1337301016,), (1337301018,), (1337301023,), (1337301051,), (1337301052,), (1337301054,), (1337301266,), (1337301267,), (1337301269,), (1337301291,), (1337301316,), (1337301317,), (1337301319,), (1337301350,), (1337301351,), (1337301353,), (1337301355,), (1337301382,), (1337301383,), (1337301494,), (1337303087,)) 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 () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20503494 , 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=20503438 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 (20503494) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20503438) result : ((1337300139,), (1337300141,), (1337300145,), (1337300149,), (1337300184,), (1337300185,), (1337300187,), (1337300190,), (1337300193,), (1337300219,), (1337300220,), (1337300222,), (1337300886,), (1337300889,), (1337300897,), (1337300942,), (1337301016,), (1337301018,), (1337301023,), (1337301051,), (1337301052,), (1337301054,), (1337301266,), (1337301267,), (1337301269,), (1337301291,), (1337301316,), (1337301317,), (1337301319,), (1337301350,), (1337301351,), (1337301353,), (1337301355,), (1337301382,), (1337301383,), (1337301494,), (1337303087,)) 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 () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20503495 , 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=20503438 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 (20503495) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20503438) result : ((1337300139,), (1337300141,), (1337300145,), (1337300149,), (1337300184,), (1337300185,), (1337300187,), (1337300190,), (1337300193,), (1337300219,), (1337300220,), (1337300222,), (1337300886,), (1337300889,), (1337300897,), (1337300942,), (1337301016,), (1337301018,), (1337301023,), (1337301051,), (1337301052,), (1337301054,), (1337301266,), (1337301267,), (1337301269,), (1337301291,), (1337301316,), (1337301317,), (1337301319,), (1337301350,), (1337301351,), (1337301353,), (1337301355,), (1337301382,), (1337301383,), (1337301494,), (1337303087,)) 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 () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20503496 , 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=20503438 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 (20503496) result : ((1337301251,), (1337301343,), (1337301468,), (1337301469,), (1337306322,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20503438) result : ((1337300139,), (1337300141,), (1337300145,), (1337300149,), (1337300184,), (1337300185,), (1337300187,), (1337300190,), (1337300193,), (1337300219,), (1337300220,), (1337300222,), (1337300886,), (1337300889,), (1337300897,), (1337300942,), (1337301016,), (1337301018,), (1337301023,), (1337301051,), (1337301052,), (1337301054,), (1337301266,), (1337301267,), (1337301269,), (1337301291,), (1337301316,), (1337301317,), (1337301319,), (1337301350,), (1337301351,), (1337301353,), (1337301355,), (1337301382,), (1337301383,), (1337301494,), (1337303087,)) 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 () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20503497 , 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=20503438 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 (20503497) result : ((1337300998,), (1337300999,), (1337301000,), (1337301001,), (1337301048,), (1337301049,), (1337306360,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20503438) result : ((1337300139,), (1337300141,), (1337300145,), (1337300149,), (1337300184,), (1337300185,), (1337300187,), (1337300190,), (1337300193,), (1337300219,), (1337300220,), (1337300222,), (1337300886,), (1337300889,), (1337300897,), (1337300942,), (1337301016,), (1337301018,), (1337301023,), (1337301051,), (1337301052,), (1337301054,), (1337301266,), (1337301267,), (1337301269,), (1337301291,), (1337301316,), (1337301317,), (1337301319,), (1337301350,), (1337301351,), (1337301353,), (1337301355,), (1337301382,), (1337301383,), (1337301494,), (1337303087,)) 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 () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20503498 , 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=20503438 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 (20503498) result : ((1337300981,), (1337300982,), (1337300983,), (1337300984,), (1337300985,), (1337300986,), (1337300987,), (1337300988,), (1337300989,), (1337300990,), (1337300991,), (1337300992,), (1337301019,), (1337301020,), (1337301045,), (1337301046,), (1337301460,), (1337305923,), (1337306315,), (1337306316,), (1337306346,), (1337306347,), (1337306348,), (1337306349,), (1337306350,), (1337306351,), (1337306352,), (1337306353,), (1337306354,), (1337306355,), (1337306356,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20503438) result : ((1337300139,), (1337300141,), (1337300145,), (1337300149,), (1337300184,), (1337300185,), (1337300187,), (1337300190,), (1337300193,), (1337300219,), (1337300220,), (1337300222,), (1337300886,), (1337300889,), (1337300897,), (1337300942,), (1337301016,), (1337301018,), (1337301023,), (1337301051,), (1337301052,), (1337301054,), (1337301266,), (1337301267,), (1337301269,), (1337301291,), (1337301316,), (1337301317,), (1337301319,), (1337301350,), (1337301351,), (1337301353,), (1337301355,), (1337301382,), (1337301383,), (1337301494,), (1337303087,)) 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 () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20503499 , 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=20503438 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 (20503499) result : ((1337301421,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20503438) result : ((1337300139,), (1337300141,), (1337300145,), (1337300149,), (1337300184,), (1337300185,), (1337300187,), (1337300190,), (1337300193,), (1337300219,), (1337300220,), (1337300222,), (1337300886,), (1337300889,), (1337300897,), (1337300942,), (1337301016,), (1337301018,), (1337301023,), (1337301051,), (1337301052,), (1337301054,), (1337301266,), (1337301267,), (1337301269,), (1337301291,), (1337301316,), (1337301317,), (1337301319,), (1337301350,), (1337301351,), (1337301353,), (1337301355,), (1337301382,), (1337301383,), (1337301494,), (1337303087,)) 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 () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20503500 , 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=20503438 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 (20503500) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20503438) result : ((1337300139,), (1337300141,), (1337300145,), (1337300149,), (1337300184,), (1337300185,), (1337300187,), (1337300190,), (1337300193,), (1337300219,), (1337300220,), (1337300222,), (1337300886,), (1337300889,), (1337300897,), (1337300942,), (1337301016,), (1337301018,), (1337301023,), (1337301051,), (1337301052,), (1337301054,), (1337301266,), (1337301267,), (1337301269,), (1337301291,), (1337301316,), (1337301317,), (1337301319,), (1337301350,), (1337301351,), (1337301353,), (1337301355,), (1337301382,), (1337301383,), (1337301494,), (1337303087,)) 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 () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20503501 , 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=20503438 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 (20503501) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20503438) result : ((1337300139,), (1337300141,), (1337300145,), (1337300149,), (1337300184,), (1337300185,), (1337300187,), (1337300190,), (1337300193,), (1337300219,), (1337300220,), (1337300222,), (1337300886,), (1337300889,), (1337300897,), (1337300942,), (1337301016,), (1337301018,), (1337301023,), (1337301051,), (1337301052,), (1337301054,), (1337301266,), (1337301267,), (1337301269,), (1337301291,), (1337301316,), (1337301317,), (1337301319,), (1337301350,), (1337301351,), (1337301353,), (1337301355,), (1337301382,), (1337301383,), (1337301494,), (1337303087,)) 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 () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20503502 , 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=20503438 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 (20503502) result : ((1337300994,), (1337301341,), (1337301342,), (1337301463,), (1337301464,), (1337301465,), (1337306358,), (1337306359,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20503438) result : ((1337300139,), (1337300141,), (1337300145,), (1337300149,), (1337300184,), (1337300185,), (1337300187,), (1337300190,), (1337300193,), (1337300219,), (1337300220,), (1337300222,), (1337300886,), (1337300889,), (1337300897,), (1337300942,), (1337301016,), (1337301018,), (1337301023,), (1337301051,), (1337301052,), (1337301054,), (1337301266,), (1337301267,), (1337301269,), (1337301291,), (1337301316,), (1337301317,), (1337301319,), (1337301350,), (1337301351,), (1337301353,), (1337301355,), (1337301382,), (1337301383,), (1337301494,), (1337303087,)) 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 () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") 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`=20503438 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','plastique','cartonnette','Carton_gris','kraft','metal','Carton_brun','environnement','Teint_Dans_La_Masse','mal_croppe','autre_refus','flou')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20503438 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','plastique','cartonnette','Carton_gris','kraft','metal','Carton_brun','environnement','Teint_Dans_La_Masse','mal_croppe','autre_refus','flou')) AND mptpi.`min_score`=0.5 To do returned map {'autre_refus': {'main_port_id': 20503438, 'sub_port_id': 20503503, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13172372, 'last_updated_at': datetime.datetime(2025, 2, 13, 8, 34, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 13, 8, 34, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 13, 8, 34, 59)}, 'Carton_brun': {'main_port_id': 20503438, 'sub_port_id': 20503504, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13172373, 'last_updated_at': datetime.datetime(2025, 2, 13, 8, 34, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 13, 8, 34, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 13, 8, 34, 59)}, 'metal': {'main_port_id': 20503438, 'sub_port_id': 20503505, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13172374, 'last_updated_at': datetime.datetime(2025, 2, 13, 8, 34, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 13, 8, 34, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 13, 8, 34, 59)}, 'environnement': {'main_port_id': 20503438, 'sub_port_id': 20503506, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13172375, 'last_updated_at': datetime.datetime(2025, 2, 13, 8, 34, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 13, 8, 34, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 13, 8, 34, 59)}, 'papier': {'main_port_id': 20503438, 'sub_port_id': 20503507, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13172376, 'last_updated_at': datetime.datetime(2025, 2, 13, 8, 34, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 13, 8, 34, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 13, 8, 34, 59)}, 'plastique': {'main_port_id': 20503438, 'sub_port_id': 20503508, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13172377, 'last_updated_at': datetime.datetime(2025, 2, 13, 8, 34, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 13, 8, 34, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 13, 8, 34, 59)}, 'cartonnette': {'main_port_id': 20503438, 'sub_port_id': 20503509, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13172378, 'last_updated_at': datetime.datetime(2025, 2, 13, 8, 34, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 13, 8, 34, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 13, 8, 34, 59)}, 'Teint_Dans_La_Masse': {'main_port_id': 20503438, 'sub_port_id': 20503510, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13172379, 'last_updated_at': datetime.datetime(2025, 2, 13, 8, 34, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 13, 8, 34, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 13, 8, 34, 59)}, 'kraft': {'main_port_id': 20503438, 'sub_port_id': 20503511, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13172380, 'last_updated_at': datetime.datetime(2025, 2, 13, 8, 34, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 13, 8, 34, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 13, 8, 34, 59)}, 'mal_croppe': {'main_port_id': 20503438, 'sub_port_id': 20503512, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13172381, 'last_updated_at': datetime.datetime(2025, 2, 13, 8, 34, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 13, 8, 34, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 13, 8, 34, 59)}, 'flou': {'main_port_id': 20503438, 'sub_port_id': 20503513, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13172382, 'last_updated_at': datetime.datetime(2025, 2, 13, 8, 34, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 13, 8, 34, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 13, 8, 34, 59)}, 'Carton_gris': {'main_port_id': 20503438, 'sub_port_id': 20503514, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13172383, 'last_updated_at': datetime.datetime(2025, 2, 13, 8, 50, 32), 'last_updated_at_desc': datetime.datetime(2025, 2, 13, 8, 50, 32), 'last_updated_at_asc': datetime.datetime(2025, 2, 13, 8, 34, 59)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20503503,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20503491 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20503504,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20503492 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20503505,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20503493 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20503506,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20503494 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20503507,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20503495 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20503508,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20503496 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20503509,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20503497 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20503510,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20503498 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20503511,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20503499 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20503512,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20503500 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20503513,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20503501 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20503514,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20503502 lien utilise dans velours : https://www.fotonower.com/velours/20503503,20503504,20503505,20503506,20503507,20503508,20503509,20503510,20503511,20503512,20503513,20503514?tags=autre_refus,Carton_brun,metal,environnement,papier,plastique,cartonnette,Teint_Dans_La_Masse,kraft,mal_croppe,flou,Carton_gris After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20503438]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1337303087, 1337301494, 1337301383, 1337301382, 1337301355, 1337301353, 1337301351, 1337301350, 1337301319, 1337301317, 1337301316, 1337301291, 1337301269, 1337301267, 1337301266, 1337301054, 1337301052, 1337301051, 1337301023, 1337301018, 1337301016, 1337300942, 1337300897, 1337300889, 1337300886, 1337300222, 1337300220, 1337300219, 1337300193, 1337300190, 1337300187, 1337300185, 1337300184, 1337300149, 1337300145, 1337300141, 1337300139] map_info['map_portfolio_photo'] : {20503438: [1337303087, 1337301494, 1337301383, 1337301382, 1337301355, 1337301353, 1337301351, 1337301350, 1337301319, 1337301317, 1337301316, 1337301291, 1337301269, 1337301267, 1337301266, 1337301054, 1337301052, 1337301051, 1337301023, 1337301018, 1337301016, 1337300942, 1337300897, 1337300889, 1337300886, 1337300222, 1337300220, 1337300219, 1337300193, 1337300190, 1337300187, 1337300185, 1337300184, 1337300149, 1337300145, 1337300141, 1337300139]} final : False mtd_id 4302 list_pids : [1337303087, 1337301494, 1337301383, 1337301382, 1337301355, 1337301353, 1337301351, 1337301350, 1337301319, 1337301317, 1337301316, 1337301291, 1337301269, 1337301267, 1337301266, 1337301054, 1337301052, 1337301051, 1337301023, 1337301018, 1337301016, 1337300942, 1337300897, 1337300889, 1337300886, 1337300222, 1337300220, 1337300219, 1337300193, 1337300190, 1337300187, 1337300185, 1337300184, 1337300149, 1337300145, 1337300141, 1337300139] Looping around the photos to save general results len do output : 1 /20503438. 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, '2585354') ('4302', '20503438', '1337303087', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337301494', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337301383', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337301382', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337301355', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337301353', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337301351', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337301350', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337301319', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337301317', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337301316', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337301291', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337301269', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337301267', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337301266', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337301054', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337301052', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337301051', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337301023', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337301018', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337301016', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337300942', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337300897', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337300889', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337300886', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337300222', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337300220', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337300219', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337300193', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337300190', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337300187', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337300185', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337300184', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337300149', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337300145', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337300141', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337300139', None, None, None, None, None, '2585354') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 38 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, '20503438', "{'autre_refus': 20503491, 'Carton_brun': 20503492, 'metal': 20503493, 'environnement': 20503494, 'papier': 20503495, 'plastique': 20503496, 'cartonnette': 20503497, 'Teint_Dans_La_Masse': 20503498, 'kraft': 20503499, 'mal_croppe': 20503500, 'flou': 20503501, 'Carton_gris': 20503502}", None, None, None, None, '2585354'), ('4302', '20503438', '1337303087', None, None, None, None, None, '2585354'), ('4302', '20503438', '1337301494', None, None, None, None, None, '2585354'), ('4302', '20503438', '1337301383', None, None, None, None, None, '2585354'), ('4302', '20503438', '1337301382', None, None, None, None, None, '2585354'), ('4302', '20503438', '1337301355', None, None, None, None, None, '2585354'), ('4302', '20503438', '1337301353', None, None, None, None, None, '2585354'), ('4302', '20503438', '1337301351', None, None, None, None, None, '2585354'), ('4302', '20503438', '1337301350', None, None, None, None, None, '2585354'), ('4302', '20503438', '1337301319', None, None, None, None, None, '2585354'), ('4302', '20503438', '1337301317', None, None, None, None, None, '2585354'), ('4302', '20503438', '1337301316', None, None, None, None, None, '2585354'), ('4302', '20503438', '1337301291', None, None, None, None, None, '2585354'), ('4302', '20503438', '1337301269', None, None, None, None, None, '2585354'), ('4302', '20503438', '1337301267', None, None, None, None, None, '2585354'), ('4302', '20503438', '1337301266', None, None, None, None, None, '2585354'), ('4302', '20503438', '1337301054', None, None, None, None, None, '2585354'), ('4302', '20503438', '1337301052', None, None, None, None, None, '2585354'), ('4302', '20503438', '1337301051', None, None, None, None, None, '2585354'), ('4302', '20503438', '1337301023', None, None, None, None, None, '2585354'), ('4302', '20503438', '1337301018', None, None, None, None, None, '2585354'), ('4302', '20503438', '1337301016', None, None, None, None, None, '2585354'), ('4302', '20503438', '1337300942', None, None, None, None, None, '2585354'), ('4302', '20503438', '1337300897', None, None, None, None, None, '2585354'), ('4302', '20503438', '1337300889', None, None, None, None, None, '2585354'), ('4302', '20503438', '1337300886', None, None, None, None, None, '2585354'), ('4302', '20503438', '1337300222', None, None, None, None, None, '2585354'), ('4302', '20503438', '1337300220', None, None, None, None, None, '2585354'), ('4302', '20503438', '1337300219', None, None, None, None, None, '2585354'), ('4302', '20503438', '1337300193', None, None, None, None, None, '2585354'), ('4302', '20503438', '1337300190', None, None, None, None, None, '2585354'), ('4302', '20503438', '1337300187', None, None, None, None, None, '2585354'), ('4302', '20503438', '1337300185', None, None, None, None, None, '2585354'), ('4302', '20503438', '1337300184', None, None, None, None, None, '2585354'), ('4302', '20503438', '1337300149', None, None, None, None, None, '2585354'), ('4302', '20503438', '1337300145', None, None, None, None, None, '2585354'), ('4302', '20503438', '1337300141', None, None, None, None, None, '2585354'), ('4302', '20503438', '1337300139', None, None, None, None, None, '2585354')] time used for this insertion : 0.024903059005737305 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.1335039138793945 time spend to save output : 0.025332212448120117 total time spend for step 1 : 2.1588361263275146 step2:final Fri Feb 14 05:48:32 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :0, first value : [] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20503438) 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 20503438 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1337300149,1337300145,1337300141,1337300139,1337300193,1337300190,1337300187,1337300185,1337300184,1337300222,1337300220,1337300219,1337300897,1337300889,1337300886,1337300942,1337301023,1337301018,1337301016,1337301054,1337301052,1337301051,1337301291,1337301269,1337301267,1337301266,1337301319,1337301317,1337301316,1337301355,1337301353,1337301351,1337301350,1337301383,1337301382,1337301494,1337303087); 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([20503438]) Inside saveOutput : final : False verbose : True original output for save of step final : {1337303087: ('0.051955359494568',), 1337301494: ('0.051955359494568',), 1337301383: ('0.051955359494568',), 1337301382: ('0.051955359494568',), 1337301355: ('0.051955359494568',), 1337301353: ('0.051955359494568',), 1337301351: ('0.051955359494568',), 1337301350: ('0.051955359494568',), 1337301319: ('0.051955359494568',), 1337301317: ('0.051955359494568',), 1337301316: ('0.051955359494568',), 1337301291: ('0.051955359494568',), 1337301269: ('0.051955359494568',), 1337301267: ('0.051955359494568',), 1337301266: ('0.051955359494568',), 1337301054: ('0.051955359494568',), 1337301052: ('0.051955359494568',), 1337301051: ('0.051955359494568',), 1337301023: ('0.051955359494568',), 1337301018: ('0.051955359494568',), 1337301016: ('0.051955359494568',), 1337300942: ('0.051955359494568',), 1337300897: ('0.051955359494568',), 1337300889: ('0.051955359494568',), 1337300886: ('0.051955359494568',), 1337300222: ('0.051955359494568',), 1337300220: ('0.051955359494568',), 1337300219: ('0.051955359494568',), 1337300193: ('0.051955359494568',), 1337300190: ('0.051955359494568',), 1337300187: ('0.051955359494568',), 1337300185: ('0.051955359494568',), 1337300184: ('0.051955359494568',), 1337300149: ('0.051955359494568',), 1337300145: ('0.051955359494568',), 1337300141: ('0.051955359494568',), 1337300139: ('0.051955359494568',)} new output for save of step final : {1337303087: ('0.051955359494568',), 1337301494: ('0.051955359494568',), 1337301383: ('0.051955359494568',), 1337301382: ('0.051955359494568',), 1337301355: ('0.051955359494568',), 1337301353: ('0.051955359494568',), 1337301351: ('0.051955359494568',), 1337301350: ('0.051955359494568',), 1337301319: ('0.051955359494568',), 1337301317: ('0.051955359494568',), 1337301316: ('0.051955359494568',), 1337301291: ('0.051955359494568',), 1337301269: ('0.051955359494568',), 1337301267: ('0.051955359494568',), 1337301266: ('0.051955359494568',), 1337301054: ('0.051955359494568',), 1337301052: ('0.051955359494568',), 1337301051: ('0.051955359494568',), 1337301023: ('0.051955359494568',), 1337301018: ('0.051955359494568',), 1337301016: ('0.051955359494568',), 1337300942: ('0.051955359494568',), 1337300897: ('0.051955359494568',), 1337300889: ('0.051955359494568',), 1337300886: ('0.051955359494568',), 1337300222: ('0.051955359494568',), 1337300220: ('0.051955359494568',), 1337300219: ('0.051955359494568',), 1337300193: ('0.051955359494568',), 1337300190: ('0.051955359494568',), 1337300187: ('0.051955359494568',), 1337300185: ('0.051955359494568',), 1337300184: ('0.051955359494568',), 1337300149: ('0.051955359494568',), 1337300145: ('0.051955359494568',), 1337300141: ('0.051955359494568',), 1337300139: ('0.051955359494568',)} [1337303087, 1337301494, 1337301383, 1337301382, 1337301355, 1337301353, 1337301351, 1337301350, 1337301319, 1337301317, 1337301316, 1337301291, 1337301269, 1337301267, 1337301266, 1337301054, 1337301052, 1337301051, 1337301023, 1337301018, 1337301016, 1337300942, 1337300897, 1337300889, 1337300886, 1337300222, 1337300220, 1337300219, 1337300193, 1337300190, 1337300187, 1337300185, 1337300184, 1337300149, 1337300145, 1337300141, 1337300139] map_info['map_portfolio_photo'] : {20503438: [1337303087, 1337301494, 1337301383, 1337301382, 1337301355, 1337301353, 1337301351, 1337301350, 1337301319, 1337301317, 1337301316, 1337301291, 1337301269, 1337301267, 1337301266, 1337301054, 1337301052, 1337301051, 1337301023, 1337301018, 1337301016, 1337300942, 1337300897, 1337300889, 1337300886, 1337300222, 1337300220, 1337300219, 1337300193, 1337300190, 1337300187, 1337300185, 1337300184, 1337300149, 1337300145, 1337300141, 1337300139]} final : False mtd_id 4302 list_pids : [1337303087, 1337301494, 1337301383, 1337301382, 1337301355, 1337301353, 1337301351, 1337301350, 1337301319, 1337301317, 1337301316, 1337301291, 1337301269, 1337301267, 1337301266, 1337301054, 1337301052, 1337301051, 1337301023, 1337301018, 1337301016, 1337300942, 1337300897, 1337300889, 1337300886, 1337300222, 1337300220, 1337300219, 1337300193, 1337300190, 1337300187, 1337300185, 1337300184, 1337300149, 1337300145, 1337300141, 1337300139] Looping around the photos to save general results len do output : 37 /1337303087.Didn't retrieve data . /1337301494.Didn't retrieve data . /1337301383.Didn't retrieve data . /1337301382.Didn't retrieve data . /1337301355.Didn't retrieve data . /1337301353.Didn't retrieve data . /1337301351.Didn't retrieve data . /1337301350.Didn't retrieve data . /1337301319.Didn't retrieve data . /1337301317.Didn't retrieve data . /1337301316.Didn't retrieve data . /1337301291.Didn't retrieve data . /1337301269.Didn't retrieve data . /1337301267.Didn't retrieve data . /1337301266.Didn't retrieve data . /1337301054.Didn't retrieve data . /1337301052.Didn't retrieve data . /1337301051.Didn't retrieve data . /1337301023.Didn't retrieve data . /1337301018.Didn't retrieve data . /1337301016.Didn't retrieve data . /1337300942.Didn't retrieve data . /1337300897.Didn't retrieve data . /1337300889.Didn't retrieve data . /1337300886.Didn't retrieve data . /1337300222.Didn't retrieve data . /1337300220.Didn't retrieve data . /1337300219.Didn't retrieve data . /1337300193.Didn't retrieve data . /1337300190.Didn't retrieve data . /1337300187.Didn't retrieve data . /1337300185.Didn't retrieve data . /1337300184.Didn't retrieve data . /1337300149.Didn't retrieve data . /1337300145.Didn't retrieve data . /1337300141.Didn't retrieve data . /1337300139.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, '2585354') ('4302', '20503438', '1337303087', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337301494', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337301383', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337301382', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337301355', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337301353', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337301351', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337301350', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337301319', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337301317', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337301316', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337301291', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337301269', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337301267', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337301266', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337301054', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337301052', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337301051', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337301023', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337301018', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337301016', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337300942', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337300897', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337300889', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337300886', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337300222', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337300220', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337300219', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337300193', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337300190', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337300187', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337300185', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337300184', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337300149', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337300145', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337300141', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337300139', None, None, None, None, None, '2585354') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 111 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', '20503438', '1337303087', '0.051955359494568', None, None, None, None, '2585354'), ('4302', '20503438', '1337301494', '0.051955359494568', None, None, None, None, '2585354'), ('4302', '20503438', '1337301383', '0.051955359494568', None, None, None, None, '2585354'), ('4302', '20503438', '1337301382', '0.051955359494568', None, None, None, None, '2585354'), ('4302', '20503438', '1337301355', '0.051955359494568', None, None, None, None, '2585354'), ('4302', '20503438', '1337301353', '0.051955359494568', None, None, None, None, '2585354'), ('4302', '20503438', '1337301351', '0.051955359494568', None, None, None, None, '2585354'), ('4302', '20503438', '1337301350', '0.051955359494568', None, None, None, None, '2585354'), ('4302', '20503438', '1337301319', '0.051955359494568', None, None, None, None, '2585354'), ('4302', '20503438', '1337301317', '0.051955359494568', None, None, None, None, '2585354'), ('4302', '20503438', '1337301316', '0.051955359494568', None, None, None, None, '2585354'), ('4302', '20503438', '1337301291', '0.051955359494568', None, None, None, None, '2585354'), ('4302', '20503438', '1337301269', '0.051955359494568', None, None, None, None, '2585354'), ('4302', '20503438', '1337301267', '0.051955359494568', None, None, None, None, '2585354'), ('4302', '20503438', '1337301266', '0.051955359494568', None, None, None, None, '2585354'), ('4302', '20503438', '1337301054', '0.051955359494568', None, None, None, None, '2585354'), ('4302', '20503438', '1337301052', '0.051955359494568', None, None, None, None, '2585354'), ('4302', '20503438', '1337301051', '0.051955359494568', None, None, None, None, '2585354'), ('4302', '20503438', '1337301023', '0.051955359494568', None, None, None, None, '2585354'), ('4302', '20503438', '1337301018', '0.051955359494568', None, None, None, None, '2585354'), ('4302', '20503438', '1337301016', '0.051955359494568', None, None, None, None, '2585354'), ('4302', '20503438', '1337300942', '0.051955359494568', None, None, None, None, '2585354'), ('4302', '20503438', '1337300897', '0.051955359494568', None, None, None, None, '2585354'), ('4302', '20503438', '1337300889', '0.051955359494568', None, None, None, None, '2585354'), ('4302', '20503438', '1337300886', '0.051955359494568', None, None, None, None, '2585354'), ('4302', '20503438', '1337300222', '0.051955359494568', None, None, None, None, '2585354'), ('4302', '20503438', '1337300220', '0.051955359494568', None, None, None, None, '2585354'), ('4302', '20503438', '1337300219', '0.051955359494568', None, None, None, None, '2585354'), ('4302', '20503438', '1337300193', '0.051955359494568', None, None, None, None, '2585354'), ('4302', '20503438', '1337300190', '0.051955359494568', None, None, None, None, '2585354'), ('4302', '20503438', '1337300187', '0.051955359494568', None, None, None, None, '2585354'), ('4302', '20503438', '1337300185', '0.051955359494568', None, None, None, None, '2585354'), ('4302', '20503438', '1337300184', '0.051955359494568', None, None, None, None, '2585354'), ('4302', '20503438', '1337300149', '0.051955359494568', None, None, None, None, '2585354'), ('4302', '20503438', '1337300145', '0.051955359494568', None, None, None, None, '2585354'), ('4302', '20503438', '1337300141', '0.051955359494568', None, None, None, None, '2585354'), ('4302', '20503438', '1337300139', '0.051955359494568', None, None, None, None, '2585354')] time used for this insertion : 0.03084278106689453 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.06720399856567383 time spend to save output : 0.032301902770996094 total time spend for step 2 : 0.09950590133666992 step3:velours_tree Fri Feb 14 05:48:32 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : {20503438: [{'autre_refus': 20503491, 'Carton_brun': 20503492, 'metal': 20503493, 'environnement': 20503494, 'papier': 20503495, 'plastique': 20503496, 'cartonnette': 20503497, 'Teint_Dans_La_Masse': 20503498, 'kraft': 20503499, 'mal_croppe': 20503500, 'flou': 20503501, 'Carton_gris': 20503502}]} input_args_next_step : {20503438: ()} output_args : {20503438: [{'autre_refus': 20503491, 'Carton_brun': 20503492, 'metal': 20503493, 'environnement': 20503494, 'papier': 20503495, 'plastique': 20503496, 'cartonnette': 20503497, 'Teint_Dans_La_Masse': 20503498, 'kraft': 20503499, 'mal_croppe': 20503500, 'flou': 20503501, 'Carton_gris': 20503502}]} args : 20503438 depend.output_id : 0 VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :1, first value : ({'autre_refus': 20503491, 'Carton_brun': 20503492, 'metal': 20503493, 'environnement': 20503494, 'papier': 20503495, 'plastique': 20503496, 'cartonnette': 20503497, 'Teint_Dans_La_Masse': 20503498, 'kraft': 20503499, 'mal_croppe': 20503500, 'flou': 20503501, 'Carton_gris': 20503502},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20503438) 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([20503438]) 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.30767250061035156 time spend to save output : 6.246566772460938e-05 total time spend for step 3 : 0.30773496627807617 step4:send_mail_cod Fri Feb 14 05:48:33 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 : {1337303087: ('0.051955359494568',), 1337301494: ('0.051955359494568',), 1337301383: ('0.051955359494568',), 1337301382: ('0.051955359494568',), 1337301355: ('0.051955359494568',), 1337301353: ('0.051955359494568',), 1337301351: ('0.051955359494568',), 1337301350: ('0.051955359494568',), 1337301319: ('0.051955359494568',), 1337301317: ('0.051955359494568',), 1337301316: ('0.051955359494568',), 1337301291: ('0.051955359494568',), 1337301269: ('0.051955359494568',), 1337301267: ('0.051955359494568',), 1337301266: ('0.051955359494568',), 1337301054: ('0.051955359494568',), 1337301052: ('0.051955359494568',), 1337301051: ('0.051955359494568',), 1337301023: ('0.051955359494568',), 1337301018: ('0.051955359494568',), 1337301016: ('0.051955359494568',), 1337300942: ('0.051955359494568',), 1337300897: ('0.051955359494568',), 1337300889: ('0.051955359494568',), 1337300886: ('0.051955359494568',), 1337300222: ('0.051955359494568',), 1337300220: ('0.051955359494568',), 1337300219: ('0.051955359494568',), 1337300193: ('0.051955359494568',), 1337300190: ('0.051955359494568',), 1337300187: ('0.051955359494568',), 1337300185: ('0.051955359494568',), 1337300184: ('0.051955359494568',), 1337300149: ('0.051955359494568',), 1337300145: ('0.051955359494568',), 1337300141: ('0.051955359494568',), 1337300139: ('0.051955359494568',)} input_args_next_step : {1337303087: ()} output_args : {1337303087: ('0.051955359494568',), 1337301494: ('0.051955359494568',), 1337301383: ('0.051955359494568',), 1337301382: ('0.051955359494568',), 1337301355: ('0.051955359494568',), 1337301353: ('0.051955359494568',), 1337301351: ('0.051955359494568',), 1337301350: ('0.051955359494568',), 1337301319: ('0.051955359494568',), 1337301317: ('0.051955359494568',), 1337301316: ('0.051955359494568',), 1337301291: ('0.051955359494568',), 1337301269: ('0.051955359494568',), 1337301267: ('0.051955359494568',), 1337301266: ('0.051955359494568',), 1337301054: ('0.051955359494568',), 1337301052: ('0.051955359494568',), 1337301051: ('0.051955359494568',), 1337301023: ('0.051955359494568',), 1337301018: ('0.051955359494568',), 1337301016: ('0.051955359494568',), 1337300942: ('0.051955359494568',), 1337300897: ('0.051955359494568',), 1337300889: ('0.051955359494568',), 1337300886: ('0.051955359494568',), 1337300222: ('0.051955359494568',), 1337300220: ('0.051955359494568',), 1337300219: ('0.051955359494568',), 1337300193: ('0.051955359494568',), 1337300190: ('0.051955359494568',), 1337300187: ('0.051955359494568',), 1337300185: ('0.051955359494568',), 1337300184: ('0.051955359494568',), 1337300149: ('0.051955359494568',), 1337300145: ('0.051955359494568',), 1337300141: ('0.051955359494568',), 1337300139: ('0.051955359494568',)} args : 1337303087 depend.output_id : 0 input_args_next_step : {1337303087: ('0.051955359494568',), 1337301494: ()} output_args : {1337303087: ('0.051955359494568',), 1337301494: ('0.051955359494568',), 1337301383: ('0.051955359494568',), 1337301382: ('0.051955359494568',), 1337301355: ('0.051955359494568',), 1337301353: ('0.051955359494568',), 1337301351: ('0.051955359494568',), 1337301350: ('0.051955359494568',), 1337301319: ('0.051955359494568',), 1337301317: ('0.051955359494568',), 1337301316: ('0.051955359494568',), 1337301291: ('0.051955359494568',), 1337301269: ('0.051955359494568',), 1337301267: ('0.051955359494568',), 1337301266: ('0.051955359494568',), 1337301054: ('0.051955359494568',), 1337301052: ('0.051955359494568',), 1337301051: ('0.051955359494568',), 1337301023: ('0.051955359494568',), 1337301018: ('0.051955359494568',), 1337301016: ('0.051955359494568',), 1337300942: ('0.051955359494568',), 1337300897: ('0.051955359494568',), 1337300889: ('0.051955359494568',), 1337300886: ('0.051955359494568',), 1337300222: ('0.051955359494568',), 1337300220: ('0.051955359494568',), 1337300219: ('0.051955359494568',), 1337300193: ('0.051955359494568',), 1337300190: ('0.051955359494568',), 1337300187: ('0.051955359494568',), 1337300185: ('0.051955359494568',), 1337300184: ('0.051955359494568',), 1337300149: ('0.051955359494568',), 1337300145: ('0.051955359494568',), 1337300141: ('0.051955359494568',), 1337300139: ('0.051955359494568',)} args : 1337301494 depend.output_id : 0 input_args_next_step : {1337303087: ('0.051955359494568',), 1337301494: ('0.051955359494568',), 1337301383: ()} output_args : {1337303087: ('0.051955359494568',), 1337301494: ('0.051955359494568',), 1337301383: ('0.051955359494568',), 1337301382: ('0.051955359494568',), 1337301355: ('0.051955359494568',), 1337301353: ('0.051955359494568',), 1337301351: ('0.051955359494568',), 1337301350: ('0.051955359494568',), 1337301319: ('0.051955359494568',), 1337301317: ('0.051955359494568',), 1337301316: ('0.051955359494568',), 1337301291: ('0.051955359494568',), 1337301269: ('0.051955359494568',), 1337301267: ('0.051955359494568',), 1337301266: ('0.051955359494568',), 1337301054: ('0.051955359494568',), 1337301052: ('0.051955359494568',), 1337301051: ('0.051955359494568',), 1337301023: ('0.051955359494568',), 1337301018: ('0.051955359494568',), 1337301016: ('0.051955359494568',), 1337300942: ('0.051955359494568',), 1337300897: ('0.051955359494568',), 1337300889: ('0.051955359494568',), 1337300886: ('0.051955359494568',), 1337300222: ('0.051955359494568',), 1337300220: ('0.051955359494568',), 1337300219: ('0.051955359494568',), 1337300193: ('0.051955359494568',), 1337300190: ('0.051955359494568',), 1337300187: ('0.051955359494568',), 1337300185: ('0.051955359494568',), 1337300184: ('0.051955359494568',), 1337300149: ('0.051955359494568',), 1337300145: ('0.051955359494568',), 1337300141: ('0.051955359494568',), 1337300139: ('0.051955359494568',)} args : 1337301383 depend.output_id : 0 input_args_next_step : {1337303087: ('0.051955359494568',), 1337301494: ('0.051955359494568',), 1337301383: ('0.051955359494568',), 1337301382: ()} output_args : {1337303087: ('0.051955359494568',), 1337301494: ('0.051955359494568',), 1337301383: ('0.051955359494568',), 1337301382: ('0.051955359494568',), 1337301355: ('0.051955359494568',), 1337301353: ('0.051955359494568',), 1337301351: ('0.051955359494568',), 1337301350: ('0.051955359494568',), 1337301319: ('0.051955359494568',), 1337301317: ('0.051955359494568',), 1337301316: ('0.051955359494568',), 1337301291: ('0.051955359494568',), 1337301269: ('0.051955359494568',), 1337301267: ('0.051955359494568',), 1337301266: ('0.051955359494568',), 1337301054: ('0.051955359494568',), 1337301052: ('0.051955359494568',), 1337301051: ('0.051955359494568',), 1337301023: ('0.051955359494568',), 1337301018: ('0.051955359494568',), 1337301016: ('0.051955359494568',), 1337300942: ('0.051955359494568',), 1337300897: ('0.051955359494568',), 1337300889: ('0.051955359494568',), 1337300886: ('0.051955359494568',), 1337300222: ('0.051955359494568',), 1337300220: ('0.051955359494568',), 1337300219: ('0.051955359494568',), 1337300193: ('0.051955359494568',), 1337300190: ('0.051955359494568',), 1337300187: ('0.051955359494568',), 1337300185: ('0.051955359494568',), 1337300184: ('0.051955359494568',), 1337300149: ('0.051955359494568',), 1337300145: ('0.051955359494568',), 1337300141: ('0.051955359494568',), 1337300139: ('0.051955359494568',)} args : 1337301382 depend.output_id : 0 input_args_next_step : {1337303087: ('0.051955359494568',), 1337301494: ('0.051955359494568',), 1337301383: ('0.051955359494568',), 1337301382: ('0.051955359494568',), 1337301355: ()} output_args : {1337303087: ('0.051955359494568',), 1337301494: ('0.051955359494568',), 1337301383: ('0.051955359494568',), 1337301382: ('0.051955359494568',), 1337301355: ('0.051955359494568',), 1337301353: ('0.051955359494568',), 1337301351: ('0.051955359494568',), 1337301350: ('0.051955359494568',), 1337301319: ('0.051955359494568',), 1337301317: ('0.051955359494568',), 1337301316: ('0.051955359494568',), 1337301291: ('0.051955359494568',), 1337301269: ('0.051955359494568',), 1337301267: ('0.051955359494568',), 1337301266: ('0.051955359494568',), 1337301054: ('0.051955359494568',), 1337301052: ('0.051955359494568',), 1337301051: ('0.051955359494568',), 1337301023: ('0.051955359494568',), 1337301018: ('0.051955359494568',), 1337301016: ('0.051955359494568',), 1337300942: ('0.051955359494568',), 1337300897: ('0.051955359494568',), 1337300889: ('0.051955359494568',), 1337300886: ('0.051955359494568',), 1337300222: ('0.051955359494568',), 1337300220: ('0.051955359494568',), 1337300219: ('0.051955359494568',), 1337300193: ('0.051955359494568',), 1337300190: ('0.051955359494568',), 1337300187: ('0.051955359494568',), 1337300185: ('0.051955359494568',), 1337300184: ('0.051955359494568',), 1337300149: ('0.051955359494568',), 1337300145: ('0.051955359494568',), 1337300141: ('0.051955359494568',), 1337300139: ('0.051955359494568',)} args : 1337301355 depend.output_id : 0 input_args_next_step : {1337303087: ('0.051955359494568',), 1337301494: ('0.051955359494568',), 1337301383: ('0.051955359494568',), 1337301382: ('0.051955359494568',), 1337301355: ('0.051955359494568',), 1337301353: ()} output_args : {1337303087: ('0.051955359494568',), 1337301494: ('0.051955359494568',), 1337301383: ('0.051955359494568',), 1337301382: ('0.051955359494568',), 1337301355: ('0.051955359494568',), 1337301353: ('0.051955359494568',), 1337301351: ('0.051955359494568',), 1337301350: ('0.051955359494568',), 1337301319: ('0.051955359494568',), 1337301317: ('0.051955359494568',), 1337301316: ('0.051955359494568',), 1337301291: ('0.051955359494568',), 1337301269: ('0.051955359494568',), 1337301267: ('0.051955359494568',), 1337301266: ('0.051955359494568',), 1337301054: ('0.051955359494568',), 1337301052: ('0.051955359494568',), 1337301051: ('0.051955359494568',), 1337301023: ('0.051955359494568',), 1337301018: ('0.051955359494568',), 1337301016: ('0.051955359494568',), 1337300942: ('0.051955359494568',), 1337300897: ('0.051955359494568',), 1337300889: ('0.051955359494568',), 1337300886: ('0.051955359494568',), 1337300222: ('0.051955359494568',), 1337300220: ('0.051955359494568',), 1337300219: ('0.051955359494568',), 1337300193: ('0.051955359494568',), 1337300190: ('0.051955359494568',), 1337300187: ('0.051955359494568',), 1337300185: ('0.051955359494568',), 1337300184: ('0.051955359494568',), 1337300149: ('0.051955359494568',), 1337300145: ('0.051955359494568',), 1337300141: ('0.051955359494568',), 1337300139: ('0.051955359494568',)} args : 1337301353 depend.output_id : 0 input_args_next_step : {1337303087: ('0.051955359494568',), 1337301494: ('0.051955359494568',), 1337301383: ('0.051955359494568',), 1337301382: ('0.051955359494568',), 1337301355: ('0.051955359494568',), 1337301353: ('0.051955359494568',), 1337301351: ()} output_args : {1337303087: ('0.051955359494568',), 1337301494: ('0.051955359494568',), 1337301383: ('0.051955359494568',), 1337301382: ('0.051955359494568',), 1337301355: ('0.051955359494568',), 1337301353: ('0.051955359494568',), 1337301351: ('0.051955359494568',), 1337301350: ('0.051955359494568',), 1337301319: ('0.051955359494568',), 1337301317: ('0.051955359494568',), 1337301316: ('0.051955359494568',), 1337301291: ('0.051955359494568',), 1337301269: ('0.051955359494568',), 1337301267: ('0.051955359494568',), 1337301266: ('0.051955359494568',), 1337301054: ('0.051955359494568',), 1337301052: ('0.051955359494568',), 1337301051: ('0.051955359494568',), 1337301023: ('0.051955359494568',), 1337301018: ('0.051955359494568',), 1337301016: ('0.051955359494568',), 1337300942: ('0.051955359494568',), 1337300897: ('0.051955359494568',), 1337300889: ('0.051955359494568',), 1337300886: ('0.051955359494568',), 1337300222: ('0.051955359494568',), 1337300220: ('0.051955359494568',), 1337300219: ('0.051955359494568',), 1337300193: ('0.051955359494568',), 1337300190: ('0.051955359494568',), 1337300187: ('0.051955359494568',), 1337300185: ('0.051955359494568',), 1337300184: ('0.051955359494568',), 1337300149: ('0.051955359494568',), 1337300145: ('0.051955359494568',), 1337300141: ('0.051955359494568',), 1337300139: ('0.051955359494568',)} args : 1337301351 depend.output_id : 0 input_args_next_step : {1337303087: ('0.051955359494568',), 1337301494: ('0.051955359494568',), 1337301383: ('0.051955359494568',), 1337301382: ('0.051955359494568',), 1337301355: ('0.051955359494568',), 1337301353: ('0.051955359494568',), 1337301351: ('0.051955359494568',), 1337301350: ()} output_args : {1337303087: ('0.051955359494568',), 1337301494: ('0.051955359494568',), 1337301383: ('0.051955359494568',), 1337301382: ('0.051955359494568',), 1337301355: ('0.051955359494568',), 1337301353: ('0.051955359494568',), 1337301351: ('0.051955359494568',), 1337301350: ('0.051955359494568',), 1337301319: ('0.051955359494568',), 1337301317: ('0.051955359494568',), 1337301316: ('0.051955359494568',), 1337301291: ('0.051955359494568',), 1337301269: ('0.051955359494568',), 1337301267: ('0.051955359494568',), 1337301266: ('0.051955359494568',), 1337301054: ('0.051955359494568',), 1337301052: ('0.051955359494568',), 1337301051: ('0.051955359494568',), 1337301023: ('0.051955359494568',), 1337301018: ('0.051955359494568',), 1337301016: ('0.051955359494568',), 1337300942: ('0.051955359494568',), 1337300897: ('0.051955359494568',), 1337300889: ('0.051955359494568',), 1337300886: ('0.051955359494568',), 1337300222: ('0.051955359494568',), 1337300220: ('0.051955359494568',), 1337300219: ('0.051955359494568',), 1337300193: ('0.051955359494568',), 1337300190: ('0.051955359494568',), 1337300187: ('0.051955359494568',), 1337300185: ('0.051955359494568',), 1337300184: ('0.051955359494568',), 1337300149: ('0.051955359494568',), 1337300145: ('0.051955359494568',), 1337300141: ('0.051955359494568',), 1337300139: ('0.051955359494568',)} args : 1337301350 depend.output_id : 0 input_args_next_step : {1337303087: ('0.051955359494568',), 1337301494: ('0.051955359494568',), 1337301383: ('0.051955359494568',), 1337301382: ('0.051955359494568',), 1337301355: ('0.051955359494568',), 1337301353: ('0.051955359494568',), 1337301351: ('0.051955359494568',), 1337301350: ('0.051955359494568',), 1337301319: ()} output_args : {1337303087: ('0.051955359494568',), 1337301494: ('0.051955359494568',), 1337301383: ('0.051955359494568',), 1337301382: ('0.051955359494568',), 1337301355: ('0.051955359494568',), 1337301353: ('0.051955359494568',), 1337301351: ('0.051955359494568',), 1337301350: ('0.051955359494568',), 1337301319: ('0.051955359494568',), 1337301317: ('0.051955359494568',), 1337301316: ('0.051955359494568',), 1337301291: ('0.051955359494568',), 1337301269: ('0.051955359494568',), 1337301267: ('0.051955359494568',), 1337301266: ('0.051955359494568',), 1337301054: ('0.051955359494568',), 1337301052: ('0.051955359494568',), 1337301051: ('0.051955359494568',), 1337301023: ('0.051955359494568',), 1337301018: ('0.051955359494568',), 1337301016: ('0.051955359494568',), 1337300942: ('0.051955359494568',), 1337300897: ('0.051955359494568',), 1337300889: ('0.051955359494568',), 1337300886: ('0.051955359494568',), 1337300222: ('0.051955359494568',), 1337300220: ('0.051955359494568',), 1337300219: ('0.051955359494568',), 1337300193: ('0.051955359494568',), 1337300190: ('0.051955359494568',), 1337300187: ('0.051955359494568',), 1337300185: ('0.051955359494568',), 1337300184: ('0.051955359494568',), 1337300149: ('0.051955359494568',), 1337300145: ('0.051955359494568',), 1337300141: ('0.051955359494568',), 1337300139: ('0.051955359494568',)} args : 1337301319 depend.output_id : 0 input_args_next_step : {1337303087: ('0.051955359494568',), 1337301494: ('0.051955359494568',), 1337301383: ('0.051955359494568',), 1337301382: ('0.051955359494568',), 1337301355: ('0.051955359494568',), 1337301353: ('0.051955359494568',), 1337301351: ('0.051955359494568',), 1337301350: ('0.051955359494568',), 1337301319: ('0.051955359494568',), 1337301317: ()} output_args : {1337303087: ('0.051955359494568',), 1337301494: ('0.051955359494568',), 1337301383: ('0.051955359494568',), 1337301382: ('0.051955359494568',), 1337301355: ('0.051955359494568',), 1337301353: ('0.051955359494568',), 1337301351: ('0.051955359494568',), 1337301350: ('0.051955359494568',), 1337301319: ('0.051955359494568',), 1337301317: ('0.051955359494568',), 1337301316: ('0.051955359494568',), 1337301291: ('0.051955359494568',), 1337301269: ('0.051955359494568',), 1337301267: ('0.051955359494568',), 1337301266: ('0.051955359494568',), 1337301054: ('0.051955359494568',), 1337301052: ('0.051955359494568',), 1337301051: ('0.051955359494568',), 1337301023: ('0.051955359494568',), 1337301018: ('0.051955359494568',), 1337301016: ('0.051955359494568',), 1337300942: ('0.051955359494568',), 1337300897: ('0.051955359494568',), 1337300889: ('0.051955359494568',), 1337300886: ('0.051955359494568',), 1337300222: ('0.051955359494568',), 1337300220: ('0.051955359494568',), 1337300219: ('0.051955359494568',), 1337300193: ('0.051955359494568',), 1337300190: ('0.051955359494568',), 1337300187: ('0.051955359494568',), 1337300185: ('0.051955359494568',), 1337300184: ('0.051955359494568',), 1337300149: ('0.051955359494568',), 1337300145: ('0.051955359494568',), 1337300141: ('0.051955359494568',), 1337300139: ('0.051955359494568',)} args : 1337301317 depend.output_id : 0 input_args_next_step : {1337303087: ('0.051955359494568',), 1337301494: ('0.051955359494568',), 1337301383: ('0.051955359494568',), 1337301382: ('0.051955359494568',), 1337301355: ('0.051955359494568',), 1337301353: ('0.051955359494568',), 1337301351: ('0.051955359494568',), 1337301350: ('0.051955359494568',), 1337301319: ('0.051955359494568',), 1337301317: ('0.051955359494568',), 1337301316: ()} output_args : {1337303087: ('0.051955359494568',), 1337301494: ('0.051955359494568',), 1337301383: ('0.051955359494568',), 1337301382: ('0.051955359494568',), 1337301355: ('0.051955359494568',), 1337301353: ('0.051955359494568',), 1337301351: ('0.051955359494568',), 1337301350: ('0.051955359494568',), 1337301319: ('0.051955359494568',), 1337301317: ('0.051955359494568',), 1337301316: ('0.051955359494568',), 1337301291: ('0.051955359494568',), 1337301269: ('0.051955359494568',), 1337301267: ('0.051955359494568',), 1337301266: ('0.051955359494568',), 1337301054: ('0.051955359494568',), 1337301052: ('0.051955359494568',), 1337301051: ('0.051955359494568',), 1337301023: ('0.051955359494568',), 1337301018: ('0.051955359494568',), 1337301016: ('0.051955359494568',), 1337300942: ('0.051955359494568',), 1337300897: ('0.051955359494568',), 1337300889: ('0.051955359494568',), 1337300886: ('0.051955359494568',), 1337300222: ('0.051955359494568',), 1337300220: ('0.051955359494568',), 1337300219: ('0.051955359494568',), 1337300193: ('0.051955359494568',), 1337300190: ('0.051955359494568',), 1337300187: ('0.051955359494568',), 1337300185: ('0.051955359494568',), 1337300184: ('0.051955359494568',), 1337300149: ('0.051955359494568',), 1337300145: ('0.051955359494568',), 1337300141: ('0.051955359494568',), 1337300139: ('0.051955359494568',)} args : 1337301316 depend.output_id : 0 input_args_next_step : {1337303087: ('0.051955359494568',), 1337301494: ('0.051955359494568',), 1337301383: ('0.051955359494568',), 1337301382: ('0.051955359494568',), 1337301355: ('0.051955359494568',), 1337301353: ('0.051955359494568',), 1337301351: ('0.051955359494568',), 1337301350: ('0.051955359494568',), 1337301319: ('0.051955359494568',), 1337301317: ('0.051955359494568',), 1337301316: ('0.051955359494568',), 1337301291: ()} output_args : {1337303087: ('0.051955359494568',), 1337301494: ('0.051955359494568',), 1337301383: ('0.051955359494568',), 1337301382: ('0.051955359494568',), 1337301355: ('0.051955359494568',), 1337301353: ('0.051955359494568',), 1337301351: ('0.051955359494568',), 1337301350: ('0.051955359494568',), 1337301319: ('0.051955359494568',), 1337301317: ('0.051955359494568',), 1337301316: ('0.051955359494568',), 1337301291: ('0.051955359494568',), 1337301269: ('0.051955359494568',), 1337301267: ('0.051955359494568',), 1337301266: ('0.051955359494568',), 1337301054: ('0.051955359494568',), 1337301052: ('0.051955359494568',), 1337301051: ('0.051955359494568',), 1337301023: ('0.051955359494568',), 1337301018: ('0.051955359494568',), 1337301016: ('0.051955359494568',), 1337300942: ('0.051955359494568',), 1337300897: ('0.051955359494568',), 1337300889: ('0.051955359494568',), 1337300886: ('0.051955359494568',), 1337300222: ('0.051955359494568',), 1337300220: ('0.051955359494568',), 1337300219: ('0.051955359494568',), 1337300193: ('0.051955359494568',), 1337300190: ('0.051955359494568',), 1337300187: ('0.051955359494568',), 1337300185: ('0.051955359494568',), 1337300184: ('0.051955359494568',), 1337300149: ('0.051955359494568',), 1337300145: ('0.051955359494568',), 1337300141: ('0.051955359494568',), 1337300139: ('0.051955359494568',)} args : 1337301291 depend.output_id : 0 input_args_next_step : {1337303087: ('0.051955359494568',), 1337301494: ('0.051955359494568',), 1337301383: ('0.051955359494568',), 1337301382: ('0.051955359494568',), 1337301355: ('0.051955359494568',), 1337301353: ('0.051955359494568',), 1337301351: ('0.051955359494568',), 1337301350: ('0.051955359494568',), 1337301319: ('0.051955359494568',), 1337301317: ('0.051955359494568',), 1337301316: ('0.051955359494568',), 1337301291: ('0.051955359494568',), 1337301269: ()} output_args : {1337303087: ('0.051955359494568',), 1337301494: ('0.051955359494568',), 1337301383: ('0.051955359494568',), 1337301382: ('0.051955359494568',), 1337301355: ('0.051955359494568',), 1337301353: ('0.051955359494568',), 1337301351: ('0.051955359494568',), 1337301350: ('0.051955359494568',), 1337301319: ('0.051955359494568',), 1337301317: ('0.051955359494568',), 1337301316: ('0.051955359494568',), 1337301291: ('0.051955359494568',), 1337301269: ('0.051955359494568',), 1337301267: ('0.051955359494568',), 1337301266: ('0.051955359494568',), 1337301054: ('0.051955359494568',), 1337301052: ('0.051955359494568',), 1337301051: ('0.051955359494568',), 1337301023: ('0.051955359494568',), 1337301018: ('0.051955359494568',), 1337301016: ('0.051955359494568',), 1337300942: ('0.051955359494568',), 1337300897: ('0.051955359494568',), 1337300889: ('0.051955359494568',), 1337300886: ('0.051955359494568',), 1337300222: ('0.051955359494568',), 1337300220: ('0.051955359494568',), 1337300219: ('0.051955359494568',), 1337300193: ('0.051955359494568',), 1337300190: ('0.051955359494568',), 1337300187: ('0.051955359494568',), 1337300185: ('0.051955359494568',), 1337300184: ('0.051955359494568',), 1337300149: ('0.051955359494568',), 1337300145: ('0.051955359494568',), 1337300141: ('0.051955359494568',), 1337300139: ('0.051955359494568',)} args : 1337301269 depend.output_id : 0 input_args_next_step : {1337303087: ('0.051955359494568',), 1337301494: ('0.051955359494568',), 1337301383: ('0.051955359494568',), 1337301382: ('0.051955359494568',), 1337301355: ('0.051955359494568',), 1337301353: ('0.051955359494568',), 1337301351: ('0.051955359494568',), 1337301350: ('0.051955359494568',), 1337301319: ('0.051955359494568',), 1337301317: ('0.051955359494568',), 1337301316: ('0.051955359494568',), 1337301291: ('0.051955359494568',), 1337301269: ('0.051955359494568',), 1337301267: ()} output_args : {1337303087: ('0.051955359494568',), 1337301494: ('0.051955359494568',), 1337301383: ('0.051955359494568',), 1337301382: ('0.051955359494568',), 1337301355: ('0.051955359494568',), 1337301353: ('0.051955359494568',), 1337301351: ('0.051955359494568',), 1337301350: ('0.051955359494568',), 1337301319: ('0.051955359494568',), 1337301317: ('0.051955359494568',), 1337301316: ('0.051955359494568',), 1337301291: ('0.051955359494568',), 1337301269: ('0.051955359494568',), 1337301267: ('0.051955359494568',), 1337301266: ('0.051955359494568',), 1337301054: ('0.051955359494568',), 1337301052: ('0.051955359494568',), 1337301051: ('0.051955359494568',), 1337301023: ('0.051955359494568',), 1337301018: ('0.051955359494568',), 1337301016: ('0.051955359494568',), 1337300942: ('0.051955359494568',), 1337300897: ('0.051955359494568',), 1337300889: ('0.051955359494568',), 1337300886: ('0.051955359494568',), 1337300222: ('0.051955359494568',), 1337300220: ('0.051955359494568',), 1337300219: ('0.051955359494568',), 1337300193: ('0.051955359494568',), 1337300190: ('0.051955359494568',), 1337300187: ('0.051955359494568',), 1337300185: ('0.051955359494568',), 1337300184: ('0.051955359494568',), 1337300149: ('0.051955359494568',), 1337300145: ('0.051955359494568',), 1337300141: ('0.051955359494568',), 1337300139: ('0.051955359494568',)} args : 1337301267 depend.output_id : 0 input_args_next_step : {1337303087: ('0.051955359494568',), 1337301494: ('0.051955359494568',), 1337301383: ('0.051955359494568',), 1337301382: ('0.051955359494568',), 1337301355: ('0.051955359494568',), 1337301353: ('0.051955359494568',), 1337301351: ('0.051955359494568',), 1337301350: ('0.051955359494568',), 1337301319: ('0.051955359494568',), 1337301317: ('0.051955359494568',), 1337301316: ('0.051955359494568',), 1337301291: ('0.051955359494568',), 1337301269: ('0.051955359494568',), 1337301267: ('0.051955359494568',), 1337301266: ()} output_args : {1337303087: ('0.051955359494568',), 1337301494: ('0.051955359494568',), 1337301383: ('0.051955359494568',), 1337301382: ('0.051955359494568',), 1337301355: ('0.051955359494568',), 1337301353: ('0.051955359494568',), 1337301351: ('0.051955359494568',), 1337301350: ('0.051955359494568',), 1337301319: ('0.051955359494568',), 1337301317: ('0.051955359494568',), 1337301316: ('0.051955359494568',), 1337301291: ('0.051955359494568',), 1337301269: ('0.051955359494568',), 1337301267: ('0.051955359494568',), 1337301266: ('0.051955359494568',), 1337301054: ('0.051955359494568',), 1337301052: ('0.051955359494568',), 1337301051: ('0.051955359494568',), 1337301023: ('0.051955359494568',), 1337301018: ('0.051955359494568',), 1337301016: ('0.051955359494568',), 1337300942: ('0.051955359494568',), 1337300897: ('0.051955359494568',), 1337300889: ('0.051955359494568',), 1337300886: ('0.051955359494568',), 1337300222: ('0.051955359494568',), 1337300220: ('0.051955359494568',), 1337300219: ('0.051955359494568',), 1337300193: ('0.051955359494568',), 1337300190: ('0.051955359494568',), 1337300187: ('0.051955359494568',), 1337300185: ('0.051955359494568',), 1337300184: ('0.051955359494568',), 1337300149: ('0.051955359494568',), 1337300145: ('0.051955359494568',), 1337300141: ('0.051955359494568',), 1337300139: ('0.051955359494568',)} args : 1337301266 depend.output_id : 0 input_args_next_step : {1337303087: ('0.051955359494568',), 1337301494: ('0.051955359494568',), 1337301383: ('0.051955359494568',), 1337301382: ('0.051955359494568',), 1337301355: ('0.051955359494568',), 1337301353: ('0.051955359494568',), 1337301351: ('0.051955359494568',), 1337301350: ('0.051955359494568',), 1337301319: ('0.051955359494568',), 1337301317: ('0.051955359494568',), 1337301316: ('0.051955359494568',), 1337301291: ('0.051955359494568',), 1337301269: ('0.051955359494568',), 1337301267: ('0.051955359494568',), 1337301266: ('0.051955359494568',), 1337301054: ()} output_args : {1337303087: ('0.051955359494568',), 1337301494: ('0.051955359494568',), 1337301383: ('0.051955359494568',), 1337301382: ('0.051955359494568',), 1337301355: ('0.051955359494568',), 1337301353: ('0.051955359494568',), 1337301351: ('0.051955359494568',), 1337301350: ('0.051955359494568',), 1337301319: ('0.051955359494568',), 1337301317: ('0.051955359494568',), 1337301316: ('0.051955359494568',), 1337301291: ('0.051955359494568',), 1337301269: ('0.051955359494568',), 1337301267: ('0.051955359494568',), 1337301266: ('0.051955359494568',), 1337301054: ('0.051955359494568',), 1337301052: ('0.051955359494568',), 1337301051: ('0.051955359494568',), 1337301023: ('0.051955359494568',), 1337301018: ('0.051955359494568',), 1337301016: ('0.051955359494568',), 1337300942: ('0.051955359494568',), 1337300897: ('0.051955359494568',), 1337300889: ('0.051955359494568',), 1337300886: ('0.051955359494568',), 1337300222: ('0.051955359494568',), 1337300220: ('0.051955359494568',), 1337300219: ('0.051955359494568',), 1337300193: ('0.051955359494568',), 1337300190: ('0.051955359494568',), 1337300187: ('0.051955359494568',), 1337300185: ('0.051955359494568',), 1337300184: ('0.051955359494568',), 1337300149: ('0.051955359494568',), 1337300145: ('0.051955359494568',), 1337300141: ('0.051955359494568',), 1337300139: ('0.051955359494568',)} args : 1337301054 depend.output_id : 0 input_args_next_step : {1337303087: ('0.051955359494568',), 1337301494: ('0.051955359494568',), 1337301383: ('0.051955359494568',), 1337301382: ('0.051955359494568',), 1337301355: ('0.051955359494568',), 1337301353: ('0.051955359494568',), 1337301351: ('0.051955359494568',), 1337301350: ('0.051955359494568',), 1337301319: ('0.051955359494568',), 1337301317: ('0.051955359494568',), 1337301316: ('0.051955359494568',), 1337301291: ('0.051955359494568',), 1337301269: ('0.051955359494568',), 1337301267: ('0.051955359494568',), 1337301266: ('0.051955359494568',), 1337301054: ('0.051955359494568',), 1337301052: ()} output_args : {1337303087: ('0.051955359494568',), 1337301494: ('0.051955359494568',), 1337301383: ('0.051955359494568',), 1337301382: ('0.051955359494568',), 1337301355: ('0.051955359494568',), 1337301353: ('0.051955359494568',), 1337301351: ('0.051955359494568',), 1337301350: ('0.051955359494568',), 1337301319: ('0.051955359494568',), 1337301317: ('0.051955359494568',), 1337301316: ('0.051955359494568',), 1337301291: ('0.051955359494568',), 1337301269: ('0.051955359494568',), 1337301267: ('0.051955359494568',), 1337301266: ('0.051955359494568',), 1337301054: ('0.051955359494568',), 1337301052: ('0.051955359494568',), 1337301051: ('0.051955359494568',), 1337301023: ('0.051955359494568',), 1337301018: ('0.051955359494568',), 1337301016: ('0.051955359494568',), 1337300942: ('0.051955359494568',), 1337300897: ('0.051955359494568',), 1337300889: ('0.051955359494568',), 1337300886: ('0.051955359494568',), 1337300222: ('0.051955359494568',), 1337300220: ('0.051955359494568',), 1337300219: ('0.051955359494568',), 1337300193: ('0.051955359494568',), 1337300190: ('0.051955359494568',), 1337300187: ('0.051955359494568',), 1337300185: ('0.051955359494568',), 1337300184: ('0.051955359494568',), 1337300149: ('0.051955359494568',), 1337300145: ('0.051955359494568',), 1337300141: ('0.051955359494568',), 1337300139: ('0.051955359494568',)} args : 1337301052 depend.output_id : 0 input_args_next_step : {1337303087: ('0.051955359494568',), 1337301494: ('0.051955359494568',), 1337301383: ('0.051955359494568',), 1337301382: ('0.051955359494568',), 1337301355: ('0.051955359494568',), 1337301353: ('0.051955359494568',), 1337301351: ('0.051955359494568',), 1337301350: ('0.051955359494568',), 1337301319: ('0.051955359494568',), 1337301317: ('0.051955359494568',), 1337301316: ('0.051955359494568',), 1337301291: ('0.051955359494568',), 1337301269: ('0.051955359494568',), 1337301267: ('0.051955359494568',), 1337301266: ('0.051955359494568',), 1337301054: ('0.051955359494568',), 1337301052: ('0.051955359494568',), 1337301051: ()} output_args : {1337303087: ('0.051955359494568',), 1337301494: ('0.051955359494568',), 1337301383: ('0.051955359494568',), 1337301382: ('0.051955359494568',), 1337301355: ('0.051955359494568',), 1337301353: ('0.051955359494568',), 1337301351: ('0.051955359494568',), 1337301350: ('0.051955359494568',), 1337301319: ('0.051955359494568',), 1337301317: ('0.051955359494568',), 1337301316: ('0.051955359494568',), 1337301291: ('0.051955359494568',), 1337301269: ('0.051955359494568',), 1337301267: ('0.051955359494568',), 1337301266: ('0.051955359494568',), 1337301054: ('0.051955359494568',), 1337301052: ('0.051955359494568',), 1337301051: ('0.051955359494568',), 1337301023: ('0.051955359494568',), 1337301018: ('0.051955359494568',), 1337301016: ('0.051955359494568',), 1337300942: ('0.051955359494568',), 1337300897: ('0.051955359494568',), 1337300889: ('0.051955359494568',), 1337300886: ('0.051955359494568',), 1337300222: ('0.051955359494568',), 1337300220: ('0.051955359494568',), 1337300219: ('0.051955359494568',), 1337300193: ('0.051955359494568',), 1337300190: ('0.051955359494568',), 1337300187: ('0.051955359494568',), 1337300185: ('0.051955359494568',), 1337300184: ('0.051955359494568',), 1337300149: ('0.051955359494568',), 1337300145: ('0.051955359494568',), 1337300141: ('0.051955359494568',), 1337300139: ('0.051955359494568',)} args : 1337301051 depend.output_id : 0 input_args_next_step : {1337303087: ('0.051955359494568',), 1337301494: ('0.051955359494568',), 1337301383: ('0.051955359494568',), 1337301382: ('0.051955359494568',), 1337301355: ('0.051955359494568',), 1337301353: ('0.051955359494568',), 1337301351: ('0.051955359494568',), 1337301350: ('0.051955359494568',), 1337301319: ('0.051955359494568',), 1337301317: ('0.051955359494568',), 1337301316: ('0.051955359494568',), 1337301291: ('0.051955359494568',), 1337301269: ('0.051955359494568',), 1337301267: ('0.051955359494568',), 1337301266: ('0.051955359494568',), 1337301054: ('0.051955359494568',), 1337301052: ('0.051955359494568',), 1337301051: ('0.051955359494568',), 1337301023: ()} output_args : {1337303087: ('0.051955359494568',), 1337301494: ('0.051955359494568',), 1337301383: ('0.051955359494568',), 1337301382: ('0.051955359494568',), 1337301355: ('0.051955359494568',), 1337301353: ('0.051955359494568',), 1337301351: ('0.051955359494568',), 1337301350: ('0.051955359494568',), 1337301319: ('0.051955359494568',), 1337301317: ('0.051955359494568',), 1337301316: ('0.051955359494568',), 1337301291: ('0.051955359494568',), 1337301269: ('0.051955359494568',), 1337301267: ('0.051955359494568',), 1337301266: ('0.051955359494568',), 1337301054: ('0.051955359494568',), 1337301052: ('0.051955359494568',), 1337301051: ('0.051955359494568',), 1337301023: ('0.051955359494568',), 1337301018: ('0.051955359494568',), 1337301016: ('0.051955359494568',), 1337300942: ('0.051955359494568',), 1337300897: ('0.051955359494568',), 1337300889: ('0.051955359494568',), 1337300886: ('0.051955359494568',), 1337300222: ('0.051955359494568',), 1337300220: ('0.051955359494568',), 1337300219: ('0.051955359494568',), 1337300193: ('0.051955359494568',), 1337300190: ('0.051955359494568',), 1337300187: ('0.051955359494568',), 1337300185: ('0.051955359494568',), 1337300184: ('0.051955359494568',), 1337300149: ('0.051955359494568',), 1337300145: ('0.051955359494568',), 1337300141: ('0.051955359494568',), 1337300139: ('0.051955359494568',)} args : 1337301023 depend.output_id : 0 input_args_next_step : {1337303087: ('0.051955359494568',), 1337301494: ('0.051955359494568',), 1337301383: ('0.051955359494568',), 1337301382: ('0.051955359494568',), 1337301355: ('0.051955359494568',), 1337301353: ('0.051955359494568',), 1337301351: ('0.051955359494568',), 1337301350: ('0.051955359494568',), 1337301319: ('0.051955359494568',), 1337301317: ('0.051955359494568',), 1337301316: ('0.051955359494568',), 1337301291: ('0.051955359494568',), 1337301269: ('0.051955359494568',), 1337301267: ('0.051955359494568',), 1337301266: ('0.051955359494568',), 1337301054: ('0.051955359494568',), 1337301052: ('0.051955359494568',), 1337301051: ('0.051955359494568',), 1337301023: ('0.051955359494568',), 1337301018: ()} output_args : {1337303087: ('0.051955359494568',), 1337301494: ('0.051955359494568',), 1337301383: ('0.051955359494568',), 1337301382: ('0.051955359494568',), 1337301355: ('0.051955359494568',), 1337301353: ('0.051955359494568',), 1337301351: ('0.051955359494568',), 1337301350: ('0.051955359494568',), 1337301319: ('0.051955359494568',), 1337301317: ('0.051955359494568',), 1337301316: ('0.051955359494568',), 1337301291: ('0.051955359494568',), 1337301269: ('0.051955359494568',), 1337301267: ('0.051955359494568',), 1337301266: ('0.051955359494568',), 1337301054: ('0.051955359494568',), 1337301052: ('0.051955359494568',), 1337301051: ('0.051955359494568',), 1337301023: ('0.051955359494568',), 1337301018: ('0.051955359494568',), 1337301016: ('0.051955359494568',), 1337300942: ('0.051955359494568',), 1337300897: ('0.051955359494568',), 1337300889: ('0.051955359494568',), 1337300886: ('0.051955359494568',), 1337300222: ('0.051955359494568',), 1337300220: ('0.051955359494568',), 1337300219: ('0.051955359494568',), 1337300193: ('0.051955359494568',), 1337300190: ('0.051955359494568',), 1337300187: ('0.051955359494568',), 1337300185: ('0.051955359494568',), 1337300184: ('0.051955359494568',), 1337300149: ('0.051955359494568',), 1337300145: ('0.051955359494568',), 1337300141: ('0.051955359494568',), 1337300139: ('0.051955359494568',)} args : 1337301018 depend.output_id : 0 input_args_next_step : {1337303087: ('0.051955359494568',), 1337301494: ('0.051955359494568',), 1337301383: ('0.051955359494568',), 1337301382: ('0.051955359494568',), 1337301355: ('0.051955359494568',), 1337301353: ('0.051955359494568',), 1337301351: ('0.051955359494568',), 1337301350: ('0.051955359494568',), 1337301319: ('0.051955359494568',), 1337301317: ('0.051955359494568',), 1337301316: ('0.051955359494568',), 1337301291: ('0.051955359494568',), 1337301269: ('0.051955359494568',), 1337301267: ('0.051955359494568',), 1337301266: ('0.051955359494568',), 1337301054: ('0.051955359494568',), 1337301052: ('0.051955359494568',), 1337301051: ('0.051955359494568',), 1337301023: ('0.051955359494568',), 1337301018: ('0.051955359494568',), 1337301016: ()} output_args : {1337303087: ('0.051955359494568',), 1337301494: ('0.051955359494568',), 1337301383: ('0.051955359494568',), 1337301382: ('0.051955359494568',), 1337301355: ('0.051955359494568',), 1337301353: ('0.051955359494568',), 1337301351: ('0.051955359494568',), 1337301350: ('0.051955359494568',), 1337301319: ('0.051955359494568',), 1337301317: ('0.051955359494568',), 1337301316: ('0.051955359494568',), 1337301291: ('0.051955359494568',), 1337301269: ('0.051955359494568',), 1337301267: ('0.051955359494568',), 1337301266: ('0.051955359494568',), 1337301054: ('0.051955359494568',), 1337301052: ('0.051955359494568',), 1337301051: ('0.051955359494568',), 1337301023: ('0.051955359494568',), 1337301018: ('0.051955359494568',), 1337301016: ('0.051955359494568',), 1337300942: ('0.051955359494568',), 1337300897: ('0.051955359494568',), 1337300889: ('0.051955359494568',), 1337300886: ('0.051955359494568',), 1337300222: ('0.051955359494568',), 1337300220: ('0.051955359494568',), 1337300219: ('0.051955359494568',), 1337300193: ('0.051955359494568',), 1337300190: ('0.051955359494568',), 1337300187: ('0.051955359494568',), 1337300185: ('0.051955359494568',), 1337300184: ('0.051955359494568',), 1337300149: ('0.051955359494568',), 1337300145: ('0.051955359494568',), 1337300141: ('0.051955359494568',), 1337300139: ('0.051955359494568',)} args : 1337301016 depend.output_id : 0 input_args_next_step : {1337303087: ('0.051955359494568',), 1337301494: ('0.051955359494568',), 1337301383: ('0.051955359494568',), 1337301382: ('0.051955359494568',), 1337301355: ('0.051955359494568',), 1337301353: ('0.051955359494568',), 1337301351: ('0.051955359494568',), 1337301350: ('0.051955359494568',), 1337301319: ('0.051955359494568',), 1337301317: ('0.051955359494568',), 1337301316: ('0.051955359494568',), 1337301291: ('0.051955359494568',), 1337301269: ('0.051955359494568',), 1337301267: ('0.051955359494568',), 1337301266: ('0.051955359494568',), 1337301054: ('0.051955359494568',), 1337301052: ('0.051955359494568',), 1337301051: ('0.051955359494568',), 1337301023: ('0.051955359494568',), 1337301018: ('0.051955359494568',), 1337301016: ('0.051955359494568',), 1337300942: ()} output_args : {1337303087: ('0.051955359494568',), 1337301494: ('0.051955359494568',), 1337301383: ('0.051955359494568',), 1337301382: ('0.051955359494568',), 1337301355: ('0.051955359494568',), 1337301353: ('0.051955359494568',), 1337301351: ('0.051955359494568',), 1337301350: ('0.051955359494568',), 1337301319: ('0.051955359494568',), 1337301317: ('0.051955359494568',), 1337301316: ('0.051955359494568',), 1337301291: ('0.051955359494568',), 1337301269: ('0.051955359494568',), 1337301267: ('0.051955359494568',), 1337301266: ('0.051955359494568',), 1337301054: ('0.051955359494568',), 1337301052: ('0.051955359494568',), 1337301051: ('0.051955359494568',), 1337301023: ('0.051955359494568',), 1337301018: ('0.051955359494568',), 1337301016: ('0.051955359494568',), 1337300942: ('0.051955359494568',), 1337300897: ('0.051955359494568',), 1337300889: ('0.051955359494568',), 1337300886: ('0.051955359494568',), 1337300222: ('0.051955359494568',), 1337300220: ('0.051955359494568',), 1337300219: ('0.051955359494568',), 1337300193: ('0.051955359494568',), 1337300190: ('0.051955359494568',), 1337300187: ('0.051955359494568',), 1337300185: ('0.051955359494568',), 1337300184: ('0.051955359494568',), 1337300149: ('0.051955359494568',), 1337300145: ('0.051955359494568',), 1337300141: ('0.051955359494568',), 1337300139: ('0.051955359494568',)} args : 1337300942 depend.output_id : 0 input_args_next_step : {1337303087: ('0.051955359494568',), 1337301494: ('0.051955359494568',), 1337301383: ('0.051955359494568',), 1337301382: ('0.051955359494568',), 1337301355: ('0.051955359494568',), 1337301353: ('0.051955359494568',), 1337301351: ('0.051955359494568',), 1337301350: ('0.051955359494568',), 1337301319: ('0.051955359494568',), 1337301317: ('0.051955359494568',), 1337301316: ('0.051955359494568',), 1337301291: ('0.051955359494568',), 1337301269: ('0.051955359494568',), 1337301267: ('0.051955359494568',), 1337301266: ('0.051955359494568',), 1337301054: ('0.051955359494568',), 1337301052: ('0.051955359494568',), 1337301051: ('0.051955359494568',), 1337301023: ('0.051955359494568',), 1337301018: ('0.051955359494568',), 1337301016: ('0.051955359494568',), 1337300942: ('0.051955359494568',), 1337300897: ()} output_args : {1337303087: ('0.051955359494568',), 1337301494: ('0.051955359494568',), 1337301383: ('0.051955359494568',), 1337301382: ('0.051955359494568',), 1337301355: ('0.051955359494568',), 1337301353: ('0.051955359494568',), 1337301351: ('0.051955359494568',), 1337301350: ('0.051955359494568',), 1337301319: ('0.051955359494568',), 1337301317: ('0.051955359494568',), 1337301316: ('0.051955359494568',), 1337301291: ('0.051955359494568',), 1337301269: ('0.051955359494568',), 1337301267: ('0.051955359494568',), 1337301266: ('0.051955359494568',), 1337301054: ('0.051955359494568',), 1337301052: ('0.051955359494568',), 1337301051: ('0.051955359494568',), 1337301023: ('0.051955359494568',), 1337301018: ('0.051955359494568',), 1337301016: ('0.051955359494568',), 1337300942: ('0.051955359494568',), 1337300897: ('0.051955359494568',), 1337300889: ('0.051955359494568',), 1337300886: ('0.051955359494568',), 1337300222: ('0.051955359494568',), 1337300220: ('0.051955359494568',), 1337300219: ('0.051955359494568',), 1337300193: ('0.051955359494568',), 1337300190: ('0.051955359494568',), 1337300187: ('0.051955359494568',), 1337300185: ('0.051955359494568',), 1337300184: ('0.051955359494568',), 1337300149: ('0.051955359494568',), 1337300145: ('0.051955359494568',), 1337300141: ('0.051955359494568',), 1337300139: ('0.051955359494568',)} args : 1337300897 depend.output_id : 0 input_args_next_step : {1337303087: ('0.051955359494568',), 1337301494: ('0.051955359494568',), 1337301383: ('0.051955359494568',), 1337301382: ('0.051955359494568',), 1337301355: ('0.051955359494568',), 1337301353: ('0.051955359494568',), 1337301351: ('0.051955359494568',), 1337301350: ('0.051955359494568',), 1337301319: ('0.051955359494568',), 1337301317: ('0.051955359494568',), 1337301316: ('0.051955359494568',), 1337301291: ('0.051955359494568',), 1337301269: ('0.051955359494568',), 1337301267: ('0.051955359494568',), 1337301266: ('0.051955359494568',), 1337301054: ('0.051955359494568',), 1337301052: ('0.051955359494568',), 1337301051: ('0.051955359494568',), 1337301023: ('0.051955359494568',), 1337301018: ('0.051955359494568',), 1337301016: ('0.051955359494568',), 1337300942: ('0.051955359494568',), 1337300897: ('0.051955359494568',), 1337300889: ()} output_args : {1337303087: ('0.051955359494568',), 1337301494: ('0.051955359494568',), 1337301383: ('0.051955359494568',), 1337301382: ('0.051955359494568',), 1337301355: ('0.051955359494568',), 1337301353: ('0.051955359494568',), 1337301351: ('0.051955359494568',), 1337301350: ('0.051955359494568',), 1337301319: ('0.051955359494568',), 1337301317: ('0.051955359494568',), 1337301316: ('0.051955359494568',), 1337301291: ('0.051955359494568',), 1337301269: ('0.051955359494568',), 1337301267: ('0.051955359494568',), 1337301266: ('0.051955359494568',), 1337301054: ('0.051955359494568',), 1337301052: ('0.051955359494568',), 1337301051: ('0.051955359494568',), 1337301023: ('0.051955359494568',), 1337301018: ('0.051955359494568',), 1337301016: ('0.051955359494568',), 1337300942: ('0.051955359494568',), 1337300897: ('0.051955359494568',), 1337300889: ('0.051955359494568',), 1337300886: ('0.051955359494568',), 1337300222: ('0.051955359494568',), 1337300220: ('0.051955359494568',), 1337300219: ('0.051955359494568',), 1337300193: ('0.051955359494568',), 1337300190: ('0.051955359494568',), 1337300187: ('0.051955359494568',), 1337300185: ('0.051955359494568',), 1337300184: ('0.051955359494568',), 1337300149: ('0.051955359494568',), 1337300145: ('0.051955359494568',), 1337300141: ('0.051955359494568',), 1337300139: ('0.051955359494568',)} args : 1337300889 depend.output_id : 0 input_args_next_step : {1337303087: ('0.051955359494568',), 1337301494: ('0.051955359494568',), 1337301383: ('0.051955359494568',), 1337301382: ('0.051955359494568',), 1337301355: ('0.051955359494568',), 1337301353: ('0.051955359494568',), 1337301351: ('0.051955359494568',), 1337301350: ('0.051955359494568',), 1337301319: ('0.051955359494568',), 1337301317: ('0.051955359494568',), 1337301316: ('0.051955359494568',), 1337301291: ('0.051955359494568',), 1337301269: ('0.051955359494568',), 1337301267: ('0.051955359494568',), 1337301266: ('0.051955359494568',), 1337301054: ('0.051955359494568',), 1337301052: ('0.051955359494568',), 1337301051: ('0.051955359494568',), 1337301023: ('0.051955359494568',), 1337301018: ('0.051955359494568',), 1337301016: ('0.051955359494568',), 1337300942: ('0.051955359494568',), 1337300897: ('0.051955359494568',), 1337300889: ('0.051955359494568',), 1337300886: ()} output_args : {1337303087: ('0.051955359494568',), 1337301494: ('0.051955359494568',), 1337301383: ('0.051955359494568',), 1337301382: ('0.051955359494568',), 1337301355: ('0.051955359494568',), 1337301353: ('0.051955359494568',), 1337301351: ('0.051955359494568',), 1337301350: ('0.051955359494568',), 1337301319: ('0.051955359494568',), 1337301317: ('0.051955359494568',), 1337301316: ('0.051955359494568',), 1337301291: ('0.051955359494568',), 1337301269: ('0.051955359494568',), 1337301267: ('0.051955359494568',), 1337301266: ('0.051955359494568',), 1337301054: ('0.051955359494568',), 1337301052: ('0.051955359494568',), 1337301051: ('0.051955359494568',), 1337301023: ('0.051955359494568',), 1337301018: ('0.051955359494568',), 1337301016: ('0.051955359494568',), 1337300942: ('0.051955359494568',), 1337300897: ('0.051955359494568',), 1337300889: ('0.051955359494568',), 1337300886: ('0.051955359494568',), 1337300222: ('0.051955359494568',), 1337300220: ('0.051955359494568',), 1337300219: ('0.051955359494568',), 1337300193: ('0.051955359494568',), 1337300190: ('0.051955359494568',), 1337300187: ('0.051955359494568',), 1337300185: ('0.051955359494568',), 1337300184: ('0.051955359494568',), 1337300149: ('0.051955359494568',), 1337300145: ('0.051955359494568',), 1337300141: ('0.051955359494568',), 1337300139: ('0.051955359494568',)} args : 1337300886 depend.output_id : 0 input_args_next_step : {1337303087: ('0.051955359494568',), 1337301494: ('0.051955359494568',), 1337301383: ('0.051955359494568',), 1337301382: ('0.051955359494568',), 1337301355: ('0.051955359494568',), 1337301353: ('0.051955359494568',), 1337301351: ('0.051955359494568',), 1337301350: ('0.051955359494568',), 1337301319: ('0.051955359494568',), 1337301317: ('0.051955359494568',), 1337301316: ('0.051955359494568',), 1337301291: ('0.051955359494568',), 1337301269: ('0.051955359494568',), 1337301267: ('0.051955359494568',), 1337301266: ('0.051955359494568',), 1337301054: ('0.051955359494568',), 1337301052: ('0.051955359494568',), 1337301051: ('0.051955359494568',), 1337301023: ('0.051955359494568',), 1337301018: ('0.051955359494568',), 1337301016: ('0.051955359494568',), 1337300942: ('0.051955359494568',), 1337300897: ('0.051955359494568',), 1337300889: ('0.051955359494568',), 1337300886: ('0.051955359494568',), 1337300222: ()} output_args : {1337303087: ('0.051955359494568',), 1337301494: ('0.051955359494568',), 1337301383: ('0.051955359494568',), 1337301382: ('0.051955359494568',), 1337301355: ('0.051955359494568',), 1337301353: ('0.051955359494568',), 1337301351: ('0.051955359494568',), 1337301350: ('0.051955359494568',), 1337301319: ('0.051955359494568',), 1337301317: ('0.051955359494568',), 1337301316: ('0.051955359494568',), 1337301291: ('0.051955359494568',), 1337301269: ('0.051955359494568',), 1337301267: ('0.051955359494568',), 1337301266: ('0.051955359494568',), 1337301054: ('0.051955359494568',), 1337301052: ('0.051955359494568',), 1337301051: ('0.051955359494568',), 1337301023: ('0.051955359494568',), 1337301018: ('0.051955359494568',), 1337301016: ('0.051955359494568',), 1337300942: ('0.051955359494568',), 1337300897: ('0.051955359494568',), 1337300889: ('0.051955359494568',), 1337300886: ('0.051955359494568',), 1337300222: ('0.051955359494568',), 1337300220: ('0.051955359494568',), 1337300219: ('0.051955359494568',), 1337300193: ('0.051955359494568',), 1337300190: ('0.051955359494568',), 1337300187: ('0.051955359494568',), 1337300185: ('0.051955359494568',), 1337300184: ('0.051955359494568',), 1337300149: ('0.051955359494568',), 1337300145: ('0.051955359494568',), 1337300141: ('0.051955359494568',), 1337300139: ('0.051955359494568',)} args : 1337300222 depend.output_id : 0 input_args_next_step : {1337303087: ('0.051955359494568',), 1337301494: ('0.051955359494568',), 1337301383: ('0.051955359494568',), 1337301382: ('0.051955359494568',), 1337301355: ('0.051955359494568',), 1337301353: ('0.051955359494568',), 1337301351: ('0.051955359494568',), 1337301350: ('0.051955359494568',), 1337301319: ('0.051955359494568',), 1337301317: ('0.051955359494568',), 1337301316: ('0.051955359494568',), 1337301291: ('0.051955359494568',), 1337301269: ('0.051955359494568',), 1337301267: ('0.051955359494568',), 1337301266: ('0.051955359494568',), 1337301054: ('0.051955359494568',), 1337301052: ('0.051955359494568',), 1337301051: ('0.051955359494568',), 1337301023: ('0.051955359494568',), 1337301018: ('0.051955359494568',), 1337301016: ('0.051955359494568',), 1337300942: ('0.051955359494568',), 1337300897: ('0.051955359494568',), 1337300889: ('0.051955359494568',), 1337300886: ('0.051955359494568',), 1337300222: ('0.051955359494568',), 1337300220: ()} output_args : {1337303087: ('0.051955359494568',), 1337301494: ('0.051955359494568',), 1337301383: ('0.051955359494568',), 1337301382: ('0.051955359494568',), 1337301355: ('0.051955359494568',), 1337301353: ('0.051955359494568',), 1337301351: ('0.051955359494568',), 1337301350: ('0.051955359494568',), 1337301319: ('0.051955359494568',), 1337301317: ('0.051955359494568',), 1337301316: ('0.051955359494568',), 1337301291: ('0.051955359494568',), 1337301269: ('0.051955359494568',), 1337301267: ('0.051955359494568',), 1337301266: ('0.051955359494568',), 1337301054: ('0.051955359494568',), 1337301052: ('0.051955359494568',), 1337301051: ('0.051955359494568',), 1337301023: ('0.051955359494568',), 1337301018: ('0.051955359494568',), 1337301016: ('0.051955359494568',), 1337300942: ('0.051955359494568',), 1337300897: ('0.051955359494568',), 1337300889: ('0.051955359494568',), 1337300886: ('0.051955359494568',), 1337300222: ('0.051955359494568',), 1337300220: ('0.051955359494568',), 1337300219: ('0.051955359494568',), 1337300193: ('0.051955359494568',), 1337300190: ('0.051955359494568',), 1337300187: ('0.051955359494568',), 1337300185: ('0.051955359494568',), 1337300184: ('0.051955359494568',), 1337300149: ('0.051955359494568',), 1337300145: ('0.051955359494568',), 1337300141: ('0.051955359494568',), 1337300139: ('0.051955359494568',)} args : 1337300220 depend.output_id : 0 input_args_next_step : {1337303087: ('0.051955359494568',), 1337301494: ('0.051955359494568',), 1337301383: ('0.051955359494568',), 1337301382: ('0.051955359494568',), 1337301355: ('0.051955359494568',), 1337301353: ('0.051955359494568',), 1337301351: ('0.051955359494568',), 1337301350: ('0.051955359494568',), 1337301319: ('0.051955359494568',), 1337301317: ('0.051955359494568',), 1337301316: ('0.051955359494568',), 1337301291: ('0.051955359494568',), 1337301269: ('0.051955359494568',), 1337301267: ('0.051955359494568',), 1337301266: ('0.051955359494568',), 1337301054: ('0.051955359494568',), 1337301052: ('0.051955359494568',), 1337301051: ('0.051955359494568',), 1337301023: ('0.051955359494568',), 1337301018: ('0.051955359494568',), 1337301016: ('0.051955359494568',), 1337300942: ('0.051955359494568',), 1337300897: ('0.051955359494568',), 1337300889: ('0.051955359494568',), 1337300886: ('0.051955359494568',), 1337300222: ('0.051955359494568',), 1337300220: ('0.051955359494568',), 1337300219: ()} output_args : {1337303087: ('0.051955359494568',), 1337301494: ('0.051955359494568',), 1337301383: ('0.051955359494568',), 1337301382: ('0.051955359494568',), 1337301355: ('0.051955359494568',), 1337301353: ('0.051955359494568',), 1337301351: ('0.051955359494568',), 1337301350: ('0.051955359494568',), 1337301319: ('0.051955359494568',), 1337301317: ('0.051955359494568',), 1337301316: ('0.051955359494568',), 1337301291: ('0.051955359494568',), 1337301269: ('0.051955359494568',), 1337301267: ('0.051955359494568',), 1337301266: ('0.051955359494568',), 1337301054: ('0.051955359494568',), 1337301052: ('0.051955359494568',), 1337301051: ('0.051955359494568',), 1337301023: ('0.051955359494568',), 1337301018: ('0.051955359494568',), 1337301016: ('0.051955359494568',), 1337300942: ('0.051955359494568',), 1337300897: ('0.051955359494568',), 1337300889: ('0.051955359494568',), 1337300886: ('0.051955359494568',), 1337300222: ('0.051955359494568',), 1337300220: ('0.051955359494568',), 1337300219: ('0.051955359494568',), 1337300193: ('0.051955359494568',), 1337300190: ('0.051955359494568',), 1337300187: ('0.051955359494568',), 1337300185: ('0.051955359494568',), 1337300184: ('0.051955359494568',), 1337300149: ('0.051955359494568',), 1337300145: ('0.051955359494568',), 1337300141: ('0.051955359494568',), 1337300139: ('0.051955359494568',)} args : 1337300219 depend.output_id : 0 input_args_next_step : {1337303087: ('0.051955359494568',), 1337301494: ('0.051955359494568',), 1337301383: ('0.051955359494568',), 1337301382: ('0.051955359494568',), 1337301355: ('0.051955359494568',), 1337301353: ('0.051955359494568',), 1337301351: ('0.051955359494568',), 1337301350: ('0.051955359494568',), 1337301319: ('0.051955359494568',), 1337301317: ('0.051955359494568',), 1337301316: ('0.051955359494568',), 1337301291: ('0.051955359494568',), 1337301269: ('0.051955359494568',), 1337301267: ('0.051955359494568',), 1337301266: ('0.051955359494568',), 1337301054: ('0.051955359494568',), 1337301052: ('0.051955359494568',), 1337301051: ('0.051955359494568',), 1337301023: ('0.051955359494568',), 1337301018: ('0.051955359494568',), 1337301016: ('0.051955359494568',), 1337300942: ('0.051955359494568',), 1337300897: ('0.051955359494568',), 1337300889: ('0.051955359494568',), 1337300886: ('0.051955359494568',), 1337300222: ('0.051955359494568',), 1337300220: ('0.051955359494568',), 1337300219: ('0.051955359494568',), 1337300193: ()} output_args : {1337303087: ('0.051955359494568',), 1337301494: ('0.051955359494568',), 1337301383: ('0.051955359494568',), 1337301382: ('0.051955359494568',), 1337301355: ('0.051955359494568',), 1337301353: ('0.051955359494568',), 1337301351: ('0.051955359494568',), 1337301350: ('0.051955359494568',), 1337301319: ('0.051955359494568',), 1337301317: ('0.051955359494568',), 1337301316: ('0.051955359494568',), 1337301291: ('0.051955359494568',), 1337301269: ('0.051955359494568',), 1337301267: ('0.051955359494568',), 1337301266: ('0.051955359494568',), 1337301054: ('0.051955359494568',), 1337301052: ('0.051955359494568',), 1337301051: ('0.051955359494568',), 1337301023: ('0.051955359494568',), 1337301018: ('0.051955359494568',), 1337301016: ('0.051955359494568',), 1337300942: ('0.051955359494568',), 1337300897: ('0.051955359494568',), 1337300889: ('0.051955359494568',), 1337300886: ('0.051955359494568',), 1337300222: ('0.051955359494568',), 1337300220: ('0.051955359494568',), 1337300219: ('0.051955359494568',), 1337300193: ('0.051955359494568',), 1337300190: ('0.051955359494568',), 1337300187: ('0.051955359494568',), 1337300185: ('0.051955359494568',), 1337300184: ('0.051955359494568',), 1337300149: ('0.051955359494568',), 1337300145: ('0.051955359494568',), 1337300141: ('0.051955359494568',), 1337300139: ('0.051955359494568',)} args : 1337300193 depend.output_id : 0 input_args_next_step : {1337303087: ('0.051955359494568',), 1337301494: ('0.051955359494568',), 1337301383: ('0.051955359494568',), 1337301382: ('0.051955359494568',), 1337301355: ('0.051955359494568',), 1337301353: ('0.051955359494568',), 1337301351: ('0.051955359494568',), 1337301350: ('0.051955359494568',), 1337301319: ('0.051955359494568',), 1337301317: ('0.051955359494568',), 1337301316: ('0.051955359494568',), 1337301291: ('0.051955359494568',), 1337301269: ('0.051955359494568',), 1337301267: ('0.051955359494568',), 1337301266: ('0.051955359494568',), 1337301054: ('0.051955359494568',), 1337301052: ('0.051955359494568',), 1337301051: ('0.051955359494568',), 1337301023: ('0.051955359494568',), 1337301018: ('0.051955359494568',), 1337301016: ('0.051955359494568',), 1337300942: ('0.051955359494568',), 1337300897: ('0.051955359494568',), 1337300889: ('0.051955359494568',), 1337300886: ('0.051955359494568',), 1337300222: ('0.051955359494568',), 1337300220: ('0.051955359494568',), 1337300219: ('0.051955359494568',), 1337300193: ('0.051955359494568',), 1337300190: ()} output_args : {1337303087: ('0.051955359494568',), 1337301494: ('0.051955359494568',), 1337301383: ('0.051955359494568',), 1337301382: ('0.051955359494568',), 1337301355: ('0.051955359494568',), 1337301353: ('0.051955359494568',), 1337301351: ('0.051955359494568',), 1337301350: ('0.051955359494568',), 1337301319: ('0.051955359494568',), 1337301317: ('0.051955359494568',), 1337301316: ('0.051955359494568',), 1337301291: ('0.051955359494568',), 1337301269: ('0.051955359494568',), 1337301267: ('0.051955359494568',), 1337301266: ('0.051955359494568',), 1337301054: ('0.051955359494568',), 1337301052: ('0.051955359494568',), 1337301051: ('0.051955359494568',), 1337301023: ('0.051955359494568',), 1337301018: ('0.051955359494568',), 1337301016: ('0.051955359494568',), 1337300942: ('0.051955359494568',), 1337300897: ('0.051955359494568',), 1337300889: ('0.051955359494568',), 1337300886: ('0.051955359494568',), 1337300222: ('0.051955359494568',), 1337300220: ('0.051955359494568',), 1337300219: ('0.051955359494568',), 1337300193: ('0.051955359494568',), 1337300190: ('0.051955359494568',), 1337300187: ('0.051955359494568',), 1337300185: ('0.051955359494568',), 1337300184: ('0.051955359494568',), 1337300149: ('0.051955359494568',), 1337300145: ('0.051955359494568',), 1337300141: ('0.051955359494568',), 1337300139: ('0.051955359494568',)} args : 1337300190 depend.output_id : 0 input_args_next_step : {1337303087: ('0.051955359494568',), 1337301494: ('0.051955359494568',), 1337301383: ('0.051955359494568',), 1337301382: ('0.051955359494568',), 1337301355: ('0.051955359494568',), 1337301353: ('0.051955359494568',), 1337301351: ('0.051955359494568',), 1337301350: ('0.051955359494568',), 1337301319: ('0.051955359494568',), 1337301317: ('0.051955359494568',), 1337301316: ('0.051955359494568',), 1337301291: ('0.051955359494568',), 1337301269: ('0.051955359494568',), 1337301267: ('0.051955359494568',), 1337301266: ('0.051955359494568',), 1337301054: ('0.051955359494568',), 1337301052: ('0.051955359494568',), 1337301051: ('0.051955359494568',), 1337301023: ('0.051955359494568',), 1337301018: ('0.051955359494568',), 1337301016: ('0.051955359494568',), 1337300942: ('0.051955359494568',), 1337300897: ('0.051955359494568',), 1337300889: ('0.051955359494568',), 1337300886: ('0.051955359494568',), 1337300222: ('0.051955359494568',), 1337300220: ('0.051955359494568',), 1337300219: ('0.051955359494568',), 1337300193: ('0.051955359494568',), 1337300190: ('0.051955359494568',), 1337300187: ()} output_args : {1337303087: ('0.051955359494568',), 1337301494: ('0.051955359494568',), 1337301383: ('0.051955359494568',), 1337301382: ('0.051955359494568',), 1337301355: ('0.051955359494568',), 1337301353: ('0.051955359494568',), 1337301351: ('0.051955359494568',), 1337301350: ('0.051955359494568',), 1337301319: ('0.051955359494568',), 1337301317: ('0.051955359494568',), 1337301316: ('0.051955359494568',), 1337301291: ('0.051955359494568',), 1337301269: ('0.051955359494568',), 1337301267: ('0.051955359494568',), 1337301266: ('0.051955359494568',), 1337301054: ('0.051955359494568',), 1337301052: ('0.051955359494568',), 1337301051: ('0.051955359494568',), 1337301023: ('0.051955359494568',), 1337301018: ('0.051955359494568',), 1337301016: ('0.051955359494568',), 1337300942: ('0.051955359494568',), 1337300897: ('0.051955359494568',), 1337300889: ('0.051955359494568',), 1337300886: ('0.051955359494568',), 1337300222: ('0.051955359494568',), 1337300220: ('0.051955359494568',), 1337300219: ('0.051955359494568',), 1337300193: ('0.051955359494568',), 1337300190: ('0.051955359494568',), 1337300187: ('0.051955359494568',), 1337300185: ('0.051955359494568',), 1337300184: ('0.051955359494568',), 1337300149: ('0.051955359494568',), 1337300145: ('0.051955359494568',), 1337300141: ('0.051955359494568',), 1337300139: ('0.051955359494568',)} args : 1337300187 depend.output_id : 0 input_args_next_step : {1337303087: ('0.051955359494568',), 1337301494: ('0.051955359494568',), 1337301383: ('0.051955359494568',), 1337301382: ('0.051955359494568',), 1337301355: ('0.051955359494568',), 1337301353: ('0.051955359494568',), 1337301351: ('0.051955359494568',), 1337301350: ('0.051955359494568',), 1337301319: ('0.051955359494568',), 1337301317: ('0.051955359494568',), 1337301316: ('0.051955359494568',), 1337301291: ('0.051955359494568',), 1337301269: ('0.051955359494568',), 1337301267: ('0.051955359494568',), 1337301266: ('0.051955359494568',), 1337301054: ('0.051955359494568',), 1337301052: ('0.051955359494568',), 1337301051: ('0.051955359494568',), 1337301023: ('0.051955359494568',), 1337301018: ('0.051955359494568',), 1337301016: ('0.051955359494568',), 1337300942: ('0.051955359494568',), 1337300897: ('0.051955359494568',), 1337300889: ('0.051955359494568',), 1337300886: ('0.051955359494568',), 1337300222: ('0.051955359494568',), 1337300220: ('0.051955359494568',), 1337300219: ('0.051955359494568',), 1337300193: ('0.051955359494568',), 1337300190: ('0.051955359494568',), 1337300187: ('0.051955359494568',), 1337300185: ()} output_args : {1337303087: ('0.051955359494568',), 1337301494: ('0.051955359494568',), 1337301383: ('0.051955359494568',), 1337301382: ('0.051955359494568',), 1337301355: ('0.051955359494568',), 1337301353: ('0.051955359494568',), 1337301351: ('0.051955359494568',), 1337301350: ('0.051955359494568',), 1337301319: ('0.051955359494568',), 1337301317: ('0.051955359494568',), 1337301316: ('0.051955359494568',), 1337301291: ('0.051955359494568',), 1337301269: ('0.051955359494568',), 1337301267: ('0.051955359494568',), 1337301266: ('0.051955359494568',), 1337301054: ('0.051955359494568',), 1337301052: ('0.051955359494568',), 1337301051: ('0.051955359494568',), 1337301023: ('0.051955359494568',), 1337301018: ('0.051955359494568',), 1337301016: ('0.051955359494568',), 1337300942: ('0.051955359494568',), 1337300897: ('0.051955359494568',), 1337300889: ('0.051955359494568',), 1337300886: ('0.051955359494568',), 1337300222: ('0.051955359494568',), 1337300220: ('0.051955359494568',), 1337300219: ('0.051955359494568',), 1337300193: ('0.051955359494568',), 1337300190: ('0.051955359494568',), 1337300187: ('0.051955359494568',), 1337300185: ('0.051955359494568',), 1337300184: ('0.051955359494568',), 1337300149: ('0.051955359494568',), 1337300145: ('0.051955359494568',), 1337300141: ('0.051955359494568',), 1337300139: ('0.051955359494568',)} args : 1337300185 depend.output_id : 0 input_args_next_step : {1337303087: ('0.051955359494568',), 1337301494: ('0.051955359494568',), 1337301383: ('0.051955359494568',), 1337301382: ('0.051955359494568',), 1337301355: ('0.051955359494568',), 1337301353: ('0.051955359494568',), 1337301351: ('0.051955359494568',), 1337301350: ('0.051955359494568',), 1337301319: ('0.051955359494568',), 1337301317: ('0.051955359494568',), 1337301316: ('0.051955359494568',), 1337301291: ('0.051955359494568',), 1337301269: ('0.051955359494568',), 1337301267: ('0.051955359494568',), 1337301266: ('0.051955359494568',), 1337301054: ('0.051955359494568',), 1337301052: ('0.051955359494568',), 1337301051: ('0.051955359494568',), 1337301023: ('0.051955359494568',), 1337301018: ('0.051955359494568',), 1337301016: ('0.051955359494568',), 1337300942: ('0.051955359494568',), 1337300897: ('0.051955359494568',), 1337300889: ('0.051955359494568',), 1337300886: ('0.051955359494568',), 1337300222: ('0.051955359494568',), 1337300220: ('0.051955359494568',), 1337300219: ('0.051955359494568',), 1337300193: ('0.051955359494568',), 1337300190: ('0.051955359494568',), 1337300187: ('0.051955359494568',), 1337300185: ('0.051955359494568',), 1337300184: ()} output_args : {1337303087: ('0.051955359494568',), 1337301494: ('0.051955359494568',), 1337301383: ('0.051955359494568',), 1337301382: ('0.051955359494568',), 1337301355: ('0.051955359494568',), 1337301353: ('0.051955359494568',), 1337301351: ('0.051955359494568',), 1337301350: ('0.051955359494568',), 1337301319: ('0.051955359494568',), 1337301317: ('0.051955359494568',), 1337301316: ('0.051955359494568',), 1337301291: ('0.051955359494568',), 1337301269: ('0.051955359494568',), 1337301267: ('0.051955359494568',), 1337301266: ('0.051955359494568',), 1337301054: ('0.051955359494568',), 1337301052: ('0.051955359494568',), 1337301051: ('0.051955359494568',), 1337301023: ('0.051955359494568',), 1337301018: ('0.051955359494568',), 1337301016: ('0.051955359494568',), 1337300942: ('0.051955359494568',), 1337300897: ('0.051955359494568',), 1337300889: ('0.051955359494568',), 1337300886: ('0.051955359494568',), 1337300222: ('0.051955359494568',), 1337300220: ('0.051955359494568',), 1337300219: ('0.051955359494568',), 1337300193: ('0.051955359494568',), 1337300190: ('0.051955359494568',), 1337300187: ('0.051955359494568',), 1337300185: ('0.051955359494568',), 1337300184: ('0.051955359494568',), 1337300149: ('0.051955359494568',), 1337300145: ('0.051955359494568',), 1337300141: ('0.051955359494568',), 1337300139: ('0.051955359494568',)} args : 1337300184 depend.output_id : 0 input_args_next_step : {1337303087: ('0.051955359494568',), 1337301494: ('0.051955359494568',), 1337301383: ('0.051955359494568',), 1337301382: ('0.051955359494568',), 1337301355: ('0.051955359494568',), 1337301353: ('0.051955359494568',), 1337301351: ('0.051955359494568',), 1337301350: ('0.051955359494568',), 1337301319: ('0.051955359494568',), 1337301317: ('0.051955359494568',), 1337301316: ('0.051955359494568',), 1337301291: ('0.051955359494568',), 1337301269: ('0.051955359494568',), 1337301267: ('0.051955359494568',), 1337301266: ('0.051955359494568',), 1337301054: ('0.051955359494568',), 1337301052: ('0.051955359494568',), 1337301051: ('0.051955359494568',), 1337301023: ('0.051955359494568',), 1337301018: ('0.051955359494568',), 1337301016: ('0.051955359494568',), 1337300942: ('0.051955359494568',), 1337300897: ('0.051955359494568',), 1337300889: ('0.051955359494568',), 1337300886: ('0.051955359494568',), 1337300222: ('0.051955359494568',), 1337300220: ('0.051955359494568',), 1337300219: ('0.051955359494568',), 1337300193: ('0.051955359494568',), 1337300190: ('0.051955359494568',), 1337300187: ('0.051955359494568',), 1337300185: ('0.051955359494568',), 1337300184: ('0.051955359494568',), 1337300149: ()} output_args : {1337303087: ('0.051955359494568',), 1337301494: ('0.051955359494568',), 1337301383: ('0.051955359494568',), 1337301382: ('0.051955359494568',), 1337301355: ('0.051955359494568',), 1337301353: ('0.051955359494568',), 1337301351: ('0.051955359494568',), 1337301350: ('0.051955359494568',), 1337301319: ('0.051955359494568',), 1337301317: ('0.051955359494568',), 1337301316: ('0.051955359494568',), 1337301291: ('0.051955359494568',), 1337301269: ('0.051955359494568',), 1337301267: ('0.051955359494568',), 1337301266: ('0.051955359494568',), 1337301054: ('0.051955359494568',), 1337301052: ('0.051955359494568',), 1337301051: ('0.051955359494568',), 1337301023: ('0.051955359494568',), 1337301018: ('0.051955359494568',), 1337301016: ('0.051955359494568',), 1337300942: ('0.051955359494568',), 1337300897: ('0.051955359494568',), 1337300889: ('0.051955359494568',), 1337300886: ('0.051955359494568',), 1337300222: ('0.051955359494568',), 1337300220: ('0.051955359494568',), 1337300219: ('0.051955359494568',), 1337300193: ('0.051955359494568',), 1337300190: ('0.051955359494568',), 1337300187: ('0.051955359494568',), 1337300185: ('0.051955359494568',), 1337300184: ('0.051955359494568',), 1337300149: ('0.051955359494568',), 1337300145: ('0.051955359494568',), 1337300141: ('0.051955359494568',), 1337300139: ('0.051955359494568',)} args : 1337300149 depend.output_id : 0 input_args_next_step : {1337303087: ('0.051955359494568',), 1337301494: ('0.051955359494568',), 1337301383: ('0.051955359494568',), 1337301382: ('0.051955359494568',), 1337301355: ('0.051955359494568',), 1337301353: ('0.051955359494568',), 1337301351: ('0.051955359494568',), 1337301350: ('0.051955359494568',), 1337301319: ('0.051955359494568',), 1337301317: ('0.051955359494568',), 1337301316: ('0.051955359494568',), 1337301291: ('0.051955359494568',), 1337301269: ('0.051955359494568',), 1337301267: ('0.051955359494568',), 1337301266: ('0.051955359494568',), 1337301054: ('0.051955359494568',), 1337301052: ('0.051955359494568',), 1337301051: ('0.051955359494568',), 1337301023: ('0.051955359494568',), 1337301018: ('0.051955359494568',), 1337301016: ('0.051955359494568',), 1337300942: ('0.051955359494568',), 1337300897: ('0.051955359494568',), 1337300889: ('0.051955359494568',), 1337300886: ('0.051955359494568',), 1337300222: ('0.051955359494568',), 1337300220: ('0.051955359494568',), 1337300219: ('0.051955359494568',), 1337300193: ('0.051955359494568',), 1337300190: ('0.051955359494568',), 1337300187: ('0.051955359494568',), 1337300185: ('0.051955359494568',), 1337300184: ('0.051955359494568',), 1337300149: ('0.051955359494568',), 1337300145: ()} output_args : {1337303087: ('0.051955359494568',), 1337301494: ('0.051955359494568',), 1337301383: ('0.051955359494568',), 1337301382: ('0.051955359494568',), 1337301355: ('0.051955359494568',), 1337301353: ('0.051955359494568',), 1337301351: ('0.051955359494568',), 1337301350: ('0.051955359494568',), 1337301319: ('0.051955359494568',), 1337301317: ('0.051955359494568',), 1337301316: ('0.051955359494568',), 1337301291: ('0.051955359494568',), 1337301269: ('0.051955359494568',), 1337301267: ('0.051955359494568',), 1337301266: ('0.051955359494568',), 1337301054: ('0.051955359494568',), 1337301052: ('0.051955359494568',), 1337301051: ('0.051955359494568',), 1337301023: ('0.051955359494568',), 1337301018: ('0.051955359494568',), 1337301016: ('0.051955359494568',), 1337300942: ('0.051955359494568',), 1337300897: ('0.051955359494568',), 1337300889: ('0.051955359494568',), 1337300886: ('0.051955359494568',), 1337300222: ('0.051955359494568',), 1337300220: ('0.051955359494568',), 1337300219: ('0.051955359494568',), 1337300193: ('0.051955359494568',), 1337300190: ('0.051955359494568',), 1337300187: ('0.051955359494568',), 1337300185: ('0.051955359494568',), 1337300184: ('0.051955359494568',), 1337300149: ('0.051955359494568',), 1337300145: ('0.051955359494568',), 1337300141: ('0.051955359494568',), 1337300139: ('0.051955359494568',)} args : 1337300145 depend.output_id : 0 input_args_next_step : {1337303087: ('0.051955359494568',), 1337301494: ('0.051955359494568',), 1337301383: ('0.051955359494568',), 1337301382: ('0.051955359494568',), 1337301355: ('0.051955359494568',), 1337301353: ('0.051955359494568',), 1337301351: ('0.051955359494568',), 1337301350: ('0.051955359494568',), 1337301319: ('0.051955359494568',), 1337301317: ('0.051955359494568',), 1337301316: ('0.051955359494568',), 1337301291: ('0.051955359494568',), 1337301269: ('0.051955359494568',), 1337301267: ('0.051955359494568',), 1337301266: ('0.051955359494568',), 1337301054: ('0.051955359494568',), 1337301052: ('0.051955359494568',), 1337301051: ('0.051955359494568',), 1337301023: ('0.051955359494568',), 1337301018: ('0.051955359494568',), 1337301016: ('0.051955359494568',), 1337300942: ('0.051955359494568',), 1337300897: ('0.051955359494568',), 1337300889: ('0.051955359494568',), 1337300886: ('0.051955359494568',), 1337300222: ('0.051955359494568',), 1337300220: ('0.051955359494568',), 1337300219: ('0.051955359494568',), 1337300193: ('0.051955359494568',), 1337300190: ('0.051955359494568',), 1337300187: ('0.051955359494568',), 1337300185: ('0.051955359494568',), 1337300184: ('0.051955359494568',), 1337300149: ('0.051955359494568',), 1337300145: ('0.051955359494568',), 1337300141: ()} output_args : {1337303087: ('0.051955359494568',), 1337301494: ('0.051955359494568',), 1337301383: ('0.051955359494568',), 1337301382: ('0.051955359494568',), 1337301355: ('0.051955359494568',), 1337301353: ('0.051955359494568',), 1337301351: ('0.051955359494568',), 1337301350: ('0.051955359494568',), 1337301319: ('0.051955359494568',), 1337301317: ('0.051955359494568',), 1337301316: ('0.051955359494568',), 1337301291: ('0.051955359494568',), 1337301269: ('0.051955359494568',), 1337301267: ('0.051955359494568',), 1337301266: ('0.051955359494568',), 1337301054: ('0.051955359494568',), 1337301052: ('0.051955359494568',), 1337301051: ('0.051955359494568',), 1337301023: ('0.051955359494568',), 1337301018: ('0.051955359494568',), 1337301016: ('0.051955359494568',), 1337300942: ('0.051955359494568',), 1337300897: ('0.051955359494568',), 1337300889: ('0.051955359494568',), 1337300886: ('0.051955359494568',), 1337300222: ('0.051955359494568',), 1337300220: ('0.051955359494568',), 1337300219: ('0.051955359494568',), 1337300193: ('0.051955359494568',), 1337300190: ('0.051955359494568',), 1337300187: ('0.051955359494568',), 1337300185: ('0.051955359494568',), 1337300184: ('0.051955359494568',), 1337300149: ('0.051955359494568',), 1337300145: ('0.051955359494568',), 1337300141: ('0.051955359494568',), 1337300139: ('0.051955359494568',)} args : 1337300141 depend.output_id : 0 input_args_next_step : {1337303087: ('0.051955359494568',), 1337301494: ('0.051955359494568',), 1337301383: ('0.051955359494568',), 1337301382: ('0.051955359494568',), 1337301355: ('0.051955359494568',), 1337301353: ('0.051955359494568',), 1337301351: ('0.051955359494568',), 1337301350: ('0.051955359494568',), 1337301319: ('0.051955359494568',), 1337301317: ('0.051955359494568',), 1337301316: ('0.051955359494568',), 1337301291: ('0.051955359494568',), 1337301269: ('0.051955359494568',), 1337301267: ('0.051955359494568',), 1337301266: ('0.051955359494568',), 1337301054: ('0.051955359494568',), 1337301052: ('0.051955359494568',), 1337301051: ('0.051955359494568',), 1337301023: ('0.051955359494568',), 1337301018: ('0.051955359494568',), 1337301016: ('0.051955359494568',), 1337300942: ('0.051955359494568',), 1337300897: ('0.051955359494568',), 1337300889: ('0.051955359494568',), 1337300886: ('0.051955359494568',), 1337300222: ('0.051955359494568',), 1337300220: ('0.051955359494568',), 1337300219: ('0.051955359494568',), 1337300193: ('0.051955359494568',), 1337300190: ('0.051955359494568',), 1337300187: ('0.051955359494568',), 1337300185: ('0.051955359494568',), 1337300184: ('0.051955359494568',), 1337300149: ('0.051955359494568',), 1337300145: ('0.051955359494568',), 1337300141: ('0.051955359494568',), 1337300139: ()} output_args : {1337303087: ('0.051955359494568',), 1337301494: ('0.051955359494568',), 1337301383: ('0.051955359494568',), 1337301382: ('0.051955359494568',), 1337301355: ('0.051955359494568',), 1337301353: ('0.051955359494568',), 1337301351: ('0.051955359494568',), 1337301350: ('0.051955359494568',), 1337301319: ('0.051955359494568',), 1337301317: ('0.051955359494568',), 1337301316: ('0.051955359494568',), 1337301291: ('0.051955359494568',), 1337301269: ('0.051955359494568',), 1337301267: ('0.051955359494568',), 1337301266: ('0.051955359494568',), 1337301054: ('0.051955359494568',), 1337301052: ('0.051955359494568',), 1337301051: ('0.051955359494568',), 1337301023: ('0.051955359494568',), 1337301018: ('0.051955359494568',), 1337301016: ('0.051955359494568',), 1337300942: ('0.051955359494568',), 1337300897: ('0.051955359494568',), 1337300889: ('0.051955359494568',), 1337300886: ('0.051955359494568',), 1337300222: ('0.051955359494568',), 1337300220: ('0.051955359494568',), 1337300219: ('0.051955359494568',), 1337300193: ('0.051955359494568',), 1337300190: ('0.051955359494568',), 1337300187: ('0.051955359494568',), 1337300185: ('0.051955359494568',), 1337300184: ('0.051955359494568',), 1337300149: ('0.051955359494568',), 1337300145: ('0.051955359494568',), 1337300141: ('0.051955359494568',), 1337300139: ('0.051955359494568',)} args : 1337300139 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 : {20503438: [{'autre_refus': 20503491, 'Carton_brun': 20503492, 'metal': 20503493, 'environnement': 20503494, 'papier': 20503495, 'plastique': 20503496, 'cartonnette': 20503497, 'Teint_Dans_La_Masse': 20503498, 'kraft': 20503499, 'mal_croppe': 20503500, 'flou': 20503501, 'Carton_gris': 20503502}]} input_args_next_step : {1337303087: ('0.051955359494568',), 1337301494: ('0.051955359494568',), 1337301383: ('0.051955359494568',), 1337301382: ('0.051955359494568',), 1337301355: ('0.051955359494568',), 1337301353: ('0.051955359494568',), 1337301351: ('0.051955359494568',), 1337301350: ('0.051955359494568',), 1337301319: ('0.051955359494568',), 1337301317: ('0.051955359494568',), 1337301316: ('0.051955359494568',), 1337301291: ('0.051955359494568',), 1337301269: ('0.051955359494568',), 1337301267: ('0.051955359494568',), 1337301266: ('0.051955359494568',), 1337301054: ('0.051955359494568',), 1337301052: ('0.051955359494568',), 1337301051: ('0.051955359494568',), 1337301023: ('0.051955359494568',), 1337301018: ('0.051955359494568',), 1337301016: ('0.051955359494568',), 1337300942: ('0.051955359494568',), 1337300897: ('0.051955359494568',), 1337300889: ('0.051955359494568',), 1337300886: ('0.051955359494568',), 1337300222: ('0.051955359494568',), 1337300220: ('0.051955359494568',), 1337300219: ('0.051955359494568',), 1337300193: ('0.051955359494568',), 1337300190: ('0.051955359494568',), 1337300187: ('0.051955359494568',), 1337300185: ('0.051955359494568',), 1337300184: ('0.051955359494568',), 1337300149: ('0.051955359494568',), 1337300145: ('0.051955359494568',), 1337300141: ('0.051955359494568',), 1337300139: ('0.051955359494568',), 20503438: ()} output_args : {20503438: [{'autre_refus': 20503491, 'Carton_brun': 20503492, 'metal': 20503493, 'environnement': 20503494, 'papier': 20503495, 'plastique': 20503496, 'cartonnette': 20503497, 'Teint_Dans_La_Masse': 20503498, 'kraft': 20503499, 'mal_croppe': 20503500, 'flou': 20503501, 'Carton_gris': 20503502}]} args : 20503438 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 :38, first value : ('0.051955359494568',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20503438) 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 (1337303087,1337301494,1337301383,1337301382,1337301355,1337301353,1337301351,1337301350,1337301319,1337301317,1337301316,1337301291,1337301269,1337301267,1337301266,1337301054,1337301052,1337301051,1337301023,1337301018,1337301016,1337300942,1337300897,1337300889,1337300886,1337300222,1337300220,1337300219,1337300193,1337300190,1337300187,1337300185,1337300184,1337300149,1337300145,1337300141,1337300139) Found this number of photos: 37 ##### Call download_photos : nb_thread : 5 begin to download photo : 1337300139 begin to download photo : 1337300193 begin to download photo : 1337301016 begin to download photo : 1337301269 begin to download photo : 1337301355 download finish for photo 1337301355 begin to download photo : 1337301382 download finish for photo 1337301269 begin to download photo : 1337301291 download finish for photo 1337301016 begin to download photo : 1337301018 download finish for photo 1337300139 begin to download photo : 1337300141 download finish for photo 1337300193 begin to download photo : 1337300219 download finish for photo 1337301382 begin to download photo : 1337301383 download finish for photo 1337301018 begin to download photo : 1337301023 download finish for photo 1337300219 begin to download photo : 1337300220 download finish for photo 1337300141 begin to download photo : 1337300145 download finish for photo 1337301291 begin to download photo : 1337301316 download finish for photo 1337301383 begin to download photo : 1337301494 download finish for photo 1337301023 begin to download photo : 1337301051 download finish for photo 1337300145 begin to download photo : 1337300149 download finish for photo 1337301316 begin to download photo : 1337301317 download finish for photo 1337301494 begin to download photo : 1337303087 download finish for photo 1337301051 begin to download photo : 1337301052 download finish for photo 1337300220 begin to download photo : 1337300222 download finish for photo 1337300149 begin to download photo : 1337300184 download finish for photo 1337301317 begin to download photo : 1337301319 download finish for photo 1337303087 download finish for photo 1337301052 begin to download photo : 1337301054 download finish for photo 1337300184 begin to download photo : 1337300185 download finish for photo 1337301319 begin to download photo : 1337301350 download finish for photo 1337300222 begin to download photo : 1337300886 download finish for photo 1337301054 begin to download photo : 1337301266 download finish for photo 1337300185 begin to download photo : 1337300187 download finish for photo 1337301350 begin to download photo : 1337301351 download finish for photo 1337301266 begin to download photo : 1337301267 download finish for photo 1337300886 begin to download photo : 1337300889 download finish for photo 1337300187 begin to download photo : 1337300190 download finish for photo 1337301267 download finish for photo 1337300889 begin to download photo : 1337300897 download finish for photo 1337301351 begin to download photo : 1337301353 download finish for photo 1337301353 download finish for photo 1337300897 begin to download photo : 1337300942 download finish for photo 1337300190 download finish for photo 1337300942 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos length of list_filenames : 37 ; length of list_pids : 37 ; length of list_args : 37 results_Auto_P20503438_14-02-2025_05_48_34.pdf 20503491 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=20503491 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1337301021: '1739432131_699558_1337300889_44d1ba7def63898bc94bafd9a3f5695c_rle_crop_3672987229_0.png', 1337301339: '1739432353_702024_1337301291_7ce661300044a72c5b28be47a8e07844_rle_crop_3672988859_0.png', 1337301340: '1739432353_702024_1337301291_7ce661300044a72c5b28be47a8e07844_rle_crop_3672988863_0.png', 1337306317: '1739434622_719818_1337300889_44d1ba7def63898bc94bafd9a3f5695c_rle_crop_3672987229_0.png', 1337306357: '1739434654_720292_1337300222_0f57a00ab8e2bde92edb157329eb5172_rle_crop_3673012554_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/2b9ab7b136341197122c31d8249246c6_723631.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/45bb4640e7d10efa3b61a4bc8f8d313d_39172711.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/b5c0aa76348d8a338bcd1f3182cc3416_12556024.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/2b9ab7b136341197122c31d8249246c6_25114380.png change filename to text .imagette205034911739508514/ imagette205034911739508514/1739434654_720292_1337300222_0f57a00ab8e2bde92edb157329eb5172_rle_crop_3673012554_0.png.png imagette205034911739508514/1739432131_699558_1337300889_44d1ba7def63898bc94bafd9a3f5695c_rle_crop_3672987229_0.png.png imagette205034911739508514/1739434622_719818_1337300889_44d1ba7def63898bc94bafd9a3f5695c_rle_crop_3672987229_0.png.png imagette205034911739508514/1739432353_702024_1337301291_7ce661300044a72c5b28be47a8e07844_rle_crop_3672988859_0.png.png imagette205034911739508514/1739432353_702024_1337301291_7ce661300044a72c5b28be47a8e07844_rle_crop_3672988863_0.png.png imagette205034931739508515/ wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/412a17fdfb1aef4321eaf0367a16e876_94419079.png imagette205034911739508514 20503493 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=20503493 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette205034931739508515 20503496 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=20503496 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1337301251: '1739432233_700922_1337301018_560640da6446fa3de11b2661328de331_rle_crop_3672988349_0.png', 1337301343: '1739432353_702024_1337301291_7ce661300044a72c5b28be47a8e07844_rle_crop_3672988858_0.png', 1337301468: '1739432472_703014_1337301351_24f94385965276f0e808b260c7159782_rle_crop_3672989778_0.png', 1337301469: '1739432472_703014_1337301350_7a93ae4682f26a87d2bd3ba25917fcc5_rle_crop_3672989782_0.png', 1337306322: '1739434633_720030_1337301018_560640da6446fa3de11b2661328de331_rle_crop_3672988349_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/b156d7eecd8911902fdb052f2d6d840c_79175758.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/415782cb8b30b89fc6ae8bf61394d890_60342375.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/a120941c602d96d1117fb1c6454b383d_79197214.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/cc53e9bb184dd0a562f372ebb6e49122_73760081.png change filename to text .imagette205034961739508515/ imagette205034961739508515/1739432472_703014_1337301351_24f94385965276f0e808b260c7159782_rle_crop_3672989778_0.png.png imagette205034961739508515/1739434633_720030_1337301018_560640da6446fa3de11b2661328de331_rle_crop_3672988349_0.png.png imagette205034961739508515/1739432233_700922_1337301018_560640da6446fa3de11b2661328de331_rle_crop_3672988349_0.png.png imagette205034961739508515/1739432472_703014_1337301350_7a93ae4682f26a87d2bd3ba25917fcc5_rle_crop_3672989782_0.png.png imagette205034961739508515/1739432353_702024_1337301291_7ce661300044a72c5b28be47a8e07844_rle_crop_3672988858_0.png.png wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/b156d7eecd8911902fdb052f2d6d840c_91495726.png imagette205034961739508515 20503497 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=20503497 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1337300998: '1739432033_696886_1337300193_07950ca47009c474ffb623a3755bb867_rle_crop_3672987020_0.png', 1337300999: '1739432033_696886_1337300145_833c8a9eb32acc97c134ef27feb07e17_rle_crop_3672987091_0.png', 1337301000: '1739432033_696886_1337300141_c48272c3a2ebc4c05a0e82c78999f082_rle_crop_3672987129_0.png', 1337301001: '1739432033_696886_1337300141_c48272c3a2ebc4c05a0e82c78999f082_rle_crop_3672987132_0.png', 1337301048: '1739432150_699749_1337300897_5c02338b84cc8904223b95530af192c4_rle_crop_3672987365_0.png', 1337301049: '1739432150_699749_1337300219_dba22c3805a537bd6e2c7f6df5244060_rle_crop_3672987388_0.png', 1337306360: '1739434654_720292_1337300185_3de8aa319b616c8769ad26407b76dcdf_rle_crop_3673012612_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/9c5f0d4ce439735badb9035d13fe515a_71138174.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/8f3a96c437ac53d170100ba864f4e59a_17397893.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/26a90d50aedbb3bab94cbd4ecdfc8997_82475243.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/859a0b3f0a29798c4041be39e2cdfbc0_80672474.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/429ebf6ca45fb35bb4563db132c13585_51995863.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/16b2dde63e8253baa2a18002cf0f7f82_80133491.png change filename to text .imagette205034971739508515/ imagette205034971739508515/1739432033_696886_1337300193_07950ca47009c474ffb623a3755bb867_rle_crop_3672987020_0.png.png imagette205034971739508515/1739432150_699749_1337300897_5c02338b84cc8904223b95530af192c4_rle_crop_3672987365_0.png.png imagette205034971739508515/1739432033_696886_1337300141_c48272c3a2ebc4c05a0e82c78999f082_rle_crop_3672987129_0.png.png imagette205034971739508515/1739432150_699749_1337300219_dba22c3805a537bd6e2c7f6df5244060_rle_crop_3672987388_0.png.png imagette205034971739508515/1739432033_696886_1337300145_833c8a9eb32acc97c134ef27feb07e17_rle_crop_3672987091_0.png.png imagette205034971739508515/1739434654_720292_1337300185_3de8aa319b616c8769ad26407b76dcdf_rle_crop_3673012612_0.png.png imagette205034971739508515/1739432033_696886_1337300141_c48272c3a2ebc4c05a0e82c78999f082_rle_crop_3672987132_0.png.png wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/e78d6222a082e1f27d22f7ac5008f6a2_20608818.png imagette205034971739508515 20503499 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=20503499 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1337301421: '1739432461_702909_1337301316_d1455a2776effaf50546f4d176c6ffba_rle_crop_3672989656_0.png'} change filename to text .imagette205034991739508516/ imagette205034991739508516/1739432461_702909_1337301316_d1455a2776effaf50546f4d176c6ffba_rle_crop_3672989656_0.png.png imagette205035001739508516/ imagette205035011739508516/ wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/6bfdaea6c0772274e4d10031f00d92d4_34833115.png imagette205034991739508516 20503500 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=20503500 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette205035001739508516 20503501 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=20503501 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette205035011739508516 20503492 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=20503492 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1337301002: '1739432033_696886_1337300145_833c8a9eb32acc97c134ef27feb07e17_rle_crop_3672987089_0.png', 1337301466: '1739432472_703014_1337301350_7a93ae4682f26a87d2bd3ba25917fcc5_rle_crop_3672989786_0.png', 1337306361: '1739434654_720292_1337300185_3de8aa319b616c8769ad26407b76dcdf_rle_crop_3673012610_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/ca9e41fb34f1dfeb6d0dd818d86b495b_1695926.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/6efe92d6609ca123246424d78d4850e4_80342289.png change filename to text .imagette205034921739508516/ imagette205034921739508516/1739434654_720292_1337300185_3de8aa319b616c8769ad26407b76dcdf_rle_crop_3673012610_0.png.png imagette205034921739508516/1739432033_696886_1337300145_833c8a9eb32acc97c134ef27feb07e17_rle_crop_3672987089_0.png.png imagette205034921739508516/1739432472_703014_1337301350_7a93ae4682f26a87d2bd3ba25917fcc5_rle_crop_3672989786_0.png.png wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/43fa8e1665fe3464838d9b9eaa0ce2bc_45637525.png imagette205034921739508516 20503498 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=20503498 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1337301046: '1739432150_699749_1337300220_bb5efb3e61a4331d399cef0e8289ba18_rle_crop_3672987377_0.png', 1337306356: '1739434654_720292_1337300184_7447a3bad04150135a947c962b34b375_rle_crop_3673012630_0.png', 1337306355: '1739434654_720292_1337300184_7447a3bad04150135a947c962b34b375_rle_crop_3673012633_0.png', 1337306354: '1739434654_720292_1337300185_3de8aa319b616c8769ad26407b76dcdf_rle_crop_3673012607_0.png', 1337306353: '1739434654_720292_1337300185_3de8aa319b616c8769ad26407b76dcdf_rle_crop_3673012604_0.png', 1337306352: '1739434654_720292_1337300185_3de8aa319b616c8769ad26407b76dcdf_rle_crop_3673012606_0.png', 1337306351: '1739434654_720292_1337300187_584d750259a69814e0187312b360579c_rle_crop_3673012587_0.png', 1337306350: '1739434654_720292_1337300187_584d750259a69814e0187312b360579c_rle_crop_3673012598_0.png', 1337306349: '1739434654_720292_1337300187_584d750259a69814e0187312b360579c_rle_crop_3673012591_0.png', 1337306348: '1739434654_720292_1337300190_ac05663bb456ea1731421460cee4dd31_rle_crop_3673012574_0.png', 1337306347: '1739434654_720292_1337300190_ac05663bb456ea1731421460cee4dd31_rle_crop_3673012578_0.png', 1337306346: '1739434654_720292_1337300222_0f57a00ab8e2bde92edb157329eb5172_rle_crop_3673012560_0.png', 1337306316: '1739434622_719818_1337300886_440ebccdc7370622d077db88f4f80b59_rle_crop_3672987244_0.png', 1337306315: '1739434622_719818_1337300889_44d1ba7def63898bc94bafd9a3f5695c_rle_crop_3672987231_0.png', 1337305923: '1739434573_719187_1337301319_ded8a2404f89b97f58a7de445fa2e3bd_rle_crop_3673011886_0.png', 1337301460: '1739432472_703014_1337301350_7a93ae4682f26a87d2bd3ba25917fcc5_rle_crop_3672989789_0.png', 1337300981: '1739432033_696886_1337300193_07950ca47009c474ffb623a3755bb867_rle_crop_3672987021_0.png', 1337301045: '1739432150_699749_1337300220_bb5efb3e61a4331d399cef0e8289ba18_rle_crop_3672987376_0.png', 1337301020: '1739432131_699558_1337300886_440ebccdc7370622d077db88f4f80b59_rle_crop_3672987244_0.png', 1337301019: '1739432131_699558_1337300889_44d1ba7def63898bc94bafd9a3f5695c_rle_crop_3672987231_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/a0d77d6087108cb057042e3d4de6d658_92758966.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/f0fad3d3892cd6fd7dc591aaa99c6bc7_93568296.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/eae88d9ad60a5bdfc71110d7a7d9c277_66106512.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/0b9e6e015d144fc98deae2fbfaeb5458_37738426.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/67caf7c01fca63fb841edaaed1de9a1a_13780904.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/a48a953b81c1d4a32a9a457804473994_79801687.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/427abe1a1425a2028caddf906453bdef_40970120.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/4dcb359a3f65aeafaf4dff6055ee0e4c_67210509.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/20492fa0ad6b57a7abd41c0858b9f773_19713064.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/bc25791770d3cbeefed180498177c8bc_61991640.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/1ce69a71ef3862b646ddf31606e7fffc_19876933.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/6f8b0585c9a8bc3a19ca1ead6af07373_78149758.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/b5d25cd6f507529265cc3d855a3dc76a_65514526.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/c26ea14b8832d2f187c4e00197c235b7_63354112.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/a320ce1bfa83474eb9dc63dce785fd9a_6327772.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/86c578e047b2612aafba1d83138e28f8_11652399.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/49a3b1e99485455c8e1455a6da9af758_68393862.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/598443dcb866cab0c2db084b204305f6_44375346.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/b5d25cd6f507529265cc3d855a3dc76a_12620864.png change filename to text .imagette205034981739508516/ imagette205034981739508516/1739434654_720292_1337300184_7447a3bad04150135a947c962b34b375_rle_crop_3673012633_0.png.png imagette205034981739508516/1739432472_703014_1337301350_7a93ae4682f26a87d2bd3ba25917fcc5_rle_crop_3672989789_0.png.png imagette205034981739508516/1739432131_699558_1337300886_440ebccdc7370622d077db88f4f80b59_rle_crop_3672987244_0.png.png imagette205034981739508516/1739432150_699749_1337300220_bb5efb3e61a4331d399cef0e8289ba18_rle_crop_3672987377_0.png.png imagette205034981739508516/1739434654_720292_1337300222_0f57a00ab8e2bde92edb157329eb5172_rle_crop_3673012560_0.png.png imagette205034981739508516/1739434654_720292_1337300185_3de8aa319b616c8769ad26407b76dcdf_rle_crop_3673012607_0.png.png imagette205034981739508516/1739432150_699749_1337300220_bb5efb3e61a4331d399cef0e8289ba18_rle_crop_3672987376_0.png.png imagette205034981739508516/1739434654_720292_1337300190_ac05663bb456ea1731421460cee4dd31_rle_crop_3673012578_0.png.png imagette205034981739508516/1739434654_720292_1337300185_3de8aa319b616c8769ad26407b76dcdf_rle_crop_3673012604_0.png.png imagette205034981739508516/1739432033_696886_1337300193_07950ca47009c474ffb623a3755bb867_rle_crop_3672987021_0.png.png imagette205034981739508516/1739434654_720292_1337300187_584d750259a69814e0187312b360579c_rle_crop_3673012591_0.png.png imagette205034981739508516/1739434573_719187_1337301319_ded8a2404f89b97f58a7de445fa2e3bd_rle_crop_3673011886_0.png.png imagette205034981739508516/1739432131_699558_1337300889_44d1ba7def63898bc94bafd9a3f5695c_rle_crop_3672987231_0.png.png imagette205034981739508516/1739434654_720292_1337300190_ac05663bb456ea1731421460cee4dd31_rle_crop_3673012574_0.png.png imagette205034981739508516/1739434654_720292_1337300185_3de8aa319b616c8769ad26407b76dcdf_rle_crop_3673012606_0.png.png imagette205034981739508516/1739434622_719818_1337300886_440ebccdc7370622d077db88f4f80b59_rle_crop_3672987244_0.png.png imagette205034981739508516/1739434622_719818_1337300889_44d1ba7def63898bc94bafd9a3f5695c_rle_crop_3672987231_0.png.png imagette205034981739508516/1739434654_720292_1337300187_584d750259a69814e0187312b360579c_rle_crop_3673012587_0.png.png imagette205034981739508516/1739434654_720292_1337300184_7447a3bad04150135a947c962b34b375_rle_crop_3673012630_0.png.png imagette205034981739508516/1739434654_720292_1337300187_584d750259a69814e0187312b360579c_rle_crop_3673012598_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/c26ea14b8832d2f187c4e00197c235b7_30560496.png imagette205034981739508516 20503502 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=20503502 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1337300994: '1739432033_696886_1337300193_07950ca47009c474ffb623a3755bb867_rle_crop_3672987026_0.png', 1337301341: '1739432353_702024_1337301052_d035e52a6f4d09eccc5d23ba7e9f8ed3_rle_crop_3672988872_0.png', 1337301342: '1739432353_702024_1337301051_5a6dc7d1f85aff6a754720a772115188_rle_crop_3672988881_0.png', 1337301463: '1739432472_703014_1337301353_5be5869010229a41dfdd53643ca728e2_rle_crop_3672989752_0.png', 1337301464: '1739432472_703014_1337301351_24f94385965276f0e808b260c7159782_rle_crop_3672989763_0.png', 1337301465: '1739432472_703014_1337301350_7a93ae4682f26a87d2bd3ba25917fcc5_rle_crop_3672989788_0.png', 1337306358: '1739434654_720292_1337300187_584d750259a69814e0187312b360579c_rle_crop_3673012584_0.png', 1337306359: '1739434654_720292_1337300185_3de8aa319b616c8769ad26407b76dcdf_rle_crop_3673012608_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/362b0192c5b9bdbd3c8d311f31d03c04_20608960.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/10593bb0d4b0599b50439cf154347ac8_3975167.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/b2a690e388df2ca22b5fee3e96f6279d_98591567.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/cce87637f274b0b824fb5a62ad7e03d7_98787367.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/07d7ce1bd98bc7abc2c4301f90a2e2bb_83508916.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/736a5c4edb5cba7511f58b054f609353_3161215.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/6f25b7078c466effb2fb1eda563eb609_10357779.png change filename to text .imagette205035021739508518/ imagette205035021739508518/1739434654_720292_1337300187_584d750259a69814e0187312b360579c_rle_crop_3673012584_0.png.png imagette205035021739508518/1739432472_703014_1337301351_24f94385965276f0e808b260c7159782_rle_crop_3672989763_0.png.png imagette205035021739508518/1739432472_703014_1337301350_7a93ae4682f26a87d2bd3ba25917fcc5_rle_crop_3672989788_0.png.png imagette205035021739508518/1739432472_703014_1337301353_5be5869010229a41dfdd53643ca728e2_rle_crop_3672989752_0.png.png imagette205035021739508518/1739432353_702024_1337301052_d035e52a6f4d09eccc5d23ba7e9f8ed3_rle_crop_3672988872_0.png.png imagette205035021739508518/1739434654_720292_1337300185_3de8aa319b616c8769ad26407b76dcdf_rle_crop_3673012608_0.png.png imagette205035021739508518/1739432033_696886_1337300193_07950ca47009c474ffb623a3755bb867_rle_crop_3672987026_0.png.png imagette205035021739508518/1739432353_702024_1337301051_5a6dc7d1f85aff6a754720a772115188_rle_crop_3672988881_0.png.png wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/ac5ab9934edc9e3e03dfb0cdb97995b2_87607104.png imagette205035021739508518 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=20503438 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/20503503,20503504,20503505,20503506,20503507,20503508,20503509,20503510,20503511,20503512,20503513,20503514?tags=autre_refus,Carton_brun,metal,environnement,papier,plastique,cartonnette,Teint_Dans_La_Masse,kraft,mal_croppe,flou,Carton_gris your option no_mail is active, we will not send the real mail to your client args[1337303087] : ('0.051955359494568',) no score found for photo 1337303087 apple ('0.051955359494568',) We are sending mail with results at report@fotonower.com args[1337301494] : ('0.051955359494568',) no score found for photo 1337301494 apple ('0.051955359494568',) We are sending mail with results at report@fotonower.com args[1337301383] : ('0.051955359494568',) no score found for photo 1337301383 apple ('0.051955359494568',) We are sending mail with results at report@fotonower.com args[1337301382] : ('0.051955359494568',) no score found for photo 1337301382 apple ('0.051955359494568',) We are sending mail with results at report@fotonower.com args[1337301355] : ('0.051955359494568',) no score found for photo 1337301355 apple ('0.051955359494568',) We are sending mail with results at report@fotonower.com args[1337301353] : ('0.051955359494568',) no score found for photo 1337301353 apple ('0.051955359494568',) We are sending mail with results at report@fotonower.com args[1337301351] : ('0.051955359494568',) no score found for photo 1337301351 apple ('0.051955359494568',) We are sending mail with results at report@fotonower.com args[1337301350] : ('0.051955359494568',) no score found for photo 1337301350 apple ('0.051955359494568',) We are sending mail with results at report@fotonower.com args[1337301319] : ('0.051955359494568',) no score found for photo 1337301319 apple ('0.051955359494568',) We are sending mail with results at report@fotonower.com args[1337301317] : ('0.051955359494568',) no score found for photo 1337301317 apple ('0.051955359494568',) We are sending mail with results at report@fotonower.com args[1337301316] : ('0.051955359494568',) no score found for photo 1337301316 apple ('0.051955359494568',) We are sending mail with results at report@fotonower.com args[1337301291] : ('0.051955359494568',) no score found for photo 1337301291 apple ('0.051955359494568',) We are sending mail with results at report@fotonower.com args[1337301269] : ('0.051955359494568',) no score found for photo 1337301269 apple ('0.051955359494568',) We are sending mail with results at report@fotonower.com args[1337301267] : ('0.051955359494568',) no score found for photo 1337301267 apple ('0.051955359494568',) We are sending mail with results at report@fotonower.com args[1337301266] : ('0.051955359494568',) no score found for photo 1337301266 apple ('0.051955359494568',) We are sending mail with results at report@fotonower.com args[1337301054] : ('0.051955359494568',) no score found for photo 1337301054 apple ('0.051955359494568',) We are sending mail with results at report@fotonower.com args[1337301052] : ('0.051955359494568',) no score found for photo 1337301052 apple ('0.051955359494568',) We are sending mail with results at report@fotonower.com args[1337301051] : ('0.051955359494568',) no score found for photo 1337301051 apple ('0.051955359494568',) We are sending mail with results at report@fotonower.com args[1337301023] : ('0.051955359494568',) no score found for photo 1337301023 apple ('0.051955359494568',) We are sending mail with results at report@fotonower.com args[1337301018] : ('0.051955359494568',) no score found for photo 1337301018 apple ('0.051955359494568',) We are sending mail with results at report@fotonower.com args[1337301016] : ('0.051955359494568',) no score found for photo 1337301016 apple ('0.051955359494568',) We are sending mail with results at report@fotonower.com args[1337300942] : ('0.051955359494568',) no score found for photo 1337300942 apple ('0.051955359494568',) We are sending mail with results at report@fotonower.com args[1337300897] : ('0.051955359494568',) no score found for photo 1337300897 apple ('0.051955359494568',) We are sending mail with results at report@fotonower.com args[1337300889] : ('0.051955359494568',) no score found for photo 1337300889 apple ('0.051955359494568',) We are sending mail with results at report@fotonower.com args[1337300886] : ('0.051955359494568',) no score found for photo 1337300886 apple ('0.051955359494568',) We are sending mail with results at report@fotonower.com args[1337300222] : ('0.051955359494568',) no score found for photo 1337300222 apple ('0.051955359494568',) We are sending mail with results at report@fotonower.com args[1337300220] : ('0.051955359494568',) no score found for photo 1337300220 apple ('0.051955359494568',) We are sending mail with results at report@fotonower.com args[1337300219] : ('0.051955359494568',) no score found for photo 1337300219 apple ('0.051955359494568',) We are sending mail with results at report@fotonower.com args[1337300193] : ('0.051955359494568',) no score found for photo 1337300193 apple ('0.051955359494568',) We are sending mail with results at report@fotonower.com args[1337300190] : ('0.051955359494568',) no score found for photo 1337300190 apple ('0.051955359494568',) We are sending mail with results at report@fotonower.com args[1337300187] : ('0.051955359494568',) no score found for photo 1337300187 apple ('0.051955359494568',) We are sending mail with results at report@fotonower.com args[1337300185] : ('0.051955359494568',) no score found for photo 1337300185 apple ('0.051955359494568',) We are sending mail with results at report@fotonower.com args[1337300184] : ('0.051955359494568',) no score found for photo 1337300184 apple ('0.051955359494568',) We are sending mail with results at report@fotonower.com args[1337300149] : ('0.051955359494568',) no score found for photo 1337300149 apple ('0.051955359494568',) We are sending mail with results at report@fotonower.com args[1337300145] : ('0.051955359494568',) no score found for photo 1337300145 apple ('0.051955359494568',) We are sending mail with results at report@fotonower.com args[1337300141] : ('0.051955359494568',) no score found for photo 1337300141 apple ('0.051955359494568',) We are sending mail with results at report@fotonower.com args[1337300139] : ('0.051955359494568',) no score found for photo 1337300139 apple ('0.051955359494568',) We are sending mail with results at report@fotonower.com refus_total : 0.051955359494568 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=20503438 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_P20503438_14-02-2025_05_48_34.pdf results_Auto_P20503438_14-02-2025_05_48_34.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20503438_14-02-2025_05_48_34.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('4302','20503438','results_Auto_P20503438_14-02-2025_05_48_34.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20503438_14-02-2025_05_48_34.pdf','pdf','','0.41','0.051955359494568') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20503438]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1337303087, 1337301494, 1337301383, 1337301382, 1337301355, 1337301353, 1337301351, 1337301350, 1337301319, 1337301317, 1337301316, 1337301291, 1337301269, 1337301267, 1337301266, 1337301054, 1337301052, 1337301051, 1337301023, 1337301018, 1337301016, 1337300942, 1337300897, 1337300889, 1337300886, 1337300222, 1337300220, 1337300219, 1337300193, 1337300190, 1337300187, 1337300185, 1337300184, 1337300149, 1337300145, 1337300141, 1337300139] map_info['map_portfolio_photo'] : {20503438: [1337303087, 1337301494, 1337301383, 1337301382, 1337301355, 1337301353, 1337301351, 1337301350, 1337301319, 1337301317, 1337301316, 1337301291, 1337301269, 1337301267, 1337301266, 1337301054, 1337301052, 1337301051, 1337301023, 1337301018, 1337301016, 1337300942, 1337300897, 1337300889, 1337300886, 1337300222, 1337300220, 1337300219, 1337300193, 1337300190, 1337300187, 1337300185, 1337300184, 1337300149, 1337300145, 1337300141, 1337300139]} final : False mtd_id 4302 list_pids : [1337303087, 1337301494, 1337301383, 1337301382, 1337301355, 1337301353, 1337301351, 1337301350, 1337301319, 1337301317, 1337301316, 1337301291, 1337301269, 1337301267, 1337301266, 1337301054, 1337301052, 1337301051, 1337301023, 1337301018, 1337301016, 1337300942, 1337300897, 1337300889, 1337300886, 1337300222, 1337300220, 1337300219, 1337300193, 1337300190, 1337300187, 1337300185, 1337300184, 1337300149, 1337300145, 1337300141, 1337300139] 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, '2585354') ('4302', '20503438', '1337303087', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337301494', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337301383', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337301382', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337301355', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337301353', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337301351', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337301350', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337301319', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337301317', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337301316', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337301291', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337301269', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337301267', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337301266', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337301054', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337301052', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337301051', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337301023', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337301018', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337301016', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337300942', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337300897', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337300889', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337300886', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337300222', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337300220', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337300219', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337300193', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337300190', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337300187', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337300185', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337300184', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337300149', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337300145', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337300141', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337300139', None, None, None, None, None, '2585354') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 37 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', '20503438', '1337303087', None, None, None, None, None, '2585354'), ('4302', '20503438', '1337301494', None, None, None, None, None, '2585354'), ('4302', '20503438', '1337301383', None, None, None, None, None, '2585354'), ('4302', '20503438', '1337301382', None, None, None, None, None, '2585354'), ('4302', '20503438', '1337301355', None, None, None, None, None, '2585354'), ('4302', '20503438', '1337301353', None, None, None, None, None, '2585354'), ('4302', '20503438', '1337301351', None, None, None, None, None, '2585354'), ('4302', '20503438', '1337301350', None, None, None, None, None, '2585354'), ('4302', '20503438', '1337301319', None, None, None, None, None, '2585354'), ('4302', '20503438', '1337301317', None, None, None, None, None, '2585354'), ('4302', '20503438', '1337301316', None, None, None, None, None, '2585354'), ('4302', '20503438', '1337301291', None, None, None, None, None, '2585354'), ('4302', '20503438', '1337301269', None, None, None, None, None, '2585354'), ('4302', '20503438', '1337301267', None, None, None, None, None, '2585354'), ('4302', '20503438', '1337301266', None, None, None, None, None, '2585354'), ('4302', '20503438', '1337301054', None, None, None, None, None, '2585354'), ('4302', '20503438', '1337301052', None, None, None, None, None, '2585354'), ('4302', '20503438', '1337301051', None, None, None, None, None, '2585354'), ('4302', '20503438', '1337301023', None, None, None, None, None, '2585354'), ('4302', '20503438', '1337301018', None, None, None, None, None, '2585354'), ('4302', '20503438', '1337301016', None, None, None, None, None, '2585354'), ('4302', '20503438', '1337300942', None, None, None, None, None, '2585354'), ('4302', '20503438', '1337300897', None, None, None, None, None, '2585354'), ('4302', '20503438', '1337300889', None, None, None, None, None, '2585354'), ('4302', '20503438', '1337300886', None, None, None, None, None, '2585354'), ('4302', '20503438', '1337300222', None, None, None, None, None, '2585354'), ('4302', '20503438', '1337300220', None, None, None, None, None, '2585354'), ('4302', '20503438', '1337300219', None, None, None, None, None, '2585354'), ('4302', '20503438', '1337300193', None, None, None, None, None, '2585354'), ('4302', '20503438', '1337300190', None, None, None, None, None, '2585354'), ('4302', '20503438', '1337300187', None, None, None, None, None, '2585354'), ('4302', '20503438', '1337300185', None, None, None, None, None, '2585354'), ('4302', '20503438', '1337300184', None, None, None, None, None, '2585354'), ('4302', '20503438', '1337300149', None, None, None, None, None, '2585354'), ('4302', '20503438', '1337300145', None, None, None, None, None, '2585354'), ('4302', '20503438', '1337300141', None, None, None, None, None, '2585354'), ('4302', '20503438', '1337300139', None, None, None, None, None, '2585354')] time used for this insertion : 0.01703357696533203 save_final save missing photos in datou_result : time spend for datou_step_exec : 9.163332223892212 time spend to save output : 0.017480134963989258 total time spend for step 4 : 9.180812358856201 step5:split_time_score Fri Feb 14 05:48:42 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : ['20503438'] 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 : [('20503438',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20503438) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1337301355: {'path': 'temp/1739508513_3086285_1337301355_90b2ed5722fd56e7d28cf1eae3bcec6f.jpg', 'extension': 'jpg'}, 1337301382: {'path': 'temp/1739508513_3086285_1337301382_e13958a0c52883a764558f90b0a92534.jpg', 'extension': 'jpg'}, 1337301383: {'path': 'temp/1739508513_3086285_1337301383_578e0a213fd48e93a9a7ee9433f5deb3.jpg', 'extension': 'jpg'}, 1337301494: {'path': 'temp/1739508513_3086285_1337301494_0eaaa3d1383402c5c092fd3f84dec847.jpg', 'extension': 'jpg'}, 1337303087: {'path': 'temp/1739508513_3086285_1337303087_599c953faa7daa07c42ecb34bed806c5.jpg', 'extension': 'jpg'}, 1337301016: {'path': 'temp/1739508513_3086285_1337301016_98d2de97f860dbb2d876de15007a43a1.jpg', 'extension': 'jpg'}, 1337301018: {'path': 'temp/1739508513_3086285_1337301018_560640da6446fa3de11b2661328de331.jpg', 'extension': 'jpg'}, 1337301023: {'path': 'temp/1739508513_3086285_1337301023_659541319c43988b9442b8d704a59a97.jpg', 'extension': 'jpg'}, 1337301051: {'path': 'temp/1739508513_3086285_1337301051_5a6dc7d1f85aff6a754720a772115188.jpg', 'extension': 'jpg'}, 1337301052: {'path': 'temp/1739508513_3086285_1337301052_d035e52a6f4d09eccc5d23ba7e9f8ed3.jpg', 'extension': 'jpg'}, 1337301054: {'path': 'temp/1739508513_3086285_1337301054_c73a8224c05bdf5020aa75a5e82a4d8e.jpg', 'extension': 'jpg'}, 1337301266: {'path': 'temp/1739508513_3086285_1337301266_b839fc1af23ac8f0e5a087e04ac51d23.jpg', 'extension': 'jpg'}, 1337301267: {'path': 'temp/1739508513_3086285_1337301267_f89bf4059e26e08549f19a7e24d47420.jpg', 'extension': 'jpg'}, 1337301269: {'path': 'temp/1739508513_3086285_1337301269_d0c799564976ce2f80e0bf67082c6e1e.jpg', 'extension': 'jpg'}, 1337301291: {'path': 'temp/1739508513_3086285_1337301291_7ce661300044a72c5b28be47a8e07844.jpg', 'extension': 'jpg'}, 1337301316: {'path': 'temp/1739508513_3086285_1337301316_d1455a2776effaf50546f4d176c6ffba.jpg', 'extension': 'jpg'}, 1337301317: {'path': 'temp/1739508513_3086285_1337301317_2781a946030f4259c476648ae72e735a.jpg', 'extension': 'jpg'}, 1337301319: {'path': 'temp/1739508513_3086285_1337301319_ded8a2404f89b97f58a7de445fa2e3bd.jpg', 'extension': 'jpg'}, 1337301350: {'path': 'temp/1739508513_3086285_1337301350_7a93ae4682f26a87d2bd3ba25917fcc5.jpg', 'extension': 'jpg'}, 1337301351: {'path': 'temp/1739508513_3086285_1337301351_24f94385965276f0e808b260c7159782.jpg', 'extension': 'jpg'}, 1337301353: {'path': 'temp/1739508513_3086285_1337301353_5be5869010229a41dfdd53643ca728e2.jpg', 'extension': 'jpg'}, 1337300139: {'path': 'temp/1739508513_3086285_1337300139_4fdb9727622512e06a437fd4784aabc8.jpg', 'extension': 'jpg'}, 1337300141: {'path': 'temp/1739508513_3086285_1337300141_c48272c3a2ebc4c05a0e82c78999f082.jpg', 'extension': 'jpg'}, 1337300145: {'path': 'temp/1739508513_3086285_1337300145_833c8a9eb32acc97c134ef27feb07e17.jpg', 'extension': 'jpg'}, 1337300149: {'path': 'temp/1739508513_3086285_1337300149_609246e27ac0d0a28e190d7990007b77.jpg', 'extension': 'jpg'}, 1337300184: {'path': 'temp/1739508513_3086285_1337300184_7447a3bad04150135a947c962b34b375.jpg', 'extension': 'jpg'}, 1337300185: {'path': 'temp/1739508513_3086285_1337300185_3de8aa319b616c8769ad26407b76dcdf.jpg', 'extension': 'jpg'}, 1337300187: {'path': 'temp/1739508513_3086285_1337300187_584d750259a69814e0187312b360579c.jpg', 'extension': 'jpg'}, 1337300190: {'path': 'temp/1739508513_3086285_1337300190_ac05663bb456ea1731421460cee4dd31.jpg', 'extension': 'jpg'}, 1337300193: {'path': 'temp/1739508513_3086285_1337300193_07950ca47009c474ffb623a3755bb867.jpg', 'extension': 'jpg'}, 1337300219: {'path': 'temp/1739508513_3086285_1337300219_dba22c3805a537bd6e2c7f6df5244060.jpg', 'extension': 'jpg'}, 1337300220: {'path': 'temp/1739508513_3086285_1337300220_bb5efb3e61a4331d399cef0e8289ba18.jpg', 'extension': 'jpg'}, 1337300222: {'path': 'temp/1739508513_3086285_1337300222_0f57a00ab8e2bde92edb157329eb5172.jpg', 'extension': 'jpg'}, 1337300886: {'path': 'temp/1739508513_3086285_1337300886_440ebccdc7370622d077db88f4f80b59.jpg', 'extension': 'jpg'}, 1337300889: {'path': 'temp/1739508513_3086285_1337300889_44d1ba7def63898bc94bafd9a3f5695c.jpg', 'extension': 'jpg'}, 1337300897: {'path': 'temp/1739508513_3086285_1337300897_5c02338b84cc8904223b95530af192c4.jpg', 'extension': 'jpg'}, 1337300942: {'path': 'temp/1739508513_3086285_1337300942_97bb742e3d37a15742b4dfe743376a33.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 = 20503438; (('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 = 20503438 group by h (('08', 37),) 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=20503438 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 (20503438) 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 (20503438) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 13022025 20503438 Nombre de photos uploadées : 37 / 23040 (0%) 13022025 20503438 Nombre de photos taguées (types de déchets): 0 / 37 (0%) 13022025 20503438 Nombre de photos taguées (volume) : 0 / 37 (0%) [{'photo_id': 1337300149, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/609246e27ac0d0a28e190d7990007b77.jpg', 'username': None, 'uploaded_at': 1739431867, 'text': 'image_13022025_08_30_05_010157m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1337300145, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/833c8a9eb32acc97c134ef27feb07e17.jpg', 'username': None, 'uploaded_at': 1739431867, 'text': 'image_13022025_08_30_15_010140m0.jpg 2e-05 for time 1, id_amount 3 this amount prod time diff : 1e-05'}, {'photo_id': 1337300141, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/c48272c3a2ebc4c05a0e82c78999f082.jpg', 'username': None, 'uploaded_at': 1739431867, 'text': 'image_13022025_08_30_25_010138m0.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1337300139, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/4fdb9727622512e06a437fd4784aabc8.jpg', 'username': None, 'uploaded_at': 1739431867, 'text': 'image_13022025_08_30_44_009126m0.jpg 4e-05 for time 1, id_amount 1 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 1.9073486328125e-06 elapsed_time : order_list_meta_photo_and_scores 5.245208740234375e-06 ????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0018320083618164062 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 20503438, '2025-02-13' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1599443,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.024222612380981445 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps SELECT dri.dashboard_entry_day, dr.dashboard_run_id, dr.mtr_portfolio_id, dr.id, dr.hashtag, dr.completion_json FROM MTRPhoto.dashboard_results dr, MTRPhoto.dashboard_run_ids dri, MTRPhoto.dashboard_entry_day ded WHERE ded.id= 1599443 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1599443, 'dashboard_run_id': 1610282, 'mtr_portfolio_id': 20496702, 'dashboard_result_id': 8883597, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20496702_14-02-2025_05_34_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20496703, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20496704, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20496705, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20496706, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20496707, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20496708, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20496709, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20496710, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20496711, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20496712, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20496713, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20496714, 'pht': 3726}}"}, {'dashboat_entry_day': 1599443, 'dashboard_run_id': 1610282, 'mtr_portfolio_id': 20496893, 'dashboard_result_id': 8883598, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20496893_14-02-2025_05_35_29.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20496895, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20496896, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20496897, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20496898, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20496899, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20496900, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20496901, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20496902, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20496903, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20496904, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20496905, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20496906, 'pht': 3726}}"}, {'dashboat_entry_day': 1599443, 'dashboard_run_id': 1610282, 'mtr_portfolio_id': 20497229, 'dashboard_result_id': 8883599, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20497229_14-02-2025_05_36_05.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20497266, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20497270, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20497271, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20497272, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20497273, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20497274, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20497275, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20497276, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20497277, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20497278, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20497279, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20497280, 'pht': 3726}}"}, {'dashboat_entry_day': 1599443, 'dashboard_run_id': 1610282, 'mtr_portfolio_id': 20497769, 'dashboard_result_id': 8883600, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20497769_14-02-2025_05_36_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20497772, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20497773, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20497774, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20497775, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20497776, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20497777, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20497778, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20497779, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20497780, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20497781, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20497782, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20497783, 'pht': 3726}}"}, {'dashboat_entry_day': 1599443, 'dashboard_run_id': 1610282, 'mtr_portfolio_id': 20498225, 'dashboard_result_id': 8883601, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20498225_14-02-2025_05_38_36.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20498252, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20498253, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20498254, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20498255, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20498256, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20498257, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20498258, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20498259, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20498260, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20498261, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20498262, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20498263, 'pht': 3726}}"}, {'dashboat_entry_day': 1599443, 'dashboard_run_id': 1610282, 'mtr_portfolio_id': 20498729, 'dashboard_result_id': 8883602, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20498729_14-02-2025_05_39_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20498780, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20498781, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20498782, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20498783, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20498784, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20498785, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20498786, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20498787, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20498788, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20498789, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20498790, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20498791, 'pht': 3726}}"}, {'dashboat_entry_day': 1599443, 'dashboard_run_id': 1610282, 'mtr_portfolio_id': 20499230, 'dashboard_result_id': 8883603, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20499230_14-02-2025_05_40_02.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20499234, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20499235, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20499236, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20499237, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20499238, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20499239, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20499240, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20499241, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20499242, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20499243, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20499244, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20499245, 'pht': 3726}}"}, {'dashboat_entry_day': 1599443, 'dashboard_run_id': 1610282, 'mtr_portfolio_id': 20499537, 'dashboard_result_id': 8883604, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20499537_14-02-2025_05_40_35.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20499616, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20499617, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20499618, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20499619, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20499620, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20499621, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20499622, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20499623, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20499624, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20499625, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20499626, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20499627, 'pht': 3726}}"}, {'dashboat_entry_day': 1599443, 'dashboard_run_id': 1610282, 'mtr_portfolio_id': 20500137, 'dashboard_result_id': 8883605, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20500137_14-02-2025_05_41_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20500153, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20500154, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20500155, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20500156, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20500157, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20500158, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20500159, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20500160, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20500161, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20500162, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20500163, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20500164, 'pht': 3726}}"}, {'dashboat_entry_day': 1599443, 'dashboard_run_id': 1610282, 'mtr_portfolio_id': 20500514, 'dashboard_result_id': 8883606, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20500514_14-02-2025_05_42_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20500588, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20500589, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20500590, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20500591, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20500592, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20500593, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20500594, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20500595, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20500596, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20500597, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20500598, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20500599, 'pht': 3726}}"}, {'dashboat_entry_day': 1599443, 'dashboard_run_id': 1610282, 'mtr_portfolio_id': 20501204, 'dashboard_result_id': 8883607, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20501204_14-02-2025_05_42_36.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20501206, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20501207, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20501208, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20501209, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20501210, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20501211, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20501212, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20501213, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20501214, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20501215, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20501216, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20501217, 'pht': 3726}}"}, {'dashboat_entry_day': 1599443, 'dashboard_run_id': 1610282, 'mtr_portfolio_id': 20501611, 'dashboard_result_id': 8883608, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20501611_14-02-2025_05_47_06.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20501640, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20501641, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20501642, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20501643, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20501644, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20501645, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20501646, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20501647, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20501648, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20501649, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20501650, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20501651, 'pht': 3726}}"}, {'dashboat_entry_day': 1599443, 'dashboard_run_id': 1610282, 'mtr_portfolio_id': 20502251, 'dashboard_result_id': 8883609, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20502251_14-02-2025_05_47_34.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20502278, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20502279, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20502280, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20502281, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20502282, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20502283, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20502284, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20502285, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20502286, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20502287, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20502288, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20502289, 'pht': 3726}}"}, {'dashboat_entry_day': 1599443, 'dashboard_run_id': 1610282, 'mtr_portfolio_id': 20502819, 'dashboard_result_id': 8883610, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20502819_14-02-2025_05_48_10.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20502893, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20502894, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20502895, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20502896, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20502897, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20502898, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20502899, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20502900, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20502901, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20502902, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20502903, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20502904, 'pht': 3726}}"}, {'dashboat_entry_day': 1599443, 'dashboard_run_id': 1610282, 'mtr_portfolio_id': 20503438, 'dashboard_result_id': 8883611, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20503438_13-02-2025_08_50_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20503491, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20503492, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20503493, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20503494, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20503495, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20503496, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20503497, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20503498, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20503499, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20503500, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20503501, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20503502, 'pht': 3726}}"}, {'dashboat_entry_day': 1599443, 'dashboard_run_id': 1610282, 'mtr_portfolio_id': 20504018, 'dashboard_result_id': 8883612, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20504018_14-02-2025_04_26_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20504023, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20504024, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20504025, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20504026, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20504027, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20504028, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20504029, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20504030, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20504031, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20504032, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20504033, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20504034, 'pht': 3726}}"}, {'dashboat_entry_day': 1599443, 'dashboard_run_id': 1610282, 'mtr_portfolio_id': 20507322, 'dashboard_result_id': 8883613, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20507322_13-02-2025_14_02_29.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20507324, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20507325, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20507326, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20507327, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20507328, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20507329, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20507330, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20507331, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20507332, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20507333, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20507334, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20507335, 'pht': 3726}}"}, {'dashboat_entry_day': 1599443, 'dashboard_run_id': 1610282, 'mtr_portfolio_id': 20507586, 'dashboard_result_id': 8883614, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20507586_13-02-2025_14_18_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20507590, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20507591, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20507592, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20507593, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20507594, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20507595, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20507596, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20507597, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20507598, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20507599, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20507600, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20507601, 'pht': 3726}}"}, {'dashboat_entry_day': 1599443, 'dashboard_run_id': 1610282, 'mtr_portfolio_id': 20508054, 'dashboard_result_id': 8883615, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20508054_13-02-2025_14_37_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20508069, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20508070, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20508071, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20508072, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20508073, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20508074, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20508075, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20508076, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20508077, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20508078, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20508079, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20508080, 'pht': 3726}}"}, {'dashboat_entry_day': 1599443, 'dashboard_run_id': 1610282, 'mtr_portfolio_id': 20508612, 'dashboard_result_id': 8883616, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20508612_13-02-2025_14_49_05.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20508616, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20508617, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20508618, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20508619, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20508620, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20508621, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20508622, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20508623, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20508624, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20508625, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20508626, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20508627, 'pht': 3726}}"}, {'dashboat_entry_day': 1599443, 'dashboard_run_id': 1610282, 'mtr_portfolio_id': 20508913, 'dashboard_result_id': 8883617, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20508913_13-02-2025_15_03_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20509003, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20509004, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20509005, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20509006, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20509007, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20509008, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20509009, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20509010, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20509011, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20509012, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20509013, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20509014, 'pht': 3726}}"}, {'dashboat_entry_day': 1599443, 'dashboard_run_id': 1610282, 'mtr_portfolio_id': 20509635, 'dashboard_result_id': 8883618, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20509635_13-02-2025_15_18_57.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20509662, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20509663, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20509664, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20509665, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20509666, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20509667, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20509668, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20509669, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20509670, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20509671, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20509672, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20509673, 'pht': 3726}}"}, {'dashboat_entry_day': 1599443, 'dashboard_run_id': 1610282, 'mtr_portfolio_id': 20510094, 'dashboard_result_id': 8883619, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20510094_13-02-2025_15_36_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20510147, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20510148, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20510149, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20510150, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20510151, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20510152, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20510153, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20510154, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20510155, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20510156, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20510157, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20510158, 'pht': 3726}}"}, {'dashboat_entry_day': 1599443, 'dashboard_run_id': 1610282, 'mtr_portfolio_id': 20510922, 'dashboard_result_id': 8883620, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20510922_13-02-2025_15_47_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20510925, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20510926, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20510927, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20510928, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20510929, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20510930, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20510931, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20510932, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20510933, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20510934, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20510935, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20510936, 'pht': 3726}}"}, {'dashboat_entry_day': 1599443, 'dashboard_run_id': 1610282, 'mtr_portfolio_id': 20511266, 'dashboard_result_id': 8883621, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20511266_13-02-2025_16_02_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20511296, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20511297, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20511298, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20511299, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20511300, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20511301, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20511302, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20511303, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20511304, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20511305, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20511306, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20511307, 'pht': 3726}}"}, {'dashboat_entry_day': 1599443, 'dashboard_run_id': 1610282, 'mtr_portfolio_id': 20511878, 'dashboard_result_id': 8883622, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20511878_13-02-2025_16_18_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20511885, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20511886, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20511887, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20511888, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20511889, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20511890, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20511891, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20511892, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20511893, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20511894, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20511895, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20511896, 'pht': 3726}}"}, {'dashboat_entry_day': 1599443, 'dashboard_run_id': 1610282, 'mtr_portfolio_id': 20512359, 'dashboard_result_id': 8883623, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20512359_13-02-2025_16_33_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20512416, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20512417, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20512418, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20512419, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20512420, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20512421, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20512422, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20512423, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20512424, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20512425, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20512426, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20512427, 'pht': 3726}}"}, {'dashboat_entry_day': 1599443, 'dashboard_run_id': 1610282, 'mtr_portfolio_id': 20513169, 'dashboard_result_id': 8883624, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20513169_13-02-2025_16_46_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20513211, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20513212, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20513213, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20513214, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20513215, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20513216, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20513217, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20513218, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20513219, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20513220, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20513221, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20513222, 'pht': 3726}}"}, {'dashboat_entry_day': 1599443, 'dashboard_run_id': 1610282, 'mtr_portfolio_id': 20513944, 'dashboard_result_id': 8883625, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20513944_13-02-2025_17_03_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20513995, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20513996, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20513997, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20513998, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20513999, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20514000, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20514001, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20514002, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20514003, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20514004, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20514005, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20514006, 'pht': 3726}}"}, {'dashboat_entry_day': 1599443, 'dashboard_run_id': 1610282, 'mtr_portfolio_id': 20514464, 'dashboard_result_id': 8883626, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20514464_13-02-2025_17_19_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20514472, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20514473, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20514474, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20514475, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20514476, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20514477, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20514478, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20514479, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20514480, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20514481, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20514482, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20514483, 'pht': 3726}}"}, {'dashboat_entry_day': 1599443, 'dashboard_run_id': 1610282, 'mtr_portfolio_id': 20514902, 'dashboard_result_id': 8883627, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20514902_13-02-2025_17_36_57.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20514920, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20514921, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20514922, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20514923, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20514924, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20514925, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20514926, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20514927, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20514928, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20514929, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20514930, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20514931, 'pht': 3726}}"}, {'dashboat_entry_day': 1599443, 'dashboard_run_id': 1610282, 'mtr_portfolio_id': 20516593, 'dashboard_result_id': 8883628, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20516593_13-02-2025_18_16_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20516596, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20516597, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20516598, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20516599, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20516600, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20516601, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20516602, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20516603, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20516604, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20516605, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20516606, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20516607, 'pht': 3726}}"}, {'dashboat_entry_day': 1599443, 'dashboard_run_id': 1610282, 'mtr_portfolio_id': 20516902, 'dashboard_result_id': 8883629, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20516902_13-02-2025_18_32_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20516908, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20516909, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20516910, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20516911, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20516912, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20516913, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20516914, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20516915, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20516916, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20516917, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20516918, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20516919, 'pht': 3726}}"}, {'dashboat_entry_day': 1599443, 'dashboard_run_id': 1610282, 'mtr_portfolio_id': 20517393, 'dashboard_result_id': 8883630, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20517393_13-02-2025_18_47_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20517447, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20517448, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20517449, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20517450, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20517451, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20517452, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20517453, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20517454, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20517455, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20517456, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20517457, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20517458, 'pht': 3726}}"}, {'dashboat_entry_day': 1599443, 'dashboard_run_id': 1610282, 'mtr_portfolio_id': 20518029, 'dashboard_result_id': 8883631, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20518029_13-02-2025_19_02_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20518056, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20518057, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20518058, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20518059, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20518060, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20518061, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20518062, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20518063, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20518064, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20518065, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20518066, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20518067, 'pht': 3726}}"}, {'dashboat_entry_day': 1599443, 'dashboard_run_id': 1610282, 'mtr_portfolio_id': 20518770, 'dashboard_result_id': 8883632, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20518770_13-02-2025_19_18_57.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20518773, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20518774, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20518775, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20518776, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20518777, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20518778, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20518779, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20518780, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20518781, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20518782, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20518783, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20518784, 'pht': 3726}}"}, {'dashboat_entry_day': 1599443, 'dashboard_run_id': 1610282, 'mtr_portfolio_id': 20519099, 'dashboard_result_id': 8883633, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20519099_13-02-2025_19_32_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20519154, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20519155, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20519156, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20519157, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20519158, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20519159, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20519160, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20519161, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20519162, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20519163, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20519164, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20519165, 'pht': 3726}}"}, {'dashboat_entry_day': 1599443, 'dashboard_run_id': 1610282, 'mtr_portfolio_id': 20519720, 'dashboard_result_id': 8883634, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20519720_13-02-2025_19_49_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20519747, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20519748, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20519749, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20519750, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20519751, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20519752, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20519753, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20519754, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20519755, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20519756, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20519757, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20519758, 'pht': 3726}}"}, {'dashboat_entry_day': 1599443, 'dashboard_run_id': 1610282, 'mtr_portfolio_id': 20520504, 'dashboard_result_id': 8883635, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20520504_13-02-2025_20_02_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20520508, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20520509, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20520510, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20520511, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20520512, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20520513, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20520514, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20520515, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20520516, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20520517, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20520518, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20520519, 'pht': 3726}}"}, {'dashboat_entry_day': 1599443, 'dashboard_run_id': 1610282, 'mtr_portfolio_id': 20520906, 'dashboard_result_id': 8883636, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20520906_13-02-2025_20_17_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20520913, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20520914, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20520915, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20520916, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20520917, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20520918, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20520919, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20520920, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20520921, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20520922, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20520923, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20520924, 'pht': 3726}}"}, {'dashboat_entry_day': 1599443, 'dashboard_run_id': 1610282, 'mtr_portfolio_id': 20521634, 'dashboard_result_id': 8883637, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20521634_13-02-2025_20_32_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20521664, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20521665, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20521666, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20521667, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20521668, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20521669, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20521670, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20521671, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20521672, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20521673, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20521674, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20521675, 'pht': 3726}}"}, {'dashboat_entry_day': 1599443, 'dashboard_run_id': 1610282, 'mtr_portfolio_id': 20522165, 'dashboard_result_id': 8883638, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20522165_13-02-2025_21_07_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20522215, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20522216, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20522217, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20522218, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20522219, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20522220, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20522221, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20522222, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20522223, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20522224, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20522225, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20522226, 'pht': 3726}}"}, {'dashboat_entry_day': 1599443, 'dashboard_run_id': 1610282, 'mtr_portfolio_id': 20523051, 'dashboard_result_id': 8883639, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20523051_13-02-2025_21_17_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20523054, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20523055, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20523056, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20523057, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20523058, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20523059, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20523060, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20523061, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20523062, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20523063, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20523064, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20523065, 'pht': 3726}}"}, {'dashboat_entry_day': 1599443, 'dashboard_run_id': 1610282, 'mtr_portfolio_id': 20523199, 'dashboard_result_id': 8883640, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20523199_13-02-2025_21_52_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20523203, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20523204, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20523205, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20523206, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20523207, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20523208, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20523209, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20523210, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20523211, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20523212, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20523213, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20523214, 'pht': 3726}}"}, {'dashboat_entry_day': 1599443, 'dashboard_run_id': 1610282, 'mtr_portfolio_id': 20524003, 'dashboard_result_id': 8883641, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20524003_13-02-2025_22_02_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20524005, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20524006, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20524007, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20524008, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20524009, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20524010, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20524011, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20524012, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20524013, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20524014, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20524015, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20524016, 'pht': 3726}}"}, {'dashboat_entry_day': 1599443, 'dashboard_run_id': 1610282, 'mtr_portfolio_id': 20524409, 'dashboard_result_id': 8883642, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20524409_13-02-2025_22_16_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20524412, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20524413, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20524414, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20524415, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20524416, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20524417, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20524418, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20524419, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20524420, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20524421, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20524422, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20524423, 'pht': 3726}}"}, {'dashboat_entry_day': 1599443, 'dashboard_run_id': 1610282, 'mtr_portfolio_id': 20524841, 'dashboard_result_id': 8883643, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20524841_13-02-2025_22_33_29.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20524844, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20524845, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20524846, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20524847, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20524848, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20524849, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20524850, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20524851, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20524852, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20524853, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20524854, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20524855, 'pht': 3726}}"}, {'dashboat_entry_day': 1599443, 'dashboard_run_id': 1610282, 'mtr_portfolio_id': 20525286, 'dashboard_result_id': 8883644, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20525286_13-02-2025_22_46_57.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20525291, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20525292, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20525293, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20525294, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20525295, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20525296, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20525297, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20525298, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20525299, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20525300, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20525301, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20525302, 'pht': 3726}}"}, {'dashboat_entry_day': 1599443, 'dashboard_run_id': 1610282, 'mtr_portfolio_id': 20526127, 'dashboard_result_id': 8883645, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20526127_13-02-2025_23_02_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20526130, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20526131, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20526132, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20526133, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20526134, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20526135, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20526136, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20526137, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20526138, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20526139, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20526140, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20526141, 'pht': 3726}}"}, {'dashboat_entry_day': 1599443, 'dashboard_run_id': 1610282, 'mtr_portfolio_id': 20526558, 'dashboard_result_id': 8883646, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20526558_13-02-2025_23_19_29.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20526560, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20526561, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20526562, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20526563, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20526564, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20526565, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20526566, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20526567, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20526568, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20526569, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20526570, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20526571, 'pht': 3726}}"}, {'dashboat_entry_day': 1599443, 'dashboard_run_id': 1610282, 'mtr_portfolio_id': 20526995, 'dashboard_result_id': 8883647, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20526995_13-02-2025_23_33_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20527039, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20527040, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20527041, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20527042, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20527043, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20527044, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20527045, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20527046, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20527047, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20527048, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20527049, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20527050, 'pht': 3726}}"}, {'dashboat_entry_day': 1599443, 'dashboard_run_id': 1610282, 'mtr_portfolio_id': 20527820, 'dashboard_result_id': 8883648, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20527820_13-02-2025_23_48_57.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20527878, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20527879, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20527880, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20527881, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20527882, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20527883, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20527884, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20527885, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20527886, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20527887, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20527888, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20527889, 'pht': 3726}}"}, {'dashboat_entry_day': 1599443, 'dashboard_run_id': 1610282, 'mtr_portfolio_id': 20528257, 'dashboard_result_id': 8883649, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20528257_14-02-2025_04_25_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20528335, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20528336, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20528337, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20528338, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20528339, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20528340, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20528341, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20528342, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20528343, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20528344, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20528345, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20528346, 'pht': 3726}}"}] SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20496702 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2585340, 'mtr_portfolio_id': 20496702, 'created_at': datetime.datetime(2025, 2, 14, 5, 34, 32), 'result': '0.0787631748319839', 'result_long': None, 'result_double': None}] Qualite : 0.0787631748319839 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20496702 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20496702_14-02-2025_05_34_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20496702 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20496702_14-02-2025_05_34_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20496703, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20496704, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20496705, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20496706, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20496707, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20496708, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20496709, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20496710, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20496711, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20496712, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20496713, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20496714, 'pht': 3726}}" where mtr_portfolio_id = 20496702 and dashboard_run_id = 1610282 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20496702 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8883597, 0.0787631748319839, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20496702_14-02-2025_05_34_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20496703, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20496704, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20496705, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20496706, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20496707, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20496708, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20496709, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20496710, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20496711, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20496712, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20496713, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20496714, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20496893 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2585341, 'mtr_portfolio_id': 20496893, 'created_at': datetime.datetime(2025, 2, 14, 5, 35, 27), 'result': '0.04929415372185177', 'result_long': None, 'result_double': None}] Qualite : 0.04929415372185177 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20496893 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20496893_14-02-2025_05_35_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20496893 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20496893_14-02-2025_05_35_29.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20496895, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20496896, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20496897, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20496898, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20496899, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20496900, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20496901, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20496902, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20496903, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20496904, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20496905, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20496906, 'pht': 3726}}" where mtr_portfolio_id = 20496893 and dashboard_run_id = 1610282 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20496893 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8883598, 0.04929415372185177, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20496893_14-02-2025_05_35_29.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20496895, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20496896, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20496897, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20496898, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20496899, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20496900, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20496901, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20496902, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20496903, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20496904, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20496905, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20496906, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20497229 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2585342, 'mtr_portfolio_id': 20497229, 'created_at': datetime.datetime(2025, 2, 14, 5, 36, 2), 'result': '0.046791777458869976', 'result_long': None, 'result_double': None}] Qualite : 0.046791777458869976 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20497229 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20497229_14-02-2025_05_36_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20497229 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20497229_14-02-2025_05_36_05.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20497266, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20497270, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20497271, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20497272, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20497273, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20497274, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20497275, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20497276, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20497277, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20497278, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20497279, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20497280, 'pht': 3726}}" where mtr_portfolio_id = 20497229 and dashboard_run_id = 1610282 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20497229 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8883599, 0.046791777458869976, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20497229_14-02-2025_05_36_05.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20497266, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20497270, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20497271, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20497272, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20497273, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20497274, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20497275, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20497276, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20497277, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20497278, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20497279, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20497280, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20497769 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2585343, 'mtr_portfolio_id': 20497769, 'created_at': datetime.datetime(2025, 2, 14, 5, 36, 30), 'result': '0.04199171666581403', 'result_long': None, 'result_double': None}] Qualite : 0.04199171666581403 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20497769 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20497769_14-02-2025_05_36_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20497769 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20497769_14-02-2025_05_36_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20497772, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20497773, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20497774, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20497775, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20497776, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20497777, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20497778, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20497779, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20497780, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20497781, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20497782, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20497783, 'pht': 3726}}" where mtr_portfolio_id = 20497769 and dashboard_run_id = 1610282 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20497769 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8883600, 0.04199171666581403, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20497769_14-02-2025_05_36_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20497772, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20497773, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20497774, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20497775, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20497776, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20497777, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20497778, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20497779, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20497780, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20497781, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20497782, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20497783, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20498225 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2585344, 'mtr_portfolio_id': 20498225, 'created_at': datetime.datetime(2025, 2, 14, 5, 38, 33), 'result': '0.04552629853286118', 'result_long': None, 'result_double': None}] Qualite : 0.04552629853286118 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20498225 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20498225_14-02-2025_05_38_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20498225 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20498225_14-02-2025_05_38_36.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20498252, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20498253, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20498254, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20498255, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20498256, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20498257, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20498258, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20498259, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20498260, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20498261, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20498262, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20498263, 'pht': 3726}}" where mtr_portfolio_id = 20498225 and dashboard_run_id = 1610282 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20498225 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8883601, 0.04552629853286118, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20498225_14-02-2025_05_38_36.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20498252, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20498253, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20498254, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20498255, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20498256, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20498257, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20498258, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20498259, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20498260, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20498261, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20498262, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20498263, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20498729 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2585345, 'mtr_portfolio_id': 20498729, 'created_at': datetime.datetime(2025, 2, 14, 5, 39, 28), 'result': '0.04961918393745524', 'result_long': None, 'result_double': None}] Qualite : 0.04961918393745524 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20498729 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20498729_14-02-2025_05_39_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20498729 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20498729_14-02-2025_05_39_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20498780, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20498781, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20498782, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20498783, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20498784, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20498785, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20498786, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20498787, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20498788, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20498789, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20498790, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20498791, 'pht': 3726}}" where mtr_portfolio_id = 20498729 and dashboard_run_id = 1610282 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20498729 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8883602, 0.04961918393745524, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20498729_14-02-2025_05_39_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20498780, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20498781, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20498782, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20498783, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20498784, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20498785, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20498786, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20498787, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20498788, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20498789, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20498790, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20498791, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20499230 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2585346, 'mtr_portfolio_id': 20499230, 'created_at': datetime.datetime(2025, 2, 14, 5, 40), 'result': '0.0477902055756086', 'result_long': None, 'result_double': None}] Qualite : 0.0477902055756086 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20499230 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20499230_14-02-2025_05_40_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20499230 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20499230_14-02-2025_05_40_02.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20499234, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20499235, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20499236, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20499237, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20499238, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20499239, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20499240, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20499241, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20499242, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20499243, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20499244, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20499245, 'pht': 3726}}" where mtr_portfolio_id = 20499230 and dashboard_run_id = 1610282 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20499230 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8883603, 0.0477902055756086, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20499230_14-02-2025_05_40_02.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20499234, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20499235, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20499236, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20499237, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20499238, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20499239, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20499240, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20499241, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20499242, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20499243, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20499244, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20499245, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20499537 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2585347, 'mtr_portfolio_id': 20499537, 'created_at': datetime.datetime(2025, 2, 14, 5, 40, 32), 'result': '0.05923722820601683', 'result_long': None, 'result_double': None}] Qualite : 0.05923722820601683 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20499537 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20499537_14-02-2025_05_40_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20499537 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20499537_14-02-2025_05_40_35.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20499616, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20499617, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20499618, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20499619, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20499620, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20499621, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20499622, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20499623, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20499624, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20499625, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20499626, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20499627, 'pht': 3726}}" where mtr_portfolio_id = 20499537 and dashboard_run_id = 1610282 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20499537 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8883604, 0.05923722820601683, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20499537_14-02-2025_05_40_35.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20499616, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20499617, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20499618, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20499619, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20499620, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20499621, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20499622, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20499623, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20499624, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20499625, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20499626, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20499627, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20500137 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2585348, 'mtr_portfolio_id': 20500137, 'created_at': datetime.datetime(2025, 2, 14, 5, 41, 30), 'result': '0.05412015019625956', 'result_long': None, 'result_double': None}] Qualite : 0.05412015019625956 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20500137 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20500137_14-02-2025_05_41_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20500137 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20500137_14-02-2025_05_41_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20500153, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20500154, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20500155, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20500156, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20500157, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20500158, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20500159, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20500160, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20500161, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20500162, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20500163, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20500164, 'pht': 3726}}" where mtr_portfolio_id = 20500137 and dashboard_run_id = 1610282 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20500137 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8883605, 0.05412015019625956, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20500137_14-02-2025_05_41_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20500153, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20500154, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20500155, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20500156, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20500157, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20500158, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20500159, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20500160, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20500161, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20500162, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20500163, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20500164, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20500514 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2585349, 'mtr_portfolio_id': 20500514, 'created_at': datetime.datetime(2025, 2, 14, 5, 41, 59), 'result': '0.04775774899333977', 'result_long': None, 'result_double': None}] Qualite : 0.04775774899333977 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20500514 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20500514_14-02-2025_05_42_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20500514 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20500514_14-02-2025_05_42_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20500588, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20500589, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20500590, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20500591, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20500592, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20500593, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20500594, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20500595, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20500596, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20500597, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20500598, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20500599, 'pht': 3726}}" where mtr_portfolio_id = 20500514 and dashboard_run_id = 1610282 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20500514 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8883606, 0.04775774899333977, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20500514_14-02-2025_05_42_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20500588, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20500589, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20500590, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20500591, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20500592, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20500593, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20500594, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20500595, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20500596, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20500597, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20500598, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20500599, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20501204 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2585350, 'mtr_portfolio_id': 20501204, 'created_at': datetime.datetime(2025, 2, 14, 5, 42, 33), 'result': '0.04576428365696704', 'result_long': None, 'result_double': None}] Qualite : 0.04576428365696704 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20501204 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20501204_14-02-2025_05_42_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20501204 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20501204_14-02-2025_05_42_36.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20501206, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20501207, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20501208, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20501209, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20501210, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20501211, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20501212, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20501213, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20501214, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20501215, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20501216, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20501217, 'pht': 3726}}" where mtr_portfolio_id = 20501204 and dashboard_run_id = 1610282 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20501204 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8883607, 0.04576428365696704, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20501204_14-02-2025_05_42_36.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20501206, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20501207, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20501208, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20501209, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20501210, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20501211, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20501212, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20501213, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20501214, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20501215, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20501216, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20501217, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20501611 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2585351, 'mtr_portfolio_id': 20501611, 'created_at': datetime.datetime(2025, 2, 14, 5, 47, 3), 'result': '0.04260438432594769', 'result_long': None, 'result_double': None}] Qualite : 0.04260438432594769 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20501611 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20501611_14-02-2025_05_47_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20501611 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20501611_14-02-2025_05_47_06.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20501640, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20501641, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20501642, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20501643, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20501644, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20501645, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20501646, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20501647, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20501648, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20501649, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20501650, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20501651, 'pht': 3726}}" where mtr_portfolio_id = 20501611 and dashboard_run_id = 1610282 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20501611 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8883608, 0.04260438432594769, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20501611_14-02-2025_05_47_06.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20501640, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20501641, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20501642, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20501643, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20501644, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20501645, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20501646, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20501647, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20501648, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20501649, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20501650, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20501651, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20502251 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2585352, 'mtr_portfolio_id': 20502251, 'created_at': datetime.datetime(2025, 2, 14, 5, 47, 32), 'result': '0.035647970281521134', 'result_long': None, 'result_double': None}] Qualite : 0.035647970281521134 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20502251 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20502251_14-02-2025_05_47_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20502251 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20502251_14-02-2025_05_47_34.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20502278, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20502279, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20502280, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20502281, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20502282, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20502283, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20502284, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20502285, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20502286, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20502287, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20502288, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20502289, 'pht': 3726}}" where mtr_portfolio_id = 20502251 and dashboard_run_id = 1610282 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20502251 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8883609, 0.035647970281521134, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20502251_14-02-2025_05_47_34.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20502278, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20502279, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20502280, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20502281, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20502282, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20502283, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20502284, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20502285, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20502286, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20502287, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20502288, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20502289, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20502819 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2585353, 'mtr_portfolio_id': 20502819, 'created_at': datetime.datetime(2025, 2, 14, 5, 48, 8), 'result': '0.04851151713167158', 'result_long': None, 'result_double': None}] Qualite : 0.04851151713167158 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20502819 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20502819_14-02-2025_05_48_10.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20502819 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20502819_14-02-2025_05_48_10.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20502893, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20502894, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20502895, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20502896, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20502897, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20502898, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20502899, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20502900, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20502901, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20502902, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20502903, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20502904, 'pht': 3726}}" where mtr_portfolio_id = 20502819 and dashboard_run_id = 1610282 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20502819 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8883610, 0.04851151713167158, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20502819_14-02-2025_05_48_10.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20502893, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20502894, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20502895, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20502896, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20502897, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20502898, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20502899, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20502900, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20502901, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20502902, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20502903, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20502904, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20503438 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2585354, 'mtr_portfolio_id': 20503438, 'created_at': datetime.datetime(2025, 2, 14, 5, 48, 32), 'result': '0.051955359494568', 'result_long': None, 'result_double': None}] Qualite : 0.051955359494568 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20503438 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20503438_14-02-2025_05_48_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20503438 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20503438_14-02-2025_05_48_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20503491, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20503492, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20503493, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20503494, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20503495, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20503496, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20503497, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20503498, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20503499, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20503500, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20503501, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20503502, 'pht': 3726}}" where mtr_portfolio_id = 20503438 and dashboard_run_id = 1610282 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20503438 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8883611, 0.051955359494568, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20503438_14-02-2025_05_48_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20503491, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20503492, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20503493, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20503494, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20503495, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20503496, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20503497, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20503498, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20503499, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20503500, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20503501, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20503502, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20504018 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2581987, 'mtr_portfolio_id': 20504018, 'created_at': datetime.datetime(2025, 2, 14, 4, 26, 32), 'result': '0.0433180252621215', 'result_long': None, 'result_double': None}] Qualite : 0.0433180252621215 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20504018 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20504018_14-02-2025_04_26_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20504018 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20504018_14-02-2025_04_26_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20504023, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20504024, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20504025, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20504026, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20504027, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20504028, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20504029, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20504030, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20504031, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20504032, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20504033, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20504034, 'pht': 3726}}" where mtr_portfolio_id = 20504018 and dashboard_run_id = 1610282 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20504018 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8883612, 0.0433180252621215, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20504018_14-02-2025_04_26_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20504023, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20504024, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20504025, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20504026, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20504027, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20504028, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20504029, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20504030, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20504031, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20504032, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20504033, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20504034, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20507322 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2582444, 'mtr_portfolio_id': 20507322, 'created_at': datetime.datetime(2025, 2, 13, 14, 2, 28), 'result': '0.04755721983658958', 'result_long': None, 'result_double': None}] Qualite : 0.04755721983658958 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20507322 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20507322_13-02-2025_14_02_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20507322 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20507322_13-02-2025_14_02_29.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20507324, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20507325, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20507326, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20507327, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20507328, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20507329, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20507330, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20507331, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20507332, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20507333, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20507334, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20507335, 'pht': 3726}}" where mtr_portfolio_id = 20507322 and dashboard_run_id = 1610282 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20507322 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8883613, 0.04755721983658958, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20507322_13-02-2025_14_02_29.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20507324, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20507325, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20507326, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20507327, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20507328, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20507329, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20507330, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20507331, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20507332, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20507333, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20507334, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20507335, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20507586 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2582469, 'mtr_portfolio_id': 20507586, 'created_at': datetime.datetime(2025, 2, 13, 14, 18, 58), 'result': '0.03859902233214722', 'result_long': None, 'result_double': None}] Qualite : 0.03859902233214722 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20507586 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20507586_13-02-2025_14_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20507586 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20507586_13-02-2025_14_18_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20507590, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20507591, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20507592, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20507593, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20507594, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20507595, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20507596, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20507597, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20507598, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20507599, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20507600, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20507601, 'pht': 3726}}" where mtr_portfolio_id = 20507586 and dashboard_run_id = 1610282 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20507586 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8883614, 0.03859902233214722, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20507586_13-02-2025_14_18_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20507590, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20507591, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20507592, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20507593, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20507594, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20507595, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20507596, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20507597, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20507598, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20507599, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20507600, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20507601, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20508054 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2582500, 'mtr_portfolio_id': 20508054, 'created_at': datetime.datetime(2025, 2, 13, 14, 37), 'result': '0.041612553192954864', 'result_long': None, 'result_double': None}] Qualite : 0.041612553192954864 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20508054 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20508054_13-02-2025_14_37_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20508054 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20508054_13-02-2025_14_37_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20508069, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20508070, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20508071, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20508072, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20508073, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20508074, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20508075, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20508076, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20508077, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20508078, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20508079, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20508080, 'pht': 3726}}" where mtr_portfolio_id = 20508054 and dashboard_run_id = 1610282 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20508054 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8883615, 0.041612553192954864, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20508054_13-02-2025_14_37_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20508069, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20508070, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20508071, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20508072, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20508073, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20508074, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20508075, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20508076, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20508077, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20508078, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20508079, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20508080, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20508612 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2582542, 'mtr_portfolio_id': 20508612, 'created_at': datetime.datetime(2025, 2, 13, 14, 49, 4), 'result': '0.032364546647463376', 'result_long': None, 'result_double': None}] Qualite : 0.032364546647463376 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20508612 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20508612_13-02-2025_14_49_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20508612 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20508612_13-02-2025_14_49_05.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20508616, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20508617, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20508618, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20508619, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20508620, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20508621, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20508622, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20508623, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20508624, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20508625, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20508626, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20508627, 'pht': 3726}}" where mtr_portfolio_id = 20508612 and dashboard_run_id = 1610282 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20508612 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8883616, 0.032364546647463376, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20508612_13-02-2025_14_49_05.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20508616, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20508617, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20508618, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20508619, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20508620, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20508621, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20508622, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20508623, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20508624, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20508625, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20508626, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20508627, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20508913 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2582571, 'mtr_portfolio_id': 20508913, 'created_at': datetime.datetime(2025, 2, 13, 15, 2, 59), 'result': '0.045098220169568805', 'result_long': None, 'result_double': None}] Qualite : 0.045098220169568805 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20508913 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20508913_13-02-2025_15_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20508913 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20508913_13-02-2025_15_03_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20509003, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20509004, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20509005, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20509006, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20509007, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20509008, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20509009, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20509010, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20509011, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20509012, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20509013, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20509014, 'pht': 3726}}" where mtr_portfolio_id = 20508913 and dashboard_run_id = 1610282 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20508913 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8883617, 0.045098220169568805, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20508913_13-02-2025_15_03_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20509003, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20509004, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20509005, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20509006, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20509007, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20509008, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20509009, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20509010, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20509011, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20509012, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20509013, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20509014, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20509635 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2582629, 'mtr_portfolio_id': 20509635, 'created_at': datetime.datetime(2025, 2, 13, 15, 18, 56), 'result': '0.04463257254528721', 'result_long': None, 'result_double': None}] Qualite : 0.04463257254528721 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20509635 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20509635_13-02-2025_15_18_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20509635 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20509635_13-02-2025_15_18_57.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20509662, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20509663, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20509664, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20509665, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20509666, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20509667, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20509668, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20509669, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20509670, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20509671, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20509672, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20509673, 'pht': 3726}}" where mtr_portfolio_id = 20509635 and dashboard_run_id = 1610282 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20509635 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8883618, 0.04463257254528721, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20509635_13-02-2025_15_18_57.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20509662, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20509663, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20509664, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20509665, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20509666, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20509667, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20509668, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20509669, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20509670, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20509671, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20509672, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20509673, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20510094 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2582658, 'mtr_portfolio_id': 20510094, 'created_at': datetime.datetime(2025, 2, 13, 15, 36, 58), 'result': '0.043575517710601225', 'result_long': None, 'result_double': None}] Qualite : 0.043575517710601225 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20510094 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20510094_13-02-2025_15_36_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20510094 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20510094_13-02-2025_15_36_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20510147, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20510148, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20510149, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20510150, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20510151, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20510152, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20510153, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20510154, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20510155, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20510156, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20510157, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20510158, 'pht': 3726}}" where mtr_portfolio_id = 20510094 and dashboard_run_id = 1610282 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20510094 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8883619, 0.043575517710601225, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20510094_13-02-2025_15_36_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20510147, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20510148, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20510149, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20510150, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20510151, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20510152, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20510153, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20510154, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20510155, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20510156, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20510157, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20510158, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20510922 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2582712, 'mtr_portfolio_id': 20510922, 'created_at': datetime.datetime(2025, 2, 13, 15, 47), 'result': '0.04195074608924938', 'result_long': None, 'result_double': None}] Qualite : 0.04195074608924938 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20510922 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20510922_13-02-2025_15_47_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20510922 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20510922_13-02-2025_15_47_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20510925, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20510926, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20510927, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20510928, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20510929, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20510930, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20510931, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20510932, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20510933, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20510934, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20510935, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20510936, 'pht': 3726}}" where mtr_portfolio_id = 20510922 and dashboard_run_id = 1610282 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20510922 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8883620, 0.04195074608924938, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20510922_13-02-2025_15_47_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20510925, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20510926, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20510927, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20510928, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20510929, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20510930, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20510931, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20510932, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20510933, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20510934, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20510935, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20510936, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20511266 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2582743, 'mtr_portfolio_id': 20511266, 'created_at': datetime.datetime(2025, 2, 13, 16, 2, 29), 'result': '0.027650748209418197', 'result_long': None, 'result_double': None}] Qualite : 0.027650748209418197 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20511266 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20511266_13-02-2025_16_02_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20511266 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20511266_13-02-2025_16_02_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20511296, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20511297, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20511298, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20511299, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20511300, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20511301, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20511302, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20511303, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20511304, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20511305, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20511306, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20511307, 'pht': 3726}}" where mtr_portfolio_id = 20511266 and dashboard_run_id = 1610282 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20511266 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8883621, 0.027650748209418197, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20511266_13-02-2025_16_02_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20511296, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20511297, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20511298, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20511299, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20511300, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20511301, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20511302, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20511303, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20511304, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20511305, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20511306, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20511307, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20511878 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2582811, 'mtr_portfolio_id': 20511878, 'created_at': datetime.datetime(2025, 2, 13, 16, 18, 57), 'result': '0.05189570546007788', 'result_long': None, 'result_double': None}] Qualite : 0.05189570546007788 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20511878 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20511878_13-02-2025_16_18_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20511878 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20511878_13-02-2025_16_18_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20511885, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20511886, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20511887, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20511888, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20511889, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20511890, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20511891, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20511892, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20511893, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20511894, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20511895, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20511896, 'pht': 3726}}" where mtr_portfolio_id = 20511878 and dashboard_run_id = 1610282 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20511878 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8883622, 0.05189570546007788, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20511878_13-02-2025_16_18_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20511885, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20511886, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20511887, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20511888, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20511889, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20511890, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20511891, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20511892, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20511893, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20511894, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20511895, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20511896, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20512359 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2582891, 'mtr_portfolio_id': 20512359, 'created_at': datetime.datetime(2025, 2, 13, 16, 33), 'result': '0.04772990664809266', 'result_long': None, 'result_double': None}] Qualite : 0.04772990664809266 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20512359 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20512359_13-02-2025_16_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20512359 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20512359_13-02-2025_16_33_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20512416, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20512417, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20512418, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20512419, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20512420, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20512421, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20512422, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20512423, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20512424, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20512425, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20512426, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20512427, 'pht': 3726}}" where mtr_portfolio_id = 20512359 and dashboard_run_id = 1610282 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20512359 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8883623, 0.04772990664809266, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20512359_13-02-2025_16_33_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20512416, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20512417, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20512418, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20512419, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20512420, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20512421, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20512422, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20512423, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20512424, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20512425, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20512426, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20512427, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20513169 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2582957, 'mtr_portfolio_id': 20513169, 'created_at': datetime.datetime(2025, 2, 13, 16, 46, 31), 'result': '0.03171449618417654', 'result_long': None, 'result_double': None}] Qualite : 0.03171449618417654 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20513169 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20513169_13-02-2025_16_46_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20513169 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20513169_13-02-2025_16_46_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20513211, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20513212, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20513213, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20513214, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20513215, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20513216, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20513217, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20513218, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20513219, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20513220, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20513221, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20513222, 'pht': 3726}}" where mtr_portfolio_id = 20513169 and dashboard_run_id = 1610282 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20513169 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8883624, 0.03171449618417654, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20513169_13-02-2025_16_46_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20513211, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20513212, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20513213, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20513214, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20513215, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20513216, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20513217, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20513218, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20513219, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20513220, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20513221, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20513222, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20513944 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2583027, 'mtr_portfolio_id': 20513944, 'created_at': datetime.datetime(2025, 2, 13, 17, 3, 1), 'result': '0.04655290998275792', 'result_long': None, 'result_double': None}] Qualite : 0.04655290998275792 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20513944 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20513944_13-02-2025_17_03_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20513944 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20513944_13-02-2025_17_03_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20513995, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20513996, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20513997, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20513998, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20513999, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20514000, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20514001, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20514002, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20514003, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20514004, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20514005, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20514006, 'pht': 3726}}" where mtr_portfolio_id = 20513944 and dashboard_run_id = 1610282 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20513944 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8883625, 0.04655290998275792, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20513944_13-02-2025_17_03_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20513995, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20513996, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20513997, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20513998, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20513999, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20514000, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20514001, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20514002, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20514003, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20514004, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20514005, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20514006, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20514464 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2583077, 'mtr_portfolio_id': 20514464, 'created_at': datetime.datetime(2025, 2, 13, 17, 19), 'result': '0.03016314596164293', 'result_long': None, 'result_double': None}] Qualite : 0.03016314596164293 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20514464 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20514464_13-02-2025_17_19_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20514464 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20514464_13-02-2025_17_19_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20514472, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20514473, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20514474, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20514475, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20514476, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20514477, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20514478, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20514479, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20514480, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20514481, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20514482, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20514483, 'pht': 3726}}" where mtr_portfolio_id = 20514464 and dashboard_run_id = 1610282 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20514464 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8883626, 0.03016314596164293, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20514464_13-02-2025_17_19_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20514472, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20514473, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20514474, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20514475, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20514476, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20514477, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20514478, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20514479, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20514480, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20514481, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20514482, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20514483, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20514902 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2583200, 'mtr_portfolio_id': 20514902, 'created_at': datetime.datetime(2025, 2, 13, 17, 36, 57), 'result': '0.04748522272288669', 'result_long': None, 'result_double': None}] Qualite : 0.04748522272288669 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20514902 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20514902_13-02-2025_17_36_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20514902 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20514902_13-02-2025_17_36_57.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20514920, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20514921, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20514922, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20514923, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20514924, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20514925, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20514926, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20514927, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20514928, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20514929, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20514930, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20514931, 'pht': 3726}}" where mtr_portfolio_id = 20514902 and dashboard_run_id = 1610282 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20514902 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8883627, 0.04748522272288669, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20514902_13-02-2025_17_36_57.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20514920, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20514921, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20514922, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20514923, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20514924, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20514925, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20514926, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20514927, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20514928, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20514929, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20514930, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20514931, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20516593 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2583394, 'mtr_portfolio_id': 20516593, 'created_at': datetime.datetime(2025, 2, 13, 18, 16, 58), 'result': '0.04686697645310267', 'result_long': None, 'result_double': None}] Qualite : 0.04686697645310267 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20516593 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20516593_13-02-2025_18_16_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20516593 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20516593_13-02-2025_18_16_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20516596, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20516597, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20516598, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20516599, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20516600, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20516601, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20516602, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20516603, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20516604, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20516605, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20516606, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20516607, 'pht': 3726}}" where mtr_portfolio_id = 20516593 and dashboard_run_id = 1610282 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20516593 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8883628, 0.04686697645310267, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20516593_13-02-2025_18_16_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20516596, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20516597, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20516598, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20516599, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20516600, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20516601, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20516602, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20516603, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20516604, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20516605, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20516606, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20516607, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20516902 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2583435, 'mtr_portfolio_id': 20516902, 'created_at': datetime.datetime(2025, 2, 13, 18, 32, 58), 'result': '0.03591547030498754', 'result_long': None, 'result_double': None}] Qualite : 0.03591547030498754 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20516902 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20516902_13-02-2025_18_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20516902 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20516902_13-02-2025_18_32_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20516908, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20516909, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20516910, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20516911, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20516912, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20516913, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20516914, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20516915, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20516916, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20516917, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20516918, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20516919, 'pht': 3726}}" where mtr_portfolio_id = 20516902 and dashboard_run_id = 1610282 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20516902 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8883629, 0.03591547030498754, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20516902_13-02-2025_18_32_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20516908, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20516909, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20516910, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20516911, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20516912, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20516913, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20516914, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20516915, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20516916, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20516917, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20516918, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20516919, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20517393 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2583480, 'mtr_portfolio_id': 20517393, 'created_at': datetime.datetime(2025, 2, 13, 18, 47), 'result': '0.03485617193886207', 'result_long': None, 'result_double': None}] Qualite : 0.03485617193886207 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20517393 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20517393_13-02-2025_18_47_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20517393 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20517393_13-02-2025_18_47_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20517447, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20517448, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20517449, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20517450, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20517451, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20517452, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20517453, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20517454, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20517455, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20517456, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20517457, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20517458, 'pht': 3726}}" where mtr_portfolio_id = 20517393 and dashboard_run_id = 1610282 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20517393 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8883630, 0.03485617193886207, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20517393_13-02-2025_18_47_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20517447, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20517448, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20517449, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20517450, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20517451, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20517452, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20517453, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20517454, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20517455, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20517456, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20517457, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20517458, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20518029 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2583528, 'mtr_portfolio_id': 20518029, 'created_at': datetime.datetime(2025, 2, 13, 19, 2, 57), 'result': '0.042757674678575185', 'result_long': None, 'result_double': None}] Qualite : 0.042757674678575185 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20518029 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20518029_13-02-2025_19_02_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20518029 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20518029_13-02-2025_19_02_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20518056, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20518057, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20518058, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20518059, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20518060, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20518061, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20518062, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20518063, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20518064, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20518065, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20518066, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20518067, 'pht': 3726}}" where mtr_portfolio_id = 20518029 and dashboard_run_id = 1610282 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20518029 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8883631, 0.042757674678575185, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20518029_13-02-2025_19_02_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20518056, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20518057, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20518058, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20518059, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20518060, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20518061, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20518062, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20518063, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20518064, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20518065, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20518066, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20518067, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20518770 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2583582, 'mtr_portfolio_id': 20518770, 'created_at': datetime.datetime(2025, 2, 13, 19, 18, 56), 'result': '0.030859527584233108', 'result_long': None, 'result_double': None}] Qualite : 0.030859527584233108 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20518770 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20518770_13-02-2025_19_18_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20518770 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20518770_13-02-2025_19_18_57.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20518773, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20518774, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20518775, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20518776, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20518777, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20518778, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20518779, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20518780, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20518781, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20518782, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20518783, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20518784, 'pht': 3726}}" where mtr_portfolio_id = 20518770 and dashboard_run_id = 1610282 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20518770 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8883632, 0.030859527584233108, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20518770_13-02-2025_19_18_57.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20518773, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20518774, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20518775, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20518776, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20518777, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20518778, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20518779, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20518780, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20518781, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20518782, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20518783, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20518784, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20519099 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2583607, 'mtr_portfolio_id': 20519099, 'created_at': datetime.datetime(2025, 2, 13, 19, 32, 57), 'result': '0.035307397548649776', 'result_long': None, 'result_double': None}] Qualite : 0.035307397548649776 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20519099 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20519099_13-02-2025_19_32_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20519099 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20519099_13-02-2025_19_32_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20519154, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20519155, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20519156, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20519157, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20519158, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20519159, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20519160, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20519161, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20519162, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20519163, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20519164, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20519165, 'pht': 3726}}" where mtr_portfolio_id = 20519099 and dashboard_run_id = 1610282 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20519099 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8883633, 0.035307397548649776, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20519099_13-02-2025_19_32_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20519154, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20519155, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20519156, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20519157, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20519158, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20519159, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20519160, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20519161, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20519162, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20519163, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20519164, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20519165, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20519720 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2583647, 'mtr_portfolio_id': 20519720, 'created_at': datetime.datetime(2025, 2, 13, 19, 49), 'result': '0.04952752108862068', 'result_long': None, 'result_double': None}] Qualite : 0.04952752108862068 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20519720 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20519720_13-02-2025_19_49_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20519720 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20519720_13-02-2025_19_49_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20519747, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20519748, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20519749, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20519750, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20519751, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20519752, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20519753, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20519754, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20519755, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20519756, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20519757, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20519758, 'pht': 3726}}" where mtr_portfolio_id = 20519720 and dashboard_run_id = 1610282 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20519720 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8883634, 0.04952752108862068, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20519720_13-02-2025_19_49_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20519747, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20519748, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20519749, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20519750, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20519751, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20519752, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20519753, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20519754, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20519755, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20519756, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20519757, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20519758, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20520504 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2583701, 'mtr_portfolio_id': 20520504, 'created_at': datetime.datetime(2025, 2, 13, 20, 2, 30), 'result': '0.04188485069919321', 'result_long': None, 'result_double': None}] Qualite : 0.04188485069919321 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20520504 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20520504_13-02-2025_20_02_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20520504 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20520504_13-02-2025_20_02_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20520508, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20520509, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20520510, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20520511, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20520512, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20520513, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20520514, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20520515, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20520516, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20520517, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20520518, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20520519, 'pht': 3726}}" where mtr_portfolio_id = 20520504 and dashboard_run_id = 1610282 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20520504 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8883635, 0.04188485069919321, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20520504_13-02-2025_20_02_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20520508, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20520509, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20520510, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20520511, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20520512, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20520513, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20520514, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20520515, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20520516, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20520517, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20520518, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20520519, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20520906 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2583743, 'mtr_portfolio_id': 20520906, 'created_at': datetime.datetime(2025, 2, 13, 20, 17, 1), 'result': '0.04559781867744478', 'result_long': None, 'result_double': None}] Qualite : 0.04559781867744478 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20520906 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20520906_13-02-2025_20_17_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20520906 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20520906_13-02-2025_20_17_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20520913, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20520914, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20520915, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20520916, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20520917, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20520918, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20520919, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20520920, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20520921, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20520922, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20520923, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20520924, 'pht': 3726}}" where mtr_portfolio_id = 20520906 and dashboard_run_id = 1610282 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20520906 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8883636, 0.04559781867744478, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20520906_13-02-2025_20_17_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20520913, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20520914, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20520915, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20520916, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20520917, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20520918, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20520919, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20520920, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20520921, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20520922, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20520923, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20520924, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20521634 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2583797, 'mtr_portfolio_id': 20521634, 'created_at': datetime.datetime(2025, 2, 13, 20, 32, 57), 'result': '0.03399175674803764', 'result_long': None, 'result_double': None}] Qualite : 0.03399175674803764 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20521634 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20521634_13-02-2025_20_32_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20521634 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20521634_13-02-2025_20_32_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20521664, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20521665, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20521666, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20521667, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20521668, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20521669, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20521670, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20521671, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20521672, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20521673, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20521674, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20521675, 'pht': 3726}}" where mtr_portfolio_id = 20521634 and dashboard_run_id = 1610282 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20521634 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8883637, 0.03399175674803764, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20521634_13-02-2025_20_32_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20521664, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20521665, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20521666, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20521667, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20521668, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20521669, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20521670, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20521671, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20521672, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20521673, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20521674, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20521675, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20522165 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2583838, 'mtr_portfolio_id': 20522165, 'created_at': datetime.datetime(2025, 2, 13, 21, 6, 59), 'result': '0.04319953371971354', 'result_long': None, 'result_double': None}] Qualite : 0.04319953371971354 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20522165 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20522165_13-02-2025_21_07_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20522165 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20522165_13-02-2025_21_07_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20522215, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20522216, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20522217, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20522218, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20522219, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20522220, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20522221, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20522222, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20522223, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20522224, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20522225, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20522226, 'pht': 3726}}" where mtr_portfolio_id = 20522165 and dashboard_run_id = 1610282 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20522165 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8883638, 0.04319953371971354, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20522165_13-02-2025_21_07_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20522215, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20522216, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20522217, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20522218, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20522219, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20522220, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20522221, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20522222, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20522223, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20522224, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20522225, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20522226, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20523051 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2583916, 'mtr_portfolio_id': 20523051, 'created_at': datetime.datetime(2025, 2, 13, 21, 17, 1), 'result': '0.025984617067368848', 'result_long': None, 'result_double': None}] Qualite : 0.025984617067368848 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20523051 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20523051_13-02-2025_21_17_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20523051 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20523051_13-02-2025_21_17_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20523054, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20523055, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20523056, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20523057, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20523058, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20523059, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20523060, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20523061, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20523062, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20523063, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20523064, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20523065, 'pht': 3726}}" where mtr_portfolio_id = 20523051 and dashboard_run_id = 1610282 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20523051 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8883639, 0.025984617067368848, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20523051_13-02-2025_21_17_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20523054, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20523055, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20523056, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20523057, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20523058, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20523059, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20523060, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20523061, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20523062, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20523063, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20523064, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20523065, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20523199 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2583932, 'mtr_portfolio_id': 20523199, 'created_at': datetime.datetime(2025, 2, 13, 21, 52, 59), 'result': '0.03956646875020772', 'result_long': None, 'result_double': None}] Qualite : 0.03956646875020772 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20523199 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20523199_13-02-2025_21_52_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20523199 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20523199_13-02-2025_21_52_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20523203, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20523204, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20523205, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20523206, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20523207, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20523208, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20523209, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20523210, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20523211, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20523212, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20523213, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20523214, 'pht': 3726}}" where mtr_portfolio_id = 20523199 and dashboard_run_id = 1610282 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20523199 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8883640, 0.03956646875020772, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20523199_13-02-2025_21_52_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20523203, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20523204, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20523205, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20523206, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20523207, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20523208, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20523209, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20523210, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20523211, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20523212, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20523213, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20523214, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20524003 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2583990, 'mtr_portfolio_id': 20524003, 'created_at': datetime.datetime(2025, 2, 13, 22, 2, 59), 'result': '0.04956352137158782', 'result_long': None, 'result_double': None}] Qualite : 0.04956352137158782 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20524003 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20524003_13-02-2025_22_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20524003 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20524003_13-02-2025_22_02_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20524005, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20524006, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20524007, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20524008, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20524009, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20524010, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20524011, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20524012, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20524013, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20524014, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20524015, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20524016, 'pht': 3726}}" where mtr_portfolio_id = 20524003 and dashboard_run_id = 1610282 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20524003 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8883641, 0.04956352137158782, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20524003_13-02-2025_22_02_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20524005, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20524006, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20524007, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20524008, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20524009, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20524010, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20524011, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20524012, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20524013, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20524014, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20524015, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20524016, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20524409 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2584082, 'mtr_portfolio_id': 20524409, 'created_at': datetime.datetime(2025, 2, 13, 22, 16, 30), 'result': '0.03963416211849185', 'result_long': None, 'result_double': None}] Qualite : 0.03963416211849185 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20524409 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20524409_13-02-2025_22_16_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20524409 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20524409_13-02-2025_22_16_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20524412, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20524413, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20524414, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20524415, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20524416, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20524417, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20524418, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20524419, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20524420, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20524421, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20524422, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20524423, 'pht': 3726}}" where mtr_portfolio_id = 20524409 and dashboard_run_id = 1610282 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20524409 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8883642, 0.03963416211849185, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20524409_13-02-2025_22_16_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20524412, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20524413, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20524414, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20524415, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20524416, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20524417, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20524418, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20524419, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20524420, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20524421, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20524422, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20524423, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20524841 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2584114, 'mtr_portfolio_id': 20524841, 'created_at': datetime.datetime(2025, 2, 13, 22, 33, 29), 'result': '0.05749399874969437', 'result_long': None, 'result_double': None}] Qualite : 0.05749399874969437 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20524841 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20524841_13-02-2025_22_33_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20524841 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20524841_13-02-2025_22_33_29.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20524844, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20524845, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20524846, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20524847, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20524848, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20524849, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20524850, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20524851, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20524852, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20524853, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20524854, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20524855, 'pht': 3726}}" where mtr_portfolio_id = 20524841 and dashboard_run_id = 1610282 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20524841 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8883643, 0.05749399874969437, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20524841_13-02-2025_22_33_29.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20524844, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20524845, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20524846, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20524847, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20524848, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20524849, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20524850, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20524851, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20524852, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20524853, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20524854, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20524855, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20525286 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2584141, 'mtr_portfolio_id': 20525286, 'created_at': datetime.datetime(2025, 2, 13, 22, 46, 56), 'result': '0.059493555636541476', 'result_long': None, 'result_double': None}] Qualite : 0.059493555636541476 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20525286 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20525286_13-02-2025_22_46_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20525286 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20525286_13-02-2025_22_46_57.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20525291, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20525292, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20525293, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20525294, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20525295, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20525296, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20525297, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20525298, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20525299, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20525300, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20525301, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20525302, 'pht': 3726}}" where mtr_portfolio_id = 20525286 and dashboard_run_id = 1610282 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20525286 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8883644, 0.059493555636541476, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20525286_13-02-2025_22_46_57.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20525291, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20525292, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20525293, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20525294, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20525295, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20525296, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20525297, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20525298, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20525299, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20525300, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20525301, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20525302, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20526127 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2584186, 'mtr_portfolio_id': 20526127, 'created_at': datetime.datetime(2025, 2, 13, 23, 2, 58), 'result': '0.04590287569442672', 'result_long': None, 'result_double': None}] Qualite : 0.04590287569442672 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20526127 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20526127_13-02-2025_23_02_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20526127 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20526127_13-02-2025_23_02_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20526130, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20526131, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20526132, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20526133, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20526134, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20526135, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20526136, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20526137, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20526138, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20526139, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20526140, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20526141, 'pht': 3726}}" where mtr_portfolio_id = 20526127 and dashboard_run_id = 1610282 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20526127 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8883645, 0.04590287569442672, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20526127_13-02-2025_23_02_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20526130, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20526131, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20526132, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20526133, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20526134, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20526135, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20526136, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20526137, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20526138, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20526139, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20526140, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20526141, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20526558 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2584220, 'mtr_portfolio_id': 20526558, 'created_at': datetime.datetime(2025, 2, 13, 23, 19, 29), 'result': '0.0431418347256479', 'result_long': None, 'result_double': None}] Qualite : 0.0431418347256479 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20526558 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20526558_13-02-2025_23_19_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20526558 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20526558_13-02-2025_23_19_29.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20526560, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20526561, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20526562, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20526563, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20526564, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20526565, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20526566, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20526567, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20526568, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20526569, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20526570, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20526571, 'pht': 3726}}" where mtr_portfolio_id = 20526558 and dashboard_run_id = 1610282 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20526558 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8883646, 0.0431418347256479, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20526558_13-02-2025_23_19_29.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20526560, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20526561, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20526562, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20526563, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20526564, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20526565, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20526566, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20526567, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20526568, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20526569, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20526570, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20526571, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20526995 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2584256, 'mtr_portfolio_id': 20526995, 'created_at': datetime.datetime(2025, 2, 13, 23, 33), 'result': '0.04480899892960075', 'result_long': None, 'result_double': None}] Qualite : 0.04480899892960075 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20526995 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20526995_13-02-2025_23_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20526995 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20526995_13-02-2025_23_33_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20527039, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20527040, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20527041, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20527042, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20527043, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20527044, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20527045, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20527046, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20527047, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20527048, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20527049, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20527050, 'pht': 3726}}" where mtr_portfolio_id = 20526995 and dashboard_run_id = 1610282 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20526995 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8883647, 0.04480899892960075, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20526995_13-02-2025_23_33_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20527039, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20527040, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20527041, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20527042, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20527043, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20527044, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20527045, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20527046, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20527047, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20527048, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20527049, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20527050, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20527820 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2584303, 'mtr_portfolio_id': 20527820, 'created_at': datetime.datetime(2025, 2, 13, 23, 48, 56), 'result': '0.06451756633204798', 'result_long': None, 'result_double': None}] Qualite : 0.06451756633204798 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20527820 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20527820_13-02-2025_23_48_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20527820 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20527820_13-02-2025_23_48_57.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20527878, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20527879, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20527880, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20527881, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20527882, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20527883, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20527884, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20527885, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20527886, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20527887, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20527888, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20527889, 'pht': 3726}}" where mtr_portfolio_id = 20527820 and dashboard_run_id = 1610282 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20527820 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8883648, 0.06451756633204798, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20527820_13-02-2025_23_48_57.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20527878, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20527879, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20527880, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20527881, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20527882, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20527883, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20527884, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20527885, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20527886, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20527887, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20527888, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20527889, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20528257 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2584333, 'mtr_portfolio_id': 20528257, 'created_at': datetime.datetime(2025, 2, 14, 4, 25, 59), 'result': '0.04214211821449696', 'result_long': None, 'result_double': None}] Qualite : 0.04214211821449696 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20528257 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20528257_14-02-2025_04_25_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528257 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20528257_14-02-2025_04_25_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20528335, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20528336, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20528337, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20528338, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20528339, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20528340, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20528341, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20528342, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20528343, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20528344, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20528345, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20528346, 'pht': 3726}}" where mtr_portfolio_id = 20528257 and dashboard_run_id = 1610282 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20528257 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8883649, 0.04214211821449696, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20528257_14-02-2025_04_25_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20528335, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20528336, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20528337, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20528338, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20528339, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20528340, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20528341, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20528342, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20528343, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20528344, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20528345, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20528346, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20496702,20496893,20497229,20497769,20498225,20498729,20499230,20499537,20500137,20500514,20501204,20501611,20502251,20502819,20503438,20504018,20507322,20507586,20508054,20508612,20508913,20509635,20510094,20510922,20511266,20511878,20512359,20513169,20513944,20514464,20514902,20516593,20516902,20517393,20518029,20518770,20519099,20519720,20520504,20520906,20521634,20522165,20523051,20523199,20524003,20524409,20524841,20525286,20526127,20526558,20526995,20527820,20528257) result : ((1337269028,), (1337270069,), (1337270603,), (1337271192,), (1337271215,), (1337271241,), (1337271374,), (1337271398,), (1337271401,), (1337271428,), (1337271430,), (1337271455,), (1337271457,), (1337271475,), (1337271516,), (1337271534,), (1337271990,), (1337272064,), (1337272087,), (1337272088,), (1337272089,), (1337272415,), (1337272416,), (1337272474,), (1337272564,), (1337272565,), (1337272566,), (1337272576,), (1337272653,), (1337272654,), (1337272655,), (1337272659,), (1337272662,), (1337272699,), (1337272700,), (1337272725,), (1337272727,), (1337272729,), (1337272757,), (1337272759,), (1337272761,), (1337272789,), (1337272791,), (1337272792,), (1337272799,), (1337272803,), (1337272805,), (1337272823,), (1337272824,), (1337272825,), (1337272849,), (1337272850,), (1337272852,), (1337272857,), (1337272867,), (1337272882,), (1337273155,), (1337273000,), (1337273079,), (1337273081,), (1337273083,), (1337273138,), (1337273293,), (1337273356,), (1337273357,), (1337273387,), (1337273388,), (1337273389,), (1337273390,), (1337273395,), (1337273427,), (1337273429,), (1337273432,), (1337273434,), (1337273437,), (1337273462,), (1337273464,), (1337273467,), (1337273515,), (1337273526,), (1337273536,), (1337273537,), (1337273539,), (1337273650,), (1337273651,), (1337273652,), (1337273656,), (1337273658,), (1337273660,), (1337273681,), (1337273682,), (1337273683,), (1337273686,), (1337273717,), (1337273718,), (1337273719,), (1337273721,), (1337273724,), (1337273726,), (1337273744,), (1337273745,), (1337273748,), (1337273756,), (1337273759,), (1337273790,), (1337273791,), (1337273792,), (1337273793,), (1337273795,), (1337274102,), (1337274173,), (1337274245,), (1337274316,), (1337274455,), (1337274880,), (1337274881,), (1337274882,), (1337274883,), (1337274885,), (1337274887,), (1337275036,), (1337275085,), (1337275155,), (1337275218,), (1337275476,), (1337275478,), (1337275483,), (1337275490,), (1337275493,), (1337275981,), (1337275644,), (1337275710,), (1337275824,), (1337275877,), (1337275948,), (1337276435,), (1337276469,), (1337276531,), (1337276693,), (1337276695,), (1337276697,), (1337276715,), (1337276723,), (1337276728,), (1337276754,), (1337276758,), (1337276760,), (1337276763,), (1337276766,), (1337276772,), (1337276780,), (1337276782,), (1337276784,), (1337276802,), (1337276803,), (1337276804,), (1337276805,), (1337276807,), (1337276809,), (1337277164,), (1337277238,), (1337277315,), (1337277855,), (1337277856,), (1337277857,), (1337277860,), (1337277864,), (1337277878,), (1337278077,), (1337278137,), (1337278221,), (1337278272,), (1337278277,), (1337278563,), (1337278571,), (1337278573,), (1337278582,), (1337278590,), (1337278744,), (1337278817,), (1337278858,), (1337278914,), (1337279051,), (1337279058,), (1337279065,), (1337279068,), (1337279070,), (1337279073,), (1337279085,), (1337279093,), (1337279095,), (1337279097,), (1337279100,), (1337279103,), (1337279116,), (1337279120,), (1337279124,), (1337279128,), (1337279140,), (1337279152,), (1337279154,), (1337279155,), (1337279156,), (1337279157,), (1337279159,), (1337279161,), (1337279164,), (1337279165,), (1337279168,), (1337279186,), (1337279175,), (1337279177,), (1337279180,), (1337279182,), (1337279234,), (1337279237,), (1337279239,), (1337279246,), (1337279250,), (1337279253,), (1337279268,), (1337279271,), (1337279273,), (1337279288,), (1337279293,), (1337279295,), (1337279298,), (1337279301,), (1337279303,), (1337280085,), (1337280087,), (1337280090,), (1337280092,), (1337280370,), (1337280408,), (1337280415,), (1337280417,), (1337280420,), (1337280433,), (1337280435,), (1337280437,), (1337280439,), (1337280441,), (1337280444,), (1337280460,), (1337280463,), (1337280467,), (1337280469,), (1337280472,), (1337280497,), (1337280499,), (1337280501,), (1337280503,), (1337280506,), (1337280507,), (1337280533,), (1337280534,), (1337280535,), (1337280536,), (1337280538,), (1337280578,), (1337280579,), (1337280580,), (1337280581,), (1337280582,), (1337280602,), (1337280603,), (1337280607,), (1337280613,), (1337280614,), (1337280752,), (1337280822,), (1337280892,), (1337280896,), (1337280897,), (1337280924,), (1337280925,), (1337280926,), (1337280927,), (1337280928,), (1337280950,), (1337280952,), (1337280953,), (1337280954,), (1337280955,), (1337280998,), (1337280983,), (1337280996,), (1337280997,), (1337281321,), (1337281322,), (1337281323,), (1337281324,), (1337281325,), (1337281327,), (1337281345,), (1337281346,), (1337281347,), (1337281348,), (1337281384,), (1337281385,), (1337281386,), (1337281405,), (1337281406,), (1337281444,), (1337281446,), (1337281448,), (1337281450,), (1337281471,), (1337281472,), (1337281473,), (1337281474,), (1337281475,), (1337281477,), (1337281821,), (1337281828,), (1337281886,), (1337281890,), (1337281912,), (1337281952,), (1337281954,), (1337281956,), (1337281958,), (1337281961,), (1337281963,), (1337281975,), (1337281977,), (1337281979,), (1337281981,), (1337282006,), (1337282008,), (1337282009,), (1337282011,), (1337282020,), (1337282026,), (1337282038,), (1337282040,), (1337282042,), (1337282044,), (1337282047,), (1337282066,), (1337282078,), (1337282085,), (1337282088,), (1337282091,), (1337282094,), (1337282104,), (1337282106,), (1337282108,), (1337282126,), (1337282128,), (1337282132,), (1337282134,), (1337282140,), (1337282152,), (1337282606,), (1337282602,), (1337282603,), (1337282620,), (1337282622,), (1337282625,), (1337282628,), (1337282638,), (1337282644,), (1337282657,), (1337282659,), (1337282661,), (1337282663,), (1337282680,), (1337282682,), (1337282684,), (1337282686,), (1337282699,), (1337282704,), (1337282706,), (1337282710,), (1337282713,), (1337282716,), (1337282729,), (1337282731,), (1337282733,), (1337282745,), (1337282748,), (1337282803,), (1337282863,), (1337282897,), (1337282913,), (1337282915,), (1337282921,), (1337282928,), (1337282931,), (1337282933,), (1337282944,), (1337282951,), (1337283007,), (1337283037,), (1337283102,), (1337283457,), (1337283458,), (1337283459,), (1337283460,), (1337283773,), (1337283782,), (1337284292,), (1337284857,), (1337284845,), (1337284846,), (1337284847,), (1337284848,), (1337284850,), (1337285136,), (1337285142,), (1337285146,), (1337285412,), (1337285413,), (1337285414,), (1337285436,), (1337285438,), (1337285439,), (1337285440,), (1337285442,), (1337285852,), (1337285969,), (1337286097,), (1337286223,), (1337286302,), (1337286303,), (1337286336,), (1337286337,), (1337286338,), (1337286468,), (1337286875,), (1337286876,), (1337286877,), (1337286878,), (1337286880,), (1337286882,), (1337286899,), (1337286901,), (1337286904,), (1337286906,), (1337286909,), (1337286944,), (1337286946,), (1337286948,), (1337286950,), (1337286966,), (1337286968,), (1337286970,), (1337286972,), (1337286975,), (1337286978,), (1337286993,), (1337286995,), (1337287010,), (1337287014,), (1337287041,), (1337287043,), (1337287045,), (1337287047,), (1337287081,), (1337287083,), (1337287085,), (1337287089,), (1337287093,), (1337287097,), (1337287141,), (1337287145,), (1337287149,), (1337287188,), (1337287176,), (1337287180,), (1337287183,), (1337287185,), (1337287203,), (1337287214,), (1337287221,), (1337287227,), (1337287815,), (1337287884,), (1337287958,), (1337288041,), (1337288070,), (1337288072,), (1337288085,), (1337288087,), (1337288090,), (1337288093,), (1337288095,), (1337288481,), (1337288486,), (1337288489,), (1337288492,), (1337288501,), (1337288505,), (1337288777,), (1337288788,), (1337288902,), (1337288922,), (1337289019,), (1337289406,), (1337289479,), (1337289544,), (1337289583,), (1337289593,), (1337289598,), (1337289807,), (1337289828,), (1337289885,), (1337289887,), (1337289913,), (1337289916,), (1337290038,), (1337290040,), (1337290044,), (1337290046,), (1337290074,), (1337290080,), (1337290084,), (1337290090,), (1337290096,), (1337290100,), (1337290113,), (1337290114,), (1337290115,), (1337290152,), (1337290155,), (1337290159,), (1337290164,), (1337290169,), (1337290172,), (1337290189,), (1337290192,), (1337290196,), (1337290199,), (1337290213,), (1337290216,), (1337290220,), (1337290224,), (1337290228,), (1337290230,), (1337290252,), (1337290258,), (1337290301,), (1337290304,), (1337290308,), (1337290310,), (1337290312,), (1337290313,), (1337290343,), (1337290348,), (1337290358,), (1337290360,), (1337290110,), (1337290111,), (1337290112,), (1337290120,), (1337290124,), (1337290130,), (1337290136,), (1337290142,), (1337290148,), (1337290184,), (1337290186,), (1337290244,), (1337290245,), (1337290247,), (1337290250,), (1337290276,), (1337290279,), (1337290282,), (1337290285,), (1337290287,), (1337290291,), (1337290328,), (1337290333,), (1337290336,), (1337290340,), (1337290367,), (1337290370,), (1337290374,), (1337290378,), (1337290381,), (1337290385,), (1337290423,), (1337290442,), (1337290445,), (1337290448,), (1337290455,), (1337290464,), (1337290526,), (1337290529,), (1337290533,), (1337290587,), (1337290598,), (1337290603,), (1337290616,), (1337290620,), (1337290623,), (1337291239,), (1337291330,), (1337291414,), (1337291501,), (1337291591,), (1337291598,), (1337291622,), (1337292735,), (1337292737,), (1337293869,), (1337293597,), (1337293779,), (1337294079,), (1337294083,), (1337294087,), (1337294090,), (1337294094,), (1337294095,), (1337294119,), (1337294121,), (1337294168,), (1337294173,), (1337294208,), (1337294210,), (1337294214,), (1337294218,), (1337294373,), (1337294375,), (1337294378,), (1337294382,), (1337294385,), (1337294389,), (1337294414,), (1337294419,), (1337294424,), (1337294429,), (1337294460,), (1337294462,), (1337294465,), (1337294468,), (1337294471,), (1337294508,), (1337294510,), (1337294512,), (1337294515,), (1337294519,), (1337294676,), (1337294679,), (1337294682,), (1337294732,), (1337294734,), (1337294737,), (1337294740,), (1337294761,), (1337294763,), (1337294768,), (1337294771,), (1337294814,), (1337294817,), (1337294820,), (1337294826,), (1337294867,), (1337294872,), (1337294875,), (1337294957,), (1337294901,), (1337294903,), (1337294906,), (1337295049,), (1337295052,), (1337295061,), (1337295066,), (1337295068,), (1337295072,), (1337295476,), (1337295538,), (1337295553,), (1337295565,), (1337295609,), (1337295612,), (1337295614,), (1337295617,), (1337295679,), (1337295682,), (1337295685,), (1337295686,), (1337295690,), (1337295793,), (1337295796,), (1337295800,), (1337295802,), (1337295833,), (1337295835,), (1337295837,), (1337295840,), (1337295844,), (1337295847,), (1337296010,), (1337296061,), (1337296064,), (1337296067,), (1337296086,), (1337296089,), (1337296093,), (1337296097,), (1337296120,), (1337296123,), (1337296126,), (1337296129,), (1337296132,), (1337296141,), (1337296162,), (1337296164,), (1337296168,), (1337296196,), (1337296199,), (1337296203,), (1337296207,), (1337296237,), (1337296241,), (1337296247,), (1337296255,), (1337296263,), (1337296268,), (1337296452,), (1337296441,), (1337296444,), (1337296448,), (1337296490,), (1337296493,), (1337296497,), (1337296501,), (1337296505,), (1337296521,), (1337296524,), (1337296528,), (1337296532,), (1337296560,), (1337296563,), (1337296565,), (1337296566,), (1337296568,), (1337296572,), (1337297332,), (1337297334,), (1337297335,), (1337297337,), (1337297341,), (1337297361,), (1337297635,), (1337297637,), (1337297640,), (1337297680,), (1337297682,), (1337297685,), (1337297712,), (1337297715,), (1337297718,), (1337297721,), (1337297725,), (1337297765,), (1337297767,), (1337297801,), (1337297803,), (1337297812,), (1337297813,), (1337297817,), (1337297821,), (1337297864,), (1337297869,), (1337297871,), (1337297874,), (1337297904,), (1337297905,), (1337297907,), (1337298187,), (1337298064,), (1337298088,), (1337298090,), (1337298093,), (1337298298,), (1337298305,), (1337298308,), (1337298311,), (1337298316,), (1337298324,), (1337298556,), (1337298558,), (1337298561,), (1337298564,), (1337298566,), (1337298628,), (1337298631,), (1337298662,), (1337298744,), (1337298775,), (1337298778,), (1337299138,), (1337299153,), (1337299190,), (1337299223,), (1337299225,), (1337299229,), (1337299428,), (1337299513,), (1337299516,), (1337299566,), (1337299568,), (1337299571,), (1337299633,), (1337299647,), (1337299780,), (1337299783,), (1337299787,), (1337299970,), (1337300001,), (1337300004,), (1337300007,), (1337300048,), (1337300054,), (1337300075,), (1337300083,), (1337300153,), (1337300139,), (1337300141,), (1337300145,), (1337300149,), (1337300184,), (1337300185,), (1337300187,), (1337300190,), (1337300193,), (1337300219,), (1337300220,), (1337300222,), (1337300886,), (1337300889,), (1337300897,), (1337300942,), (1337301016,), (1337301018,), (1337301023,), (1337301051,), (1337301052,), (1337301054,), (1337301266,), (1337301267,), (1337301269,), (1337301291,), (1337301316,), (1337301317,), (1337301319,), (1337301350,), (1337301351,), (1337301353,), (1337301355,), (1337301382,), (1337301383,), (1337301494,), (1337303087,), (1337303218,), (1337303237,), (1337303453,), (1337303454,), (1337303456,), (1337303469,), (1337303471,), (1337303483,), (1337303514,), (1337303515,), (1337303517,), (1337303519,), (1337303521,), (1337303523,), (1337303543,), (1337303545,), (1337303547,), (1337303586,), (1337303811,), (1337303813,), (1337303815,), (1337303816,), (1337303818,), (1337303820,), (1337303919,), (1337303920,), (1337303925,), (1337303929,), (1337303973,), (1337303974,), (1337303976,), (1337303977,), (1337303980,), (1337303986,), (1337304039,), (1337304063,), (1337304065,), (1337304075,), (1337304176,), (1337304182,), (1337304193,), (1337304248,), (1337304252,), (1337304278,), (1337304289,), (1337304293,), (1337304298,), (1337304302,), (1337362904,), (1337363025,), (1337363058,), (1337364547,), (1337364599,), (1337364606,), (1337364611,), (1337364682,), (1337364684,), (1337364687,), (1337364690,), (1337364694,), (1337364773,), (1337364776,), (1337364780,), (1337364783,), (1337364787,), (1337364820,), (1337365566,), (1337365569,), (1337365573,), (1337366029,), (1337366044,), (1337366048,), (1337366051,), (1337366055,), (1337366411,), (1337366415,), (1337366420,), (1337366424,), (1337366430,), (1337366436,), (1337366444,), (1337366458,), (1337366494,), (1337366480,), (1337366484,), (1337366487,), (1337366489,), (1337366689,), (1337366693,), (1337366697,), (1337366699,), (1337366702,), (1337366706,), (1337367046,), (1337367211,), (1337367240,), (1337367246,), (1337367251,), (1337367433,), (1337367435,), (1337367438,), (1337367484,), (1337367488,), (1337367492,), (1337367498,), (1337367501,), (1337367505,), (1337367561,), (1337367565,), (1337367574,), (1337367579,), (1337367582,), (1337367586,), (1337367601,), (1337367603,), (1337367607,), (1337367828,), (1337367832,), (1337367836,), (1337367843,), (1337367909,), (1337367994,), (1337368078,), (1337368171,), (1337368266,), (1337369267,), (1337369271,), (1337369275,), (1337369280,), (1337369320,), (1337369323,), (1337369328,), (1337369332,), (1337369593,), (1337369684,), (1337369781,), (1337369868,), (1337369930,), (1337369944,), (1337370111,), (1337370143,), (1337370381,), (1337370471,), (1337370479,), (1337370489,), (1337370496,), (1337370500,), (1337370601,), (1337370553,), (1337370557,), (1337370564,), (1337370568,), (1337370588,), (1337370633,), (1337370637,), (1337370642,), (1337370646,), (1337370867,), (1337370869,), (1337370873,), (1337370876,), (1337370880,), (1337370884,), (1337371862,), (1337371913,), (1337371921,), (1337372308,), (1337372331,), (1337372420,), (1337372443,), (1337372446,), (1337372464,), (1337372499,), (1337372501,), (1337372505,), (1337372508,), (1337372512,), (1337372593,), (1337372595,), (1337372599,), (1337372603,), (1337372656,), (1337372659,), (1337372671,), (1337372675,), (1337372679,), (1337372681,), (1337372708,), (1337372711,), (1337372715,), (1337372717,), (1337372738,), (1337372740,), (1337372819,), (1337372822,), (1337372831,), (1337372834,), (1337372863,), (1337372866,), (1337372869,), (1337372872,), (1337372874,), (1337372879,), (1337372953,), (1337373042,), (1337373141,), (1337373236,), (1337373340,), (1337373440,), (1337373717,), (1337376707,), (1337377206,), (1337377212,), (1337377215,), (1337377219,), (1337377245,), (1337378072,), (1337378140,), (1337378190,), (1337378591,), (1337378598,), (1337378602,), (1337378707,), (1337378790,), (1337378881,), (1337378992,), (1337379037,), (1337379154,), (1337379159,), (1337379163,), (1337379166,), (1337379168,), (1337379480,), (1337379483,), (1337379487,), (1337379490,), (1337379518,), (1337379527,), (1337379529,), (1337379533,), (1337379538,), (1337379567,), (1337379570,), (1337379573,), (1337379611,), (1337379615,), (1337379737,), (1337379767,), (1337379823,), (1337379828,), (1337379833,), (1337379837,), (1337379841,), (1337379844,), (1337379905,), (1337379874,), (1337379879,), (1337379882,), (1337379887,), (1337379898,), (1337380102,), (1337380106,), (1337380111,), (1337380305,), (1337380309,), (1337380313,), (1337380321,), (1337380328,), (1337380331,), (1337380354,), (1337380357,), (1337380363,), (1337380367,), (1337380370,), (1337380393,), (1337380548,), (1337380551,), (1337380554,), (1337380558,), (1337380712,), (1337380880,), (1337380967,), (1337381036,), (1337381114,), (1337381278,), (1337381281,), (1337381300,), (1337381303,), (1337381586,), (1337381653,), (1337381720,), (1337381721,), (1337381728,), (1337381780,), (1337381870,), (1337381948,), (1337382070,), (1337382073,), (1337382082,), (1337382091,), (1337382134,), (1337382143,), (1337382175,), (1337382179,), (1337382184,), (1337382191,), (1337382196,), (1337382221,), (1337382359,), (1337382363,), (1337382369,), (1337382371,), (1337382375,), (1337382522,), (1337382540,), (1337382547,), (1337382569,), (1337382572,), (1337382576,), (1337383506,), (1337383503,), (1337385371,), (1337385374,), (1337385377,), (1337385380,), (1337385384,), (1337385532,), (1337385831,), (1337385843,), (1337386011,), (1337386013,), (1337386016,), (1337386019,), (1337386182,), (1337386439,), (1337386974,), (1337386976,), (1337387201,), (1337387364,), (1337387368,), (1337387382,), (1337387386,), (1337387390,), (1337387628,), (1337387643,), (1337387651,), (1337387653,), (1337387656,), (1337387688,), (1337387690,), (1337387700,), (1337387716,), (1337387763,), (1337387765,), (1337387768,), (1337387805,), (1337387823,), (1337387897,), (1337387952,), (1337387992,), (1337388014,), (1337388017,), (1337388021,), (1337388025,), (1337388036,), (1337388039,), (1337388067,), (1337388069,), (1337388072,), (1337388076,), (1337388139,), (1337388121,), (1337388123,), (1337388127,), (1337388131,), (1337388136,), (1337388162,), (1337388165,), (1337388168,), (1337388226,), (1337388229,), (1337388232,), (1337388235,), (1337388239,), (1337388243,), (1337388280,), (1337388282,), (1337388285,), (1337388326,), (1337388328,), (1337388331,), (1337388334,), (1337388337,), (1337388340,), (1337388376,), (1337388509,), (1337388567,), (1337388855,), (1337389018,), (1337389262,), (1337389332,), (1337389403,), (1337389958,), (1337389962,), (1337389965,), (1337389968,), (1337389971,), (1337389996,), (1337390027,), (1337390156,), (1337390169,), (1337390212,), (1337390215,), (1337390219,), (1337390222,), (1337390256,), (1337390260,), (1337390264,), (1337390284,), (1337390435,), (1337390438,), (1337390442,), (1337390447,), (1337390452,), (1337390456,), (1337390477,), (1337390481,), (1337390505,), (1337390508,), (1337390512,), (1337391127,), (1337391124,), (1337391319,), (1337391321,), (1337391323,), (1337391905,), (1337391964,), (1337392015,), (1337392225,), (1337392230,), (1337392231,), (1337392865,), (1337392875,), (1337392876,), (1337392881,), (1337392884,), (1337392886,), (1337392905,), (1337392911,), (1337393255,), (1337393262,), (1337393263,), (1337393276,), (1337393325,), (1337393371,), (1337393407,), (1337393409,), (1337393412,), (1337393521,), (1337393522,), (1337393523,), (1337393532,), (1337393535,), (1337393540,), (1337393581,), (1337393592,), (1337393594,), (1337393595,), (1337393597,), (1337393649,), (1337393651,), (1337393655,), (1337393659,), (1337393662,), (1337393664,), (1337393711,), (1337393703,), (1337393705,), (1337393708,), (1337393747,), (1337393753,), (1337393756,), (1337393759,), (1337393806,), (1337393808,), (1337393811,), (1337393830,), (1337394149,), (1337394237,), (1337394241,), (1337394243,), (1337394322,), (1337394325,), (1337394328,), (1337394336,), (1337394338,), (1337394373,), (1337394374,), (1337394377,), (1337394380,), (1337394550,), (1337394553,), (1337394560,), (1337394563,), (1337394882,), (1337394887,), (1337394891,), (1337395038,), (1337395050,), (1337395056,), (1337395100,), (1337395103,), (1337395107,), (1337395111,), (1337395114,), (1337395137,), (1337395148,), (1337395152,), (1337395162,), (1337395165,), (1337395192,), (1337395195,), (1337395199,), (1337395203,), (1337395373,), (1337395376,), (1337395381,), (1337395384,), (1337395389,), (1337395392,), (1337395420,), (1337395427,), (1337395431,), (1337395436,), (1337395441,), (1337395445,), (1337395455,), (1337395457,), (1337395461,), (1337395533,), (1337395494,), (1337395497,), (1337395500,), (1337395503,), (1337396191,), (1337396296,), (1337396299,), (1337396302,), (1337396306,), (1337396334,), (1337396366,), (1337396562,), (1337396690,), (1337396694,), (1337396697,), (1337396699,), (1337396702,), (1337396741,), (1337396744,), (1337396747,), (1337396750,), (1337396753,), (1337396755,), (1337396782,), (1337396786,), (1337396788,), (1337396791,), (1337396819,), (1337396821,), (1337396826,), (1337396829,), (1337396833,), (1337396835,), (1337396865,), (1337396869,), (1337396882,), (1337396885,), (1337396890,), (1337396924,), (1337396928,), (1337396930,), (1337396932,), (1337396957,), (1337396959,), (1337396965,), (1337396968,), (1337396971,), (1337396975,), (1337397005,), (1337397016,), (1337397027,), (1337397031,), (1337397117,), (1337397122,), (1337397126,), (1337397129,), (1337397145,), (1337397712,), (1337397970,), (1337398159,), (1337398162,), (1337398164,), (1337398167,), (1337398188,), (1337398190,), (1337398193,), (1337398618,), (1337398620,), (1337398624,), (1337398630,), (1337398637,), (1337398640,), (1337398709,), (1337398668,), (1337398685,), (1337398693,), (1337398700,), (1337398706,), (1337398745,), (1337398748,), (1337398763,), (1337398936,), (1337398950,), (1337399022,), (1337399117,), (1337399128,), (1337399131,), (1337399167,), (1337399170,), (1337399178,), (1337399190,), (1337399196,), (1337399210,), (1337399260,), (1337399262,), (1337399265,), (1337399268,), (1337399323,), (1337399326,), (1337399329,), (1337399334,), (1337399349,), (1337399357,), (1337399385,), (1337399424,), (1337399427,), (1337399429,), (1337399451,), (1337399554,), (1337399557,), (1337399560,), (1337399563,), (1337399566,), (1337399575,), (1337399618,), (1337399621,), (1337399625,), (1337399629,), (1337399632,), (1337399650,), (1337399858,), (1337399861,), (1337399865,), (1337399914,), (1337399917,), (1337399921,), (1337399924,), (1337399927,), (1337399931,), (1337399948,), (1337399950,), (1337399953,), (1337399956,), (1337399960,), (1337399995,), (1337399997,), (1337400000,), (1337400003,), (1337400049,), (1337400059,), (1337400062,), (1337400064,), (1337400066,), (1337400070,), (1337400089,), (1337400092,), (1337400095,), (1337400098,), (1337400104,), (1337400106,), (1337400155,), (1337400132,), (1337400141,), (1337400144,), (1337400194,), (1337400201,), (1337400213,), (1337400216,), (1337400219,), (1337400267,), (1337400270,), (1337400273,), (1337400283,), (1337400285,), (1337400332,), (1337400334,), (1337400336,), (1337400340,), (1337400344,), (1337400918,), (1337400945,), (1337400948,), (1337400951,), (1337400958,), (1337400960,), (1337401160,), (1337401162,), (1337401163,), (1337401205,), (1337401212,), (1337401217,), (1337401219,), (1337401404,), (1337401406,), (1337401455,), (1337401457,), (1337401460,), (1337401463,), (1337401494,), (1337401495,), (1337401498,), (1337401501,), (1337401502,), (1337401529,), (1337401532,), (1337401535,), (1337401537,), (1337401538,), (1337401544,), (1337401566,), (1337401569,), (1337401573,), (1337401682,), (1337401598,), (1337401652,), (1337401670,), (1337401748,), (1337401751,), (1337401755,), (1337401761,), (1337401764,), (1337401767,), (1337401786,), (1337401789,), (1337401847,), (1337401850,), (1337401859,), (1337401863,), (1337401934,), (1337401938,), (1337401941,), (1337401944,), (1337401950,), (1337401953,), (1337401981,), (1337401988,), (1337402021,), (1337402023,), (1337402026,), (1337402030,), (1337402036,), (1337402042,), (1337402069,), (1337402071,), (1337402075,), (1337402077,), (1337402080,), (1337402083,), (1337402125,), (1337402127,), (1337402130,), (1337402133,), (1337402191,), (1337402196,), (1337402222,), (1337402239,), (1337402243,), (1337402260,), (1337402263,), (1337402267,), (1337402270,), (1337402275,), (1337402281,), (1337402307,), (1337402313,), (1337402315,), (1337402394,), (1337402399,), (1337402404,), (1337402407,), (1337402410,), (1337402459,), (1337402464,), (1337402469,), (1337402476,), (1337402484,), (1337402487,), (1337402549,), (1337402541,), (1337402545,), (1337402547,), (1337402598,), (1337402618,), (1337402621,), (1337402624,), (1337402628,), (1337402637,), (1337402659,), (1337402661,), (1337402664,), (1337402667,), (1337402690,), (1337402692,), (1337402695,), (1337402698,), (1337402699,), (1337402758,), (1337402766,), (1337402770,), (1337402852,), (1337402854,), (1337402858,), (1337402860,), (1337402864,), (1337402908,), (1337402963,), (1337403029,), (1337403051,), (1337403228,), (1337403229,), (1337403232,), (1337403245,), (1337403249,), (1337403273,), (1337403362,), (1337403378,), (1337403380,), (1337403391,), (1337403395,), (1337403404,), (1337403490,), (1337403491,), (1337403562,), (1337403564,), (1337403567,), (1337403570,), (1337403676,), (1337403762,), (1337403775,), (1337403778,), (1337403782,), (1337403784,), (1337403841,), (1337403843,), (1337403875,), (1337403878,), (1337403934,), (1337404008,), (1337404226,), (1337404211,), (1337404214,), (1337404218,), (1337404222,), (1337404369,), (1337404372,), (1337404375,), (1337404382,), (1337404407,), (1337404410,), (1337404414,), (1337404418,), (1337404422,), (1337404427,), (1337404519,), (1337404722,), (1337404921,), (1337405214,), (1337405217,), (1337405222,), (1337405226,), (1337405234,), (1337405616,), (1337405620,), (1337405630,), (1337405636,), (1337405658,), (1337405667,), (1337405717,), (1337405765,), (1337405846,), (1337406197,), (1337406200,), (1337406203,), (1337406207,), (1337406214,), (1337406231,), (1337406233,), (1337406237,), (1337406241,), (1337406245,), (1337406250,), (1337406274,), (1337406276,), (1337406280,), (1337406359,), (1337406364,), (1337406366,), (1337406368,), (1337406436,), (1337406443,), (1337406466,), (1337407322,), (1337411725,), (1337411732,), (1337411735,), (1337411787,), (1337412833,), (1337412836,), (1337412840,), (1337412843,), (1337412968,), (1337412970,), (1337412973,), (1337413139,), (1337413143,), (1337413147,), (1337413148,), (1337413151,), (1337413223,), (1337413226,), (1337413229,), (1337413231,), (1337413234,), (1337413301,), (1337413303,), (1337413320,), (1337413364,), (1337413369,), (1337413375,), (1337413395,), (1337413404,), (1337413408,), (1337413414,), (1337413419,), (1337413445,), (1337413454,), (1337413457,), (1337413461,), (1337413464,), (1337413484,), (1337413486,), (1337413489,), (1337413636,), (1337413639,), (1337413642,), (1337413646,), (1337413840,), (1337413743,), (1337413745,), (1337413783,), (1337413835,), (1337413879,), (1337413881,), (1337413884,), (1337413887,), (1337413891,), (1337413912,), (1337413914,), (1337413917,), (1337413921,), (1337413943,), (1337413946,), (1337413950,), (1337413954,), (1337413956,), (1337413989,), (1337413992,), (1337413995,), (1337413999,), (1337414005,), (1337414030,), (1337414045,), (1337414055,), (1337414060,), (1337414064,), (1337415039,), (1337415042,), (1337415046,), (1337415050,), (1337415053,), (1337415057,), (1337415072,), (1337415304,), (1337415394,), (1337415408,), (1337415537,), (1337415540,), (1337415543,), (1337415546,), (1337415551,), (1337415554,), (1337415569,), (1337415593,), (1337415596,), (1337415600,), (1337415675,), (1337415678,), (1337415682,), (1337415685,), (1337415690,), (1337415710,), (1337415713,), (1337415717,), (1337415720,), (1337415723,), (1337415743,), (1337415754,), (1337415759,), (1337415762,), (1337415790,), (1337415794,), (1337415798,), (1337415835,), (1337415842,), (1337415844,), (1337415848,), (1337415850,), (1337415976,), (1337415876,), (1337415880,), (1337415884,), (1337415888,), (1337415959,), (1337416082,), (1337416087,), (1337416090,), (1337416328,), (1337416331,), (1337416340,), (1337416388,), (1337416391,), (1337416395,), (1337416398,), (1337416404,), (1337416431,), (1337416434,), (1337416441,), (1337416449,), (1337416507,), (1337416510,), (1337416662,), (1337416763,), (1337417001,), (1337417009,), (1337417397,), (1337417399,), (1337417403,), (1337417407,), (1337417735,), (1337417751,), (1337417755,), (1337417759,), (1337417809,), (1337417821,), (1337417906,), (1337417908,), (1337417911,), (1337417914,), (1337417916,), (1337417919,), (1337417942,), (1337417943,), (1337417945,), (1337417947,), (1337417984,), (1337417986,), (1337417989,), (1337417991,), (1337417994,), (1337418022,), (1337418025,), (1337418028,), (1337418030,), (1337418031,), (1337418034,), (1337418058,), (1337418059,), (1337418063,), (1337418107,), (1337418109,), (1337418112,), (1337418115,), (1337418117,), (1337418139,), (1337418283,), (1337418285,), (1337418287,), (1337418337,), (1337418327,), (1337418329,), (1337418332,), (1337418541,), (1337418548,), (1337418587,), (1337418602,), (1337418607,), (1337418620,), (1337418723,), (1337418725,), (1337418729,), (1337418738,), (1337418792,), (1337418795,), (1337418822,), (1337418823,), (1337418869,), (1337418872,), (1337418876,), (1337418879,), (1337418883,), (1337418885,), (1337418908,), (1337418911,), (1337418915,), (1337418939,), (1337418941,), (1337418944,), (1337418948,), (1337418953,), (1337419015,), (1337419019,), (1337419023,), (1337419036,), (1337419041,), (1337419101,), (1337419110,), (1337419115,), (1337419128,), (1337419136,), (1337419139,), (1337419161,), (1337419164,), (1337419168,), (1337419319,), (1337419322,), (1337419328,), (1337419330,), (1337419334,), (1337419339,), (1337419380,), (1337419388,), (1337419392,), (1337419395,), (1337419399,), (1337419401,), (1337419796,), (1337419800,), (1337419804,), (1337419815,), (1337419820,), (1337419823,), (1337419824,), (1337419826,), (1337419893,), (1337419869,), (1337419887,), (1337419891,), (1337421180,), (1337421259,), (1337421368,), (1337422233,), (1337422235,), (1337422238,), (1337422241,), (1337422244,), (1337422668,), (1337422670,), (1337422673,), (1337422815,), (1337422817,), (1337422830,), (1337422833,), (1337422846,), (1337422864,), (1337422868,), (1337422871,), (1337422874,), (1337422894,), (1337422897,), (1337422900,), (1337422904,), (1337422909,), (1337422911,), (1337422927,), (1337422929,), (1337422932,), (1337422935,), (1337422940,), (1337423135,), (1337423138,), (1337423142,), (1337423157,), (1337423160,), (1337423184,), (1337423186,), (1337423189,), (1337423193,), (1337423547,), (1337423430,), (1337423480,), (1337423493,), (1337423497,), (1337423545,), (1337424186,), (1337424275,), (1337424361,), (1337424454,), (1337424693,), (1337424765,), (1337424856,), (1337424899,), (1337424989,), (1337424993,), (1337424997,), (1337425005,), (1337425008,), (1337425396,), (1337425400,), (1337425403,), (1337425406,), (1337425464,), (1337425522,), (1337425610,), (1337425732,), (1337425878,), (1337425937,), (1337426071,), (1337426074,), (1337426076,), (1337426079,), (1337426082,), (1337426085,), (1337426105,), (1337426111,), (1337426121,), (1337426124,), (1337426155,), (1337426158,), (1337426161,), (1337426163,), (1337426165,), (1337426168,), (1337426187,), (1337426189,), (1337426202,), (1337426205,), (1337426233,), (1337426245,), (1337426248,), (1337426308,), (1337426350,), (1337426412,), (1337426414,), (1337426417,), (1337426420,), (1337426464,), (1337426494,), (1337426499,), (1337426505,), (1337426508,), (1337426534,), (1337426537,), (1337426540,), (1337426544,), (1337426548,), (1337426595,), (1337426597,), (1337426616,), (1337426644,), (1337426774,), (1337426762,), (1337426765,), (1337426768,), (1337426771,), (1337426797,), (1337426799,), (1337426805,), (1337426813,), (1337426853,), (1337426855,), (1337426858,), (1337426861,), (1337426863,), (1337426912,), (1337426926,), (1337426928,), (1337426930,), (1337426933,), (1337426957,), (1337426962,), (1337426965,), (1337426967,), (1337426993,), (1337426997,), (1337427001,), (1337427004,), (1337427009,), (1337427012,), (1337427031,), (1337427035,), (1337427038,), (1337427041,), (1337427044,), (1337427068,), (1337427078,), (1337427084,), (1337427108,), (1337427111,), (1337427114,), (1337427116,), (1337427144,), (1337427146,), (1337427149,), (1337427194,), (1337427196,), (1337427386,), (1337427392,), (1337427407,), (1337427432,), (1337427499,), (1337427502,), (1337427505,), (1337427901,), (1337427897,), (1337427932,), (1337427934,), (1337427969,), (1337428003,), (1337428007,), (1337428025,), (1337428029,), (1337428034,), (1337428040,), (1337428045,), (1337428258,), (1337428274,), (1337428278,), (1337428301,), (1337428304,), (1337428509,), (1337428512,), (1337428920,), (1337428988,), (1337429082,), (1337429157,), (1337429767,), (1337429865,), (1337429957,), (1337430041,), (1337430103,), (1337430105,), (1337430147,), (1337430157,), (1337430179,), (1337430182,), (1337430186,), (1337430188,), (1337430388,), (1337430453,), (1337430552,), (1337430644,), (1337430996,), (1337431000,), (1337431004,), (1337431010,), (1337431049,), (1337431138,), (1337431342,), (1337431333,), (1337431335,), (1337431338,), (1337431569,), (1337431640,), (1337431643,), (1337431646,), (1337431650,), (1337431655,), (1337431682,), (1337431685,), (1337431689,), (1337431692,), (1337431695,), (1337431698,), (1337431726,), (1337431729,), (1337431733,), (1337431737,), (1337431757,), (1337431762,), (1337431765,), (1337431769,), (1337431772,), (1337431778,), (1337431802,), (1337431808,), (1337431813,), (1337431815,), (1337431820,), (1337431856,), (1337432272,), (1337432375,), (1337432457,), (1337432944,), (1337432946,), (1337432956,), (1337432965,), (1337432968,), (1337432975,), (1337433310,), (1337433314,), (1337433317,), (1337433325,), (1337433328,), (1337433337,), (1337433368,), (1337433370,), (1337433428,), (1337433483,), (1337433679,), (1337433684,), (1337433686,), (1337434082,), (1337434121,), (1337434143,), (1337434167,), (1337434210,), (1337434217,), (1337434224,), (1337434228,), (1337434231,), (1337434253,), (1337434256,), (1337434260,), (1337434290,), (1337434294,), (1337434299,), (1337434456,), (1337434415,), (1337434445,), (1337434504,), (1337434509,), (1337434511,), (1337434527,), (1337434546,), (1337434549,), (1337434560,), (1337434564,), (1337434568,), (1337434587,), (1337434710,), (1337434723,), (1337434727,), (1337434779,), (1337434781,), (1337434797,), (1337434801,), (1337434804,), (1337434923,), (1337434929,), (1337434939,), (1337434981,), (1337434983,), (1337434986,), (1337434989,), (1337434991,), (1337435016,), (1337435020,), (1337435043,), (1337435046,), (1337435050,), (1337435054,), (1337435090,), (1337435093,), (1337435096,), (1337435100,), (1337435130,), (1337435135,), (1337435139,), (1337435144,), (1337435148,), (1337435256,), (1337435262,), (1337435268,), (1337435271,), (1337435296,), (1337435304,), (1337435306,), (1337435371,), (1337435379,), (1337435387,), (1337435390,), (1337435393,), (1337435395,), (1337435429,), (1337435416,), (1337435419,), (1337435425,), (1337435672,), (1337435674,), (1337435677,), (1337435719,), (1337435721,), (1337435945,), (1337436207,), (1337436248,), (1337436448,), (1337436485,), (1337436488,), (1337436514,), (1337436544,), (1337436791,), (1337436793,), (1337436796,), (1337436799,), (1337436824,), (1337436832,), (1337436835,), (1337436837,), (1337436840,), (1337436843,), (1337436885,), (1337436891,), (1337436896,), (1337436899,), (1337436901,), (1337436922,), (1337436936,), (1337436939,), (1337436942,), (1337436967,), (1337436969,), (1337436973,), (1337436977,), (1337436996,), (1337437023,), (1337437025,), (1337437027,), (1337437032,), (1337437040,), (1337437067,), (1337437069,), (1337437073,), (1337437076,), (1337441421,), (1337441417,), (1337441589,), (1337441701,), (1337441805,), (1337441808,), (1337441849,), (1337441852,), (1337441856,), (1337441860,), (1337442307,), (1337442310,), (1337442314,), (1337442317,), (1337442394,), (1337442465,), (1337442490,), (1337442536,), (1337442514,), (1337442526,), (1337442532,), (1337442571,), (1337442573,), (1337442576,), (1337442579,), (1337442591,), (1337442667,), (1337442668,), (1337442670,), (1337442898,), (1337443000,), (1337444742,), (1337444744,), (1337444819,), (1337444821,), (1337444822,), (1337444825,), (1337444856,), (1337444858,), (1337444859,), (1337447788,), (1337447954,), (1337447956,), (1337447960,), (1337447963,), (1337447966,), (1337447989,), (1337447990,), (1337448021,), (1337448022,), (1337448024,), (1337448026,), (1337448028,), (1337448051,), (1337448053,), (1337448056,), (1337448059,), (1337448079,), (1337448081,), (1337448127,), (1337448147,), (1337448160,), (1337448163,), (1337448201,), (1337448203,), (1337448206,), (1337448209,), (1337448245,), (1337448247,), (1337448250,), (1337448300,), (1337448304,), (1337448308,), (1337448314,), (1337448319,), (1337448331,), (1337448332,), (1337448336,), (1337448337,), (1337448345,), (1337448346,), (1337448382,), (1337448368,), (1337448374,), (1337448378,), (1337448380,), (1337448417,), (1337448419,), (1337448422,), (1337448424,), (1337448426,), (1337448429,), (1337448455,), (1337448456,), (1337448458,), (1337448460,), (1337448503,), (1337448516,), (1337448541,), (1337448542,), (1337448544,), (1337448546,), (1337448548,), (1337448549,), (1337448609,), (1337448846,), (1337449104,), (1337449363,), (1337449437,), (1337449619,), (1337449620,), (1337449632,), (1337449635,), (1337450082,), (1337450084,), (1337450086,), (1337450089,), (1337450203,), (1337450204,), (1337450207,), (1337450208,), (1337450210,), (1337450214,), (1337450247,), (1337450253,), (1337450255,), (1337450257,), (1337450284,), (1337450287,), (1337450290,), (1337450294,), (1337450298,), (1337450302,), (1337450325,), (1337450400,), (1337450409,), (1337450413,), (1337450417,), (1337450454,), (1337450459,), (1337450469,), (1337450473,), (1337450497,), (1337450499,), (1337450502,), (1337450505,), (1337450508,), (1337450583,), (1337450542,), (1337450543,), (1337450545,), (1337450550,), (1337451228,), (1337451388,), (1337451418,), (1337451543,), (1337451570,), (1337451572,), (1337451623,), (1337451624,), (1337451626,), (1337451628,), (1337451683,), (1337451752,), (1337451753,), (1337451755,), (1337451757,), (1337451758,), (1337451760,), (1337451775,), (1337451777,), (1337451780,), (1337451782,), (1337451783,), (1337451808,), (1337451812,), (1337451817,), (1337451820,), (1337451884,), (1337451887,), (1337451890,), (1337451893,), (1337451938,), (1337451941,), (1337451960,), (1337451973,), (1337451976,), (1337452030,), (1337452168,), (1337452171,), (1337452205,), (1337452208,), (1337452211,), (1337452233,), (1337452249,), (1337452252,), (1337452254,), (1337452256,), (1337452257,), (1337452271,), (1337452275,), (1337452278,), (1337452281,), (1337452284,), (1337452374,), (1337452376,), (1337452379,), (1337452407,), (1337452397,), (1337452399,), (1337452402,), (1337452405,), (1337452579,), (1337452581,), (1337452584,), (1337452587,), (1337452601,), (1337452604,), (1337452607,), (1337452614,), (1337452621,), (1337452653,), (1337452664,), (1337452669,), (1337452672,), (1337452675,), (1337452677,), (1337452704,), (1337452711,), (1337452714,), (1337452717,), (1337452719,), (1337452721,), (1337453652,), (1337453654,), (1337453659,), (1337454262,), (1337454288,), (1337454292,), (1337454296,), (1337454300,), (1337454304,), (1337454312,), (1337454319,), (1337454324,), (1337454331,), (1337454332,), (1337454333,), (1337454352,), (1337454354,), (1337454390,), (1337454393,), (1337454397,), (1337454401,), (1337454411,), (1337454414,), (1337454466,), (1337454482,), (1337454495,), (1337454497,), (1337454548,), (1337454569,), (1337454575,), (1337454584,), (1337454587,), (1337454675,), (1337454679,), (1337454684,), (1337454688,), (1337454689,), (1337454710,), (1337454720,), (1337454733,), (1337454737,), (1337454740,), (1337454741,), (1337454753,), (1337454756,), (1337454759,), (1337454762,), (1337454766,), (1337454868,), (1337454789,), (1337454792,), (1337454796,), (1337454851,), (1337454917,), (1337454923,), (1337454934,), (1337454939,), (1337455017,), (1337455087,), (1337455096,), (1337455103,), (1337455135,), (1337455137,), (1337455141,), (1337455143,), (1337455216,), (1337455219,), (1337455234,), (1337455241,), (1337455243,), (1337456136,), (1337456138,), (1337456141,), (1337456144,), (1337456537,), (1337456541,), (1337456551,), (1337456555,), (1337456616,), (1337456631,), (1337456670,), (1337456672,), (1337456675,), (1337456678,), (1337456680,), (1337456682,), (1337456760,), (1337456762,), (1337456765,), (1337456838,), (1337456840,), (1337456842,), (1337456845,), (1337456849,), (1337456851,), (1337456861,), (1337456864,), (1337456867,), (1337456873,), (1337456880,), (1337456881,), (1337456900,), (1337456903,), (1337456906,), (1337457212,), (1337457214,), (1337457217,), (1337457220,), (1337457222,), (1337457272,), (1337457392,), (1337457394,), (1337457396,), (1337457399,), (1337457402,), (1337457404,), (1337457501,), (1337457425,), (1337457427,), (1337457474,), (1337457493,), (1337457564,), (1337457576,), (1337457580,), (1337457584,), (1337457587,), (1337457603,), (1337457606,), (1337457610,), (1337458203,), (1337458207,), (1337458211,), (1337458215,), (1337458220,), (1337458561,), (1337458565,), (1337458567,), (1337458569,), (1337458571,), (1337458573,), (1337458592,), (1337458594,), (1337458596,), (1337458611,), (1337458613,), (1337458616,), (1337458619,), (1337458621,), (1337458623,), (1337458640,), (1337458642,), (1337458650,), (1337458656,), (1337458657,), (1337458689,), (1337458691,), (1337458694,), (1337458697,), (1337458736,), (1337458737,), (1337458740,), (1337458743,), (1337458756,), (1337458782,), (1337458786,), (1337458790,), (1337458793,), (1337458819,), (1337458821,), (1337458823,), (1337458827,), (1337458842,), (1337458844,), (1337458847,), (1337458849,), (1337458852,), (1337458855,), (1337458880,), (1337458884,), (1337458887,), (1337458902,), (1337458903,), (1337458946,), (1337458948,), (1337458982,), (1337458967,), (1337458969,), (1337458972,), (1337458975,), (1337458978,), (1337459269,), (1337459271,), (1337459276,), (1337459355,), (1337459426,), (1337459429,), (1337459436,), (1337459439,), (1337459442,), (1337459486,), (1337459488,), (1337459518,), (1337459522,), (1337459533,), (1337459536,), (1337459539,), (1337459577,), (1337459593,), (1337459617,), (1337459620,), (1337459622,), (1337459637,), (1337459641,), (1337459652,), (1337459660,), (1337459664,), (1337459682,), (1337459685,), (1337459689,), (1337459692,), (1337459694,), (1337459714,), (1337459716,), (1337459722,), (1337459736,), (1337459739,), (1337459742,), (1337459759,), (1337459761,), (1337459827,), (1337459842,), (1337459901,), (1337459902,), (1337459903,), (1337459905,), (1337459908,), (1337459909,), (1337459931,), (1337459932,), (1337459934,), (1337459936,), (1337459937,), (1337459940,), (1337460137,), (1337460138,), (1337460140,), (1337460188,), (1337460189,), (1337460191,), (1337460193,), (1337460217,), (1337460219,), (1337460221,), (1337460228,), (1337460236,), (1337460240,), (1337460284,), (1337460276,), (1337460279,), (1337460282,), (1337460348,), (1337460349,), (1337460351,), (1337460353,), (1337460405,), (1337460406,), (1337460408,), (1337462256,), (1337462522,), (1337462524,), (1337462532,), (1337462533,), (1337462560,), (1337462561,), (1337462563,), (1337462568,), (1337462662,), (1337462663,), (1337462665,), (1337462667,), (1337462700,), (1337462701,), (1337462703,), (1337462705,), (1337462706,), (1337462727,), (1337462728,), (1337462730,), (1337462732,), (1337462734,), (1337462775,), (1337462777,), (1337462781,), (1337462782,), (1337462784,), (1337462807,), (1337462809,), (1337462811,), (1337462852,), (1337462843,), (1337462844,), (1337462846,), (1337462848,), (1337462851,), (1337462890,), (1337462891,), (1337462893,), (1337462894,), (1337462933,), (1337462939,), (1337462943,), (1337462945,), (1337463588,), (1337463601,), (1337463613,), (1337463618,), (1337463619,), (1337463977,), (1337463992,), (1337463996,), (1337463998,), (1337464000,), (1337464030,), (1337464031,), (1337464033,), (1337464035,), (1337464037,), (1337464061,), (1337464063,), (1337464105,), (1337464112,), (1337464116,), (1337464118,), (1337464120,), (1337464122,), (1337464148,), (1337464157,), (1337464159,), (1337464160,), (1337464162,), (1337464163,), (1337464176,), (1337464177,), (1337464179,), (1337464197,), (1337464199,), (1337464201,), (1337464203,), (1337464218,), (1337464219,), (1337464221,), (1337464222,), (1337464226,), (1337464229,), (1337464246,), (1337464247,), (1337464249,), (1337464254,), (1337464260,), (1337464304,), (1337464307,), (1337464313,), (1337464476,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'13022025': {'nb_upload': 37, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20503438]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1337303087, 1337301494, 1337301383, 1337301382, 1337301355, 1337301353, 1337301351, 1337301350, 1337301319, 1337301317, 1337301316, 1337301291, 1337301269, 1337301267, 1337301266, 1337301054, 1337301052, 1337301051, 1337301023, 1337301018, 1337301016, 1337300942, 1337300897, 1337300889, 1337300886, 1337300222, 1337300220, 1337300219, 1337300193, 1337300190, 1337300187, 1337300185, 1337300184, 1337300149, 1337300145, 1337300141, 1337300139] map_info['map_portfolio_photo'] : {20503438: [1337303087, 1337301494, 1337301383, 1337301382, 1337301355, 1337301353, 1337301351, 1337301350, 1337301319, 1337301317, 1337301316, 1337301291, 1337301269, 1337301267, 1337301266, 1337301054, 1337301052, 1337301051, 1337301023, 1337301018, 1337301016, 1337300942, 1337300897, 1337300889, 1337300886, 1337300222, 1337300220, 1337300219, 1337300193, 1337300190, 1337300187, 1337300185, 1337300184, 1337300149, 1337300145, 1337300141, 1337300139]} final : True mtd_id 4302 list_pids : [1337303087, 1337301494, 1337301383, 1337301382, 1337301355, 1337301353, 1337301351, 1337301350, 1337301319, 1337301317, 1337301316, 1337301291, 1337301269, 1337301267, 1337301266, 1337301054, 1337301052, 1337301051, 1337301023, 1337301018, 1337301016, 1337300942, 1337300897, 1337300889, 1337300886, 1337300222, 1337300220, 1337300219, 1337300193, 1337300190, 1337300187, 1337300185, 1337300184, 1337300149, 1337300145, 1337300141, 1337300139] Looping around the photos to save general results len do output : 1 /20503438Didn'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, '2585354') ('4302', '20503438', '1337303087', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337301494', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337301383', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337301382', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337301355', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337301353', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337301351', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337301350', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337301319', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337301317', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337301316', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337301291', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337301269', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337301267', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337301266', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337301054', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337301052', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337301051', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337301023', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337301018', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337301016', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337300942', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337300897', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337300889', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337300886', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337300222', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337300220', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337300219', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337300193', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337300190', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337300187', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337300185', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337300184', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337300149', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337300145', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337300141', None, None, None, None, None, '2585354') ('4302', None, None, None, None, None, None, None, '2585354') ('4302', '20503438', '1337300139', None, None, None, None, None, '2585354') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 38 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, '20503438', 'None', None, None, None, None, '2585354'), ('4302', '20503438', '1337303087', None, None, None, None, None, '2585354'), ('4302', '20503438', '1337301494', None, None, None, None, None, '2585354'), ('4302', '20503438', '1337301383', None, None, None, None, None, '2585354'), ('4302', '20503438', '1337301382', None, None, None, None, None, '2585354'), ('4302', '20503438', '1337301355', None, None, None, None, None, '2585354'), ('4302', '20503438', '1337301353', None, None, None, None, None, '2585354'), ('4302', '20503438', '1337301351', None, None, None, None, None, '2585354'), ('4302', '20503438', '1337301350', None, None, None, None, None, '2585354'), ('4302', '20503438', '1337301319', None, None, None, None, None, '2585354'), ('4302', '20503438', '1337301317', None, None, None, None, None, '2585354'), ('4302', '20503438', '1337301316', None, None, None, None, None, '2585354'), ('4302', '20503438', '1337301291', None, None, None, None, None, '2585354'), ('4302', '20503438', '1337301269', None, None, None, None, None, '2585354'), ('4302', '20503438', '1337301267', None, None, None, None, None, '2585354'), ('4302', '20503438', '1337301266', None, None, None, None, None, '2585354'), ('4302', '20503438', '1337301054', None, None, None, None, None, '2585354'), ('4302', '20503438', '1337301052', None, None, None, None, None, '2585354'), ('4302', '20503438', '1337301051', None, None, None, None, None, '2585354'), ('4302', '20503438', '1337301023', None, None, None, None, None, '2585354'), ('4302', '20503438', '1337301018', None, None, None, None, None, '2585354'), ('4302', '20503438', '1337301016', None, None, None, None, None, '2585354'), ('4302', '20503438', '1337300942', None, None, None, None, None, '2585354'), ('4302', '20503438', '1337300897', None, None, None, None, None, '2585354'), ('4302', '20503438', '1337300889', None, None, None, None, None, '2585354'), ('4302', '20503438', '1337300886', None, None, None, None, None, '2585354'), ('4302', '20503438', '1337300222', None, None, None, None, None, '2585354'), ('4302', '20503438', '1337300220', None, None, None, None, None, '2585354'), ('4302', '20503438', '1337300219', None, None, None, None, None, '2585354'), ('4302', '20503438', '1337300193', None, None, None, None, None, '2585354'), ('4302', '20503438', '1337300190', None, None, None, None, None, '2585354'), ('4302', '20503438', '1337300187', None, None, None, None, None, '2585354'), ('4302', '20503438', '1337300185', None, None, None, None, None, '2585354'), ('4302', '20503438', '1337300184', None, None, None, None, None, '2585354'), ('4302', '20503438', '1337300149', None, None, None, None, None, '2585354'), ('4302', '20503438', '1337300145', None, None, None, None, None, '2585354'), ('4302', '20503438', '1337300141', None, None, None, None, None, '2585354'), ('4302', '20503438', '1337300139', None, None, None, None, None, '2585354')] time used for this insertion : 0.016773462295532227 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.0152878761291504 time spend to save output : 0.017154216766357422 total time spend for step 5 : 3.032442092895508 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 (2585354) 3.06user 1.98system 0:20.06elapsed 25%CPU (0avgtext+0avgdata 162440maxresident)k 656inputs+29608outputs (0major+79240minor)pagefaults 0swaps