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 : 2194749 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 (2618778) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2618778) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20856419 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2618778'] with mtr_portfolio_ids : ['20856419'] and first list_photo_ids : [] new path : /proc/2194749/ Name: python3 Umask: 0002 State: R (running) Tgid: 2194749 Ngid: 0 Pid: 2194749 PPid: 2194748 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 2194749 NSpid: 2194749 NSpgid: 2192098 NSsid: 2192098 VmPeak: 1106844 kB VmSize: 1106844 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 97772 kB VmRSS: 97772 kB RssAnon: 59756 kB RssFile: 38016 kB RssShmem: 0 kB VmData: 865592 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 616 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 3/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: 51 nonvoluntary_ctxt_switches: 78 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '2194749', 'Ngid': '0', 'Pid': '2194749', 'PPid': '2194748', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '2194749', 'NSpid': '2194749', 'NSpgid': '2192098', 'NSsid': '2192098', 'VmPeak': '1106844 kB', 'VmSize': '1106844 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '97772 kB', 'VmRSS': '97772 kB', 'RssAnon': '59756 kB', 'RssFile': '38016 kB', 'RssShmem': '0 kB', 'VmData': '865592 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '616 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '3/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': '51', 'nonvoluntary_ctxt_switches': '78'} ('datou_batch_current', '2194749', '1106844', '0', '1106844', '865592', '97772', b'', 'marlene', '2618778') 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 (20856419) 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 (2618778 ) ) 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 (20856419) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1339800020, 'portfolio_id': 20856419}, {'photo_id': 1339799796, 'portfolio_id': 20856419}, {'photo_id': 1339799762, 'portfolio_id': 20856419}, {'photo_id': 1339798971, 'portfolio_id': 20856419}, {'photo_id': 1339798940, 'portfolio_id': 20856419}, {'photo_id': 1339798895, 'portfolio_id': 20856419}, {'photo_id': 1339798891, 'portfolio_id': 20856419}, {'photo_id': 1339798887, 'portfolio_id': 20856419}, {'photo_id': 1339798882, 'portfolio_id': 20856419}, {'photo_id': 1339798560, 'portfolio_id': 20856419}, {'photo_id': 1339798556, 'portfolio_id': 20856419}, {'photo_id': 1339798419, 'portfolio_id': 20856419}, {'photo_id': 1339798413, 'portfolio_id': 20856419}, {'photo_id': 1339797968, 'portfolio_id': 20856419}, {'photo_id': 1339797890, 'portfolio_id': 20856419}, {'photo_id': 1339797884, 'portfolio_id': 20856419}, {'photo_id': 1339797872, 'portfolio_id': 20856419}, {'photo_id': 1339797865, 'portfolio_id': 20856419}, {'photo_id': 1339797014, 'portfolio_id': 20856419}, {'photo_id': 1339797001, 'portfolio_id': 20856419}, {'photo_id': 1339796961, 'portfolio_id': 20856419}, {'photo_id': 1339796955, 'portfolio_id': 20856419}, {'photo_id': 1339796926, 'portfolio_id': 20856419}, {'photo_id': 1339796919, 'portfolio_id': 20856419}, {'photo_id': 1339796894, 'portfolio_id': 20856419}, {'photo_id': 1339796889, 'portfolio_id': 20856419}, {'photo_id': 1339796882, 'portfolio_id': 20856419}, {'photo_id': 1339796859, 'portfolio_id': 20856419}, {'photo_id': 1339796854, 'portfolio_id': 20856419}, {'photo_id': 1339796843, 'portfolio_id': 20856419}, {'photo_id': 1339796727, 'portfolio_id': 20856419}] map_portfolio_id_photo_id: {20856419: [1339800020, 1339799796, 1339799762, 1339798971, 1339798940, 1339798895, 1339798891, 1339798887, 1339798882, 1339798560, 1339798556, 1339798419, 1339798413, 1339797968, 1339797890, 1339797884, 1339797872, 1339797865, 1339797014, 1339797001, 1339796961, 1339796955, 1339796926, 1339796919, 1339796894, 1339796889, 1339796882, 1339796859, 1339796854, 1339796843, 1339796727]} ##### Call download_photos : nb_thread : 1 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos ##### After load_data_input time to download the photos : 0.17932581901550293 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Thu Feb 27 06:06:57 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 (20856419) 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 : 20856419 get user id for portfolio 20856419 get sub ptf for main ptf 20856419, type 3726 and hashtags ['Carton_gris', 'Carton_brun', 'papier', 'flou', 'Teint_Dans_La_Masse', 'environnement', 'metal', 'mal_croppe', 'kraft', 'plastique', 'autre_refus', 'cartonnette'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20856419 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','Carton_brun','papier','flou','Teint_Dans_La_Masse','environnement','metal','mal_croppe','kraft','plastique','autre_refus','cartonnette')) 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`=20856419 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','Carton_brun','papier','flou','Teint_Dans_La_Masse','environnement','metal','mal_croppe','kraft','plastique','autre_refus','cartonnette')) AND mptpi.`min_score`=0.5 To do returned map {'papier': {'main_port_id': 20856419, 'sub_port_id': 20856471, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13488890, 'last_updated_at': datetime.datetime(2025, 2, 26, 22, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 22, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 21, 55, 30)}, 'flou': {'main_port_id': 20856419, 'sub_port_id': 20856472, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13488891, 'last_updated_at': datetime.datetime(2025, 2, 26, 22, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 22, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 21, 55, 30)}, 'autre_refus': {'main_port_id': 20856419, 'sub_port_id': 20856473, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13488892, 'last_updated_at': datetime.datetime(2025, 2, 26, 22, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 22, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 21, 55, 30)}, 'cartonnette': {'main_port_id': 20856419, 'sub_port_id': 20856474, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13488893, 'last_updated_at': datetime.datetime(2025, 2, 26, 22, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 22, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 21, 55, 30)}, 'environnement': {'main_port_id': 20856419, 'sub_port_id': 20856475, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13488894, 'last_updated_at': datetime.datetime(2025, 2, 26, 22, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 22, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 21, 55, 30)}, 'plastique': {'main_port_id': 20856419, 'sub_port_id': 20856476, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13488895, 'last_updated_at': datetime.datetime(2025, 2, 26, 22, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 22, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 21, 55, 30)}, 'kraft': {'main_port_id': 20856419, 'sub_port_id': 20856477, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13488896, 'last_updated_at': datetime.datetime(2025, 2, 26, 22, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 22, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 21, 55, 30)}, 'Carton_brun': {'main_port_id': 20856419, 'sub_port_id': 20856478, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13488897, 'last_updated_at': datetime.datetime(2025, 2, 26, 22, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 22, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 21, 55, 30)}, 'metal': {'main_port_id': 20856419, 'sub_port_id': 20856479, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13488898, 'last_updated_at': datetime.datetime(2025, 2, 26, 22, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 22, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 21, 55, 30)}, 'Carton_gris': {'main_port_id': 20856419, 'sub_port_id': 20856480, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13488899, 'last_updated_at': datetime.datetime(2025, 2, 26, 22, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 22, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 21, 55, 30)}, 'Teint_Dans_La_Masse': {'main_port_id': 20856419, 'sub_port_id': 20856481, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13488900, 'last_updated_at': datetime.datetime(2025, 2, 26, 22, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 22, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 21, 55, 30)}, 'mal_croppe': {'main_port_id': 20856419, 'sub_port_id': 20856482, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13488901, 'last_updated_at': datetime.datetime(2025, 2, 26, 22, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 22, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 21, 55, 30)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20856471 , 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=20856419 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 (20856471) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20856419) result : ((1339796727,), (1339796843,), (1339796854,), (1339796859,), (1339796882,), (1339796889,), (1339796894,), (1339796919,), (1339796926,), (1339796955,), (1339796961,), (1339797001,), (1339797014,), (1339797865,), (1339797872,), (1339797884,), (1339797890,), (1339797968,), (1339798413,), (1339798419,), (1339798556,), (1339798560,), (1339798882,), (1339798887,), (1339798891,), (1339798895,), (1339798940,), (1339798971,), (1339799762,), (1339799796,), (1339800020,)) 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 20856472 , 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=20856419 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 (20856472) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20856419) result : ((1339796727,), (1339796843,), (1339796854,), (1339796859,), (1339796882,), (1339796889,), (1339796894,), (1339796919,), (1339796926,), (1339796955,), (1339796961,), (1339797001,), (1339797014,), (1339797865,), (1339797872,), (1339797884,), (1339797890,), (1339797968,), (1339798413,), (1339798419,), (1339798556,), (1339798560,), (1339798882,), (1339798887,), (1339798891,), (1339798895,), (1339798940,), (1339798971,), (1339799762,), (1339799796,), (1339800020,)) 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 20856473 , 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=20856419 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 (20856473) result : ((1339797008,), (1339797900,), (1339797902,), (1339799051,), (1339800549,), (1339800550,), (1339803324,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20856419) result : ((1339796727,), (1339796843,), (1339796854,), (1339796859,), (1339796882,), (1339796889,), (1339796894,), (1339796919,), (1339796926,), (1339796955,), (1339796961,), (1339797001,), (1339797014,), (1339797865,), (1339797872,), (1339797884,), (1339797890,), (1339797968,), (1339798413,), (1339798419,), (1339798556,), (1339798560,), (1339798882,), (1339798887,), (1339798891,), (1339798895,), (1339798940,), (1339798971,), (1339799762,), (1339799796,), (1339800020,)) 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 20856474 , 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=20856419 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 (20856474) result : ((1339796984,), (1339797903,), (1339798573,), (1339798574,), (1339799102,), (1339800596,), (1339803573,), (1339803574,), (1339803575,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20856419) result : ((1339796727,), (1339796843,), (1339796854,), (1339796859,), (1339796882,), (1339796889,), (1339796894,), (1339796919,), (1339796926,), (1339796955,), (1339796961,), (1339797001,), (1339797014,), (1339797865,), (1339797872,), (1339797884,), (1339797890,), (1339797968,), (1339798413,), (1339798419,), (1339798556,), (1339798560,), (1339798882,), (1339798887,), (1339798891,), (1339798895,), (1339798940,), (1339798971,), (1339799762,), (1339799796,), (1339800020,)) 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 20856475 , 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=20856419 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 (20856475) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20856419) result : ((1339796727,), (1339796843,), (1339796854,), (1339796859,), (1339796882,), (1339796889,), (1339796894,), (1339796919,), (1339796926,), (1339796955,), (1339796961,), (1339797001,), (1339797014,), (1339797865,), (1339797872,), (1339797884,), (1339797890,), (1339797968,), (1339798413,), (1339798419,), (1339798556,), (1339798560,), (1339798882,), (1339798887,), (1339798891,), (1339798895,), (1339798940,), (1339798971,), (1339799762,), (1339799796,), (1339800020,)) 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 20856476 , 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=20856419 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 (20856476) result : ((1339796988,), (1339796990,), (1339797013,), (1339797018,), (1339797910,), (1339797911,), (1339797912,), (1339798533,), (1339800600,), (1339800601,), (1339803337,), (1339803338,), (1339803637,), (1339803638,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20856419) result : ((1339796727,), (1339796843,), (1339796854,), (1339796859,), (1339796882,), (1339796889,), (1339796894,), (1339796919,), (1339796926,), (1339796955,), (1339796961,), (1339797001,), (1339797014,), (1339797865,), (1339797872,), (1339797884,), (1339797890,), (1339797968,), (1339798413,), (1339798419,), (1339798556,), (1339798560,), (1339798882,), (1339798887,), (1339798891,), (1339798895,), (1339798940,), (1339798971,), (1339799762,), (1339799796,), (1339800020,)) 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 20856477 , 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=20856419 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 (20856477) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20856419) result : ((1339796727,), (1339796843,), (1339796854,), (1339796859,), (1339796882,), (1339796889,), (1339796894,), (1339796919,), (1339796926,), (1339796955,), (1339796961,), (1339797001,), (1339797014,), (1339797865,), (1339797872,), (1339797884,), (1339797890,), (1339797968,), (1339798413,), (1339798419,), (1339798556,), (1339798560,), (1339798882,), (1339798887,), (1339798891,), (1339798895,), (1339798940,), (1339798971,), (1339799762,), (1339799796,), (1339800020,)) 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 20856478 , 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=20856419 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 (20856478) result : ((1339796985,), (1339796986,), (1339797010,), (1339797011,), (1339797905,), (1339797906,), (1339797907,), (1339798532,), (1339798541,), (1339798542,), (1339798543,), (1339798576,), (1339798577,), (1339798578,), (1339799001,), (1339800597,), (1339800598,), (1339803327,), (1339803328,), (1339803336,), (1339803598,), (1339803600,), (1339803602,), (1339803604,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20856419) result : ((1339796727,), (1339796843,), (1339796854,), (1339796859,), (1339796882,), (1339796889,), (1339796894,), (1339796919,), (1339796926,), (1339796955,), (1339796961,), (1339797001,), (1339797014,), (1339797865,), (1339797872,), (1339797884,), (1339797890,), (1339797968,), (1339798413,), (1339798419,), (1339798556,), (1339798560,), (1339798882,), (1339798887,), (1339798891,), (1339798895,), (1339798940,), (1339798971,), (1339799762,), (1339799796,), (1339800020,)) 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 20856479 , 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=20856419 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 (20856479) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20856419) result : ((1339796727,), (1339796843,), (1339796854,), (1339796859,), (1339796882,), (1339796889,), (1339796894,), (1339796919,), (1339796926,), (1339796955,), (1339796961,), (1339797001,), (1339797014,), (1339797865,), (1339797872,), (1339797884,), (1339797890,), (1339797968,), (1339798413,), (1339798419,), (1339798556,), (1339798560,), (1339798882,), (1339798887,), (1339798891,), (1339798895,), (1339798940,), (1339798971,), (1339799762,), (1339799796,), (1339800020,)) 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 20856480 , 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=20856419 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 (20856480) result : ((1339797017,), (1339798531,), (1339798570,), (1339798571,), (1339798572,), (1339799099,), (1339800552,), (1339800553,), (1339800554,), (1339803335,), (1339803572,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20856419) result : ((1339796727,), (1339796843,), (1339796854,), (1339796859,), (1339796882,), (1339796889,), (1339796894,), (1339796919,), (1339796926,), (1339796955,), (1339796961,), (1339797001,), (1339797014,), (1339797865,), (1339797872,), (1339797884,), (1339797890,), (1339797968,), (1339798413,), (1339798419,), (1339798556,), (1339798560,), (1339798882,), (1339798887,), (1339798891,), (1339798895,), (1339798940,), (1339798971,), (1339799762,), (1339799796,), (1339800020,)) 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 20856481 , 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=20856419 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 (20856481) result : ((1339797899,), (1339798530,), (1339798539,), (1339798566,), (1339798567,), (1339799000,), (1339799082,), (1339803323,), (1339803334,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20856419) result : ((1339796727,), (1339796843,), (1339796854,), (1339796859,), (1339796882,), (1339796889,), (1339796894,), (1339796919,), (1339796926,), (1339796955,), (1339796961,), (1339797001,), (1339797014,), (1339797865,), (1339797872,), (1339797884,), (1339797890,), (1339797968,), (1339798413,), (1339798419,), (1339798556,), (1339798560,), (1339798882,), (1339798887,), (1339798891,), (1339798895,), (1339798940,), (1339798971,), (1339799762,), (1339799796,), (1339800020,)) 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 20856482 , 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=20856419 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 (20856482) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20856419) result : ((1339796727,), (1339796843,), (1339796854,), (1339796859,), (1339796882,), (1339796889,), (1339796894,), (1339796919,), (1339796926,), (1339796955,), (1339796961,), (1339797001,), (1339797014,), (1339797865,), (1339797872,), (1339797884,), (1339797890,), (1339797968,), (1339798413,), (1339798419,), (1339798556,), (1339798560,), (1339798882,), (1339798887,), (1339798891,), (1339798895,), (1339798940,), (1339798971,), (1339799762,), (1339799796,), (1339800020,)) 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`=20856419 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','Carton_brun','papier','flou','Teint_Dans_La_Masse','environnement','metal','mal_croppe','kraft','plastique','autre_refus','cartonnette')) 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`=20856419 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','Carton_brun','papier','flou','Teint_Dans_La_Masse','environnement','metal','mal_croppe','kraft','plastique','autre_refus','cartonnette')) AND mptpi.`min_score`=0.5 To do returned map {'papier': {'main_port_id': 20856419, 'sub_port_id': 20856483, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13488902, 'last_updated_at': datetime.datetime(2025, 2, 26, 21, 55, 32), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 21, 55, 32), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 21, 55, 32)}, 'flou': {'main_port_id': 20856419, 'sub_port_id': 20856484, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13488903, 'last_updated_at': datetime.datetime(2025, 2, 26, 21, 55, 32), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 21, 55, 32), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 21, 55, 32)}, 'autre_refus': {'main_port_id': 20856419, 'sub_port_id': 20856485, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13488904, 'last_updated_at': datetime.datetime(2025, 2, 26, 21, 55, 32), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 21, 55, 32), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 21, 55, 32)}, 'cartonnette': {'main_port_id': 20856419, 'sub_port_id': 20856486, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13488905, 'last_updated_at': datetime.datetime(2025, 2, 26, 21, 55, 32), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 21, 55, 32), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 21, 55, 32)}, 'environnement': {'main_port_id': 20856419, 'sub_port_id': 20856487, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13488906, 'last_updated_at': datetime.datetime(2025, 2, 26, 21, 55, 32), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 21, 55, 32), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 21, 55, 32)}, 'plastique': {'main_port_id': 20856419, 'sub_port_id': 20856488, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13488907, 'last_updated_at': datetime.datetime(2025, 2, 26, 21, 55, 32), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 21, 55, 32), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 21, 55, 32)}, 'kraft': {'main_port_id': 20856419, 'sub_port_id': 20856489, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13488908, 'last_updated_at': datetime.datetime(2025, 2, 26, 21, 55, 32), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 21, 55, 32), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 21, 55, 32)}, 'Carton_brun': {'main_port_id': 20856419, 'sub_port_id': 20856490, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13488909, 'last_updated_at': datetime.datetime(2025, 2, 26, 21, 55, 32), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 21, 55, 32), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 21, 55, 32)}, 'metal': {'main_port_id': 20856419, 'sub_port_id': 20856491, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13488910, 'last_updated_at': datetime.datetime(2025, 2, 26, 21, 55, 32), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 21, 55, 32), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 21, 55, 32)}, 'Carton_gris': {'main_port_id': 20856419, 'sub_port_id': 20856492, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13488911, 'last_updated_at': datetime.datetime(2025, 2, 26, 21, 55, 32), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 21, 55, 32), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 21, 55, 32)}, 'Teint_Dans_La_Masse': {'main_port_id': 20856419, 'sub_port_id': 20856493, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13488912, 'last_updated_at': datetime.datetime(2025, 2, 26, 21, 55, 32), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 21, 55, 32), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 21, 55, 32)}, 'mal_croppe': {'main_port_id': 20856419, 'sub_port_id': 20856494, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13488913, 'last_updated_at': datetime.datetime(2025, 2, 26, 22, 5), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 22, 5), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 21, 55, 32)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20856483,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20856471 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20856484,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20856472 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20856485,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20856473 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20856486,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20856474 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20856487,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20856475 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20856488,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20856476 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20856489,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20856477 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20856490,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20856478 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20856491,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20856479 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20856492,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20856480 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20856493,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20856481 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20856494,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20856482 lien utilise dans velours : https://www.fotonower.com/velours/20856483,20856484,20856485,20856486,20856487,20856488,20856489,20856490,20856491,20856492,20856493,20856494?tags=papier,flou,autre_refus,cartonnette,environnement,plastique,kraft,Carton_brun,metal,Carton_gris,Teint_Dans_La_Masse,mal_croppe After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20856419]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1339800020, 1339799796, 1339799762, 1339798971, 1339798940, 1339798895, 1339798891, 1339798887, 1339798882, 1339798560, 1339798556, 1339798419, 1339798413, 1339797968, 1339797890, 1339797884, 1339797872, 1339797865, 1339797014, 1339797001, 1339796961, 1339796955, 1339796926, 1339796919, 1339796894, 1339796889, 1339796882, 1339796859, 1339796854, 1339796843, 1339796727] map_info['map_portfolio_photo'] : {20856419: [1339800020, 1339799796, 1339799762, 1339798971, 1339798940, 1339798895, 1339798891, 1339798887, 1339798882, 1339798560, 1339798556, 1339798419, 1339798413, 1339797968, 1339797890, 1339797884, 1339797872, 1339797865, 1339797014, 1339797001, 1339796961, 1339796955, 1339796926, 1339796919, 1339796894, 1339796889, 1339796882, 1339796859, 1339796854, 1339796843, 1339796727]} final : False mtd_id 4302 list_pids : [1339800020, 1339799796, 1339799762, 1339798971, 1339798940, 1339798895, 1339798891, 1339798887, 1339798882, 1339798560, 1339798556, 1339798419, 1339798413, 1339797968, 1339797890, 1339797884, 1339797872, 1339797865, 1339797014, 1339797001, 1339796961, 1339796955, 1339796926, 1339796919, 1339796894, 1339796889, 1339796882, 1339796859, 1339796854, 1339796843, 1339796727] Looping around the photos to save general results len do output : 1 /20856419. 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, '2618778') ('4302', '20856419', '1339800020', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339799796', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339799762', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339798971', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339798940', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339798895', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339798891', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339798887', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339798882', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339798560', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339798556', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339798419', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339798413', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339797968', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339797890', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339797884', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339797872', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339797865', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339797014', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339797001', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339796961', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339796955', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339796926', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339796919', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339796894', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339796889', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339796882', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339796859', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339796854', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339796843', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339796727', None, None, None, None, None, '2618778') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 32 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, '20856419', "{'papier': 20856471, 'flou': 20856472, 'autre_refus': 20856473, 'cartonnette': 20856474, 'environnement': 20856475, 'plastique': 20856476, 'kraft': 20856477, 'Carton_brun': 20856478, 'metal': 20856479, 'Carton_gris': 20856480, 'Teint_Dans_La_Masse': 20856481, 'mal_croppe': 20856482}", None, None, None, None, '2618778'), ('4302', '20856419', '1339800020', None, None, None, None, None, '2618778'), ('4302', '20856419', '1339799796', None, None, None, None, None, '2618778'), ('4302', '20856419', '1339799762', None, None, None, None, None, '2618778'), ('4302', '20856419', '1339798971', None, None, None, None, None, '2618778'), ('4302', '20856419', '1339798940', None, None, None, None, None, '2618778'), ('4302', '20856419', '1339798895', None, None, None, None, None, '2618778'), ('4302', '20856419', '1339798891', None, None, None, None, None, '2618778'), ('4302', '20856419', '1339798887', None, None, None, None, None, '2618778'), ('4302', '20856419', '1339798882', None, None, None, None, None, '2618778'), ('4302', '20856419', '1339798560', None, None, None, None, None, '2618778'), ('4302', '20856419', '1339798556', None, None, None, None, None, '2618778'), ('4302', '20856419', '1339798419', None, None, None, None, None, '2618778'), ('4302', '20856419', '1339798413', None, None, None, None, None, '2618778'), ('4302', '20856419', '1339797968', None, None, None, None, None, '2618778'), ('4302', '20856419', '1339797890', None, None, None, None, None, '2618778'), ('4302', '20856419', '1339797884', None, None, None, None, None, '2618778'), ('4302', '20856419', '1339797872', None, None, None, None, None, '2618778'), ('4302', '20856419', '1339797865', None, None, None, None, None, '2618778'), ('4302', '20856419', '1339797014', None, None, None, None, None, '2618778'), ('4302', '20856419', '1339797001', None, None, None, None, None, '2618778'), ('4302', '20856419', '1339796961', None, None, None, None, None, '2618778'), ('4302', '20856419', '1339796955', None, None, None, None, None, '2618778'), ('4302', '20856419', '1339796926', None, None, None, None, None, '2618778'), ('4302', '20856419', '1339796919', None, None, None, None, None, '2618778'), ('4302', '20856419', '1339796894', None, None, None, None, None, '2618778'), ('4302', '20856419', '1339796889', None, None, None, None, None, '2618778'), ('4302', '20856419', '1339796882', None, None, None, None, None, '2618778'), ('4302', '20856419', '1339796859', None, None, None, None, None, '2618778'), ('4302', '20856419', '1339796854', None, None, None, None, None, '2618778'), ('4302', '20856419', '1339796843', None, None, None, None, None, '2618778'), ('4302', '20856419', '1339796727', None, None, None, None, None, '2618778')] time used for this insertion : 0.022622108459472656 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.9296979904174805 time spend to save output : 0.022956132888793945 total time spend for step 1 : 1.9526541233062744 step2:final Thu Feb 27 06:06:59 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 (20856419) 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 20856419 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1339796727,1339796859,1339796854,1339796843,1339796894,1339796889,1339796882,1339796926,1339796919,1339796961,1339796955,1339797014,1339797001,1339797890,1339797884,1339797872,1339797865,1339797968,1339798419,1339798413,1339798560,1339798556,1339798895,1339798891,1339798887,1339798882,1339798940,1339798971,1339799796,1339799762,1339800020); 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([20856419]) Inside saveOutput : final : False verbose : True original output for save of step final : {1339800020: ('0.10666733861343768',), 1339799796: ('0.10666733861343768',), 1339799762: ('0.10666733861343768',), 1339798971: ('0.10666733861343768',), 1339798940: ('0.10666733861343768',), 1339798895: ('0.10666733861343768',), 1339798891: ('0.10666733861343768',), 1339798887: ('0.10666733861343768',), 1339798882: ('0.10666733861343768',), 1339798560: ('0.10666733861343768',), 1339798556: ('0.10666733861343768',), 1339798419: ('0.10666733861343768',), 1339798413: ('0.10666733861343768',), 1339797968: ('0.10666733861343768',), 1339797890: ('0.10666733861343768',), 1339797884: ('0.10666733861343768',), 1339797872: ('0.10666733861343768',), 1339797865: ('0.10666733861343768',), 1339797014: ('0.10666733861343768',), 1339797001: ('0.10666733861343768',), 1339796961: ('0.10666733861343768',), 1339796955: ('0.10666733861343768',), 1339796926: ('0.10666733861343768',), 1339796919: ('0.10666733861343768',), 1339796894: ('0.10666733861343768',), 1339796889: ('0.10666733861343768',), 1339796882: ('0.10666733861343768',), 1339796859: ('0.10666733861343768',), 1339796854: ('0.10666733861343768',), 1339796843: ('0.10666733861343768',), 1339796727: ('0.10666733861343768',)} new output for save of step final : {1339800020: ('0.10666733861343768',), 1339799796: ('0.10666733861343768',), 1339799762: ('0.10666733861343768',), 1339798971: ('0.10666733861343768',), 1339798940: ('0.10666733861343768',), 1339798895: ('0.10666733861343768',), 1339798891: ('0.10666733861343768',), 1339798887: ('0.10666733861343768',), 1339798882: ('0.10666733861343768',), 1339798560: ('0.10666733861343768',), 1339798556: ('0.10666733861343768',), 1339798419: ('0.10666733861343768',), 1339798413: ('0.10666733861343768',), 1339797968: ('0.10666733861343768',), 1339797890: ('0.10666733861343768',), 1339797884: ('0.10666733861343768',), 1339797872: ('0.10666733861343768',), 1339797865: ('0.10666733861343768',), 1339797014: ('0.10666733861343768',), 1339797001: ('0.10666733861343768',), 1339796961: ('0.10666733861343768',), 1339796955: ('0.10666733861343768',), 1339796926: ('0.10666733861343768',), 1339796919: ('0.10666733861343768',), 1339796894: ('0.10666733861343768',), 1339796889: ('0.10666733861343768',), 1339796882: ('0.10666733861343768',), 1339796859: ('0.10666733861343768',), 1339796854: ('0.10666733861343768',), 1339796843: ('0.10666733861343768',), 1339796727: ('0.10666733861343768',)} [1339800020, 1339799796, 1339799762, 1339798971, 1339798940, 1339798895, 1339798891, 1339798887, 1339798882, 1339798560, 1339798556, 1339798419, 1339798413, 1339797968, 1339797890, 1339797884, 1339797872, 1339797865, 1339797014, 1339797001, 1339796961, 1339796955, 1339796926, 1339796919, 1339796894, 1339796889, 1339796882, 1339796859, 1339796854, 1339796843, 1339796727] map_info['map_portfolio_photo'] : {20856419: [1339800020, 1339799796, 1339799762, 1339798971, 1339798940, 1339798895, 1339798891, 1339798887, 1339798882, 1339798560, 1339798556, 1339798419, 1339798413, 1339797968, 1339797890, 1339797884, 1339797872, 1339797865, 1339797014, 1339797001, 1339796961, 1339796955, 1339796926, 1339796919, 1339796894, 1339796889, 1339796882, 1339796859, 1339796854, 1339796843, 1339796727]} final : False mtd_id 4302 list_pids : [1339800020, 1339799796, 1339799762, 1339798971, 1339798940, 1339798895, 1339798891, 1339798887, 1339798882, 1339798560, 1339798556, 1339798419, 1339798413, 1339797968, 1339797890, 1339797884, 1339797872, 1339797865, 1339797014, 1339797001, 1339796961, 1339796955, 1339796926, 1339796919, 1339796894, 1339796889, 1339796882, 1339796859, 1339796854, 1339796843, 1339796727] Looping around the photos to save general results len do output : 31 /1339800020.Didn't retrieve data . /1339799796.Didn't retrieve data . /1339799762.Didn't retrieve data . /1339798971.Didn't retrieve data . /1339798940.Didn't retrieve data . /1339798895.Didn't retrieve data . /1339798891.Didn't retrieve data . /1339798887.Didn't retrieve data . /1339798882.Didn't retrieve data . /1339798560.Didn't retrieve data . /1339798556.Didn't retrieve data . /1339798419.Didn't retrieve data . /1339798413.Didn't retrieve data . /1339797968.Didn't retrieve data . /1339797890.Didn't retrieve data . /1339797884.Didn't retrieve data . /1339797872.Didn't retrieve data . /1339797865.Didn't retrieve data . /1339797014.Didn't retrieve data . /1339797001.Didn't retrieve data . /1339796961.Didn't retrieve data . /1339796955.Didn't retrieve data . /1339796926.Didn't retrieve data . /1339796919.Didn't retrieve data . /1339796894.Didn't retrieve data . /1339796889.Didn't retrieve data . /1339796882.Didn't retrieve data . /1339796859.Didn't retrieve data . /1339796854.Didn't retrieve data . /1339796843.Didn't retrieve data . /1339796727.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, '2618778') ('4302', '20856419', '1339800020', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339799796', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339799762', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339798971', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339798940', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339798895', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339798891', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339798887', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339798882', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339798560', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339798556', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339798419', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339798413', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339797968', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339797890', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339797884', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339797872', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339797865', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339797014', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339797001', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339796961', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339796955', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339796926', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339796919', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339796894', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339796889', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339796882', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339796859', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339796854', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339796843', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339796727', None, None, None, None, None, '2618778') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 93 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', '20856419', '1339800020', '0.10666733861343768', None, None, None, None, '2618778'), ('4302', '20856419', '1339799796', '0.10666733861343768', None, None, None, None, '2618778'), ('4302', '20856419', '1339799762', '0.10666733861343768', None, None, None, None, '2618778'), ('4302', '20856419', '1339798971', '0.10666733861343768', None, None, None, None, '2618778'), ('4302', '20856419', '1339798940', '0.10666733861343768', None, None, None, None, '2618778'), ('4302', '20856419', '1339798895', '0.10666733861343768', None, None, None, None, '2618778'), ('4302', '20856419', '1339798891', '0.10666733861343768', None, None, None, None, '2618778'), ('4302', '20856419', '1339798887', '0.10666733861343768', None, None, None, None, '2618778'), ('4302', '20856419', '1339798882', '0.10666733861343768', None, None, None, None, '2618778'), ('4302', '20856419', '1339798560', '0.10666733861343768', None, None, None, None, '2618778'), ('4302', '20856419', '1339798556', '0.10666733861343768', None, None, None, None, '2618778'), ('4302', '20856419', '1339798419', '0.10666733861343768', None, None, None, None, '2618778'), ('4302', '20856419', '1339798413', '0.10666733861343768', None, None, None, None, '2618778'), ('4302', '20856419', '1339797968', '0.10666733861343768', None, None, None, None, '2618778'), ('4302', '20856419', '1339797890', '0.10666733861343768', None, None, None, None, '2618778'), ('4302', '20856419', '1339797884', '0.10666733861343768', None, None, None, None, '2618778'), ('4302', '20856419', '1339797872', '0.10666733861343768', None, None, None, None, '2618778'), ('4302', '20856419', '1339797865', '0.10666733861343768', None, None, None, None, '2618778'), ('4302', '20856419', '1339797014', '0.10666733861343768', None, None, None, None, '2618778'), ('4302', '20856419', '1339797001', '0.10666733861343768', None, None, None, None, '2618778'), ('4302', '20856419', '1339796961', '0.10666733861343768', None, None, None, None, '2618778'), ('4302', '20856419', '1339796955', '0.10666733861343768', None, None, None, None, '2618778'), ('4302', '20856419', '1339796926', '0.10666733861343768', None, None, None, None, '2618778'), ('4302', '20856419', '1339796919', '0.10666733861343768', None, None, None, None, '2618778'), ('4302', '20856419', '1339796894', '0.10666733861343768', None, None, None, None, '2618778'), ('4302', '20856419', '1339796889', '0.10666733861343768', None, None, None, None, '2618778'), ('4302', '20856419', '1339796882', '0.10666733861343768', None, None, None, None, '2618778'), ('4302', '20856419', '1339796859', '0.10666733861343768', None, None, None, None, '2618778'), ('4302', '20856419', '1339796854', '0.10666733861343768', None, None, None, None, '2618778'), ('4302', '20856419', '1339796843', '0.10666733861343768', None, None, None, None, '2618778'), ('4302', '20856419', '1339796727', '0.10666733861343768', None, None, None, None, '2618778')] time used for this insertion : 0.033211708068847656 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.07889318466186523 time spend to save output : 0.03447771072387695 total time spend for step 2 : 0.11337089538574219 step3:velours_tree Thu Feb 27 06:06:59 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 : {20856419: [{'papier': 20856471, 'flou': 20856472, 'autre_refus': 20856473, 'cartonnette': 20856474, 'environnement': 20856475, 'plastique': 20856476, 'kraft': 20856477, 'Carton_brun': 20856478, 'metal': 20856479, 'Carton_gris': 20856480, 'Teint_Dans_La_Masse': 20856481, 'mal_croppe': 20856482}]} input_args_next_step : {20856419: ()} output_args : {20856419: [{'papier': 20856471, 'flou': 20856472, 'autre_refus': 20856473, 'cartonnette': 20856474, 'environnement': 20856475, 'plastique': 20856476, 'kraft': 20856477, 'Carton_brun': 20856478, 'metal': 20856479, 'Carton_gris': 20856480, 'Teint_Dans_La_Masse': 20856481, 'mal_croppe': 20856482}]} args : 20856419 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 : ({'papier': 20856471, 'flou': 20856472, 'autre_refus': 20856473, 'cartonnette': 20856474, 'environnement': 20856475, 'plastique': 20856476, 'kraft': 20856477, 'Carton_brun': 20856478, 'metal': 20856479, 'Carton_gris': 20856480, 'Teint_Dans_La_Masse': 20856481, 'mal_croppe': 20856482},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20856419) 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([20856419]) 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.29276132583618164 time spend to save output : 5.459785461425781e-05 total time spend for step 3 : 0.2928159236907959 step4:send_mail_cod Thu Feb 27 06:06:59 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 : {1339800020: ('0.10666733861343768',), 1339799796: ('0.10666733861343768',), 1339799762: ('0.10666733861343768',), 1339798971: ('0.10666733861343768',), 1339798940: ('0.10666733861343768',), 1339798895: ('0.10666733861343768',), 1339798891: ('0.10666733861343768',), 1339798887: ('0.10666733861343768',), 1339798882: ('0.10666733861343768',), 1339798560: ('0.10666733861343768',), 1339798556: ('0.10666733861343768',), 1339798419: ('0.10666733861343768',), 1339798413: ('0.10666733861343768',), 1339797968: ('0.10666733861343768',), 1339797890: ('0.10666733861343768',), 1339797884: ('0.10666733861343768',), 1339797872: ('0.10666733861343768',), 1339797865: ('0.10666733861343768',), 1339797014: ('0.10666733861343768',), 1339797001: ('0.10666733861343768',), 1339796961: ('0.10666733861343768',), 1339796955: ('0.10666733861343768',), 1339796926: ('0.10666733861343768',), 1339796919: ('0.10666733861343768',), 1339796894: ('0.10666733861343768',), 1339796889: ('0.10666733861343768',), 1339796882: ('0.10666733861343768',), 1339796859: ('0.10666733861343768',), 1339796854: ('0.10666733861343768',), 1339796843: ('0.10666733861343768',), 1339796727: ('0.10666733861343768',)} input_args_next_step : {1339800020: ()} output_args : {1339800020: ('0.10666733861343768',), 1339799796: ('0.10666733861343768',), 1339799762: ('0.10666733861343768',), 1339798971: ('0.10666733861343768',), 1339798940: ('0.10666733861343768',), 1339798895: ('0.10666733861343768',), 1339798891: ('0.10666733861343768',), 1339798887: ('0.10666733861343768',), 1339798882: ('0.10666733861343768',), 1339798560: ('0.10666733861343768',), 1339798556: ('0.10666733861343768',), 1339798419: ('0.10666733861343768',), 1339798413: ('0.10666733861343768',), 1339797968: ('0.10666733861343768',), 1339797890: ('0.10666733861343768',), 1339797884: ('0.10666733861343768',), 1339797872: ('0.10666733861343768',), 1339797865: ('0.10666733861343768',), 1339797014: ('0.10666733861343768',), 1339797001: ('0.10666733861343768',), 1339796961: ('0.10666733861343768',), 1339796955: ('0.10666733861343768',), 1339796926: ('0.10666733861343768',), 1339796919: ('0.10666733861343768',), 1339796894: ('0.10666733861343768',), 1339796889: ('0.10666733861343768',), 1339796882: ('0.10666733861343768',), 1339796859: ('0.10666733861343768',), 1339796854: ('0.10666733861343768',), 1339796843: ('0.10666733861343768',), 1339796727: ('0.10666733861343768',)} args : 1339800020 depend.output_id : 0 input_args_next_step : {1339800020: ('0.10666733861343768',), 1339799796: ()} output_args : {1339800020: ('0.10666733861343768',), 1339799796: ('0.10666733861343768',), 1339799762: ('0.10666733861343768',), 1339798971: ('0.10666733861343768',), 1339798940: ('0.10666733861343768',), 1339798895: ('0.10666733861343768',), 1339798891: ('0.10666733861343768',), 1339798887: ('0.10666733861343768',), 1339798882: ('0.10666733861343768',), 1339798560: ('0.10666733861343768',), 1339798556: ('0.10666733861343768',), 1339798419: ('0.10666733861343768',), 1339798413: ('0.10666733861343768',), 1339797968: ('0.10666733861343768',), 1339797890: ('0.10666733861343768',), 1339797884: ('0.10666733861343768',), 1339797872: ('0.10666733861343768',), 1339797865: ('0.10666733861343768',), 1339797014: ('0.10666733861343768',), 1339797001: ('0.10666733861343768',), 1339796961: ('0.10666733861343768',), 1339796955: ('0.10666733861343768',), 1339796926: ('0.10666733861343768',), 1339796919: ('0.10666733861343768',), 1339796894: ('0.10666733861343768',), 1339796889: ('0.10666733861343768',), 1339796882: ('0.10666733861343768',), 1339796859: ('0.10666733861343768',), 1339796854: ('0.10666733861343768',), 1339796843: ('0.10666733861343768',), 1339796727: ('0.10666733861343768',)} args : 1339799796 depend.output_id : 0 input_args_next_step : {1339800020: ('0.10666733861343768',), 1339799796: ('0.10666733861343768',), 1339799762: ()} output_args : {1339800020: ('0.10666733861343768',), 1339799796: ('0.10666733861343768',), 1339799762: ('0.10666733861343768',), 1339798971: ('0.10666733861343768',), 1339798940: ('0.10666733861343768',), 1339798895: ('0.10666733861343768',), 1339798891: ('0.10666733861343768',), 1339798887: ('0.10666733861343768',), 1339798882: ('0.10666733861343768',), 1339798560: ('0.10666733861343768',), 1339798556: ('0.10666733861343768',), 1339798419: ('0.10666733861343768',), 1339798413: ('0.10666733861343768',), 1339797968: ('0.10666733861343768',), 1339797890: ('0.10666733861343768',), 1339797884: ('0.10666733861343768',), 1339797872: ('0.10666733861343768',), 1339797865: ('0.10666733861343768',), 1339797014: ('0.10666733861343768',), 1339797001: ('0.10666733861343768',), 1339796961: ('0.10666733861343768',), 1339796955: ('0.10666733861343768',), 1339796926: ('0.10666733861343768',), 1339796919: ('0.10666733861343768',), 1339796894: ('0.10666733861343768',), 1339796889: ('0.10666733861343768',), 1339796882: ('0.10666733861343768',), 1339796859: ('0.10666733861343768',), 1339796854: ('0.10666733861343768',), 1339796843: ('0.10666733861343768',), 1339796727: ('0.10666733861343768',)} args : 1339799762 depend.output_id : 0 input_args_next_step : {1339800020: ('0.10666733861343768',), 1339799796: ('0.10666733861343768',), 1339799762: ('0.10666733861343768',), 1339798971: ()} output_args : {1339800020: ('0.10666733861343768',), 1339799796: ('0.10666733861343768',), 1339799762: ('0.10666733861343768',), 1339798971: ('0.10666733861343768',), 1339798940: ('0.10666733861343768',), 1339798895: ('0.10666733861343768',), 1339798891: ('0.10666733861343768',), 1339798887: ('0.10666733861343768',), 1339798882: ('0.10666733861343768',), 1339798560: ('0.10666733861343768',), 1339798556: ('0.10666733861343768',), 1339798419: ('0.10666733861343768',), 1339798413: ('0.10666733861343768',), 1339797968: ('0.10666733861343768',), 1339797890: ('0.10666733861343768',), 1339797884: ('0.10666733861343768',), 1339797872: ('0.10666733861343768',), 1339797865: ('0.10666733861343768',), 1339797014: ('0.10666733861343768',), 1339797001: ('0.10666733861343768',), 1339796961: ('0.10666733861343768',), 1339796955: ('0.10666733861343768',), 1339796926: ('0.10666733861343768',), 1339796919: ('0.10666733861343768',), 1339796894: ('0.10666733861343768',), 1339796889: ('0.10666733861343768',), 1339796882: ('0.10666733861343768',), 1339796859: ('0.10666733861343768',), 1339796854: ('0.10666733861343768',), 1339796843: ('0.10666733861343768',), 1339796727: ('0.10666733861343768',)} args : 1339798971 depend.output_id : 0 input_args_next_step : {1339800020: ('0.10666733861343768',), 1339799796: ('0.10666733861343768',), 1339799762: ('0.10666733861343768',), 1339798971: ('0.10666733861343768',), 1339798940: ()} output_args : {1339800020: ('0.10666733861343768',), 1339799796: ('0.10666733861343768',), 1339799762: ('0.10666733861343768',), 1339798971: ('0.10666733861343768',), 1339798940: ('0.10666733861343768',), 1339798895: ('0.10666733861343768',), 1339798891: ('0.10666733861343768',), 1339798887: ('0.10666733861343768',), 1339798882: ('0.10666733861343768',), 1339798560: ('0.10666733861343768',), 1339798556: ('0.10666733861343768',), 1339798419: ('0.10666733861343768',), 1339798413: ('0.10666733861343768',), 1339797968: ('0.10666733861343768',), 1339797890: ('0.10666733861343768',), 1339797884: ('0.10666733861343768',), 1339797872: ('0.10666733861343768',), 1339797865: ('0.10666733861343768',), 1339797014: ('0.10666733861343768',), 1339797001: ('0.10666733861343768',), 1339796961: ('0.10666733861343768',), 1339796955: ('0.10666733861343768',), 1339796926: ('0.10666733861343768',), 1339796919: ('0.10666733861343768',), 1339796894: ('0.10666733861343768',), 1339796889: ('0.10666733861343768',), 1339796882: ('0.10666733861343768',), 1339796859: ('0.10666733861343768',), 1339796854: ('0.10666733861343768',), 1339796843: ('0.10666733861343768',), 1339796727: ('0.10666733861343768',)} args : 1339798940 depend.output_id : 0 input_args_next_step : {1339800020: ('0.10666733861343768',), 1339799796: ('0.10666733861343768',), 1339799762: ('0.10666733861343768',), 1339798971: ('0.10666733861343768',), 1339798940: ('0.10666733861343768',), 1339798895: ()} output_args : {1339800020: ('0.10666733861343768',), 1339799796: ('0.10666733861343768',), 1339799762: ('0.10666733861343768',), 1339798971: ('0.10666733861343768',), 1339798940: ('0.10666733861343768',), 1339798895: ('0.10666733861343768',), 1339798891: ('0.10666733861343768',), 1339798887: ('0.10666733861343768',), 1339798882: ('0.10666733861343768',), 1339798560: ('0.10666733861343768',), 1339798556: ('0.10666733861343768',), 1339798419: ('0.10666733861343768',), 1339798413: ('0.10666733861343768',), 1339797968: ('0.10666733861343768',), 1339797890: ('0.10666733861343768',), 1339797884: ('0.10666733861343768',), 1339797872: ('0.10666733861343768',), 1339797865: ('0.10666733861343768',), 1339797014: ('0.10666733861343768',), 1339797001: ('0.10666733861343768',), 1339796961: ('0.10666733861343768',), 1339796955: ('0.10666733861343768',), 1339796926: ('0.10666733861343768',), 1339796919: ('0.10666733861343768',), 1339796894: ('0.10666733861343768',), 1339796889: ('0.10666733861343768',), 1339796882: ('0.10666733861343768',), 1339796859: ('0.10666733861343768',), 1339796854: ('0.10666733861343768',), 1339796843: ('0.10666733861343768',), 1339796727: ('0.10666733861343768',)} args : 1339798895 depend.output_id : 0 input_args_next_step : {1339800020: ('0.10666733861343768',), 1339799796: ('0.10666733861343768',), 1339799762: ('0.10666733861343768',), 1339798971: ('0.10666733861343768',), 1339798940: ('0.10666733861343768',), 1339798895: ('0.10666733861343768',), 1339798891: ()} output_args : {1339800020: ('0.10666733861343768',), 1339799796: ('0.10666733861343768',), 1339799762: ('0.10666733861343768',), 1339798971: ('0.10666733861343768',), 1339798940: ('0.10666733861343768',), 1339798895: ('0.10666733861343768',), 1339798891: ('0.10666733861343768',), 1339798887: ('0.10666733861343768',), 1339798882: ('0.10666733861343768',), 1339798560: ('0.10666733861343768',), 1339798556: ('0.10666733861343768',), 1339798419: ('0.10666733861343768',), 1339798413: ('0.10666733861343768',), 1339797968: ('0.10666733861343768',), 1339797890: ('0.10666733861343768',), 1339797884: ('0.10666733861343768',), 1339797872: ('0.10666733861343768',), 1339797865: ('0.10666733861343768',), 1339797014: ('0.10666733861343768',), 1339797001: ('0.10666733861343768',), 1339796961: ('0.10666733861343768',), 1339796955: ('0.10666733861343768',), 1339796926: ('0.10666733861343768',), 1339796919: ('0.10666733861343768',), 1339796894: ('0.10666733861343768',), 1339796889: ('0.10666733861343768',), 1339796882: ('0.10666733861343768',), 1339796859: ('0.10666733861343768',), 1339796854: ('0.10666733861343768',), 1339796843: ('0.10666733861343768',), 1339796727: ('0.10666733861343768',)} args : 1339798891 depend.output_id : 0 input_args_next_step : {1339800020: ('0.10666733861343768',), 1339799796: ('0.10666733861343768',), 1339799762: ('0.10666733861343768',), 1339798971: ('0.10666733861343768',), 1339798940: ('0.10666733861343768',), 1339798895: ('0.10666733861343768',), 1339798891: ('0.10666733861343768',), 1339798887: ()} output_args : {1339800020: ('0.10666733861343768',), 1339799796: ('0.10666733861343768',), 1339799762: ('0.10666733861343768',), 1339798971: ('0.10666733861343768',), 1339798940: ('0.10666733861343768',), 1339798895: ('0.10666733861343768',), 1339798891: ('0.10666733861343768',), 1339798887: ('0.10666733861343768',), 1339798882: ('0.10666733861343768',), 1339798560: ('0.10666733861343768',), 1339798556: ('0.10666733861343768',), 1339798419: ('0.10666733861343768',), 1339798413: ('0.10666733861343768',), 1339797968: ('0.10666733861343768',), 1339797890: ('0.10666733861343768',), 1339797884: ('0.10666733861343768',), 1339797872: ('0.10666733861343768',), 1339797865: ('0.10666733861343768',), 1339797014: ('0.10666733861343768',), 1339797001: ('0.10666733861343768',), 1339796961: ('0.10666733861343768',), 1339796955: ('0.10666733861343768',), 1339796926: ('0.10666733861343768',), 1339796919: ('0.10666733861343768',), 1339796894: ('0.10666733861343768',), 1339796889: ('0.10666733861343768',), 1339796882: ('0.10666733861343768',), 1339796859: ('0.10666733861343768',), 1339796854: ('0.10666733861343768',), 1339796843: ('0.10666733861343768',), 1339796727: ('0.10666733861343768',)} args : 1339798887 depend.output_id : 0 input_args_next_step : {1339800020: ('0.10666733861343768',), 1339799796: ('0.10666733861343768',), 1339799762: ('0.10666733861343768',), 1339798971: ('0.10666733861343768',), 1339798940: ('0.10666733861343768',), 1339798895: ('0.10666733861343768',), 1339798891: ('0.10666733861343768',), 1339798887: ('0.10666733861343768',), 1339798882: ()} output_args : {1339800020: ('0.10666733861343768',), 1339799796: ('0.10666733861343768',), 1339799762: ('0.10666733861343768',), 1339798971: ('0.10666733861343768',), 1339798940: ('0.10666733861343768',), 1339798895: ('0.10666733861343768',), 1339798891: ('0.10666733861343768',), 1339798887: ('0.10666733861343768',), 1339798882: ('0.10666733861343768',), 1339798560: ('0.10666733861343768',), 1339798556: ('0.10666733861343768',), 1339798419: ('0.10666733861343768',), 1339798413: ('0.10666733861343768',), 1339797968: ('0.10666733861343768',), 1339797890: ('0.10666733861343768',), 1339797884: ('0.10666733861343768',), 1339797872: ('0.10666733861343768',), 1339797865: ('0.10666733861343768',), 1339797014: ('0.10666733861343768',), 1339797001: ('0.10666733861343768',), 1339796961: ('0.10666733861343768',), 1339796955: ('0.10666733861343768',), 1339796926: ('0.10666733861343768',), 1339796919: ('0.10666733861343768',), 1339796894: ('0.10666733861343768',), 1339796889: ('0.10666733861343768',), 1339796882: ('0.10666733861343768',), 1339796859: ('0.10666733861343768',), 1339796854: ('0.10666733861343768',), 1339796843: ('0.10666733861343768',), 1339796727: ('0.10666733861343768',)} args : 1339798882 depend.output_id : 0 input_args_next_step : {1339800020: ('0.10666733861343768',), 1339799796: ('0.10666733861343768',), 1339799762: ('0.10666733861343768',), 1339798971: ('0.10666733861343768',), 1339798940: ('0.10666733861343768',), 1339798895: ('0.10666733861343768',), 1339798891: ('0.10666733861343768',), 1339798887: ('0.10666733861343768',), 1339798882: ('0.10666733861343768',), 1339798560: ()} output_args : {1339800020: ('0.10666733861343768',), 1339799796: ('0.10666733861343768',), 1339799762: ('0.10666733861343768',), 1339798971: ('0.10666733861343768',), 1339798940: ('0.10666733861343768',), 1339798895: ('0.10666733861343768',), 1339798891: ('0.10666733861343768',), 1339798887: ('0.10666733861343768',), 1339798882: ('0.10666733861343768',), 1339798560: ('0.10666733861343768',), 1339798556: ('0.10666733861343768',), 1339798419: ('0.10666733861343768',), 1339798413: ('0.10666733861343768',), 1339797968: ('0.10666733861343768',), 1339797890: ('0.10666733861343768',), 1339797884: ('0.10666733861343768',), 1339797872: ('0.10666733861343768',), 1339797865: ('0.10666733861343768',), 1339797014: ('0.10666733861343768',), 1339797001: ('0.10666733861343768',), 1339796961: ('0.10666733861343768',), 1339796955: ('0.10666733861343768',), 1339796926: ('0.10666733861343768',), 1339796919: ('0.10666733861343768',), 1339796894: ('0.10666733861343768',), 1339796889: ('0.10666733861343768',), 1339796882: ('0.10666733861343768',), 1339796859: ('0.10666733861343768',), 1339796854: ('0.10666733861343768',), 1339796843: ('0.10666733861343768',), 1339796727: ('0.10666733861343768',)} args : 1339798560 depend.output_id : 0 input_args_next_step : {1339800020: ('0.10666733861343768',), 1339799796: ('0.10666733861343768',), 1339799762: ('0.10666733861343768',), 1339798971: ('0.10666733861343768',), 1339798940: ('0.10666733861343768',), 1339798895: ('0.10666733861343768',), 1339798891: ('0.10666733861343768',), 1339798887: ('0.10666733861343768',), 1339798882: ('0.10666733861343768',), 1339798560: ('0.10666733861343768',), 1339798556: ()} output_args : {1339800020: ('0.10666733861343768',), 1339799796: ('0.10666733861343768',), 1339799762: ('0.10666733861343768',), 1339798971: ('0.10666733861343768',), 1339798940: ('0.10666733861343768',), 1339798895: ('0.10666733861343768',), 1339798891: ('0.10666733861343768',), 1339798887: ('0.10666733861343768',), 1339798882: ('0.10666733861343768',), 1339798560: ('0.10666733861343768',), 1339798556: ('0.10666733861343768',), 1339798419: ('0.10666733861343768',), 1339798413: ('0.10666733861343768',), 1339797968: ('0.10666733861343768',), 1339797890: ('0.10666733861343768',), 1339797884: ('0.10666733861343768',), 1339797872: ('0.10666733861343768',), 1339797865: ('0.10666733861343768',), 1339797014: ('0.10666733861343768',), 1339797001: ('0.10666733861343768',), 1339796961: ('0.10666733861343768',), 1339796955: ('0.10666733861343768',), 1339796926: ('0.10666733861343768',), 1339796919: ('0.10666733861343768',), 1339796894: ('0.10666733861343768',), 1339796889: ('0.10666733861343768',), 1339796882: ('0.10666733861343768',), 1339796859: ('0.10666733861343768',), 1339796854: ('0.10666733861343768',), 1339796843: ('0.10666733861343768',), 1339796727: ('0.10666733861343768',)} args : 1339798556 depend.output_id : 0 input_args_next_step : {1339800020: ('0.10666733861343768',), 1339799796: ('0.10666733861343768',), 1339799762: ('0.10666733861343768',), 1339798971: ('0.10666733861343768',), 1339798940: ('0.10666733861343768',), 1339798895: ('0.10666733861343768',), 1339798891: ('0.10666733861343768',), 1339798887: ('0.10666733861343768',), 1339798882: ('0.10666733861343768',), 1339798560: ('0.10666733861343768',), 1339798556: ('0.10666733861343768',), 1339798419: ()} output_args : {1339800020: ('0.10666733861343768',), 1339799796: ('0.10666733861343768',), 1339799762: ('0.10666733861343768',), 1339798971: ('0.10666733861343768',), 1339798940: ('0.10666733861343768',), 1339798895: ('0.10666733861343768',), 1339798891: ('0.10666733861343768',), 1339798887: ('0.10666733861343768',), 1339798882: ('0.10666733861343768',), 1339798560: ('0.10666733861343768',), 1339798556: ('0.10666733861343768',), 1339798419: ('0.10666733861343768',), 1339798413: ('0.10666733861343768',), 1339797968: ('0.10666733861343768',), 1339797890: ('0.10666733861343768',), 1339797884: ('0.10666733861343768',), 1339797872: ('0.10666733861343768',), 1339797865: ('0.10666733861343768',), 1339797014: ('0.10666733861343768',), 1339797001: ('0.10666733861343768',), 1339796961: ('0.10666733861343768',), 1339796955: ('0.10666733861343768',), 1339796926: ('0.10666733861343768',), 1339796919: ('0.10666733861343768',), 1339796894: ('0.10666733861343768',), 1339796889: ('0.10666733861343768',), 1339796882: ('0.10666733861343768',), 1339796859: ('0.10666733861343768',), 1339796854: ('0.10666733861343768',), 1339796843: ('0.10666733861343768',), 1339796727: ('0.10666733861343768',)} args : 1339798419 depend.output_id : 0 input_args_next_step : {1339800020: ('0.10666733861343768',), 1339799796: ('0.10666733861343768',), 1339799762: ('0.10666733861343768',), 1339798971: ('0.10666733861343768',), 1339798940: ('0.10666733861343768',), 1339798895: ('0.10666733861343768',), 1339798891: ('0.10666733861343768',), 1339798887: ('0.10666733861343768',), 1339798882: ('0.10666733861343768',), 1339798560: ('0.10666733861343768',), 1339798556: ('0.10666733861343768',), 1339798419: ('0.10666733861343768',), 1339798413: ()} output_args : {1339800020: ('0.10666733861343768',), 1339799796: ('0.10666733861343768',), 1339799762: ('0.10666733861343768',), 1339798971: ('0.10666733861343768',), 1339798940: ('0.10666733861343768',), 1339798895: ('0.10666733861343768',), 1339798891: ('0.10666733861343768',), 1339798887: ('0.10666733861343768',), 1339798882: ('0.10666733861343768',), 1339798560: ('0.10666733861343768',), 1339798556: ('0.10666733861343768',), 1339798419: ('0.10666733861343768',), 1339798413: ('0.10666733861343768',), 1339797968: ('0.10666733861343768',), 1339797890: ('0.10666733861343768',), 1339797884: ('0.10666733861343768',), 1339797872: ('0.10666733861343768',), 1339797865: ('0.10666733861343768',), 1339797014: ('0.10666733861343768',), 1339797001: ('0.10666733861343768',), 1339796961: ('0.10666733861343768',), 1339796955: ('0.10666733861343768',), 1339796926: ('0.10666733861343768',), 1339796919: ('0.10666733861343768',), 1339796894: ('0.10666733861343768',), 1339796889: ('0.10666733861343768',), 1339796882: ('0.10666733861343768',), 1339796859: ('0.10666733861343768',), 1339796854: ('0.10666733861343768',), 1339796843: ('0.10666733861343768',), 1339796727: ('0.10666733861343768',)} args : 1339798413 depend.output_id : 0 input_args_next_step : {1339800020: ('0.10666733861343768',), 1339799796: ('0.10666733861343768',), 1339799762: ('0.10666733861343768',), 1339798971: ('0.10666733861343768',), 1339798940: ('0.10666733861343768',), 1339798895: ('0.10666733861343768',), 1339798891: ('0.10666733861343768',), 1339798887: ('0.10666733861343768',), 1339798882: ('0.10666733861343768',), 1339798560: ('0.10666733861343768',), 1339798556: ('0.10666733861343768',), 1339798419: ('0.10666733861343768',), 1339798413: ('0.10666733861343768',), 1339797968: ()} output_args : {1339800020: ('0.10666733861343768',), 1339799796: ('0.10666733861343768',), 1339799762: ('0.10666733861343768',), 1339798971: ('0.10666733861343768',), 1339798940: ('0.10666733861343768',), 1339798895: ('0.10666733861343768',), 1339798891: ('0.10666733861343768',), 1339798887: ('0.10666733861343768',), 1339798882: ('0.10666733861343768',), 1339798560: ('0.10666733861343768',), 1339798556: ('0.10666733861343768',), 1339798419: ('0.10666733861343768',), 1339798413: ('0.10666733861343768',), 1339797968: ('0.10666733861343768',), 1339797890: ('0.10666733861343768',), 1339797884: ('0.10666733861343768',), 1339797872: ('0.10666733861343768',), 1339797865: ('0.10666733861343768',), 1339797014: ('0.10666733861343768',), 1339797001: ('0.10666733861343768',), 1339796961: ('0.10666733861343768',), 1339796955: ('0.10666733861343768',), 1339796926: ('0.10666733861343768',), 1339796919: ('0.10666733861343768',), 1339796894: ('0.10666733861343768',), 1339796889: ('0.10666733861343768',), 1339796882: ('0.10666733861343768',), 1339796859: ('0.10666733861343768',), 1339796854: ('0.10666733861343768',), 1339796843: ('0.10666733861343768',), 1339796727: ('0.10666733861343768',)} args : 1339797968 depend.output_id : 0 input_args_next_step : {1339800020: ('0.10666733861343768',), 1339799796: ('0.10666733861343768',), 1339799762: ('0.10666733861343768',), 1339798971: ('0.10666733861343768',), 1339798940: ('0.10666733861343768',), 1339798895: ('0.10666733861343768',), 1339798891: ('0.10666733861343768',), 1339798887: ('0.10666733861343768',), 1339798882: ('0.10666733861343768',), 1339798560: ('0.10666733861343768',), 1339798556: ('0.10666733861343768',), 1339798419: ('0.10666733861343768',), 1339798413: ('0.10666733861343768',), 1339797968: ('0.10666733861343768',), 1339797890: ()} output_args : {1339800020: ('0.10666733861343768',), 1339799796: ('0.10666733861343768',), 1339799762: ('0.10666733861343768',), 1339798971: ('0.10666733861343768',), 1339798940: ('0.10666733861343768',), 1339798895: ('0.10666733861343768',), 1339798891: ('0.10666733861343768',), 1339798887: ('0.10666733861343768',), 1339798882: ('0.10666733861343768',), 1339798560: ('0.10666733861343768',), 1339798556: ('0.10666733861343768',), 1339798419: ('0.10666733861343768',), 1339798413: ('0.10666733861343768',), 1339797968: ('0.10666733861343768',), 1339797890: ('0.10666733861343768',), 1339797884: ('0.10666733861343768',), 1339797872: ('0.10666733861343768',), 1339797865: ('0.10666733861343768',), 1339797014: ('0.10666733861343768',), 1339797001: ('0.10666733861343768',), 1339796961: ('0.10666733861343768',), 1339796955: ('0.10666733861343768',), 1339796926: ('0.10666733861343768',), 1339796919: ('0.10666733861343768',), 1339796894: ('0.10666733861343768',), 1339796889: ('0.10666733861343768',), 1339796882: ('0.10666733861343768',), 1339796859: ('0.10666733861343768',), 1339796854: ('0.10666733861343768',), 1339796843: ('0.10666733861343768',), 1339796727: ('0.10666733861343768',)} args : 1339797890 depend.output_id : 0 input_args_next_step : {1339800020: ('0.10666733861343768',), 1339799796: ('0.10666733861343768',), 1339799762: ('0.10666733861343768',), 1339798971: ('0.10666733861343768',), 1339798940: ('0.10666733861343768',), 1339798895: ('0.10666733861343768',), 1339798891: ('0.10666733861343768',), 1339798887: ('0.10666733861343768',), 1339798882: ('0.10666733861343768',), 1339798560: ('0.10666733861343768',), 1339798556: ('0.10666733861343768',), 1339798419: ('0.10666733861343768',), 1339798413: ('0.10666733861343768',), 1339797968: ('0.10666733861343768',), 1339797890: ('0.10666733861343768',), 1339797884: ()} output_args : {1339800020: ('0.10666733861343768',), 1339799796: ('0.10666733861343768',), 1339799762: ('0.10666733861343768',), 1339798971: ('0.10666733861343768',), 1339798940: ('0.10666733861343768',), 1339798895: ('0.10666733861343768',), 1339798891: ('0.10666733861343768',), 1339798887: ('0.10666733861343768',), 1339798882: ('0.10666733861343768',), 1339798560: ('0.10666733861343768',), 1339798556: ('0.10666733861343768',), 1339798419: ('0.10666733861343768',), 1339798413: ('0.10666733861343768',), 1339797968: ('0.10666733861343768',), 1339797890: ('0.10666733861343768',), 1339797884: ('0.10666733861343768',), 1339797872: ('0.10666733861343768',), 1339797865: ('0.10666733861343768',), 1339797014: ('0.10666733861343768',), 1339797001: ('0.10666733861343768',), 1339796961: ('0.10666733861343768',), 1339796955: ('0.10666733861343768',), 1339796926: ('0.10666733861343768',), 1339796919: ('0.10666733861343768',), 1339796894: ('0.10666733861343768',), 1339796889: ('0.10666733861343768',), 1339796882: ('0.10666733861343768',), 1339796859: ('0.10666733861343768',), 1339796854: ('0.10666733861343768',), 1339796843: ('0.10666733861343768',), 1339796727: ('0.10666733861343768',)} args : 1339797884 depend.output_id : 0 input_args_next_step : {1339800020: ('0.10666733861343768',), 1339799796: ('0.10666733861343768',), 1339799762: ('0.10666733861343768',), 1339798971: ('0.10666733861343768',), 1339798940: ('0.10666733861343768',), 1339798895: ('0.10666733861343768',), 1339798891: ('0.10666733861343768',), 1339798887: ('0.10666733861343768',), 1339798882: ('0.10666733861343768',), 1339798560: ('0.10666733861343768',), 1339798556: ('0.10666733861343768',), 1339798419: ('0.10666733861343768',), 1339798413: ('0.10666733861343768',), 1339797968: ('0.10666733861343768',), 1339797890: ('0.10666733861343768',), 1339797884: ('0.10666733861343768',), 1339797872: ()} output_args : {1339800020: ('0.10666733861343768',), 1339799796: ('0.10666733861343768',), 1339799762: ('0.10666733861343768',), 1339798971: ('0.10666733861343768',), 1339798940: ('0.10666733861343768',), 1339798895: ('0.10666733861343768',), 1339798891: ('0.10666733861343768',), 1339798887: ('0.10666733861343768',), 1339798882: ('0.10666733861343768',), 1339798560: ('0.10666733861343768',), 1339798556: ('0.10666733861343768',), 1339798419: ('0.10666733861343768',), 1339798413: ('0.10666733861343768',), 1339797968: ('0.10666733861343768',), 1339797890: ('0.10666733861343768',), 1339797884: ('0.10666733861343768',), 1339797872: ('0.10666733861343768',), 1339797865: ('0.10666733861343768',), 1339797014: ('0.10666733861343768',), 1339797001: ('0.10666733861343768',), 1339796961: ('0.10666733861343768',), 1339796955: ('0.10666733861343768',), 1339796926: ('0.10666733861343768',), 1339796919: ('0.10666733861343768',), 1339796894: ('0.10666733861343768',), 1339796889: ('0.10666733861343768',), 1339796882: ('0.10666733861343768',), 1339796859: ('0.10666733861343768',), 1339796854: ('0.10666733861343768',), 1339796843: ('0.10666733861343768',), 1339796727: ('0.10666733861343768',)} args : 1339797872 depend.output_id : 0 input_args_next_step : {1339800020: ('0.10666733861343768',), 1339799796: ('0.10666733861343768',), 1339799762: ('0.10666733861343768',), 1339798971: ('0.10666733861343768',), 1339798940: ('0.10666733861343768',), 1339798895: ('0.10666733861343768',), 1339798891: ('0.10666733861343768',), 1339798887: ('0.10666733861343768',), 1339798882: ('0.10666733861343768',), 1339798560: ('0.10666733861343768',), 1339798556: ('0.10666733861343768',), 1339798419: ('0.10666733861343768',), 1339798413: ('0.10666733861343768',), 1339797968: ('0.10666733861343768',), 1339797890: ('0.10666733861343768',), 1339797884: ('0.10666733861343768',), 1339797872: ('0.10666733861343768',), 1339797865: ()} output_args : {1339800020: ('0.10666733861343768',), 1339799796: ('0.10666733861343768',), 1339799762: ('0.10666733861343768',), 1339798971: ('0.10666733861343768',), 1339798940: ('0.10666733861343768',), 1339798895: ('0.10666733861343768',), 1339798891: ('0.10666733861343768',), 1339798887: ('0.10666733861343768',), 1339798882: ('0.10666733861343768',), 1339798560: ('0.10666733861343768',), 1339798556: ('0.10666733861343768',), 1339798419: ('0.10666733861343768',), 1339798413: ('0.10666733861343768',), 1339797968: ('0.10666733861343768',), 1339797890: ('0.10666733861343768',), 1339797884: ('0.10666733861343768',), 1339797872: ('0.10666733861343768',), 1339797865: ('0.10666733861343768',), 1339797014: ('0.10666733861343768',), 1339797001: ('0.10666733861343768',), 1339796961: ('0.10666733861343768',), 1339796955: ('0.10666733861343768',), 1339796926: ('0.10666733861343768',), 1339796919: ('0.10666733861343768',), 1339796894: ('0.10666733861343768',), 1339796889: ('0.10666733861343768',), 1339796882: ('0.10666733861343768',), 1339796859: ('0.10666733861343768',), 1339796854: ('0.10666733861343768',), 1339796843: ('0.10666733861343768',), 1339796727: ('0.10666733861343768',)} args : 1339797865 depend.output_id : 0 input_args_next_step : {1339800020: ('0.10666733861343768',), 1339799796: ('0.10666733861343768',), 1339799762: ('0.10666733861343768',), 1339798971: ('0.10666733861343768',), 1339798940: ('0.10666733861343768',), 1339798895: ('0.10666733861343768',), 1339798891: ('0.10666733861343768',), 1339798887: ('0.10666733861343768',), 1339798882: ('0.10666733861343768',), 1339798560: ('0.10666733861343768',), 1339798556: ('0.10666733861343768',), 1339798419: ('0.10666733861343768',), 1339798413: ('0.10666733861343768',), 1339797968: ('0.10666733861343768',), 1339797890: ('0.10666733861343768',), 1339797884: ('0.10666733861343768',), 1339797872: ('0.10666733861343768',), 1339797865: ('0.10666733861343768',), 1339797014: ()} output_args : {1339800020: ('0.10666733861343768',), 1339799796: ('0.10666733861343768',), 1339799762: ('0.10666733861343768',), 1339798971: ('0.10666733861343768',), 1339798940: ('0.10666733861343768',), 1339798895: ('0.10666733861343768',), 1339798891: ('0.10666733861343768',), 1339798887: ('0.10666733861343768',), 1339798882: ('0.10666733861343768',), 1339798560: ('0.10666733861343768',), 1339798556: ('0.10666733861343768',), 1339798419: ('0.10666733861343768',), 1339798413: ('0.10666733861343768',), 1339797968: ('0.10666733861343768',), 1339797890: ('0.10666733861343768',), 1339797884: ('0.10666733861343768',), 1339797872: ('0.10666733861343768',), 1339797865: ('0.10666733861343768',), 1339797014: ('0.10666733861343768',), 1339797001: ('0.10666733861343768',), 1339796961: ('0.10666733861343768',), 1339796955: ('0.10666733861343768',), 1339796926: ('0.10666733861343768',), 1339796919: ('0.10666733861343768',), 1339796894: ('0.10666733861343768',), 1339796889: ('0.10666733861343768',), 1339796882: ('0.10666733861343768',), 1339796859: ('0.10666733861343768',), 1339796854: ('0.10666733861343768',), 1339796843: ('0.10666733861343768',), 1339796727: ('0.10666733861343768',)} args : 1339797014 depend.output_id : 0 input_args_next_step : {1339800020: ('0.10666733861343768',), 1339799796: ('0.10666733861343768',), 1339799762: ('0.10666733861343768',), 1339798971: ('0.10666733861343768',), 1339798940: ('0.10666733861343768',), 1339798895: ('0.10666733861343768',), 1339798891: ('0.10666733861343768',), 1339798887: ('0.10666733861343768',), 1339798882: ('0.10666733861343768',), 1339798560: ('0.10666733861343768',), 1339798556: ('0.10666733861343768',), 1339798419: ('0.10666733861343768',), 1339798413: ('0.10666733861343768',), 1339797968: ('0.10666733861343768',), 1339797890: ('0.10666733861343768',), 1339797884: ('0.10666733861343768',), 1339797872: ('0.10666733861343768',), 1339797865: ('0.10666733861343768',), 1339797014: ('0.10666733861343768',), 1339797001: ()} output_args : {1339800020: ('0.10666733861343768',), 1339799796: ('0.10666733861343768',), 1339799762: ('0.10666733861343768',), 1339798971: ('0.10666733861343768',), 1339798940: ('0.10666733861343768',), 1339798895: ('0.10666733861343768',), 1339798891: ('0.10666733861343768',), 1339798887: ('0.10666733861343768',), 1339798882: ('0.10666733861343768',), 1339798560: ('0.10666733861343768',), 1339798556: ('0.10666733861343768',), 1339798419: ('0.10666733861343768',), 1339798413: ('0.10666733861343768',), 1339797968: ('0.10666733861343768',), 1339797890: ('0.10666733861343768',), 1339797884: ('0.10666733861343768',), 1339797872: ('0.10666733861343768',), 1339797865: ('0.10666733861343768',), 1339797014: ('0.10666733861343768',), 1339797001: ('0.10666733861343768',), 1339796961: ('0.10666733861343768',), 1339796955: ('0.10666733861343768',), 1339796926: ('0.10666733861343768',), 1339796919: ('0.10666733861343768',), 1339796894: ('0.10666733861343768',), 1339796889: ('0.10666733861343768',), 1339796882: ('0.10666733861343768',), 1339796859: ('0.10666733861343768',), 1339796854: ('0.10666733861343768',), 1339796843: ('0.10666733861343768',), 1339796727: ('0.10666733861343768',)} args : 1339797001 depend.output_id : 0 input_args_next_step : {1339800020: ('0.10666733861343768',), 1339799796: ('0.10666733861343768',), 1339799762: ('0.10666733861343768',), 1339798971: ('0.10666733861343768',), 1339798940: ('0.10666733861343768',), 1339798895: ('0.10666733861343768',), 1339798891: ('0.10666733861343768',), 1339798887: ('0.10666733861343768',), 1339798882: ('0.10666733861343768',), 1339798560: ('0.10666733861343768',), 1339798556: ('0.10666733861343768',), 1339798419: ('0.10666733861343768',), 1339798413: ('0.10666733861343768',), 1339797968: ('0.10666733861343768',), 1339797890: ('0.10666733861343768',), 1339797884: ('0.10666733861343768',), 1339797872: ('0.10666733861343768',), 1339797865: ('0.10666733861343768',), 1339797014: ('0.10666733861343768',), 1339797001: ('0.10666733861343768',), 1339796961: ()} output_args : {1339800020: ('0.10666733861343768',), 1339799796: ('0.10666733861343768',), 1339799762: ('0.10666733861343768',), 1339798971: ('0.10666733861343768',), 1339798940: ('0.10666733861343768',), 1339798895: ('0.10666733861343768',), 1339798891: ('0.10666733861343768',), 1339798887: ('0.10666733861343768',), 1339798882: ('0.10666733861343768',), 1339798560: ('0.10666733861343768',), 1339798556: ('0.10666733861343768',), 1339798419: ('0.10666733861343768',), 1339798413: ('0.10666733861343768',), 1339797968: ('0.10666733861343768',), 1339797890: ('0.10666733861343768',), 1339797884: ('0.10666733861343768',), 1339797872: ('0.10666733861343768',), 1339797865: ('0.10666733861343768',), 1339797014: ('0.10666733861343768',), 1339797001: ('0.10666733861343768',), 1339796961: ('0.10666733861343768',), 1339796955: ('0.10666733861343768',), 1339796926: ('0.10666733861343768',), 1339796919: ('0.10666733861343768',), 1339796894: ('0.10666733861343768',), 1339796889: ('0.10666733861343768',), 1339796882: ('0.10666733861343768',), 1339796859: ('0.10666733861343768',), 1339796854: ('0.10666733861343768',), 1339796843: ('0.10666733861343768',), 1339796727: ('0.10666733861343768',)} args : 1339796961 depend.output_id : 0 input_args_next_step : {1339800020: ('0.10666733861343768',), 1339799796: ('0.10666733861343768',), 1339799762: ('0.10666733861343768',), 1339798971: ('0.10666733861343768',), 1339798940: ('0.10666733861343768',), 1339798895: ('0.10666733861343768',), 1339798891: ('0.10666733861343768',), 1339798887: ('0.10666733861343768',), 1339798882: ('0.10666733861343768',), 1339798560: ('0.10666733861343768',), 1339798556: ('0.10666733861343768',), 1339798419: ('0.10666733861343768',), 1339798413: ('0.10666733861343768',), 1339797968: ('0.10666733861343768',), 1339797890: ('0.10666733861343768',), 1339797884: ('0.10666733861343768',), 1339797872: ('0.10666733861343768',), 1339797865: ('0.10666733861343768',), 1339797014: ('0.10666733861343768',), 1339797001: ('0.10666733861343768',), 1339796961: ('0.10666733861343768',), 1339796955: ()} output_args : {1339800020: ('0.10666733861343768',), 1339799796: ('0.10666733861343768',), 1339799762: ('0.10666733861343768',), 1339798971: ('0.10666733861343768',), 1339798940: ('0.10666733861343768',), 1339798895: ('0.10666733861343768',), 1339798891: ('0.10666733861343768',), 1339798887: ('0.10666733861343768',), 1339798882: ('0.10666733861343768',), 1339798560: ('0.10666733861343768',), 1339798556: ('0.10666733861343768',), 1339798419: ('0.10666733861343768',), 1339798413: ('0.10666733861343768',), 1339797968: ('0.10666733861343768',), 1339797890: ('0.10666733861343768',), 1339797884: ('0.10666733861343768',), 1339797872: ('0.10666733861343768',), 1339797865: ('0.10666733861343768',), 1339797014: ('0.10666733861343768',), 1339797001: ('0.10666733861343768',), 1339796961: ('0.10666733861343768',), 1339796955: ('0.10666733861343768',), 1339796926: ('0.10666733861343768',), 1339796919: ('0.10666733861343768',), 1339796894: ('0.10666733861343768',), 1339796889: ('0.10666733861343768',), 1339796882: ('0.10666733861343768',), 1339796859: ('0.10666733861343768',), 1339796854: ('0.10666733861343768',), 1339796843: ('0.10666733861343768',), 1339796727: ('0.10666733861343768',)} args : 1339796955 depend.output_id : 0 input_args_next_step : {1339800020: ('0.10666733861343768',), 1339799796: ('0.10666733861343768',), 1339799762: ('0.10666733861343768',), 1339798971: ('0.10666733861343768',), 1339798940: ('0.10666733861343768',), 1339798895: ('0.10666733861343768',), 1339798891: ('0.10666733861343768',), 1339798887: ('0.10666733861343768',), 1339798882: ('0.10666733861343768',), 1339798560: ('0.10666733861343768',), 1339798556: ('0.10666733861343768',), 1339798419: ('0.10666733861343768',), 1339798413: ('0.10666733861343768',), 1339797968: ('0.10666733861343768',), 1339797890: ('0.10666733861343768',), 1339797884: ('0.10666733861343768',), 1339797872: ('0.10666733861343768',), 1339797865: ('0.10666733861343768',), 1339797014: ('0.10666733861343768',), 1339797001: ('0.10666733861343768',), 1339796961: ('0.10666733861343768',), 1339796955: ('0.10666733861343768',), 1339796926: ()} output_args : {1339800020: ('0.10666733861343768',), 1339799796: ('0.10666733861343768',), 1339799762: ('0.10666733861343768',), 1339798971: ('0.10666733861343768',), 1339798940: ('0.10666733861343768',), 1339798895: ('0.10666733861343768',), 1339798891: ('0.10666733861343768',), 1339798887: ('0.10666733861343768',), 1339798882: ('0.10666733861343768',), 1339798560: ('0.10666733861343768',), 1339798556: ('0.10666733861343768',), 1339798419: ('0.10666733861343768',), 1339798413: ('0.10666733861343768',), 1339797968: ('0.10666733861343768',), 1339797890: ('0.10666733861343768',), 1339797884: ('0.10666733861343768',), 1339797872: ('0.10666733861343768',), 1339797865: ('0.10666733861343768',), 1339797014: ('0.10666733861343768',), 1339797001: ('0.10666733861343768',), 1339796961: ('0.10666733861343768',), 1339796955: ('0.10666733861343768',), 1339796926: ('0.10666733861343768',), 1339796919: ('0.10666733861343768',), 1339796894: ('0.10666733861343768',), 1339796889: ('0.10666733861343768',), 1339796882: ('0.10666733861343768',), 1339796859: ('0.10666733861343768',), 1339796854: ('0.10666733861343768',), 1339796843: ('0.10666733861343768',), 1339796727: ('0.10666733861343768',)} args : 1339796926 depend.output_id : 0 input_args_next_step : {1339800020: ('0.10666733861343768',), 1339799796: ('0.10666733861343768',), 1339799762: ('0.10666733861343768',), 1339798971: ('0.10666733861343768',), 1339798940: ('0.10666733861343768',), 1339798895: ('0.10666733861343768',), 1339798891: ('0.10666733861343768',), 1339798887: ('0.10666733861343768',), 1339798882: ('0.10666733861343768',), 1339798560: ('0.10666733861343768',), 1339798556: ('0.10666733861343768',), 1339798419: ('0.10666733861343768',), 1339798413: ('0.10666733861343768',), 1339797968: ('0.10666733861343768',), 1339797890: ('0.10666733861343768',), 1339797884: ('0.10666733861343768',), 1339797872: ('0.10666733861343768',), 1339797865: ('0.10666733861343768',), 1339797014: ('0.10666733861343768',), 1339797001: ('0.10666733861343768',), 1339796961: ('0.10666733861343768',), 1339796955: ('0.10666733861343768',), 1339796926: ('0.10666733861343768',), 1339796919: ()} output_args : {1339800020: ('0.10666733861343768',), 1339799796: ('0.10666733861343768',), 1339799762: ('0.10666733861343768',), 1339798971: ('0.10666733861343768',), 1339798940: ('0.10666733861343768',), 1339798895: ('0.10666733861343768',), 1339798891: ('0.10666733861343768',), 1339798887: ('0.10666733861343768',), 1339798882: ('0.10666733861343768',), 1339798560: ('0.10666733861343768',), 1339798556: ('0.10666733861343768',), 1339798419: ('0.10666733861343768',), 1339798413: ('0.10666733861343768',), 1339797968: ('0.10666733861343768',), 1339797890: ('0.10666733861343768',), 1339797884: ('0.10666733861343768',), 1339797872: ('0.10666733861343768',), 1339797865: ('0.10666733861343768',), 1339797014: ('0.10666733861343768',), 1339797001: ('0.10666733861343768',), 1339796961: ('0.10666733861343768',), 1339796955: ('0.10666733861343768',), 1339796926: ('0.10666733861343768',), 1339796919: ('0.10666733861343768',), 1339796894: ('0.10666733861343768',), 1339796889: ('0.10666733861343768',), 1339796882: ('0.10666733861343768',), 1339796859: ('0.10666733861343768',), 1339796854: ('0.10666733861343768',), 1339796843: ('0.10666733861343768',), 1339796727: ('0.10666733861343768',)} args : 1339796919 depend.output_id : 0 input_args_next_step : {1339800020: ('0.10666733861343768',), 1339799796: ('0.10666733861343768',), 1339799762: ('0.10666733861343768',), 1339798971: ('0.10666733861343768',), 1339798940: ('0.10666733861343768',), 1339798895: ('0.10666733861343768',), 1339798891: ('0.10666733861343768',), 1339798887: ('0.10666733861343768',), 1339798882: ('0.10666733861343768',), 1339798560: ('0.10666733861343768',), 1339798556: ('0.10666733861343768',), 1339798419: ('0.10666733861343768',), 1339798413: ('0.10666733861343768',), 1339797968: ('0.10666733861343768',), 1339797890: ('0.10666733861343768',), 1339797884: ('0.10666733861343768',), 1339797872: ('0.10666733861343768',), 1339797865: ('0.10666733861343768',), 1339797014: ('0.10666733861343768',), 1339797001: ('0.10666733861343768',), 1339796961: ('0.10666733861343768',), 1339796955: ('0.10666733861343768',), 1339796926: ('0.10666733861343768',), 1339796919: ('0.10666733861343768',), 1339796894: ()} output_args : {1339800020: ('0.10666733861343768',), 1339799796: ('0.10666733861343768',), 1339799762: ('0.10666733861343768',), 1339798971: ('0.10666733861343768',), 1339798940: ('0.10666733861343768',), 1339798895: ('0.10666733861343768',), 1339798891: ('0.10666733861343768',), 1339798887: ('0.10666733861343768',), 1339798882: ('0.10666733861343768',), 1339798560: ('0.10666733861343768',), 1339798556: ('0.10666733861343768',), 1339798419: ('0.10666733861343768',), 1339798413: ('0.10666733861343768',), 1339797968: ('0.10666733861343768',), 1339797890: ('0.10666733861343768',), 1339797884: ('0.10666733861343768',), 1339797872: ('0.10666733861343768',), 1339797865: ('0.10666733861343768',), 1339797014: ('0.10666733861343768',), 1339797001: ('0.10666733861343768',), 1339796961: ('0.10666733861343768',), 1339796955: ('0.10666733861343768',), 1339796926: ('0.10666733861343768',), 1339796919: ('0.10666733861343768',), 1339796894: ('0.10666733861343768',), 1339796889: ('0.10666733861343768',), 1339796882: ('0.10666733861343768',), 1339796859: ('0.10666733861343768',), 1339796854: ('0.10666733861343768',), 1339796843: ('0.10666733861343768',), 1339796727: ('0.10666733861343768',)} args : 1339796894 depend.output_id : 0 input_args_next_step : {1339800020: ('0.10666733861343768',), 1339799796: ('0.10666733861343768',), 1339799762: ('0.10666733861343768',), 1339798971: ('0.10666733861343768',), 1339798940: ('0.10666733861343768',), 1339798895: ('0.10666733861343768',), 1339798891: ('0.10666733861343768',), 1339798887: ('0.10666733861343768',), 1339798882: ('0.10666733861343768',), 1339798560: ('0.10666733861343768',), 1339798556: ('0.10666733861343768',), 1339798419: ('0.10666733861343768',), 1339798413: ('0.10666733861343768',), 1339797968: ('0.10666733861343768',), 1339797890: ('0.10666733861343768',), 1339797884: ('0.10666733861343768',), 1339797872: ('0.10666733861343768',), 1339797865: ('0.10666733861343768',), 1339797014: ('0.10666733861343768',), 1339797001: ('0.10666733861343768',), 1339796961: ('0.10666733861343768',), 1339796955: ('0.10666733861343768',), 1339796926: ('0.10666733861343768',), 1339796919: ('0.10666733861343768',), 1339796894: ('0.10666733861343768',), 1339796889: ()} output_args : {1339800020: ('0.10666733861343768',), 1339799796: ('0.10666733861343768',), 1339799762: ('0.10666733861343768',), 1339798971: ('0.10666733861343768',), 1339798940: ('0.10666733861343768',), 1339798895: ('0.10666733861343768',), 1339798891: ('0.10666733861343768',), 1339798887: ('0.10666733861343768',), 1339798882: ('0.10666733861343768',), 1339798560: ('0.10666733861343768',), 1339798556: ('0.10666733861343768',), 1339798419: ('0.10666733861343768',), 1339798413: ('0.10666733861343768',), 1339797968: ('0.10666733861343768',), 1339797890: ('0.10666733861343768',), 1339797884: ('0.10666733861343768',), 1339797872: ('0.10666733861343768',), 1339797865: ('0.10666733861343768',), 1339797014: ('0.10666733861343768',), 1339797001: ('0.10666733861343768',), 1339796961: ('0.10666733861343768',), 1339796955: ('0.10666733861343768',), 1339796926: ('0.10666733861343768',), 1339796919: ('0.10666733861343768',), 1339796894: ('0.10666733861343768',), 1339796889: ('0.10666733861343768',), 1339796882: ('0.10666733861343768',), 1339796859: ('0.10666733861343768',), 1339796854: ('0.10666733861343768',), 1339796843: ('0.10666733861343768',), 1339796727: ('0.10666733861343768',)} args : 1339796889 depend.output_id : 0 input_args_next_step : {1339800020: ('0.10666733861343768',), 1339799796: ('0.10666733861343768',), 1339799762: ('0.10666733861343768',), 1339798971: ('0.10666733861343768',), 1339798940: ('0.10666733861343768',), 1339798895: ('0.10666733861343768',), 1339798891: ('0.10666733861343768',), 1339798887: ('0.10666733861343768',), 1339798882: ('0.10666733861343768',), 1339798560: ('0.10666733861343768',), 1339798556: ('0.10666733861343768',), 1339798419: ('0.10666733861343768',), 1339798413: ('0.10666733861343768',), 1339797968: ('0.10666733861343768',), 1339797890: ('0.10666733861343768',), 1339797884: ('0.10666733861343768',), 1339797872: ('0.10666733861343768',), 1339797865: ('0.10666733861343768',), 1339797014: ('0.10666733861343768',), 1339797001: ('0.10666733861343768',), 1339796961: ('0.10666733861343768',), 1339796955: ('0.10666733861343768',), 1339796926: ('0.10666733861343768',), 1339796919: ('0.10666733861343768',), 1339796894: ('0.10666733861343768',), 1339796889: ('0.10666733861343768',), 1339796882: ()} output_args : {1339800020: ('0.10666733861343768',), 1339799796: ('0.10666733861343768',), 1339799762: ('0.10666733861343768',), 1339798971: ('0.10666733861343768',), 1339798940: ('0.10666733861343768',), 1339798895: ('0.10666733861343768',), 1339798891: ('0.10666733861343768',), 1339798887: ('0.10666733861343768',), 1339798882: ('0.10666733861343768',), 1339798560: ('0.10666733861343768',), 1339798556: ('0.10666733861343768',), 1339798419: ('0.10666733861343768',), 1339798413: ('0.10666733861343768',), 1339797968: ('0.10666733861343768',), 1339797890: ('0.10666733861343768',), 1339797884: ('0.10666733861343768',), 1339797872: ('0.10666733861343768',), 1339797865: ('0.10666733861343768',), 1339797014: ('0.10666733861343768',), 1339797001: ('0.10666733861343768',), 1339796961: ('0.10666733861343768',), 1339796955: ('0.10666733861343768',), 1339796926: ('0.10666733861343768',), 1339796919: ('0.10666733861343768',), 1339796894: ('0.10666733861343768',), 1339796889: ('0.10666733861343768',), 1339796882: ('0.10666733861343768',), 1339796859: ('0.10666733861343768',), 1339796854: ('0.10666733861343768',), 1339796843: ('0.10666733861343768',), 1339796727: ('0.10666733861343768',)} args : 1339796882 depend.output_id : 0 input_args_next_step : {1339800020: ('0.10666733861343768',), 1339799796: ('0.10666733861343768',), 1339799762: ('0.10666733861343768',), 1339798971: ('0.10666733861343768',), 1339798940: ('0.10666733861343768',), 1339798895: ('0.10666733861343768',), 1339798891: ('0.10666733861343768',), 1339798887: ('0.10666733861343768',), 1339798882: ('0.10666733861343768',), 1339798560: ('0.10666733861343768',), 1339798556: ('0.10666733861343768',), 1339798419: ('0.10666733861343768',), 1339798413: ('0.10666733861343768',), 1339797968: ('0.10666733861343768',), 1339797890: ('0.10666733861343768',), 1339797884: ('0.10666733861343768',), 1339797872: ('0.10666733861343768',), 1339797865: ('0.10666733861343768',), 1339797014: ('0.10666733861343768',), 1339797001: ('0.10666733861343768',), 1339796961: ('0.10666733861343768',), 1339796955: ('0.10666733861343768',), 1339796926: ('0.10666733861343768',), 1339796919: ('0.10666733861343768',), 1339796894: ('0.10666733861343768',), 1339796889: ('0.10666733861343768',), 1339796882: ('0.10666733861343768',), 1339796859: ()} output_args : {1339800020: ('0.10666733861343768',), 1339799796: ('0.10666733861343768',), 1339799762: ('0.10666733861343768',), 1339798971: ('0.10666733861343768',), 1339798940: ('0.10666733861343768',), 1339798895: ('0.10666733861343768',), 1339798891: ('0.10666733861343768',), 1339798887: ('0.10666733861343768',), 1339798882: ('0.10666733861343768',), 1339798560: ('0.10666733861343768',), 1339798556: ('0.10666733861343768',), 1339798419: ('0.10666733861343768',), 1339798413: ('0.10666733861343768',), 1339797968: ('0.10666733861343768',), 1339797890: ('0.10666733861343768',), 1339797884: ('0.10666733861343768',), 1339797872: ('0.10666733861343768',), 1339797865: ('0.10666733861343768',), 1339797014: ('0.10666733861343768',), 1339797001: ('0.10666733861343768',), 1339796961: ('0.10666733861343768',), 1339796955: ('0.10666733861343768',), 1339796926: ('0.10666733861343768',), 1339796919: ('0.10666733861343768',), 1339796894: ('0.10666733861343768',), 1339796889: ('0.10666733861343768',), 1339796882: ('0.10666733861343768',), 1339796859: ('0.10666733861343768',), 1339796854: ('0.10666733861343768',), 1339796843: ('0.10666733861343768',), 1339796727: ('0.10666733861343768',)} args : 1339796859 depend.output_id : 0 input_args_next_step : {1339800020: ('0.10666733861343768',), 1339799796: ('0.10666733861343768',), 1339799762: ('0.10666733861343768',), 1339798971: ('0.10666733861343768',), 1339798940: ('0.10666733861343768',), 1339798895: ('0.10666733861343768',), 1339798891: ('0.10666733861343768',), 1339798887: ('0.10666733861343768',), 1339798882: ('0.10666733861343768',), 1339798560: ('0.10666733861343768',), 1339798556: ('0.10666733861343768',), 1339798419: ('0.10666733861343768',), 1339798413: ('0.10666733861343768',), 1339797968: ('0.10666733861343768',), 1339797890: ('0.10666733861343768',), 1339797884: ('0.10666733861343768',), 1339797872: ('0.10666733861343768',), 1339797865: ('0.10666733861343768',), 1339797014: ('0.10666733861343768',), 1339797001: ('0.10666733861343768',), 1339796961: ('0.10666733861343768',), 1339796955: ('0.10666733861343768',), 1339796926: ('0.10666733861343768',), 1339796919: ('0.10666733861343768',), 1339796894: ('0.10666733861343768',), 1339796889: ('0.10666733861343768',), 1339796882: ('0.10666733861343768',), 1339796859: ('0.10666733861343768',), 1339796854: ()} output_args : {1339800020: ('0.10666733861343768',), 1339799796: ('0.10666733861343768',), 1339799762: ('0.10666733861343768',), 1339798971: ('0.10666733861343768',), 1339798940: ('0.10666733861343768',), 1339798895: ('0.10666733861343768',), 1339798891: ('0.10666733861343768',), 1339798887: ('0.10666733861343768',), 1339798882: ('0.10666733861343768',), 1339798560: ('0.10666733861343768',), 1339798556: ('0.10666733861343768',), 1339798419: ('0.10666733861343768',), 1339798413: ('0.10666733861343768',), 1339797968: ('0.10666733861343768',), 1339797890: ('0.10666733861343768',), 1339797884: ('0.10666733861343768',), 1339797872: ('0.10666733861343768',), 1339797865: ('0.10666733861343768',), 1339797014: ('0.10666733861343768',), 1339797001: ('0.10666733861343768',), 1339796961: ('0.10666733861343768',), 1339796955: ('0.10666733861343768',), 1339796926: ('0.10666733861343768',), 1339796919: ('0.10666733861343768',), 1339796894: ('0.10666733861343768',), 1339796889: ('0.10666733861343768',), 1339796882: ('0.10666733861343768',), 1339796859: ('0.10666733861343768',), 1339796854: ('0.10666733861343768',), 1339796843: ('0.10666733861343768',), 1339796727: ('0.10666733861343768',)} args : 1339796854 depend.output_id : 0 input_args_next_step : {1339800020: ('0.10666733861343768',), 1339799796: ('0.10666733861343768',), 1339799762: ('0.10666733861343768',), 1339798971: ('0.10666733861343768',), 1339798940: ('0.10666733861343768',), 1339798895: ('0.10666733861343768',), 1339798891: ('0.10666733861343768',), 1339798887: ('0.10666733861343768',), 1339798882: ('0.10666733861343768',), 1339798560: ('0.10666733861343768',), 1339798556: ('0.10666733861343768',), 1339798419: ('0.10666733861343768',), 1339798413: ('0.10666733861343768',), 1339797968: ('0.10666733861343768',), 1339797890: ('0.10666733861343768',), 1339797884: ('0.10666733861343768',), 1339797872: ('0.10666733861343768',), 1339797865: ('0.10666733861343768',), 1339797014: ('0.10666733861343768',), 1339797001: ('0.10666733861343768',), 1339796961: ('0.10666733861343768',), 1339796955: ('0.10666733861343768',), 1339796926: ('0.10666733861343768',), 1339796919: ('0.10666733861343768',), 1339796894: ('0.10666733861343768',), 1339796889: ('0.10666733861343768',), 1339796882: ('0.10666733861343768',), 1339796859: ('0.10666733861343768',), 1339796854: ('0.10666733861343768',), 1339796843: ()} output_args : {1339800020: ('0.10666733861343768',), 1339799796: ('0.10666733861343768',), 1339799762: ('0.10666733861343768',), 1339798971: ('0.10666733861343768',), 1339798940: ('0.10666733861343768',), 1339798895: ('0.10666733861343768',), 1339798891: ('0.10666733861343768',), 1339798887: ('0.10666733861343768',), 1339798882: ('0.10666733861343768',), 1339798560: ('0.10666733861343768',), 1339798556: ('0.10666733861343768',), 1339798419: ('0.10666733861343768',), 1339798413: ('0.10666733861343768',), 1339797968: ('0.10666733861343768',), 1339797890: ('0.10666733861343768',), 1339797884: ('0.10666733861343768',), 1339797872: ('0.10666733861343768',), 1339797865: ('0.10666733861343768',), 1339797014: ('0.10666733861343768',), 1339797001: ('0.10666733861343768',), 1339796961: ('0.10666733861343768',), 1339796955: ('0.10666733861343768',), 1339796926: ('0.10666733861343768',), 1339796919: ('0.10666733861343768',), 1339796894: ('0.10666733861343768',), 1339796889: ('0.10666733861343768',), 1339796882: ('0.10666733861343768',), 1339796859: ('0.10666733861343768',), 1339796854: ('0.10666733861343768',), 1339796843: ('0.10666733861343768',), 1339796727: ('0.10666733861343768',)} args : 1339796843 depend.output_id : 0 input_args_next_step : {1339800020: ('0.10666733861343768',), 1339799796: ('0.10666733861343768',), 1339799762: ('0.10666733861343768',), 1339798971: ('0.10666733861343768',), 1339798940: ('0.10666733861343768',), 1339798895: ('0.10666733861343768',), 1339798891: ('0.10666733861343768',), 1339798887: ('0.10666733861343768',), 1339798882: ('0.10666733861343768',), 1339798560: ('0.10666733861343768',), 1339798556: ('0.10666733861343768',), 1339798419: ('0.10666733861343768',), 1339798413: ('0.10666733861343768',), 1339797968: ('0.10666733861343768',), 1339797890: ('0.10666733861343768',), 1339797884: ('0.10666733861343768',), 1339797872: ('0.10666733861343768',), 1339797865: ('0.10666733861343768',), 1339797014: ('0.10666733861343768',), 1339797001: ('0.10666733861343768',), 1339796961: ('0.10666733861343768',), 1339796955: ('0.10666733861343768',), 1339796926: ('0.10666733861343768',), 1339796919: ('0.10666733861343768',), 1339796894: ('0.10666733861343768',), 1339796889: ('0.10666733861343768',), 1339796882: ('0.10666733861343768',), 1339796859: ('0.10666733861343768',), 1339796854: ('0.10666733861343768',), 1339796843: ('0.10666733861343768',), 1339796727: ()} output_args : {1339800020: ('0.10666733861343768',), 1339799796: ('0.10666733861343768',), 1339799762: ('0.10666733861343768',), 1339798971: ('0.10666733861343768',), 1339798940: ('0.10666733861343768',), 1339798895: ('0.10666733861343768',), 1339798891: ('0.10666733861343768',), 1339798887: ('0.10666733861343768',), 1339798882: ('0.10666733861343768',), 1339798560: ('0.10666733861343768',), 1339798556: ('0.10666733861343768',), 1339798419: ('0.10666733861343768',), 1339798413: ('0.10666733861343768',), 1339797968: ('0.10666733861343768',), 1339797890: ('0.10666733861343768',), 1339797884: ('0.10666733861343768',), 1339797872: ('0.10666733861343768',), 1339797865: ('0.10666733861343768',), 1339797014: ('0.10666733861343768',), 1339797001: ('0.10666733861343768',), 1339796961: ('0.10666733861343768',), 1339796955: ('0.10666733861343768',), 1339796926: ('0.10666733861343768',), 1339796919: ('0.10666733861343768',), 1339796894: ('0.10666733861343768',), 1339796889: ('0.10666733861343768',), 1339796882: ('0.10666733861343768',), 1339796859: ('0.10666733861343768',), 1339796854: ('0.10666733861343768',), 1339796843: ('0.10666733861343768',), 1339796727: ('0.10666733861343768',)} args : 1339796727 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 : {20856419: [{'papier': 20856471, 'flou': 20856472, 'autre_refus': 20856473, 'cartonnette': 20856474, 'environnement': 20856475, 'plastique': 20856476, 'kraft': 20856477, 'Carton_brun': 20856478, 'metal': 20856479, 'Carton_gris': 20856480, 'Teint_Dans_La_Masse': 20856481, 'mal_croppe': 20856482}]} input_args_next_step : {1339800020: ('0.10666733861343768',), 1339799796: ('0.10666733861343768',), 1339799762: ('0.10666733861343768',), 1339798971: ('0.10666733861343768',), 1339798940: ('0.10666733861343768',), 1339798895: ('0.10666733861343768',), 1339798891: ('0.10666733861343768',), 1339798887: ('0.10666733861343768',), 1339798882: ('0.10666733861343768',), 1339798560: ('0.10666733861343768',), 1339798556: ('0.10666733861343768',), 1339798419: ('0.10666733861343768',), 1339798413: ('0.10666733861343768',), 1339797968: ('0.10666733861343768',), 1339797890: ('0.10666733861343768',), 1339797884: ('0.10666733861343768',), 1339797872: ('0.10666733861343768',), 1339797865: ('0.10666733861343768',), 1339797014: ('0.10666733861343768',), 1339797001: ('0.10666733861343768',), 1339796961: ('0.10666733861343768',), 1339796955: ('0.10666733861343768',), 1339796926: ('0.10666733861343768',), 1339796919: ('0.10666733861343768',), 1339796894: ('0.10666733861343768',), 1339796889: ('0.10666733861343768',), 1339796882: ('0.10666733861343768',), 1339796859: ('0.10666733861343768',), 1339796854: ('0.10666733861343768',), 1339796843: ('0.10666733861343768',), 1339796727: ('0.10666733861343768',), 20856419: ()} output_args : {20856419: [{'papier': 20856471, 'flou': 20856472, 'autre_refus': 20856473, 'cartonnette': 20856474, 'environnement': 20856475, 'plastique': 20856476, 'kraft': 20856477, 'Carton_brun': 20856478, 'metal': 20856479, 'Carton_gris': 20856480, 'Teint_Dans_La_Masse': 20856481, 'mal_croppe': 20856482}]} args : 20856419 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 :32, first value : ('0.10666733861343768',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20856419) 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 (1339800020,1339799796,1339799762,1339798971,1339798940,1339798895,1339798891,1339798887,1339798882,1339798560,1339798556,1339798419,1339798413,1339797968,1339797890,1339797884,1339797872,1339797865,1339797014,1339797001,1339796961,1339796955,1339796926,1339796919,1339796894,1339796889,1339796882,1339796859,1339796854,1339796843,1339796727) Found this number of photos: 31 ##### Call download_photos : nb_thread : 5 begin to download photo : 1339796727 begin to download photo : 1339796919 begin to download photo : 1339797872 begin to download photo : 1339798560 begin to download photo : 1339799762 download finish for photo 1339796727 begin to download photo : 1339796843 download finish for photo 1339799762 begin to download photo : 1339799796 download finish for photo 1339798560 begin to download photo : 1339798882 download finish for photo 1339796919 begin to download photo : 1339796926 download finish for photo 1339797872 begin to download photo : 1339797884 download finish for photo 1339796843 begin to download photo : 1339796854 download finish for photo 1339798882 begin to download photo : 1339798887 download finish for photo 1339797884 begin to download photo : 1339797890 download finish for photo 1339799796 begin to download photo : 1339800020 download finish for photo 1339796854 begin to download photo : 1339796859 download finish for photo 1339796926 begin to download photo : 1339796955 download finish for photo 1339798887 begin to download photo : 1339798891 download finish for photo 1339797890 begin to download photo : 1339797968 download finish for photo 1339796859 begin to download photo : 1339796882 download finish for photo 1339800020 download finish for photo 1339798891 begin to download photo : 1339798895 download finish for photo 1339796955 begin to download photo : 1339796961 download finish for photo 1339798895 begin to download photo : 1339798940 download finish for photo 1339797968 begin to download photo : 1339798413 download finish for photo 1339796882 begin to download photo : 1339796889 download finish for photo 1339796961 begin to download photo : 1339797001 download finish for photo 1339798940 begin to download photo : 1339798971 download finish for photo 1339798413 begin to download photo : 1339798419 download finish for photo 1339796889 begin to download photo : 1339796894 download finish for photo 1339797001 begin to download photo : 1339797014 download finish for photo 1339798971 download finish for photo 1339798419 begin to download photo : 1339798556 download finish for photo 1339796894 download finish for photo 1339797014 begin to download photo : 1339797865 download finish for photo 1339798556 download finish for photo 1339797865 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette208564721740632821/ length of list_filenames : 31 ; length of list_pids : 31 ; length of list_args : 31 results_Auto_P20856419_27-02-2025_06_07_01.pdf 20856472 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=20856472 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette208564721740632821 20856473 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=20856473 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1339797008: '1740603031_16565_1339796894_43dad5d5d2816ebe7ab1a4c01f8afc0b_rle_crop_3687944792_0.png', 1339797900: '1740603113_17499_1339796961_031ff2c2331198fa0d0486f622243adf_rle_crop_3687944996_0.png', 1339797902: '1740603113_17499_1339796919_ac5940e3625d7ebfab2651f96e3d584e_rle_crop_3687945019_0.png', 1339799051: '1740603513_24183_1339798556_61843d007abed7e672d1d9626f822520_rle_crop_3687952710_0.png', 1339800549: '1740603891_76952_1339800020_4e35117b9387055fcd1d95d86ecd2cd3_rle_crop_3687957802_0.png', 1339800550: '1740603891_76952_1339799762_b0fa587391a39eb409ff1f0c155fab67_rle_crop_3687957819_0.png', 1339803324: '1740605454_108011_1339798940_a5e2340b29d7137f50ea234b2ebda3b9_rle_crop_3687975793_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/c4967d53e19e625fc709e6e7779b4312_58792162.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/90051400a8cdfe03fcb2d360fd39e89b_93401299.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/079b38b646262c7c9f3eca17a88935c3_10741698.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/808d33b868efb74d18b5ba9f65320dc9_62653250.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/10c214a1c9c36cf35c8e2f32ce0e0d18_5241233.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/d13ec8a2b284688f1b8319a362b074bf_94518484.png change filename to text .imagette208564731740632821/ imagette208564731740632821/1740603113_17499_1339796919_ac5940e3625d7ebfab2651f96e3d584e_rle_crop_3687945019_0.png.png imagette208564731740632821/1740603031_16565_1339796894_43dad5d5d2816ebe7ab1a4c01f8afc0b_rle_crop_3687944792_0.png.png imagette208564731740632821/1740603891_76952_1339799762_b0fa587391a39eb409ff1f0c155fab67_rle_crop_3687957819_0.png.png imagette208564731740632821/1740603891_76952_1339800020_4e35117b9387055fcd1d95d86ecd2cd3_rle_crop_3687957802_0.png.png imagette208564731740632821/1740605454_108011_1339798940_a5e2340b29d7137f50ea234b2ebda3b9_rle_crop_3687975793_0.png.png imagette208564731740632821/1740603513_24183_1339798556_61843d007abed7e672d1d9626f822520_rle_crop_3687952710_0.png.png imagette208564731740632821/1740603113_17499_1339796961_031ff2c2331198fa0d0486f622243adf_rle_crop_3687944996_0.png.png wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/0003f7853c024c5cdf000f1d4c6d28cd_93163113.png imagette208564731740632821 20856474 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=20856474 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1339796984: '1740603015_15775_1339796882_552420254f235780609b099f5f74842c_rle_crop_3687943535_0.png', 1339797903: '1740603113_17499_1339796919_ac5940e3625d7ebfab2651f96e3d584e_rle_crop_3687945025_0.png', 1339798573: '1740603273_20943_1339797014_5f6acb6afe8dd9e66e1bbea1de52d6ee_rle_crop_3687946437_0.png', 1339798574: '1740603273_20943_1339796955_8e208f01c344bb4a11e9d07d2584b9eb_rle_crop_3687946467_0.png', 1339799102: '1740603532_24357_1339798413_d9e5bec75f6fd35231d1686b61b806f4_rle_crop_3687952799_0.png', 1339800596: '1740603891_76952_1339799762_b0fa587391a39eb409ff1f0c155fab67_rle_crop_3687957823_0.png', 1339803573: '1740605773_119948_1339796926_5bf0ab7322ace4fffbf4e708e9437f55_rle_crop_3687986589_0.png', 1339803574: '1740605773_119948_1339796926_5bf0ab7322ace4fffbf4e708e9437f55_rle_crop_3687986578_0.png', 1339803575: '1740605773_119948_1339796882_552420254f235780609b099f5f74842c_rle_crop_3687943535_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/ce79890b1eef3d8d0ce8bfd34f609fcc_66493978.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/f9708d6d34981e957b1c81720f5076e4_70676071.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/befa504361deae056be0ee39b475cf46_77819120.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/587481618f436dda443c357c80bb29c8_60151265.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/56f584487f3185931754931c0ed35cb5_57706723.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/c90656cfde0a040bf8c48fd04d74adb5_21196521.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/514350bc963a3acc11dd8a3898f1fafb_57779280.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/fba7635be6536b5a6280275ef5d22e83_58993628.png change filename to text .imagette208564741740632822/ imagette208564741740632822/1740603113_17499_1339796919_ac5940e3625d7ebfab2651f96e3d584e_rle_crop_3687945025_0.png.png imagette208564741740632822/1740603891_76952_1339799762_b0fa587391a39eb409ff1f0c155fab67_rle_crop_3687957823_0.png.png imagette208564741740632822/1740605773_119948_1339796882_552420254f235780609b099f5f74842c_rle_crop_3687943535_0.png.png imagette208564741740632822/1740603532_24357_1339798413_d9e5bec75f6fd35231d1686b61b806f4_rle_crop_3687952799_0.png.png imagette208564741740632822/1740605773_119948_1339796926_5bf0ab7322ace4fffbf4e708e9437f55_rle_crop_3687986578_0.png.png imagette208564741740632822/1740603273_20943_1339797014_5f6acb6afe8dd9e66e1bbea1de52d6ee_rle_crop_3687946437_0.png.png imagette208564741740632822/1740603273_20943_1339796955_8e208f01c344bb4a11e9d07d2584b9eb_rle_crop_3687946467_0.png.png imagette208564741740632822/1740605773_119948_1339796926_5bf0ab7322ace4fffbf4e708e9437f55_rle_crop_3687986589_0.png.png imagette208564741740632822/1740603015_15775_1339796882_552420254f235780609b099f5f74842c_rle_crop_3687943535_0.png.png wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/ce79890b1eef3d8d0ce8bfd34f609fcc_49903980.png imagette208564741740632822 20856476 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=20856476 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1339796988: '1740603015_15775_1339796889_70c6e43f222985098ce3e2a9f14e9ebe_rle_crop_3687943514_0.png', 1339796990: '1740603015_15775_1339796882_552420254f235780609b099f5f74842c_rle_crop_3687943531_0.png', 1339797013: '1740603031_16565_1339796843_a7a5cfaa8fe253e398225bf38e437fff_rle_crop_3687944837_0.png', 1339797018: '1740603052_16748_1339796859_df303aa8b93135a37054aec7655a3ac5_rle_crop_3687944843_0.png', 1339797910: '1740603113_17499_1339796961_031ff2c2331198fa0d0486f622243adf_rle_crop_3687945003_0.png', 1339797911: '1740603113_17499_1339796919_ac5940e3625d7ebfab2651f96e3d584e_rle_crop_3687945026_0.png', 1339797912: '1740603113_17499_1339796919_ac5940e3625d7ebfab2651f96e3d584e_rle_crop_3687945021_0.png', 1339798533: '1740603233_20224_1339797865_8f07406933ca2fa2797423c9c059e60b_rle_crop_3687945406_0.png', 1339800600: '1740603891_76952_1339800020_4e35117b9387055fcd1d95d86ecd2cd3_rle_crop_3687957813_0.png', 1339800601: '1740603891_76952_1339799762_b0fa587391a39eb409ff1f0c155fab67_rle_crop_3687957827_0.png', 1339803337: '1740605473_108313_1339797968_c9f127aa680d1f3e92947d6f7b65e892_rle_crop_3687975845_0.png', 1339803338: '1740605473_108313_1339797865_8f07406933ca2fa2797423c9c059e60b_rle_crop_3687945406_0.png', 1339803637: '1740605773_119948_1339796889_70c6e43f222985098ce3e2a9f14e9ebe_rle_crop_3687943514_0.png', 1339803638: '1740605773_119948_1339796882_552420254f235780609b099f5f74842c_rle_crop_3687943531_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/902c5e9121e354e84214324c2e3fd263_65702600.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/e2461f31017ede0cfaeba60a911fea37_86574743.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/95e08b6cdb4029be271af4d2720f53c2_40950533.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/9dd60cd6074a05162cf52d6addd9c2f2_41361665.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/101b3769214f4e5e0430db41de1993ca_56369468.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/e3ca00cd7957d3c1e66f58d98e5cac53_12821503.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/ceb8505f6d2925cda0099b9c79806587_42914101.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/e7dac225dd74e7630a72e15e71c03028_83550464.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/4cc1300c8f44e7d5fc74ab7fdc4dfb6e_59900824.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/544bed6a0f667f1fee7a16f2547a64f6_43367630.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/276c79cacc2035ccfa2f14c3eccefa7f_42680780.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/e7dac225dd74e7630a72e15e71c03028_79681557.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/902c5e9121e354e84214324c2e3fd263_88199564.png change filename to text .imagette208564761740632823/ imagette208564761740632823/1740603052_16748_1339796859_df303aa8b93135a37054aec7655a3ac5_rle_crop_3687944843_0.png.png imagette208564761740632823/1740603031_16565_1339796843_a7a5cfaa8fe253e398225bf38e437fff_rle_crop_3687944837_0.png.png imagette208564761740632823/1740605773_119948_1339796889_70c6e43f222985098ce3e2a9f14e9ebe_rle_crop_3687943514_0.png.png imagette208564761740632823/1740603113_17499_1339796919_ac5940e3625d7ebfab2651f96e3d584e_rle_crop_3687945026_0.png.png imagette208564761740632823/1740603113_17499_1339796919_ac5940e3625d7ebfab2651f96e3d584e_rle_crop_3687945021_0.png.png imagette208564761740632823/1740605473_108313_1339797968_c9f127aa680d1f3e92947d6f7b65e892_rle_crop_3687975845_0.png.png imagette208564761740632823/1740605473_108313_1339797865_8f07406933ca2fa2797423c9c059e60b_rle_crop_3687945406_0.png.png imagette208564761740632823/1740603015_15775_1339796882_552420254f235780609b099f5f74842c_rle_crop_3687943531_0.png.png imagette208564761740632823/1740603015_15775_1339796889_70c6e43f222985098ce3e2a9f14e9ebe_rle_crop_3687943514_0.png.png imagette208564761740632823/1740603113_17499_1339796961_031ff2c2331198fa0d0486f622243adf_rle_crop_3687945003_0.png.png imagette208564761740632823/1740603891_76952_1339799762_b0fa587391a39eb409ff1f0c155fab67_rle_crop_3687957827_0.png.png imagette208564761740632823/1740605773_119948_1339796882_552420254f235780609b099f5f74842c_rle_crop_3687943531_0.png.png imagette208564761740632823/1740603891_76952_1339800020_4e35117b9387055fcd1d95d86ecd2cd3_rle_crop_3687957813_0.png.png imagette208564761740632823/1740603233_20224_1339797865_8f07406933ca2fa2797423c9c059e60b_rle_crop_3687945406_0.png.png imagette208564771740632825/ imagette208564791740632825/ imagette208564821740632825/ wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/e2461f31017ede0cfaeba60a911fea37_92743905.png imagette208564761740632823 20856477 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=20856477 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette208564771740632825 20856479 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=20856479 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette208564791740632825 20856482 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=20856482 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette208564821740632825 20856478 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=20856478 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1339798577: '1740603273_20943_1339796955_8e208f01c344bb4a11e9d07d2584b9eb_rle_crop_3687946462_0.png', 1339803604: '1740605773_119948_1339796882_552420254f235780609b099f5f74842c_rle_crop_3687943537_0.png', 1339803602: '1740605773_119948_1339796889_70c6e43f222985098ce3e2a9f14e9ebe_rle_crop_3687943508_0.png', 1339803600: '1740605773_119948_1339796926_5bf0ab7322ace4fffbf4e708e9437f55_rle_crop_3687986588_0.png', 1339803598: '1740605773_119948_1339796926_5bf0ab7322ace4fffbf4e708e9437f55_rle_crop_3687986583_0.png', 1339803336: '1740605473_108313_1339797884_48a20c32463ba75e899c74ae1d77fd3d_rle_crop_3687945312_0.png', 1339803328: '1740605454_108011_1339798887_85a4f2cfc3ce0368ebed6588fd39bfa8_rle_crop_3687952614_0.png', 1339803327: '1740605454_108011_1339798940_a5e2340b29d7137f50ea234b2ebda3b9_rle_crop_3687975798_0.png', 1339800598: '1740603891_76952_1339799762_b0fa587391a39eb409ff1f0c155fab67_rle_crop_3687957826_0.png', 1339800597: '1740603891_76952_1339800020_4e35117b9387055fcd1d95d86ecd2cd3_rle_crop_3687957806_0.png', 1339799001: '1740603492_24046_1339798887_85a4f2cfc3ce0368ebed6588fd39bfa8_rle_crop_3687952614_0.png', 1339798578: '1740603273_20943_1339796955_8e208f01c344bb4a11e9d07d2584b9eb_rle_crop_3687946466_0.png', 1339796985: '1740603015_15775_1339796889_70c6e43f222985098ce3e2a9f14e9ebe_rle_crop_3687943508_0.png', 1339798576: '1740603273_20943_1339797014_5f6acb6afe8dd9e66e1bbea1de52d6ee_rle_crop_3687946427_0.png', 1339798543: '1740603254_20499_1339797001_ecd8771a80d57c9221c3739596b703d3_rle_crop_3687945540_0.png', 1339798542: '1740603254_20499_1339797890_acf9b8136494ea0c51c84aa412a05ba3_rle_crop_3687945522_0.png', 1339798541: '1740603254_20499_1339797890_acf9b8136494ea0c51c84aa412a05ba3_rle_crop_3687945524_0.png', 1339798532: '1740603233_20224_1339797884_48a20c32463ba75e899c74ae1d77fd3d_rle_crop_3687945312_0.png', 1339797907: '1740603113_17499_1339796919_ac5940e3625d7ebfab2651f96e3d584e_rle_crop_3687945022_0.png', 1339797906: '1740603113_17499_1339796961_031ff2c2331198fa0d0486f622243adf_rle_crop_3687944997_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/c7fd3ae9e2f4accc7f5924befd71179d_66056735.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/faf1fe1a52a50a570910421b63106e68_41127607.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/02dc5daf80b4f69ff11a133e69e8f460_14247300.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/a83d4fe4b769701d3d5a037fb8e7fee4_88327818.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/a0582c560528a5f243f9372615eef179_50265582.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/b9c9fb260c374fbd30c02cc9cf2508d8_31529413.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/18e444f0e6f8f914a2a6c30de5e3c933_13279935.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/0ba9f46e9d0a5fc50845f1ad80db36f4_41268584.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/759a4ec3011de016372f0c5feee71fdb_36507509.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/076635956ea8967e288b59b0385e0837_14045391.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/18e444f0e6f8f914a2a6c30de5e3c933_11868647.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/4dd5082af3abe2522e877b5239b49845_80045107.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/02dc5daf80b4f69ff11a133e69e8f460_70818545.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/fd01c938049c012693644018e7fd2d56_85187374.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/27ae81770c04e2e81503056dd601adbf_76559511.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/5a7809139a89e7750ecb8d734b69eccd_32481411.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/12b6602847c12b8daa0d9d5ee069db9f_86325679.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/b9c9fb260c374fbd30c02cc9cf2508d8_65853195.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/7db1234ddc24e9136900c97463239633_32606382.png change filename to text .imagette208564781740632825/ imagette208564781740632825/1740603273_20943_1339797014_5f6acb6afe8dd9e66e1bbea1de52d6ee_rle_crop_3687946427_0.png.png imagette208564781740632825/1740603254_20499_1339797890_acf9b8136494ea0c51c84aa412a05ba3_rle_crop_3687945524_0.png.png imagette208564781740632825/1740605473_108313_1339797884_48a20c32463ba75e899c74ae1d77fd3d_rle_crop_3687945312_0.png.png imagette208564781740632825/1740603254_20499_1339797001_ecd8771a80d57c9221c3739596b703d3_rle_crop_3687945540_0.png.png imagette208564781740632825/1740605454_108011_1339798887_85a4f2cfc3ce0368ebed6588fd39bfa8_rle_crop_3687952614_0.png.png imagette208564781740632825/1740603113_17499_1339796961_031ff2c2331198fa0d0486f622243adf_rle_crop_3687944997_0.png.png imagette208564781740632825/1740603273_20943_1339796955_8e208f01c344bb4a11e9d07d2584b9eb_rle_crop_3687946462_0.png.png imagette208564781740632825/1740603891_76952_1339799762_b0fa587391a39eb409ff1f0c155fab67_rle_crop_3687957826_0.png.png imagette208564781740632825/1740605454_108011_1339798940_a5e2340b29d7137f50ea234b2ebda3b9_rle_crop_3687975798_0.png.png imagette208564781740632825/1740605773_119948_1339796889_70c6e43f222985098ce3e2a9f14e9ebe_rle_crop_3687943508_0.png.png imagette208564781740632825/1740603113_17499_1339796919_ac5940e3625d7ebfab2651f96e3d584e_rle_crop_3687945022_0.png.png imagette208564781740632825/1740605773_119948_1339796926_5bf0ab7322ace4fffbf4e708e9437f55_rle_crop_3687986588_0.png.png imagette208564781740632825/1740605773_119948_1339796926_5bf0ab7322ace4fffbf4e708e9437f55_rle_crop_3687986583_0.png.png imagette208564781740632825/1740603492_24046_1339798887_85a4f2cfc3ce0368ebed6588fd39bfa8_rle_crop_3687952614_0.png.png imagette208564781740632825/1740603254_20499_1339797890_acf9b8136494ea0c51c84aa412a05ba3_rle_crop_3687945522_0.png.png imagette208564781740632825/1740605773_119948_1339796882_552420254f235780609b099f5f74842c_rle_crop_3687943537_0.png.png imagette208564781740632825/1740603891_76952_1339800020_4e35117b9387055fcd1d95d86ecd2cd3_rle_crop_3687957806_0.png.png imagette208564781740632825/1740603233_20224_1339797884_48a20c32463ba75e899c74ae1d77fd3d_rle_crop_3687945312_0.png.png imagette208564781740632825/1740603273_20943_1339796955_8e208f01c344bb4a11e9d07d2584b9eb_rle_crop_3687946466_0.png.png imagette208564781740632825/1740603015_15775_1339796889_70c6e43f222985098ce3e2a9f14e9ebe_rle_crop_3687943508_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/e60bf941708f96294b2aaaf3afd3cc00_26009420.png imagette208564781740632825 20856480 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=20856480 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1339797017: '1740603052_16748_1339796727_674653987118aef3b99f31702bd39d7d_rle_crop_3687944845_0.png', 1339798531: '1740603233_20224_1339797865_8f07406933ca2fa2797423c9c059e60b_rle_crop_3687945400_0.png', 1339798570: '1740603273_20943_1339797014_5f6acb6afe8dd9e66e1bbea1de52d6ee_rle_crop_3687946439_0.png', 1339798571: '1740603273_20943_1339796955_8e208f01c344bb4a11e9d07d2584b9eb_rle_crop_3687946464_0.png', 1339798572: '1740603273_20943_1339796955_8e208f01c344bb4a11e9d07d2584b9eb_rle_crop_3687946459_0.png', 1339799099: '1740603532_24357_1339798413_d9e5bec75f6fd35231d1686b61b806f4_rle_crop_3687952797_0.png', 1339800552: '1740603891_76952_1339800020_4e35117b9387055fcd1d95d86ecd2cd3_rle_crop_3687957799_0.png', 1339800553: '1740603891_76952_1339800020_4e35117b9387055fcd1d95d86ecd2cd3_rle_crop_3687957807_0.png', 1339800554: '1740603891_76952_1339799762_b0fa587391a39eb409ff1f0c155fab67_rle_crop_3687957820_0.png', 1339803335: '1740605473_108313_1339797865_8f07406933ca2fa2797423c9c059e60b_rle_crop_3687945400_0.png', 1339803572: '1740605773_119948_1339796926_5bf0ab7322ace4fffbf4e708e9437f55_rle_crop_3687986580_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/20c81f3ebc8492296b12cb0f2b89d63f_46939305.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/46f892071c7441f899b68a8c1b254020_82807582.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/b7bc6986d57e4c7bdff455703628d892_57445166.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/aa98a05fd44f720f99bb8426bfe5e7e1_77553260.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/4f71b0a150e5a3c88909d0704a1ed86e_47907440.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/ea66cbd8da306eabf0c0981bcf9a5402_38010986.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/99dc67b557f565a734898f6decb50d9b_58440411.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/9c913ab7ed8332071dbffe72cca58be8_23674548.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/3234683e7d9b2303116abf95c61d53b0_84427358.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/46f892071c7441f899b68a8c1b254020_61541431.png change filename to text .imagette208564801740632827/ imagette208564801740632827/1740603052_16748_1339796727_674653987118aef3b99f31702bd39d7d_rle_crop_3687944845_0.png.png imagette208564801740632827/1740603891_76952_1339800020_4e35117b9387055fcd1d95d86ecd2cd3_rle_crop_3687957799_0.png.png imagette208564801740632827/1740603532_24357_1339798413_d9e5bec75f6fd35231d1686b61b806f4_rle_crop_3687952797_0.png.png imagette208564801740632827/1740603273_20943_1339796955_8e208f01c344bb4a11e9d07d2584b9eb_rle_crop_3687946464_0.png.png imagette208564801740632827/1740603891_76952_1339799762_b0fa587391a39eb409ff1f0c155fab67_rle_crop_3687957820_0.png.png imagette208564801740632827/1740603273_20943_1339797014_5f6acb6afe8dd9e66e1bbea1de52d6ee_rle_crop_3687946439_0.png.png imagette208564801740632827/1740603273_20943_1339796955_8e208f01c344bb4a11e9d07d2584b9eb_rle_crop_3687946459_0.png.png imagette208564801740632827/1740605773_119948_1339796926_5bf0ab7322ace4fffbf4e708e9437f55_rle_crop_3687986580_0.png.png imagette208564801740632827/1740603233_20224_1339797865_8f07406933ca2fa2797423c9c059e60b_rle_crop_3687945400_0.png.png imagette208564801740632827/1740605473_108313_1339797865_8f07406933ca2fa2797423c9c059e60b_rle_crop_3687945400_0.png.png imagette208564801740632827/1740603891_76952_1339800020_4e35117b9387055fcd1d95d86ecd2cd3_rle_crop_3687957807_0.png.png wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/db85316f4fb088fab5ca94a646ce92ae_68428558.png imagette208564801740632827 20856481 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=20856481 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1339797899: '1740603113_17499_1339796961_031ff2c2331198fa0d0486f622243adf_rle_crop_3687944999_0.png', 1339798530: '1740603233_20224_1339797872_f7cafa2a6c2be4a80521ff2c6d73222d_rle_crop_3687945390_0.png', 1339798539: '1740603254_20499_1339797001_ecd8771a80d57c9221c3739596b703d3_rle_crop_3687945539_0.png', 1339798566: '1740603273_20943_1339797014_5f6acb6afe8dd9e66e1bbea1de52d6ee_rle_crop_3687946435_0.png', 1339798567: '1740603273_20943_1339797014_5f6acb6afe8dd9e66e1bbea1de52d6ee_rle_crop_3687946451_0.png', 1339799000: '1740603492_24046_1339798882_b8ed72c60eab79a972cfb977127aa918_rle_crop_3687952627_0.png', 1339799082: '1740603532_24357_1339798413_d9e5bec75f6fd35231d1686b61b806f4_rle_crop_3687952802_0.png', 1339803323: '1740605454_108011_1339798882_b8ed72c60eab79a972cfb977127aa918_rle_crop_3687952627_0.png', 1339803334: '1740605473_108313_1339797872_f7cafa2a6c2be4a80521ff2c6d73222d_rle_crop_3687945390_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/92d1c394a55c1491945292ef933251e8_1543663.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/d284d6a8b25b8a5559e4049ac483ddce_96193539.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/bc962751c6ab6268edf113daa9ddb696_44928809.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/b3045799cf7e5e757d37111ceb3d76fe_51447934.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/71dcbecf367dc21c43594a4b2f847eb2_38143245.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/3b5025af219f23e28db25d8c84d24c88_30388230.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/5cb112674cf98c47bb13a4b4bea0b458_7478450.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/3b5025af219f23e28db25d8c84d24c88_25454196.png change filename to text .imagette208564811740632828/ imagette208564811740632828/1740603273_20943_1339797014_5f6acb6afe8dd9e66e1bbea1de52d6ee_rle_crop_3687946451_0.png.png imagette208564811740632828/1740605454_108011_1339798882_b8ed72c60eab79a972cfb977127aa918_rle_crop_3687952627_0.png.png imagette208564811740632828/1740603492_24046_1339798882_b8ed72c60eab79a972cfb977127aa918_rle_crop_3687952627_0.png.png imagette208564811740632828/1740603233_20224_1339797872_f7cafa2a6c2be4a80521ff2c6d73222d_rle_crop_3687945390_0.png.png imagette208564811740632828/1740603113_17499_1339796961_031ff2c2331198fa0d0486f622243adf_rle_crop_3687944999_0.png.png imagette208564811740632828/1740603532_24357_1339798413_d9e5bec75f6fd35231d1686b61b806f4_rle_crop_3687952802_0.png.png imagette208564811740632828/1740603273_20943_1339797014_5f6acb6afe8dd9e66e1bbea1de52d6ee_rle_crop_3687946435_0.png.png imagette208564811740632828/1740603254_20499_1339797001_ecd8771a80d57c9221c3739596b703d3_rle_crop_3687945539_0.png.png imagette208564811740632828/1740605473_108313_1339797872_f7cafa2a6c2be4a80521ff2c6d73222d_rle_crop_3687945390_0.png.png wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/d284d6a8b25b8a5559e4049ac483ddce_44262382.png imagette208564811740632828 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=20856419 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/20856483,20856484,20856485,20856486,20856487,20856488,20856489,20856490,20856491,20856492,20856493,20856494?tags=papier,flou,autre_refus,cartonnette,environnement,plastique,kraft,Carton_brun,metal,Carton_gris,Teint_Dans_La_Masse,mal_croppe your option no_mail is active, we will not send the real mail to your client args[1339800020] : ('0.10666733861343768',) no score found for photo 1339800020 We are sending mail with results at report@fotonower.com args[1339799796] : ('0.10666733861343768',) no score found for photo 1339799796 We are sending mail with results at report@fotonower.com args[1339799762] : ('0.10666733861343768',) no score found for photo 1339799762 We are sending mail with results at report@fotonower.com args[1339798971] : ('0.10666733861343768',) no score found for photo 1339798971 We are sending mail with results at report@fotonower.com args[1339798940] : ('0.10666733861343768',) no score found for photo 1339798940 We are sending mail with results at report@fotonower.com args[1339798895] : ('0.10666733861343768',) no score found for photo 1339798895 We are sending mail with results at report@fotonower.com args[1339798891] : ('0.10666733861343768',) no score found for photo 1339798891 We are sending mail with results at report@fotonower.com args[1339798887] : ('0.10666733861343768',) no score found for photo 1339798887 We are sending mail with results at report@fotonower.com args[1339798882] : ('0.10666733861343768',) no score found for photo 1339798882 We are sending mail with results at report@fotonower.com args[1339798560] : ('0.10666733861343768',) no score found for photo 1339798560 We are sending mail with results at report@fotonower.com args[1339798556] : ('0.10666733861343768',) no score found for photo 1339798556 We are sending mail with results at report@fotonower.com args[1339798419] : ('0.10666733861343768',) no score found for photo 1339798419 We are sending mail with results at report@fotonower.com args[1339798413] : ('0.10666733861343768',) no score found for photo 1339798413 We are sending mail with results at report@fotonower.com args[1339797968] : ('0.10666733861343768',) no score found for photo 1339797968 We are sending mail with results at report@fotonower.com args[1339797890] : ('0.10666733861343768',) no score found for photo 1339797890 We are sending mail with results at report@fotonower.com args[1339797884] : ('0.10666733861343768',) no score found for photo 1339797884 We are sending mail with results at report@fotonower.com args[1339797872] : ('0.10666733861343768',) no score found for photo 1339797872 We are sending mail with results at report@fotonower.com args[1339797865] : ('0.10666733861343768',) no score found for photo 1339797865 We are sending mail with results at report@fotonower.com args[1339797014] : ('0.10666733861343768',) no score found for photo 1339797014 We are sending mail with results at report@fotonower.com args[1339797001] : ('0.10666733861343768',) no score found for photo 1339797001 We are sending mail with results at report@fotonower.com args[1339796961] : ('0.10666733861343768',) no score found for photo 1339796961 We are sending mail with results at report@fotonower.com args[1339796955] : ('0.10666733861343768',) no score found for photo 1339796955 We are sending mail with results at report@fotonower.com args[1339796926] : ('0.10666733861343768',) no score found for photo 1339796926 We are sending mail with results at report@fotonower.com args[1339796919] : ('0.10666733861343768',) no score found for photo 1339796919 We are sending mail with results at report@fotonower.com args[1339796894] : ('0.10666733861343768',) no score found for photo 1339796894 We are sending mail with results at report@fotonower.com args[1339796889] : ('0.10666733861343768',) no score found for photo 1339796889 We are sending mail with results at report@fotonower.com args[1339796882] : ('0.10666733861343768',) no score found for photo 1339796882 We are sending mail with results at report@fotonower.com args[1339796859] : ('0.10666733861343768',) no score found for photo 1339796859 We are sending mail with results at report@fotonower.com args[1339796854] : ('0.10666733861343768',) no score found for photo 1339796854 We are sending mail with results at report@fotonower.com args[1339796843] : ('0.10666733861343768',) no score found for photo 1339796843 We are sending mail with results at report@fotonower.com args[1339796727] : ('0.10666733861343768',) no score found for photo 1339796727 We are sending mail with results at report@fotonower.com refus_total : 0.10666733861343768 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=20856419 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_P20856419_27-02-2025_06_07_01.pdf results_Auto_P20856419_27-02-2025_06_07_01.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20856419_27-02-2025_06_07_01.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','20856419','results_Auto_P20856419_27-02-2025_06_07_01.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20856419_27-02-2025_06_07_01.pdf','pdf','','0.45','0.10666733861343768') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20856419]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1339800020, 1339799796, 1339799762, 1339798971, 1339798940, 1339798895, 1339798891, 1339798887, 1339798882, 1339798560, 1339798556, 1339798419, 1339798413, 1339797968, 1339797890, 1339797884, 1339797872, 1339797865, 1339797014, 1339797001, 1339796961, 1339796955, 1339796926, 1339796919, 1339796894, 1339796889, 1339796882, 1339796859, 1339796854, 1339796843, 1339796727] map_info['map_portfolio_photo'] : {20856419: [1339800020, 1339799796, 1339799762, 1339798971, 1339798940, 1339798895, 1339798891, 1339798887, 1339798882, 1339798560, 1339798556, 1339798419, 1339798413, 1339797968, 1339797890, 1339797884, 1339797872, 1339797865, 1339797014, 1339797001, 1339796961, 1339796955, 1339796926, 1339796919, 1339796894, 1339796889, 1339796882, 1339796859, 1339796854, 1339796843, 1339796727]} final : False mtd_id 4302 list_pids : [1339800020, 1339799796, 1339799762, 1339798971, 1339798940, 1339798895, 1339798891, 1339798887, 1339798882, 1339798560, 1339798556, 1339798419, 1339798413, 1339797968, 1339797890, 1339797884, 1339797872, 1339797865, 1339797014, 1339797001, 1339796961, 1339796955, 1339796926, 1339796919, 1339796894, 1339796889, 1339796882, 1339796859, 1339796854, 1339796843, 1339796727] 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, '2618778') ('4302', '20856419', '1339800020', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339799796', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339799762', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339798971', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339798940', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339798895', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339798891', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339798887', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339798882', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339798560', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339798556', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339798419', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339798413', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339797968', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339797890', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339797884', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339797872', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339797865', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339797014', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339797001', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339796961', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339796955', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339796926', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339796919', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339796894', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339796889', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339796882', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339796859', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339796854', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339796843', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339796727', None, None, None, None, None, '2618778') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 31 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', '20856419', '1339800020', None, None, None, None, None, '2618778'), ('4302', '20856419', '1339799796', None, None, None, None, None, '2618778'), ('4302', '20856419', '1339799762', None, None, None, None, None, '2618778'), ('4302', '20856419', '1339798971', None, None, None, None, None, '2618778'), ('4302', '20856419', '1339798940', None, None, None, None, None, '2618778'), ('4302', '20856419', '1339798895', None, None, None, None, None, '2618778'), ('4302', '20856419', '1339798891', None, None, None, None, None, '2618778'), ('4302', '20856419', '1339798887', None, None, None, None, None, '2618778'), ('4302', '20856419', '1339798882', None, None, None, None, None, '2618778'), ('4302', '20856419', '1339798560', None, None, None, None, None, '2618778'), ('4302', '20856419', '1339798556', None, None, None, None, None, '2618778'), ('4302', '20856419', '1339798419', None, None, None, None, None, '2618778'), ('4302', '20856419', '1339798413', None, None, None, None, None, '2618778'), ('4302', '20856419', '1339797968', None, None, None, None, None, '2618778'), ('4302', '20856419', '1339797890', None, None, None, None, None, '2618778'), ('4302', '20856419', '1339797884', None, None, None, None, None, '2618778'), ('4302', '20856419', '1339797872', None, None, None, None, None, '2618778'), ('4302', '20856419', '1339797865', None, None, None, None, None, '2618778'), ('4302', '20856419', '1339797014', None, None, None, None, None, '2618778'), ('4302', '20856419', '1339797001', None, None, None, None, None, '2618778'), ('4302', '20856419', '1339796961', None, None, None, None, None, '2618778'), ('4302', '20856419', '1339796955', None, None, None, None, None, '2618778'), ('4302', '20856419', '1339796926', None, None, None, None, None, '2618778'), ('4302', '20856419', '1339796919', None, None, None, None, None, '2618778'), ('4302', '20856419', '1339796894', None, None, None, None, None, '2618778'), ('4302', '20856419', '1339796889', None, None, None, None, None, '2618778'), ('4302', '20856419', '1339796882', None, None, None, None, None, '2618778'), ('4302', '20856419', '1339796859', None, None, None, None, None, '2618778'), ('4302', '20856419', '1339796854', None, None, None, None, None, '2618778'), ('4302', '20856419', '1339796843', None, None, None, None, None, '2618778'), ('4302', '20856419', '1339796727', None, None, None, None, None, '2618778')] time used for this insertion : 0.8587100505828857 save_final save missing photos in datou_result : time spend for datou_step_exec : 11.483471632003784 time spend to save output : 0.8590762615203857 total time spend for step 4 : 12.34254789352417 step5:split_time_score Thu Feb 27 06:07:12 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 : ['20856419'] 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 : [('20856419',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20856419) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1339799762: {'path': 'temp/1740632819_2194749_1339799762_b0fa587391a39eb409ff1f0c155fab67.jpg', 'extension': 'jpg'}, 1339799796: {'path': 'temp/1740632819_2194749_1339799796_68cfeceee9d2027d16f9a153d312e231.jpg', 'extension': 'jpg'}, 1339800020: {'path': 'temp/1740632819_2194749_1339800020_4e35117b9387055fcd1d95d86ecd2cd3.jpg', 'extension': 'jpg'}, 1339798560: {'path': 'temp/1740632819_2194749_1339798560_03f8bf3f28290e5e50bfa3545b0d9546.jpg', 'extension': 'jpg'}, 1339798882: {'path': 'temp/1740632819_2194749_1339798882_b8ed72c60eab79a972cfb977127aa918.jpg', 'extension': 'jpg'}, 1339798887: {'path': 'temp/1740632819_2194749_1339798887_85a4f2cfc3ce0368ebed6588fd39bfa8.jpg', 'extension': 'jpg'}, 1339798891: {'path': 'temp/1740632819_2194749_1339798891_eb6d1755afd19e73aef3ebc486d08b86.jpg', 'extension': 'jpg'}, 1339798895: {'path': 'temp/1740632819_2194749_1339798895_76c60f105eaf8ecda503a417f8721ea1.jpg', 'extension': 'jpg'}, 1339798940: {'path': 'temp/1740632819_2194749_1339798940_a5e2340b29d7137f50ea234b2ebda3b9.jpg', 'extension': 'jpg'}, 1339798971: {'path': 'temp/1740632819_2194749_1339798971_1ac3aa1b7df929a5146ed5b3c20e0a9e.jpg', 'extension': 'jpg'}, 1339796727: {'path': 'temp/1740632819_2194749_1339796727_674653987118aef3b99f31702bd39d7d.jpg', 'extension': 'jpg'}, 1339796843: {'path': 'temp/1740632819_2194749_1339796843_a7a5cfaa8fe253e398225bf38e437fff.jpg', 'extension': 'jpg'}, 1339796854: {'path': 'temp/1740632819_2194749_1339796854_2f012ea7bf6dd276b34ff072cde926e0.jpg', 'extension': 'jpg'}, 1339796859: {'path': 'temp/1740632819_2194749_1339796859_df303aa8b93135a37054aec7655a3ac5.jpg', 'extension': 'jpg'}, 1339796882: {'path': 'temp/1740632819_2194749_1339796882_552420254f235780609b099f5f74842c.jpg', 'extension': 'jpg'}, 1339796889: {'path': 'temp/1740632819_2194749_1339796889_70c6e43f222985098ce3e2a9f14e9ebe.jpg', 'extension': 'jpg'}, 1339796894: {'path': 'temp/1740632819_2194749_1339796894_43dad5d5d2816ebe7ab1a4c01f8afc0b.jpg', 'extension': 'jpg'}, 1339797872: {'path': 'temp/1740632819_2194749_1339797872_f7cafa2a6c2be4a80521ff2c6d73222d.jpg', 'extension': 'jpg'}, 1339797884: {'path': 'temp/1740632819_2194749_1339797884_48a20c32463ba75e899c74ae1d77fd3d.jpg', 'extension': 'jpg'}, 1339797890: {'path': 'temp/1740632819_2194749_1339797890_acf9b8136494ea0c51c84aa412a05ba3.jpg', 'extension': 'jpg'}, 1339797968: {'path': 'temp/1740632819_2194749_1339797968_c9f127aa680d1f3e92947d6f7b65e892.jpg', 'extension': 'jpg'}, 1339798413: {'path': 'temp/1740632819_2194749_1339798413_d9e5bec75f6fd35231d1686b61b806f4.jpg', 'extension': 'jpg'}, 1339798419: {'path': 'temp/1740632819_2194749_1339798419_3d9eefdc2aa25c93e44b1812dd1bc63c.jpg', 'extension': 'jpg'}, 1339798556: {'path': 'temp/1740632819_2194749_1339798556_61843d007abed7e672d1d9626f822520.jpg', 'extension': 'jpg'}, 1339796919: {'path': 'temp/1740632819_2194749_1339796919_ac5940e3625d7ebfab2651f96e3d584e.jpg', 'extension': 'jpg'}, 1339796926: {'path': 'temp/1740632819_2194749_1339796926_5bf0ab7322ace4fffbf4e708e9437f55.jpg', 'extension': 'jpg'}, 1339796955: {'path': 'temp/1740632819_2194749_1339796955_8e208f01c344bb4a11e9d07d2584b9eb.jpg', 'extension': 'jpg'}, 1339796961: {'path': 'temp/1740632819_2194749_1339796961_031ff2c2331198fa0d0486f622243adf.jpg', 'extension': 'jpg'}, 1339797001: {'path': 'temp/1740632819_2194749_1339797001_ecd8771a80d57c9221c3739596b703d3.jpg', 'extension': 'jpg'}, 1339797014: {'path': 'temp/1740632819_2194749_1339797014_5f6acb6afe8dd9e66e1bbea1de52d6ee.jpg', 'extension': 'jpg'}, 1339797865: {'path': 'temp/1740632819_2194749_1339797865_8f07406933ca2fa2797423c9c059e60b.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 = 20856419; (('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 = 20856419 group by h (('21', 31),) 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=20856419 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 (20856419) 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 (20856419) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 26022025 20856419 Nombre de photos uploadées : 31 / 23040 (0%) 26022025 20856419 Nombre de photos taguées (types de déchets): 0 / 31 (0%) 26022025 20856419 Nombre de photos taguées (volume) : 0 / 31 (0%) [{'photo_id': 1339796727, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/674653987118aef3b99f31702bd39d7d.jpg', 'username': None, 'uploaded_at': 1740602797, 'text': 'image_26022025_21_45_33_010141m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1339796859, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/df303aa8b93135a37054aec7655a3ac5.jpg', 'username': None, 'uploaded_at': 1740602857, 'text': 'image_26022025_21_45_43_010139m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1339796854, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/2f012ea7bf6dd276b34ff072cde926e0.jpg', 'username': None, 'uploaded_at': 1740602857, 'text': 'image_26022025_21_46_24_010136m0.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1339796843, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/a7a5cfaa8fe253e398225bf38e437fff.jpg', 'username': None, 'uploaded_at': 1740602857, 'text': 'image_26022025_21_46_33_009130m0.jpg 4e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 1.6689300537109375e-06 elapsed_time : order_list_meta_photo_and_scores 5.0067901611328125e-06 ??????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0014848709106445312 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 20856419, '2025-02-26' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1624425,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.029498815536499023 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= 1624425 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20822915, 'dashboard_result_id': 9095776, '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_P20822915_27-02-2025_05_34_34.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20822942, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20822943, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20822944, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20822945, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20822946, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20822947, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20822948, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20822949, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20822950, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20822951, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20822952, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20822953, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20823244, 'dashboard_result_id': 9095777, '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_P20823244_27-02-2025_05_35_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20823269, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20823270, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20823271, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20823272, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20823273, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20823274, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20823275, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20823276, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20823277, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20823278, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20823279, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20823280, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20823623, 'dashboard_result_id': 9095778, '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_P20823623_27-02-2025_05_35_41.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20823624, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20823625, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20823626, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20823627, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20823628, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20823629, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20823630, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20823631, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20823632, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20823633, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20823634, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20823635, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20823915, 'dashboard_result_id': 9095779, '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_P20823915_27-02-2025_05_36_03.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20823966, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20823967, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20823968, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20823969, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20823970, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20823971, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20823972, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20823973, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20823974, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20823975, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20823976, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20823977, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20824472, 'dashboard_result_id': 9095780, '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_P20824472_27-02-2025_05_36_34.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20824473, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20824474, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20824475, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20824476, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20824477, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20824478, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20824479, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20824480, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20824481, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20824482, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20824483, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20824484, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20825065, 'dashboard_result_id': 9095781, '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_P20825065_27-02-2025_05_37_38.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20825114, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20825115, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20825116, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20825117, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20825118, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20825119, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20825120, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20825121, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20825122, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20825123, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20825124, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20825125, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20825658, 'dashboard_result_id': 9095782, '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_P20825658_27-02-2025_05_38_02.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20825659, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20825660, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20825661, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20825662, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20825663, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20825664, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20825665, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20825666, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20825667, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20825668, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20825669, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20825670, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20826103, 'dashboard_result_id': 9095783, '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_P20826103_27-02-2025_05_38_35.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20826131, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20826132, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20826133, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20826134, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20826135, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20826136, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20826137, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20826138, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20826139, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20826140, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20826141, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20826142, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20826652, 'dashboard_result_id': 9095784, '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_P20826652_27-02-2025_05_39_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20826653, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20826654, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20826655, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20826656, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20826657, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20826658, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20826659, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20826660, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20826661, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20826662, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20826663, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20826664, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20826951, 'dashboard_result_id': 9095785, '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_P20826951_27-02-2025_05_39_38.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20826977, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20826978, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20826979, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20826980, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20826981, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20826982, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20826983, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20826984, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20826985, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20826986, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20826987, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20826988, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20827919, 'dashboard_result_id': 9095786, '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_P20827919_27-02-2025_05_40_04.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20827920, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20827921, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20827922, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20827923, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20827924, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20827925, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20827926, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20827927, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20827928, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20827929, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20827930, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20827931, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20828584, 'dashboard_result_id': 9095787, '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_P20828584_27-02-2025_05_40_34.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20828612, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20828613, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20828614, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20828615, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20828616, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20828617, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20828618, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20828619, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20828620, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20828621, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20828622, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20828623, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20829246, 'dashboard_result_id': 9095788, '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_P20829246_27-02-2025_05_41_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20829247, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20829248, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20829249, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20829250, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20829251, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20829252, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20829253, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20829254, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20829255, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20829256, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20829257, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20829258, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20829828, 'dashboard_result_id': 9095789, '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_P20829828_27-02-2025_05_42_09.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20829853, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20829854, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20829855, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20829856, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20829857, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20829858, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20829859, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20829860, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20829861, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20829862, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20829863, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20829864, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20830367, 'dashboard_result_id': 9095790, '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_P20830367_27-02-2025_05_42_42.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20830416, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20830417, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20830418, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20830419, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20830420, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20830421, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20830422, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20830423, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20830424, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20830425, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20830426, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20830427, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20831063, 'dashboard_result_id': 9095791, '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_P20831063_27-02-2025_05_43_09.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20831088, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20831089, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20831090, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20831091, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20831092, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20831093, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20831094, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20831095, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20831096, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20831097, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20831098, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20831099, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20832581, 'dashboard_result_id': 9095792, '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_P20832581_27-02-2025_05_43_30.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20832630, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20832631, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20832632, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20832633, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20832634, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20832635, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20832636, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20832637, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20832638, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20832639, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20832640, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20832641, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20832732, 'dashboard_result_id': 9095793, '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_P20832732_27-02-2025_05_44_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20832757, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20832758, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20832759, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20832760, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20832761, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20832762, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20832763, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20832764, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20832765, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20832766, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20832767, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20832768, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20833362, 'dashboard_result_id': 9095794, '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_P20833362_27-02-2025_05_44_40.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20833405, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20833406, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20833407, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20833408, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20833409, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20833410, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20833411, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20833412, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20833413, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20833414, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20833415, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20833416, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20833879, 'dashboard_result_id': 9095795, '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_P20833879_27-02-2025_05_45_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20833880, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20833881, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20833882, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20833883, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20833884, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20833885, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20833886, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20833887, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20833888, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20833889, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20833890, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20833891, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20834422, 'dashboard_result_id': 9095796, '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_P20834422_27-02-2025_05_46_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20834429, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20834430, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20834431, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20834432, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20834433, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20834434, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20834435, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20834436, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20834437, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20834438, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20834439, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20834440, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20835080, 'dashboard_result_id': 9095797, '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_P20835080_27-02-2025_05_46_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20835087, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20835088, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20835089, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20835090, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20835091, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20835092, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20835093, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20835094, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20835095, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20835096, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20835097, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20835098, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20835982, 'dashboard_result_id': 9095798, '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_P20835982_27-02-2025_05_47_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20835987, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20835988, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20835989, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20835990, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20835991, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20835992, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20835993, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20835994, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20835995, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20835996, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20835997, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20835998, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20836575, 'dashboard_result_id': 9095799, '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_P20836575_27-02-2025_05_48_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20836600, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20836601, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20836602, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20836603, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20836604, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20836605, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20836606, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20836607, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20836608, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20836609, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20836610, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20836611, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20837208, 'dashboard_result_id': 9095800, '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_P20837208_27-02-2025_05_48_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20837209, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20837210, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20837211, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20837212, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20837213, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20837214, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20837215, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20837216, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20837217, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20837218, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20837219, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20837220, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20838192, 'dashboard_result_id': 9095801, '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_P20838192_27-02-2025_05_49_43.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20838210, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20838211, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20838212, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20838213, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20838214, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20838215, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20838216, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20838217, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20838218, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20838219, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20838220, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20838221, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20838686, 'dashboard_result_id': 9095802, '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_P20838686_27-02-2025_05_50_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20838712, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20838713, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20838714, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20838715, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20838716, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20838717, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20838718, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20838719, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20838720, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20838721, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20838722, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20838723, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20840618, 'dashboard_result_id': 9095803, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20840619, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20840620, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20840621, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20840622, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20840623, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20840624, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20840625, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20840626, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20840627, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20840628, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20840629, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20840630, 'pht': 3726}, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20840618_27-02-2025_05_50_31.pdf'}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20840746, 'dashboard_result_id': 9095804, '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_P20840746_27-02-2025_05_51_04.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20840783, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20840784, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20840785, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20840786, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20840787, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20840788, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20840789, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20840790, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20840791, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20840792, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20840793, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20840794, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20841272, 'dashboard_result_id': 9095805, '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_P20841272_27-02-2025_05_51_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20841273, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20841274, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20841275, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20841276, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20841277, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20841278, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20841279, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20841280, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20841281, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20841282, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20841283, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20841284, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20841741, 'dashboard_result_id': 9095806, '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_P20841741_27-02-2025_05_51_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20841743, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20841744, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20841745, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20841746, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20841747, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20841748, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20841749, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20841750, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20841751, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20841752, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20841753, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20841754, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20842109, 'dashboard_result_id': 9095807, '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_P20842109_27-02-2025_05_52_29.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20842176, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20842177, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20842178, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20842179, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20842180, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20842181, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20842182, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20842183, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20842184, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20842185, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20842186, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20842187, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20842535, 'dashboard_result_id': 9095808, '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_P20842535_27-02-2025_05_53_35.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20842536, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20842537, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20842538, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20842539, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20842540, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20842541, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20842542, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20842543, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20842544, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20842545, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20842546, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20842547, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20843062, 'dashboard_result_id': 9095809, '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_P20843062_27-02-2025_05_54_03.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20843077, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20843078, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20843079, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20843080, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20843081, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20843082, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20843083, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20843084, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20843085, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20843086, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20843087, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20843088, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20843891, 'dashboard_result_id': 9095810, '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_P20843891_27-02-2025_05_54_35.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20843978, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20843979, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20843980, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20843981, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20843982, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20843983, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20843984, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20843985, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20843986, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20843987, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20843988, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20843989, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20844521, 'dashboard_result_id': 9095811, '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_P20844521_27-02-2025_05_55_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20844522, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20844523, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20844524, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20844525, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20844526, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20844527, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20844528, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20844529, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20844530, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20844531, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20844532, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20844533, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20844984, 'dashboard_result_id': 9095812, '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_P20844984_27-02-2025_05_56_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20845015, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20845016, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20845017, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20845018, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20845019, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20845020, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20845021, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20845022, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20845023, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20845024, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20845025, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20845026, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20845790, 'dashboard_result_id': 9095813, '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_P20845790_27-02-2025_05_56_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20845794, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20845795, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20845796, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20845797, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20845798, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20845799, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20845800, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20845801, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20845802, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20845803, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20845804, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20845805, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20846033, 'dashboard_result_id': 9095814, '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_P20846033_27-02-2025_05_57_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20846036, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20846037, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20846038, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20846039, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20846040, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20846041, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20846042, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20846043, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20846044, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20846045, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20846046, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20846047, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20846799, 'dashboard_result_id': 9095815, '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_P20846799_27-02-2025_05_58_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20846876, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20846877, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20846878, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20846879, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20846880, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20846881, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20846882, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20846883, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20846884, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20846885, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20846886, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20846887, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20848465, 'dashboard_result_id': 9095816, '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_P20848465_27-02-2025_05_58_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20848466, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20848467, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20848468, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20848469, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20848470, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20848471, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20848472, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20848473, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20848474, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20848475, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20848476, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20848477, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20848689, 'dashboard_result_id': 9095817, '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_P20848689_27-02-2025_05_59_06.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20848691, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20848692, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20848693, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20848694, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20848695, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20848696, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20848697, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20848698, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20848699, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20848700, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20848701, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20848702, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20848890, 'dashboard_result_id': 9095818, '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_P20848890_27-02-2025_05_59_34.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20848891, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20848892, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20848893, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20848894, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20848895, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20848896, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20848897, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20848898, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20848899, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20848900, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20848901, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20848902, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20849515, 'dashboard_result_id': 9095819, '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_P20849515_27-02-2025_06_00_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20849540, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20849541, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20849542, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20849543, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20849544, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20849545, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20849546, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20849547, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20849548, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20849549, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20849550, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20849551, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20850107, 'dashboard_result_id': 9095820, '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_P20850107_27-02-2025_06_00_37.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20850180, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20850181, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20850182, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20850183, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20850184, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20850185, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20850186, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20850187, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20850188, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20850189, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20850190, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20850191, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20850765, 'dashboard_result_id': 9095821, '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_P20850765_27-02-2025_06_01_38.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20850826, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20850827, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20850828, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20850829, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20850830, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20850831, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20850832, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20850833, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20850834, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20850835, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20850836, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20850837, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20851198, 'dashboard_result_id': 9095822, '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_P20851198_27-02-2025_06_02_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20851259, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20851260, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20851261, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20851262, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20851263, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20851264, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20851265, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20851266, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20851267, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20851268, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20851269, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20851270, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20851819, 'dashboard_result_id': 9095823, '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_P20851819_27-02-2025_06_03_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20851820, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20851821, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20851822, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20851823, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20851824, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20851825, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20851826, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20851827, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20851828, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20851829, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20851830, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20851831, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20852478, 'dashboard_result_id': 9095824, '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_P20852478_27-02-2025_06_03_35.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20852479, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20852480, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20852481, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20852482, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20852483, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20852484, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20852485, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20852486, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20852487, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20852488, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20852489, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20852490, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20852902, 'dashboard_result_id': 9095825, '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_P20852902_27-02-2025_06_04_04.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20852951, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20852952, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20852953, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20852954, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20852955, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20852956, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20852957, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20852958, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20852959, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20852960, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20852961, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20852962, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20854055, 'dashboard_result_id': 9095826, '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_P20854055_27-02-2025_06_04_37.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20854081, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20854082, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20854083, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20854084, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20854085, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20854086, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20854087, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20854088, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20854089, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20854090, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20854091, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20854092, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20854419, 'dashboard_result_id': 9095827, '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_P20854419_27-02-2025_06_05_34.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20854493, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20854494, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20854495, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20854496, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20854497, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20854498, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20854499, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20854500, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20854501, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20854502, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20854503, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20854504, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20855468, 'dashboard_result_id': 9095828, '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_P20855468_27-02-2025_06_06_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20855469, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20855470, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20855471, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20855472, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20855473, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20855474, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20855475, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20855476, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20855477, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20855478, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20855479, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20855480, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20856043, 'dashboard_result_id': 9095829, '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_P20856043_27-02-2025_06_06_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20856044, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20856045, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20856046, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20856047, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20856048, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20856049, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20856050, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20856051, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20856052, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20856053, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20856054, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20856055, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20856419, 'dashboard_result_id': 9095830, '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_P20856419_26-02-2025_22_05_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20856471, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20856472, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20856473, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20856474, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20856475, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20856476, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20856477, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20856478, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20856479, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20856480, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20856481, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20856482, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20856900, 'dashboard_result_id': 9095831, '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_P20856900_26-02-2025_22_18_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20856925, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20856926, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20856927, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20856928, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20856929, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20856930, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20856931, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20856932, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20856933, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20856934, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20856935, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20856936, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20857448, 'dashboard_result_id': 9095832, '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_P20857448_26-02-2025_22_32_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20857449, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20857450, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20857451, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20857452, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20857453, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20857454, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20857455, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20857456, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20857457, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20857458, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20857459, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20857460, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20857573, 'dashboard_result_id': 9095833, '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_P20857573_26-02-2025_22_48_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20857577, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20857578, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20857579, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20857580, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20857581, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20857582, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20857583, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20857584, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20857585, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20857586, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20857587, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20857588, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20858422, 'dashboard_result_id': 9095834, '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_P20858422_26-02-2025_23_03_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20858423, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20858424, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20858425, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20858426, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20858427, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20858428, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20858429, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20858430, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20858431, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20858432, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20858433, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20858434, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20858789, 'dashboard_result_id': 9095835, '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_P20858789_26-02-2025_23_17_27.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20858790, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20858791, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20858792, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20858793, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20858794, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20858795, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20858796, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20858797, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20858798, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20858799, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20858800, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20858801, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20859314, 'dashboard_result_id': 9095836, '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_P20859314_26-02-2025_23_36_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20859315, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20859316, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20859317, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20859318, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20859319, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20859320, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20859321, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20859322, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20859323, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20859324, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20859325, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20859326, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20859884, 'dashboard_result_id': 9095837, '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_P20859884_26-02-2025_23_49_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20859885, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20859886, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20859887, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20859888, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20859889, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20859890, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20859891, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20859892, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20859893, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20859894, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20859895, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20859896, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20860315, 'dashboard_result_id': 9095838, '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_P20860315_27-02-2025_01_01_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20860316, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20860317, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20860318, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20860319, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20860320, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20860321, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20860322, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20860323, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20860324, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20860325, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20860326, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20860327, '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 = 20822915 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': 2618724, 'mtr_portfolio_id': 20822915, 'created_at': datetime.datetime(2025, 2, 27, 5, 34, 32), 'result': '0.07920684912952393', 'result_long': None, 'result_double': None}] Qualite : 0.07920684912952393 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20822915 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20822915_27-02-2025_05_34_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20822915 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_P20822915_27-02-2025_05_34_34.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20822942, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20822943, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20822944, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20822945, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20822946, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20822947, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20822948, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20822949, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20822950, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20822951, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20822952, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20822953, 'pht': 3726}}" where mtr_portfolio_id = 20822915 and dashboard_run_id = 1634985 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`=20822915 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095776, 0.07920684912952393, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20822915_27-02-2025_05_34_34.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20822942, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20822943, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20822944, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20822945, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20822946, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20822947, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20822948, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20822949, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20822950, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20822951, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20822952, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20822953, '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 = 20823244 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': 2618725, 'mtr_portfolio_id': 20823244, 'created_at': datetime.datetime(2025, 2, 27, 5, 34, 59), 'result': '0.10199715563081628', 'result_long': None, 'result_double': None}] Qualite : 0.10199715563081628 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20823244 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20823244_27-02-2025_05_35_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20823244 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_P20823244_27-02-2025_05_35_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20823269, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20823270, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20823271, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20823272, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20823273, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20823274, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20823275, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20823276, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20823277, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20823278, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20823279, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20823280, 'pht': 3726}}" where mtr_portfolio_id = 20823244 and dashboard_run_id = 1634985 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`=20823244 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095777, 0.10199715563081628, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20823244_27-02-2025_05_35_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20823269, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20823270, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20823271, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20823272, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20823273, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20823274, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20823275, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20823276, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20823277, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20823278, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20823279, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20823280, '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 = 20823623 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': 2618726, 'mtr_portfolio_id': 20823623, 'created_at': datetime.datetime(2025, 2, 27, 5, 35, 36), 'result': '0.09381009515109745', 'result_long': None, 'result_double': None}] Qualite : 0.09381009515109745 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20823623 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20823623_27-02-2025_05_35_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20823623 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_P20823623_27-02-2025_05_35_41.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20823624, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20823625, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20823626, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20823627, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20823628, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20823629, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20823630, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20823631, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20823632, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20823633, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20823634, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20823635, 'pht': 3726}}" where mtr_portfolio_id = 20823623 and dashboard_run_id = 1634985 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`=20823623 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095778, 0.09381009515109745, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20823623_27-02-2025_05_35_41.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20823624, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20823625, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20823626, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20823627, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20823628, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20823629, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20823630, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20823631, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20823632, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20823633, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20823634, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20823635, '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 = 20823915 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': 2618727, 'mtr_portfolio_id': 20823915, 'created_at': datetime.datetime(2025, 2, 27, 5, 36), 'result': '0.08639860730990376', 'result_long': None, 'result_double': None}] Qualite : 0.08639860730990376 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20823915 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20823915_27-02-2025_05_36_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20823915 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_P20823915_27-02-2025_05_36_03.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20823966, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20823967, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20823968, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20823969, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20823970, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20823971, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20823972, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20823973, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20823974, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20823975, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20823976, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20823977, 'pht': 3726}}" where mtr_portfolio_id = 20823915 and dashboard_run_id = 1634985 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`=20823915 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095779, 0.08639860730990376, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20823915_27-02-2025_05_36_03.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20823966, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20823967, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20823968, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20823969, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20823970, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20823971, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20823972, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20823973, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20823974, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20823975, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20823976, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20823977, '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 = 20824472 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': 2618728, 'mtr_portfolio_id': 20824472, 'created_at': datetime.datetime(2025, 2, 27, 5, 36, 31), 'result': '0.0916600253677883', 'result_long': None, 'result_double': None}] Qualite : 0.0916600253677883 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20824472 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20824472_27-02-2025_05_36_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20824472 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_P20824472_27-02-2025_05_36_34.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20824473, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20824474, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20824475, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20824476, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20824477, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20824478, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20824479, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20824480, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20824481, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20824482, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20824483, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20824484, 'pht': 3726}}" where mtr_portfolio_id = 20824472 and dashboard_run_id = 1634985 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`=20824472 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095780, 0.0916600253677883, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20824472_27-02-2025_05_36_34.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20824473, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20824474, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20824475, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20824476, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20824477, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20824478, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20824479, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20824480, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20824481, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20824482, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20824483, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20824484, '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 = 20825065 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': 2618729, 'mtr_portfolio_id': 20825065, 'created_at': datetime.datetime(2025, 2, 27, 5, 37, 33), 'result': '0.09641862009500766', 'result_long': None, 'result_double': None}] Qualite : 0.09641862009500766 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20825065 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20825065_27-02-2025_05_37_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20825065 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_P20825065_27-02-2025_05_37_38.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20825114, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20825115, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20825116, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20825117, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20825118, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20825119, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20825120, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20825121, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20825122, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20825123, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20825124, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20825125, 'pht': 3726}}" where mtr_portfolio_id = 20825065 and dashboard_run_id = 1634985 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`=20825065 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095781, 0.09641862009500766, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20825065_27-02-2025_05_37_38.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20825114, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20825115, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20825116, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20825117, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20825118, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20825119, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20825120, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20825121, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20825122, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20825123, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20825124, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20825125, '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 = 20825658 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': 2618730, 'mtr_portfolio_id': 20825658, 'created_at': datetime.datetime(2025, 2, 27, 5, 37, 59), 'result': '0.08808147270938506', 'result_long': None, 'result_double': None}] Qualite : 0.08808147270938506 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20825658 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20825658_27-02-2025_05_38_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20825658 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_P20825658_27-02-2025_05_38_02.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20825659, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20825660, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20825661, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20825662, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20825663, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20825664, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20825665, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20825666, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20825667, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20825668, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20825669, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20825670, 'pht': 3726}}" where mtr_portfolio_id = 20825658 and dashboard_run_id = 1634985 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`=20825658 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095782, 0.08808147270938506, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20825658_27-02-2025_05_38_02.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20825659, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20825660, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20825661, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20825662, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20825663, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20825664, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20825665, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20825666, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20825667, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20825668, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20825669, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20825670, '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 = 20826103 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': 2618731, 'mtr_portfolio_id': 20826103, 'created_at': datetime.datetime(2025, 2, 27, 5, 38, 30), 'result': '0.10015054228227757', 'result_long': None, 'result_double': None}] Qualite : 0.10015054228227757 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20826103 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20826103_27-02-2025_05_38_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20826103 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_P20826103_27-02-2025_05_38_35.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20826131, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20826132, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20826133, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20826134, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20826135, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20826136, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20826137, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20826138, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20826139, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20826140, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20826141, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20826142, 'pht': 3726}}" where mtr_portfolio_id = 20826103 and dashboard_run_id = 1634985 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`=20826103 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095783, 0.10015054228227757, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20826103_27-02-2025_05_38_35.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20826131, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20826132, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20826133, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20826134, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20826135, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20826136, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20826137, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20826138, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20826139, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20826140, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20826141, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20826142, '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 = 20826652 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': 2618732, 'mtr_portfolio_id': 20826652, 'created_at': datetime.datetime(2025, 2, 27, 5, 38, 57), 'result': '0.09543412063558471', 'result_long': None, 'result_double': None}] Qualite : 0.09543412063558471 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20826652 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20826652_27-02-2025_05_39_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20826652 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_P20826652_27-02-2025_05_39_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20826653, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20826654, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20826655, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20826656, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20826657, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20826658, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20826659, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20826660, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20826661, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20826662, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20826663, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20826664, 'pht': 3726}}" where mtr_portfolio_id = 20826652 and dashboard_run_id = 1634985 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`=20826652 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095784, 0.09543412063558471, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20826652_27-02-2025_05_39_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20826653, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20826654, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20826655, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20826656, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20826657, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20826658, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20826659, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20826660, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20826661, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20826662, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20826663, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20826664, '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 = 20826951 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': 2618733, 'mtr_portfolio_id': 20826951, 'created_at': datetime.datetime(2025, 2, 27, 5, 39, 33), 'result': '0.08794633338345394', 'result_long': None, 'result_double': None}] Qualite : 0.08794633338345394 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20826951 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20826951_27-02-2025_05_39_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20826951 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_P20826951_27-02-2025_05_39_38.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20826977, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20826978, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20826979, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20826980, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20826981, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20826982, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20826983, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20826984, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20826985, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20826986, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20826987, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20826988, 'pht': 3726}}" where mtr_portfolio_id = 20826951 and dashboard_run_id = 1634985 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`=20826951 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095785, 0.08794633338345394, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20826951_27-02-2025_05_39_38.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20826977, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20826978, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20826979, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20826980, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20826981, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20826982, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20826983, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20826984, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20826985, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20826986, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20826987, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20826988, '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 = 20827919 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': 2618734, 'mtr_portfolio_id': 20827919, 'created_at': datetime.datetime(2025, 2, 27, 5, 40, 1), 'result': '0.09394958102191207', 'result_long': None, 'result_double': None}] Qualite : 0.09394958102191207 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20827919 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20827919_27-02-2025_05_40_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20827919 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_P20827919_27-02-2025_05_40_04.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20827920, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20827921, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20827922, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20827923, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20827924, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20827925, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20827926, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20827927, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20827928, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20827929, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20827930, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20827931, 'pht': 3726}}" where mtr_portfolio_id = 20827919 and dashboard_run_id = 1634985 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`=20827919 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095786, 0.09394958102191207, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20827919_27-02-2025_05_40_04.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20827920, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20827921, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20827922, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20827923, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20827924, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20827925, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20827926, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20827927, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20827928, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20827929, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20827930, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20827931, '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 = 20828584 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': 2618735, 'mtr_portfolio_id': 20828584, 'created_at': datetime.datetime(2025, 2, 27, 5, 40, 31), 'result': '0.09545349483408289', 'result_long': None, 'result_double': None}] Qualite : 0.09545349483408289 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20828584 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20828584_27-02-2025_05_40_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20828584 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_P20828584_27-02-2025_05_40_34.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20828612, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20828613, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20828614, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20828615, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20828616, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20828617, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20828618, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20828619, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20828620, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20828621, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20828622, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20828623, 'pht': 3726}}" where mtr_portfolio_id = 20828584 and dashboard_run_id = 1634985 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`=20828584 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095787, 0.09545349483408289, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20828584_27-02-2025_05_40_34.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20828612, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20828613, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20828614, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20828615, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20828616, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20828617, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20828618, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20828619, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20828620, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20828621, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20828622, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20828623, '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 = 20829246 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': 2618736, 'mtr_portfolio_id': 20829246, 'created_at': datetime.datetime(2025, 2, 27, 5, 41, 29), 'result': '0.10372325000079764', 'result_long': None, 'result_double': None}] Qualite : 0.10372325000079764 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20829246 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20829246_27-02-2025_05_41_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20829246 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_P20829246_27-02-2025_05_41_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20829247, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20829248, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20829249, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20829250, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20829251, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20829252, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20829253, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20829254, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20829255, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20829256, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20829257, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20829258, 'pht': 3726}}" where mtr_portfolio_id = 20829246 and dashboard_run_id = 1634985 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`=20829246 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095788, 0.10372325000079764, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20829246_27-02-2025_05_41_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20829247, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20829248, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20829249, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20829250, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20829251, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20829252, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20829253, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20829254, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20829255, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20829256, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20829257, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20829258, '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 = 20829828 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': 2618737, 'mtr_portfolio_id': 20829828, 'created_at': datetime.datetime(2025, 2, 27, 5, 42, 5), 'result': '0.09427763944322612', 'result_long': None, 'result_double': None}] Qualite : 0.09427763944322612 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20829828 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20829828_27-02-2025_05_42_09.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20829828 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_P20829828_27-02-2025_05_42_09.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20829853, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20829854, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20829855, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20829856, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20829857, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20829858, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20829859, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20829860, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20829861, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20829862, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20829863, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20829864, 'pht': 3726}}" where mtr_portfolio_id = 20829828 and dashboard_run_id = 1634985 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`=20829828 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095789, 0.09427763944322612, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20829828_27-02-2025_05_42_09.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20829853, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20829854, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20829855, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20829856, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20829857, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20829858, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20829859, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20829860, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20829861, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20829862, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20829863, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20829864, '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 = 20830367 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': 2618738, 'mtr_portfolio_id': 20830367, 'created_at': datetime.datetime(2025, 2, 27, 5, 42, 39), 'result': '0.0829198788669888', 'result_long': None, 'result_double': None}] Qualite : 0.0829198788669888 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20830367 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20830367_27-02-2025_05_42_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20830367 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_P20830367_27-02-2025_05_42_42.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20830416, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20830417, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20830418, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20830419, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20830420, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20830421, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20830422, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20830423, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20830424, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20830425, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20830426, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20830427, 'pht': 3726}}" where mtr_portfolio_id = 20830367 and dashboard_run_id = 1634985 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`=20830367 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095790, 0.0829198788669888, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20830367_27-02-2025_05_42_42.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20830416, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20830417, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20830418, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20830419, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20830420, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20830421, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20830422, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20830423, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20830424, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20830425, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20830426, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20830427, '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 = 20831063 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': 2618739, 'mtr_portfolio_id': 20831063, 'created_at': datetime.datetime(2025, 2, 27, 5, 43, 6), 'result': '0.08620166067412319', 'result_long': None, 'result_double': None}] Qualite : 0.08620166067412319 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20831063 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20831063_27-02-2025_05_43_09.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20831063 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_P20831063_27-02-2025_05_43_09.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20831088, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20831089, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20831090, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20831091, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20831092, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20831093, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20831094, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20831095, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20831096, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20831097, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20831098, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20831099, 'pht': 3726}}" where mtr_portfolio_id = 20831063 and dashboard_run_id = 1634985 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`=20831063 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095791, 0.08620166067412319, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20831063_27-02-2025_05_43_09.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20831088, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20831089, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20831090, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20831091, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20831092, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20831093, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20831094, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20831095, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20831096, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20831097, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20831098, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20831099, '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 = 20832581 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': 2618740, 'mtr_portfolio_id': 20832581, 'created_at': datetime.datetime(2025, 2, 27, 5, 43, 29), 'result': '0.06573409346289968', 'result_long': None, 'result_double': None}] Qualite : 0.06573409346289968 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20832581 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20832581_27-02-2025_05_43_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20832581 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_P20832581_27-02-2025_05_43_30.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20832630, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20832631, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20832632, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20832633, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20832634, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20832635, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20832636, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20832637, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20832638, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20832639, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20832640, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20832641, 'pht': 3726}}" where mtr_portfolio_id = 20832581 and dashboard_run_id = 1634985 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`=20832581 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095792, 0.06573409346289968, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20832581_27-02-2025_05_43_30.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20832630, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20832631, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20832632, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20832633, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20832634, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20832635, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20832636, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20832637, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20832638, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20832639, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20832640, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20832641, '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 = 20832732 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': 2618741, 'mtr_portfolio_id': 20832732, 'created_at': datetime.datetime(2025, 2, 27, 5, 43, 59), 'result': '0.07605219584771207', 'result_long': None, 'result_double': None}] Qualite : 0.07605219584771207 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20832732 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20832732_27-02-2025_05_44_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20832732 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_P20832732_27-02-2025_05_44_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20832757, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20832758, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20832759, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20832760, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20832761, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20832762, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20832763, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20832764, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20832765, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20832766, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20832767, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20832768, 'pht': 3726}}" where mtr_portfolio_id = 20832732 and dashboard_run_id = 1634985 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`=20832732 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095793, 0.07605219584771207, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20832732_27-02-2025_05_44_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20832757, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20832758, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20832759, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20832760, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20832761, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20832762, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20832763, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20832764, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20832765, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20832766, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20832767, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20832768, '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 = 20833362 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': 2618742, 'mtr_portfolio_id': 20833362, 'created_at': datetime.datetime(2025, 2, 27, 5, 44, 32), 'result': '0.08211823070862564', 'result_long': None, 'result_double': None}] Qualite : 0.08211823070862564 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20833362 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20833362_27-02-2025_05_44_40.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20833362 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_P20833362_27-02-2025_05_44_40.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20833405, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20833406, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20833407, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20833408, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20833409, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20833410, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20833411, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20833412, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20833413, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20833414, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20833415, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20833416, 'pht': 3726}}" where mtr_portfolio_id = 20833362 and dashboard_run_id = 1634985 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`=20833362 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095794, 0.08211823070862564, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20833362_27-02-2025_05_44_40.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20833405, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20833406, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20833407, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20833408, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20833409, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20833410, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20833411, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20833412, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20833413, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20833414, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20833415, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20833416, '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 = 20833879 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': 2618743, 'mtr_portfolio_id': 20833879, 'created_at': datetime.datetime(2025, 2, 27, 5, 45, 29), 'result': '0.0791586882502438', 'result_long': None, 'result_double': None}] Qualite : 0.0791586882502438 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20833879 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20833879_27-02-2025_05_45_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20833879 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_P20833879_27-02-2025_05_45_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20833880, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20833881, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20833882, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20833883, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20833884, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20833885, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20833886, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20833887, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20833888, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20833889, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20833890, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20833891, 'pht': 3726}}" where mtr_portfolio_id = 20833879 and dashboard_run_id = 1634985 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`=20833879 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095795, 0.0791586882502438, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20833879_27-02-2025_05_45_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20833880, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20833881, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20833882, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20833883, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20833884, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20833885, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20833886, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20833887, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20833888, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20833889, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20833890, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20833891, '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 = 20834422 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': 2618744, 'mtr_portfolio_id': 20834422, 'created_at': datetime.datetime(2025, 2, 27, 5, 45, 58), 'result': '0.08996508570817628', 'result_long': None, 'result_double': None}] Qualite : 0.08996508570817628 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20834422 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20834422_27-02-2025_05_46_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20834422 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_P20834422_27-02-2025_05_46_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20834429, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20834430, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20834431, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20834432, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20834433, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20834434, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20834435, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20834436, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20834437, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20834438, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20834439, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20834440, 'pht': 3726}}" where mtr_portfolio_id = 20834422 and dashboard_run_id = 1634985 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`=20834422 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095796, 0.08996508570817628, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20834422_27-02-2025_05_46_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20834429, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20834430, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20834431, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20834432, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20834433, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20834434, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20834435, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20834436, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20834437, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20834438, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20834439, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20834440, '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 = 20835080 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': 2618745, 'mtr_portfolio_id': 20835080, 'created_at': datetime.datetime(2025, 2, 27, 5, 46, 28), 'result': '0.09250196067297423', 'result_long': None, 'result_double': None}] Qualite : 0.09250196067297423 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20835080 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20835080_27-02-2025_05_46_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20835080 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_P20835080_27-02-2025_05_46_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20835087, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20835088, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20835089, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20835090, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20835091, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20835092, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20835093, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20835094, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20835095, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20835096, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20835097, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20835098, 'pht': 3726}}" where mtr_portfolio_id = 20835080 and dashboard_run_id = 1634985 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`=20835080 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095797, 0.09250196067297423, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20835080_27-02-2025_05_46_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20835087, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20835088, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20835089, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20835090, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20835091, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20835092, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20835093, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20835094, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20835095, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20835096, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20835097, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20835098, '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 = 20835982 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': 2618746, 'mtr_portfolio_id': 20835982, 'created_at': datetime.datetime(2025, 2, 27, 5, 47, 28), 'result': '0.09638858381358184', 'result_long': None, 'result_double': None}] Qualite : 0.09638858381358184 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20835982 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20835982_27-02-2025_05_47_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20835982 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_P20835982_27-02-2025_05_47_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20835987, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20835988, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20835989, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20835990, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20835991, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20835992, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20835993, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20835994, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20835995, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20835996, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20835997, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20835998, 'pht': 3726}}" where mtr_portfolio_id = 20835982 and dashboard_run_id = 1634985 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`=20835982 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095798, 0.09638858381358184, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20835982_27-02-2025_05_47_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20835987, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20835988, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20835989, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20835990, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20835991, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20835992, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20835993, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20835994, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20835995, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20835996, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20835997, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20835998, '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 = 20836575 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': 2618747, 'mtr_portfolio_id': 20836575, 'created_at': datetime.datetime(2025, 2, 27, 5, 48), 'result': '0.09433109158117405', 'result_long': None, 'result_double': None}] Qualite : 0.09433109158117405 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20836575 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20836575_27-02-2025_05_48_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20836575 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_P20836575_27-02-2025_05_48_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20836600, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20836601, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20836602, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20836603, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20836604, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20836605, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20836606, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20836607, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20836608, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20836609, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20836610, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20836611, 'pht': 3726}}" where mtr_portfolio_id = 20836575 and dashboard_run_id = 1634985 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`=20836575 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095799, 0.09433109158117405, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20836575_27-02-2025_05_48_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20836600, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20836601, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20836602, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20836603, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20836604, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20836605, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20836606, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20836607, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20836608, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20836609, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20836610, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20836611, '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 = 20837208 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': 2618748, 'mtr_portfolio_id': 20837208, 'created_at': datetime.datetime(2025, 2, 27, 5, 48, 31), 'result': '0.10658614900289054', 'result_long': None, 'result_double': None}] Qualite : 0.10658614900289054 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20837208 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20837208_27-02-2025_05_48_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20837208 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_P20837208_27-02-2025_05_48_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20837209, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20837210, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20837211, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20837212, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20837213, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20837214, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20837215, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20837216, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20837217, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20837218, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20837219, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20837220, 'pht': 3726}}" where mtr_portfolio_id = 20837208 and dashboard_run_id = 1634985 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`=20837208 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095800, 0.10658614900289054, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20837208_27-02-2025_05_48_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20837209, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20837210, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20837211, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20837212, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20837213, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20837214, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20837215, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20837216, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20837217, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20837218, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20837219, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20837220, '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 = 20838192 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': 2618749, 'mtr_portfolio_id': 20838192, 'created_at': datetime.datetime(2025, 2, 27, 5, 49, 40), 'result': '0.1055547180913604', 'result_long': None, 'result_double': None}] Qualite : 0.1055547180913604 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20838192 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20838192_27-02-2025_05_49_43.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20838192 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_P20838192_27-02-2025_05_49_43.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20838210, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20838211, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20838212, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20838213, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20838214, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20838215, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20838216, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20838217, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20838218, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20838219, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20838220, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20838221, 'pht': 3726}}" where mtr_portfolio_id = 20838192 and dashboard_run_id = 1634985 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`=20838192 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095801, 0.1055547180913604, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20838192_27-02-2025_05_49_43.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20838210, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20838211, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20838212, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20838213, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20838214, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20838215, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20838216, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20838217, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20838218, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20838219, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20838220, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20838221, '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 = 20838686 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': 2618750, 'mtr_portfolio_id': 20838686, 'created_at': datetime.datetime(2025, 2, 27, 5, 49, 58), 'result': '0.10544209451507229', 'result_long': None, 'result_double': None}] Qualite : 0.10544209451507229 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20838686 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20838686_27-02-2025_05_50_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20838686 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_P20838686_27-02-2025_05_50_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20838712, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20838713, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20838714, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20838715, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20838716, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20838717, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20838718, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20838719, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20838720, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20838721, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20838722, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20838723, 'pht': 3726}}" where mtr_portfolio_id = 20838686 and dashboard_run_id = 1634985 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`=20838686 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095802, 0.10544209451507229, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20838686_27-02-2025_05_50_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20838712, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20838713, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20838714, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20838715, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20838716, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20838717, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20838718, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20838719, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20838720, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20838721, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20838722, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20838723, '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 = 20840618 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': 2618751, 'mtr_portfolio_id': 20840618, 'created_at': datetime.datetime(2025, 2, 27, 5, 50, 30), 'result': '0.09598470260582645', 'result_long': None, 'result_double': None}] Qualite : 0.09598470260582645 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20840618 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20840618_27-02-2025_05_50_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20840618 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20840619, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20840620, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20840621, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20840622, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20840623, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20840624, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20840625, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20840626, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20840627, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20840628, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20840629, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20840630, 'pht': 3726}, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20840618_27-02-2025_05_50_31.pdf'}" where mtr_portfolio_id = 20840618 and dashboard_run_id = 1634985 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`=20840618 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095803, 0.09598470260582645, "{'max_time_prod_two_photos': 0, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20840619, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20840620, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20840621, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20840622, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20840623, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20840624, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20840625, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20840626, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20840627, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20840628, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20840629, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20840630, 'pht': 3726}, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20840618_27-02-2025_05_50_31.pdf'}") 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 = 20840746 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': 2618752, 'mtr_portfolio_id': 20840746, 'created_at': datetime.datetime(2025, 2, 27, 5, 51), 'result': '0.11292488304262686', 'result_long': None, 'result_double': None}] Qualite : 0.11292488304262686 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20840746 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20840746_27-02-2025_05_51_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20840746 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_P20840746_27-02-2025_05_51_04.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20840783, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20840784, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20840785, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20840786, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20840787, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20840788, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20840789, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20840790, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20840791, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20840792, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20840793, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20840794, 'pht': 3726}}" where mtr_portfolio_id = 20840746 and dashboard_run_id = 1634985 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`=20840746 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095804, 0.11292488304262686, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20840746_27-02-2025_05_51_04.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20840783, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20840784, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20840785, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20840786, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20840787, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20840788, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20840789, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20840790, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20840791, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20840792, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20840793, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20840794, '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 = 20841272 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': 2618753, 'mtr_portfolio_id': 20841272, 'created_at': datetime.datetime(2025, 2, 27, 5, 51, 28), 'result': '0.09384106315189063', 'result_long': None, 'result_double': None}] Qualite : 0.09384106315189063 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20841272 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20841272_27-02-2025_05_51_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20841272 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_P20841272_27-02-2025_05_51_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20841273, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20841274, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20841275, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20841276, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20841277, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20841278, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20841279, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20841280, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20841281, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20841282, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20841283, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20841284, 'pht': 3726}}" where mtr_portfolio_id = 20841272 and dashboard_run_id = 1634985 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`=20841272 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095805, 0.09384106315189063, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20841272_27-02-2025_05_51_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20841273, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20841274, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20841275, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20841276, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20841277, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20841278, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20841279, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20841280, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20841281, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20841282, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20841283, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20841284, '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 = 20841741 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': 2618754, 'mtr_portfolio_id': 20841741, 'created_at': datetime.datetime(2025, 2, 27, 5, 51, 57), 'result': '0.10388308456801364', 'result_long': None, 'result_double': None}] Qualite : 0.10388308456801364 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20841741 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20841741_27-02-2025_05_51_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20841741 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_P20841741_27-02-2025_05_51_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20841743, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20841744, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20841745, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20841746, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20841747, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20841748, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20841749, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20841750, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20841751, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20841752, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20841753, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20841754, 'pht': 3726}}" where mtr_portfolio_id = 20841741 and dashboard_run_id = 1634985 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`=20841741 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095806, 0.10388308456801364, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20841741_27-02-2025_05_51_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20841743, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20841744, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20841745, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20841746, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20841747, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20841748, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20841749, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20841750, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20841751, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20841752, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20841753, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20841754, '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 = 20842109 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': 2618755, 'mtr_portfolio_id': 20842109, 'created_at': datetime.datetime(2025, 2, 27, 5, 52, 28), 'result': '0.10851428389042465', 'result_long': None, 'result_double': None}] Qualite : 0.10851428389042465 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20842109 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20842109_27-02-2025_05_52_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20842109 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_P20842109_27-02-2025_05_52_29.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20842176, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20842177, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20842178, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20842179, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20842180, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20842181, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20842182, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20842183, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20842184, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20842185, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20842186, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20842187, 'pht': 3726}}" where mtr_portfolio_id = 20842109 and dashboard_run_id = 1634985 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`=20842109 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095807, 0.10851428389042465, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20842109_27-02-2025_05_52_29.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20842176, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20842177, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20842178, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20842179, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20842180, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20842181, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20842182, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20842183, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20842184, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20842185, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20842186, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20842187, '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 = 20842535 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': 2618756, 'mtr_portfolio_id': 20842535, 'created_at': datetime.datetime(2025, 2, 27, 5, 53, 32), 'result': '0.10537480349502876', 'result_long': None, 'result_double': None}] Qualite : 0.10537480349502876 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20842535 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20842535_27-02-2025_05_53_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20842535 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_P20842535_27-02-2025_05_53_35.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20842536, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20842537, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20842538, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20842539, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20842540, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20842541, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20842542, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20842543, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20842544, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20842545, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20842546, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20842547, 'pht': 3726}}" where mtr_portfolio_id = 20842535 and dashboard_run_id = 1634985 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`=20842535 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095808, 0.10537480349502876, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20842535_27-02-2025_05_53_35.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20842536, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20842537, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20842538, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20842539, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20842540, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20842541, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20842542, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20842543, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20842544, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20842545, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20842546, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20842547, '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 = 20843062 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': 2618757, 'mtr_portfolio_id': 20843062, 'created_at': datetime.datetime(2025, 2, 27, 5, 54), 'result': '0.09461091511724623', 'result_long': None, 'result_double': None}] Qualite : 0.09461091511724623 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20843062 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20843062_27-02-2025_05_54_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20843062 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_P20843062_27-02-2025_05_54_03.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20843077, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20843078, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20843079, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20843080, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20843081, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20843082, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20843083, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20843084, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20843085, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20843086, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20843087, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20843088, 'pht': 3726}}" where mtr_portfolio_id = 20843062 and dashboard_run_id = 1634985 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`=20843062 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095809, 0.09461091511724623, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20843062_27-02-2025_05_54_03.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20843077, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20843078, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20843079, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20843080, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20843081, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20843082, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20843083, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20843084, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20843085, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20843086, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20843087, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20843088, '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 = 20843891 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': 2618758, 'mtr_portfolio_id': 20843891, 'created_at': datetime.datetime(2025, 2, 27, 5, 54, 31), 'result': '0.0952210209130692', 'result_long': None, 'result_double': None}] Qualite : 0.0952210209130692 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20843891 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20843891_27-02-2025_05_54_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20843891 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_P20843891_27-02-2025_05_54_35.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20843978, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20843979, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20843980, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20843981, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20843982, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20843983, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20843984, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20843985, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20843986, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20843987, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20843988, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20843989, 'pht': 3726}}" where mtr_portfolio_id = 20843891 and dashboard_run_id = 1634985 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`=20843891 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095810, 0.0952210209130692, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20843891_27-02-2025_05_54_35.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20843978, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20843979, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20843980, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20843981, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20843982, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20843983, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20843984, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20843985, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20843986, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20843987, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20843988, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20843989, '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 = 20844521 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': 2618759, 'mtr_portfolio_id': 20844521, 'created_at': datetime.datetime(2025, 2, 27, 5, 55, 30), 'result': '0.08961337252877308', 'result_long': None, 'result_double': None}] Qualite : 0.08961337252877308 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20844521 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20844521_27-02-2025_05_55_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20844521 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_P20844521_27-02-2025_05_55_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20844522, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20844523, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20844524, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20844525, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20844526, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20844527, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20844528, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20844529, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20844530, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20844531, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20844532, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20844533, 'pht': 3726}}" where mtr_portfolio_id = 20844521 and dashboard_run_id = 1634985 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`=20844521 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095811, 0.08961337252877308, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20844521_27-02-2025_05_55_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20844522, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20844523, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20844524, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20844525, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20844526, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20844527, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20844528, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20844529, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20844530, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20844531, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20844532, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20844533, '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 = 20844984 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': 2618760, 'mtr_portfolio_id': 20844984, 'created_at': datetime.datetime(2025, 2, 27, 5, 55, 58), 'result': '0.10127133196056405', 'result_long': None, 'result_double': None}] Qualite : 0.10127133196056405 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20844984 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20844984_27-02-2025_05_56_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20844984 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_P20844984_27-02-2025_05_56_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20845015, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20845016, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20845017, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20845018, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20845019, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20845020, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20845021, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20845022, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20845023, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20845024, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20845025, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20845026, 'pht': 3726}}" where mtr_portfolio_id = 20844984 and dashboard_run_id = 1634985 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`=20844984 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095812, 0.10127133196056405, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20844984_27-02-2025_05_56_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20845015, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20845016, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20845017, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20845018, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20845019, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20845020, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20845021, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20845022, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20845023, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20845024, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20845025, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20845026, '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 = 20845790 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': 2618761, 'mtr_portfolio_id': 20845790, 'created_at': datetime.datetime(2025, 2, 27, 5, 56, 28), 'result': '0.10937179414744042', 'result_long': None, 'result_double': None}] Qualite : 0.10937179414744042 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20845790 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20845790_27-02-2025_05_56_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20845790 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_P20845790_27-02-2025_05_56_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20845794, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20845795, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20845796, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20845797, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20845798, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20845799, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20845800, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20845801, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20845802, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20845803, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20845804, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20845805, 'pht': 3726}}" where mtr_portfolio_id = 20845790 and dashboard_run_id = 1634985 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`=20845790 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095813, 0.10937179414744042, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20845790_27-02-2025_05_56_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20845794, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20845795, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20845796, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20845797, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20845798, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20845799, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20845800, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20845801, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20845802, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20845803, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20845804, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20845805, '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 = 20846033 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': 2618762, 'mtr_portfolio_id': 20846033, 'created_at': datetime.datetime(2025, 2, 27, 5, 57), 'result': '0.10551787687757494', 'result_long': None, 'result_double': None}] Qualite : 0.10551787687757494 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20846033 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20846033_27-02-2025_05_57_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20846033 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_P20846033_27-02-2025_05_57_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20846036, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20846037, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20846038, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20846039, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20846040, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20846041, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20846042, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20846043, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20846044, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20846045, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20846046, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20846047, 'pht': 3726}}" where mtr_portfolio_id = 20846033 and dashboard_run_id = 1634985 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`=20846033 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095814, 0.10551787687757494, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20846033_27-02-2025_05_57_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20846036, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20846037, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20846038, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20846039, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20846040, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20846041, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20846042, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20846043, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20846044, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20846045, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20846046, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20846047, '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 = 20846799 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': 2618763, 'mtr_portfolio_id': 20846799, 'created_at': datetime.datetime(2025, 2, 27, 5, 58, 1), 'result': '0.11496452386107839', 'result_long': None, 'result_double': None}] Qualite : 0.11496452386107839 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20846799 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20846799_27-02-2025_05_58_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20846799 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_P20846799_27-02-2025_05_58_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20846876, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20846877, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20846878, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20846879, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20846880, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20846881, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20846882, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20846883, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20846884, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20846885, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20846886, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20846887, 'pht': 3726}}" where mtr_portfolio_id = 20846799 and dashboard_run_id = 1634985 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`=20846799 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095815, 0.11496452386107839, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20846799_27-02-2025_05_58_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20846876, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20846877, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20846878, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20846879, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20846880, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20846881, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20846882, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20846883, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20846884, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20846885, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20846886, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20846887, '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 = 20848465 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': 2618764, 'mtr_portfolio_id': 20848465, 'created_at': datetime.datetime(2025, 2, 27, 5, 58, 29), 'result': '0.113764538614385', 'result_long': None, 'result_double': None}] Qualite : 0.113764538614385 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20848465 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20848465_27-02-2025_05_58_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20848465 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_P20848465_27-02-2025_05_58_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20848466, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20848467, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20848468, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20848469, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20848470, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20848471, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20848472, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20848473, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20848474, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20848475, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20848476, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20848477, 'pht': 3726}}" where mtr_portfolio_id = 20848465 and dashboard_run_id = 1634985 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`=20848465 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095816, 0.113764538614385, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20848465_27-02-2025_05_58_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20848466, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20848467, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20848468, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20848469, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20848470, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20848471, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20848472, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20848473, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20848474, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20848475, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20848476, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20848477, '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 = 20848689 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': 2618765, 'mtr_portfolio_id': 20848689, 'created_at': datetime.datetime(2025, 2, 27, 5, 59, 4), 'result': '0.10085177014709137', 'result_long': None, 'result_double': None}] Qualite : 0.10085177014709137 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20848689 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20848689_27-02-2025_05_59_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20848689 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_P20848689_27-02-2025_05_59_06.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20848691, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20848692, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20848693, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20848694, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20848695, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20848696, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20848697, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20848698, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20848699, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20848700, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20848701, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20848702, 'pht': 3726}}" where mtr_portfolio_id = 20848689 and dashboard_run_id = 1634985 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`=20848689 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095817, 0.10085177014709137, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20848689_27-02-2025_05_59_06.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20848691, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20848692, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20848693, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20848694, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20848695, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20848696, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20848697, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20848698, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20848699, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20848700, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20848701, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20848702, '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 = 20848890 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': 2618766, 'mtr_portfolio_id': 20848890, 'created_at': datetime.datetime(2025, 2, 27, 5, 59, 32), 'result': '0.10218707403506423', 'result_long': None, 'result_double': None}] Qualite : 0.10218707403506423 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20848890 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20848890_27-02-2025_05_59_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20848890 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_P20848890_27-02-2025_05_59_34.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20848891, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20848892, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20848893, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20848894, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20848895, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20848896, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20848897, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20848898, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20848899, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20848900, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20848901, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20848902, 'pht': 3726}}" where mtr_portfolio_id = 20848890 and dashboard_run_id = 1634985 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`=20848890 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095818, 0.10218707403506423, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20848890_27-02-2025_05_59_34.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20848891, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20848892, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20848893, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20848894, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20848895, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20848896, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20848897, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20848898, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20848899, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20848900, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20848901, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20848902, '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 = 20849515 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': 2618767, 'mtr_portfolio_id': 20849515, 'created_at': datetime.datetime(2025, 2, 27, 6, 0), 'result': '0.10540387920795503', 'result_long': None, 'result_double': None}] Qualite : 0.10540387920795503 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20849515 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20849515_27-02-2025_06_00_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20849515 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_P20849515_27-02-2025_06_00_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20849540, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20849541, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20849542, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20849543, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20849544, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20849545, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20849546, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20849547, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20849548, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20849549, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20849550, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20849551, 'pht': 3726}}" where mtr_portfolio_id = 20849515 and dashboard_run_id = 1634985 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`=20849515 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095819, 0.10540387920795503, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20849515_27-02-2025_06_00_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20849540, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20849541, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20849542, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20849543, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20849544, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20849545, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20849546, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20849547, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20849548, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20849549, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20849550, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20849551, '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 = 20850107 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': 2618768, 'mtr_portfolio_id': 20850107, 'created_at': datetime.datetime(2025, 2, 27, 6, 0, 34), 'result': '0.10865918238698424', 'result_long': None, 'result_double': None}] Qualite : 0.10865918238698424 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20850107 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20850107_27-02-2025_06_00_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20850107 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_P20850107_27-02-2025_06_00_37.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20850180, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20850181, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20850182, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20850183, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20850184, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20850185, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20850186, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20850187, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20850188, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20850189, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20850190, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20850191, 'pht': 3726}}" where mtr_portfolio_id = 20850107 and dashboard_run_id = 1634985 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`=20850107 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095820, 0.10865918238698424, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20850107_27-02-2025_06_00_37.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20850180, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20850181, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20850182, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20850183, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20850184, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20850185, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20850186, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20850187, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20850188, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20850189, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20850190, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20850191, '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 = 20850765 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': 2618769, 'mtr_portfolio_id': 20850765, 'created_at': datetime.datetime(2025, 2, 27, 6, 1, 34), 'result': '0.10551587276493077', 'result_long': None, 'result_double': None}] Qualite : 0.10551587276493077 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20850765 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20850765_27-02-2025_06_01_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20850765 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_P20850765_27-02-2025_06_01_38.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20850826, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20850827, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20850828, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20850829, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20850830, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20850831, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20850832, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20850833, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20850834, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20850835, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20850836, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20850837, 'pht': 3726}}" where mtr_portfolio_id = 20850765 and dashboard_run_id = 1634985 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`=20850765 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095821, 0.10551587276493077, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20850765_27-02-2025_06_01_38.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20850826, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20850827, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20850828, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20850829, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20850830, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20850831, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20850832, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20850833, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20850834, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20850835, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20850836, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20850837, '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 = 20851198 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': 2618770, 'mtr_portfolio_id': 20851198, 'created_at': datetime.datetime(2025, 2, 27, 6, 1, 58), 'result': '0.09943624749155479', 'result_long': None, 'result_double': None}] Qualite : 0.09943624749155479 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20851198 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20851198_27-02-2025_06_02_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20851198 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_P20851198_27-02-2025_06_02_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20851259, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20851260, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20851261, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20851262, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20851263, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20851264, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20851265, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20851266, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20851267, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20851268, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20851269, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20851270, 'pht': 3726}}" where mtr_portfolio_id = 20851198 and dashboard_run_id = 1634985 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`=20851198 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095822, 0.09943624749155479, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20851198_27-02-2025_06_02_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20851259, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20851260, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20851261, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20851262, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20851263, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20851264, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20851265, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20851266, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20851267, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20851268, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20851269, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20851270, '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 = 20851819 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': 2618771, 'mtr_portfolio_id': 20851819, 'created_at': datetime.datetime(2025, 2, 27, 6, 2, 58), 'result': '0.1046235149958549', 'result_long': None, 'result_double': None}] Qualite : 0.1046235149958549 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20851819 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20851819_27-02-2025_06_03_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20851819 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_P20851819_27-02-2025_06_03_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20851820, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20851821, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20851822, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20851823, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20851824, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20851825, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20851826, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20851827, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20851828, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20851829, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20851830, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20851831, 'pht': 3726}}" where mtr_portfolio_id = 20851819 and dashboard_run_id = 1634985 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`=20851819 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095823, 0.1046235149958549, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20851819_27-02-2025_06_03_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20851820, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20851821, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20851822, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20851823, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20851824, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20851825, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20851826, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20851827, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20851828, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20851829, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20851830, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20851831, '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 = 20852478 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': 2618772, 'mtr_portfolio_id': 20852478, 'created_at': datetime.datetime(2025, 2, 27, 6, 3, 32), 'result': '0.1117658958276012', 'result_long': None, 'result_double': None}] Qualite : 0.1117658958276012 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20852478 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20852478_27-02-2025_06_03_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20852478 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_P20852478_27-02-2025_06_03_35.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20852479, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20852480, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20852481, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20852482, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20852483, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20852484, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20852485, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20852486, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20852487, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20852488, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20852489, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20852490, 'pht': 3726}}" where mtr_portfolio_id = 20852478 and dashboard_run_id = 1634985 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`=20852478 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095824, 0.1117658958276012, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20852478_27-02-2025_06_03_35.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20852479, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20852480, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20852481, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20852482, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20852483, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20852484, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20852485, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20852486, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20852487, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20852488, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20852489, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20852490, '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 = 20852902 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': 2618773, 'mtr_portfolio_id': 20852902, 'created_at': datetime.datetime(2025, 2, 27, 6, 4), 'result': '0.10476260694784911', 'result_long': None, 'result_double': None}] Qualite : 0.10476260694784911 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20852902 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20852902_27-02-2025_06_04_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20852902 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_P20852902_27-02-2025_06_04_04.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20852951, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20852952, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20852953, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20852954, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20852955, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20852956, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20852957, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20852958, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20852959, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20852960, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20852961, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20852962, 'pht': 3726}}" where mtr_portfolio_id = 20852902 and dashboard_run_id = 1634985 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`=20852902 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095825, 0.10476260694784911, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20852902_27-02-2025_06_04_04.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20852951, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20852952, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20852953, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20852954, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20852955, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20852956, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20852957, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20852958, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20852959, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20852960, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20852961, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20852962, '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 = 20854055 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': 2618774, 'mtr_portfolio_id': 20854055, 'created_at': datetime.datetime(2025, 2, 27, 6, 4, 30), 'result': '0.11609178189363796', 'result_long': None, 'result_double': None}] Qualite : 0.11609178189363796 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20854055 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20854055_27-02-2025_06_04_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20854055 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_P20854055_27-02-2025_06_04_37.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20854081, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20854082, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20854083, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20854084, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20854085, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20854086, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20854087, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20854088, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20854089, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20854090, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20854091, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20854092, 'pht': 3726}}" where mtr_portfolio_id = 20854055 and dashboard_run_id = 1634985 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`=20854055 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095826, 0.11609178189363796, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20854055_27-02-2025_06_04_37.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20854081, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20854082, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20854083, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20854084, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20854085, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20854086, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20854087, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20854088, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20854089, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20854090, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20854091, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20854092, '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 = 20854419 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': 2618775, 'mtr_portfolio_id': 20854419, 'created_at': datetime.datetime(2025, 2, 27, 6, 5, 31), 'result': '0.10361750841493632', 'result_long': None, 'result_double': None}] Qualite : 0.10361750841493632 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20854419 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20854419_27-02-2025_06_05_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20854419 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_P20854419_27-02-2025_06_05_34.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20854493, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20854494, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20854495, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20854496, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20854497, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20854498, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20854499, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20854500, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20854501, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20854502, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20854503, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20854504, 'pht': 3726}}" where mtr_portfolio_id = 20854419 and dashboard_run_id = 1634985 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`=20854419 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095827, 0.10361750841493632, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20854419_27-02-2025_06_05_34.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20854493, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20854494, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20854495, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20854496, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20854497, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20854498, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20854499, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20854500, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20854501, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20854502, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20854503, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20854504, '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 = 20855468 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': 2618776, 'mtr_portfolio_id': 20855468, 'created_at': datetime.datetime(2025, 2, 27, 6, 6), 'result': '0.10281763738732434', 'result_long': None, 'result_double': None}] Qualite : 0.10281763738732434 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20855468 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20855468_27-02-2025_06_06_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20855468 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_P20855468_27-02-2025_06_06_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20855469, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20855470, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20855471, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20855472, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20855473, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20855474, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20855475, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20855476, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20855477, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20855478, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20855479, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20855480, 'pht': 3726}}" where mtr_portfolio_id = 20855468 and dashboard_run_id = 1634985 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`=20855468 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095828, 0.10281763738732434, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20855468_27-02-2025_06_06_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20855469, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20855470, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20855471, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20855472, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20855473, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20855474, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20855475, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20855476, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20855477, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20855478, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20855479, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20855480, '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 = 20856043 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': 2618777, 'mtr_portfolio_id': 20856043, 'created_at': datetime.datetime(2025, 2, 27, 6, 6, 31), 'result': '0.09720227679443563', 'result_long': None, 'result_double': None}] Qualite : 0.09720227679443563 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20856043 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20856043_27-02-2025_06_06_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20856043 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_P20856043_27-02-2025_06_06_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20856044, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20856045, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20856046, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20856047, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20856048, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20856049, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20856050, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20856051, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20856052, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20856053, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20856054, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20856055, 'pht': 3726}}" where mtr_portfolio_id = 20856043 and dashboard_run_id = 1634985 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`=20856043 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095829, 0.09720227679443563, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20856043_27-02-2025_06_06_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20856044, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20856045, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20856046, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20856047, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20856048, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20856049, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20856050, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20856051, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20856052, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20856053, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20856054, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20856055, '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 = 20856419 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': 2618778, 'mtr_portfolio_id': 20856419, 'created_at': datetime.datetime(2025, 2, 27, 6, 6, 59), 'result': '0.10666733861343768', 'result_long': None, 'result_double': None}] Qualite : 0.10666733861343768 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20856419 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20856419_27-02-2025_06_07_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20856419 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_P20856419_27-02-2025_06_07_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20856471, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20856472, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20856473, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20856474, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20856475, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20856476, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20856477, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20856478, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20856479, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20856480, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20856481, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20856482, 'pht': 3726}}" where mtr_portfolio_id = 20856419 and dashboard_run_id = 1634985 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`=20856419 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095830, 0.10666733861343768, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20856419_27-02-2025_06_07_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20856471, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20856472, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20856473, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20856474, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20856475, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20856476, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20856477, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20856478, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20856479, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20856480, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20856481, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20856482, '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 = 20856900 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': 2617818, 'mtr_portfolio_id': 20856900, 'created_at': datetime.datetime(2025, 2, 26, 22, 18, 59), 'result': '0.116456460548406', 'result_long': None, 'result_double': None}] Qualite : 0.116456460548406 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20856900 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20856900_26-02-2025_22_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20856900 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_P20856900_26-02-2025_22_18_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20856925, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20856926, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20856927, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20856928, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20856929, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20856930, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20856931, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20856932, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20856933, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20856934, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20856935, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20856936, 'pht': 3726}}" where mtr_portfolio_id = 20856900 and dashboard_run_id = 1634985 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`=20856900 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095831, 0.116456460548406, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20856900_26-02-2025_22_18_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20856925, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20856926, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20856927, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20856928, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20856929, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20856930, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20856931, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20856932, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20856933, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20856934, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20856935, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20856936, '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 = 20857448 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': 2617851, 'mtr_portfolio_id': 20857448, 'created_at': datetime.datetime(2025, 2, 26, 22, 32, 58), 'result': '0.1409290653273137', 'result_long': None, 'result_double': None}] Qualite : 0.1409290653273137 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20857448 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20857448_26-02-2025_22_32_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20857448 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_P20857448_26-02-2025_22_32_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20857449, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20857450, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20857451, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20857452, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20857453, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20857454, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20857455, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20857456, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20857457, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20857458, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20857459, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20857460, 'pht': 3726}}" where mtr_portfolio_id = 20857448 and dashboard_run_id = 1634985 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`=20857448 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095832, 0.1409290653273137, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20857448_26-02-2025_22_32_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20857449, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20857450, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20857451, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20857452, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20857453, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20857454, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20857455, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20857456, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20857457, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20857458, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20857459, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20857460, '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 = 20857573 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': 2617884, 'mtr_portfolio_id': 20857573, 'created_at': datetime.datetime(2025, 2, 26, 22, 48, 57), 'result': '0.12238231803836284', 'result_long': None, 'result_double': None}] Qualite : 0.12238231803836284 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20857573 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20857573_26-02-2025_22_48_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20857573 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_P20857573_26-02-2025_22_48_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20857577, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20857578, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20857579, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20857580, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20857581, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20857582, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20857583, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20857584, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20857585, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20857586, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20857587, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20857588, 'pht': 3726}}" where mtr_portfolio_id = 20857573 and dashboard_run_id = 1634985 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`=20857573 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095833, 0.12238231803836284, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20857573_26-02-2025_22_48_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20857577, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20857578, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20857579, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20857580, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20857581, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20857582, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20857583, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20857584, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20857585, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20857586, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20857587, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20857588, '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 = 20858422 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': 2617931, 'mtr_portfolio_id': 20858422, 'created_at': datetime.datetime(2025, 2, 26, 23, 3), 'result': '0.12031977115887663', 'result_long': None, 'result_double': None}] Qualite : 0.12031977115887663 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20858422 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20858422_26-02-2025_23_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20858422 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_P20858422_26-02-2025_23_03_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20858423, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20858424, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20858425, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20858426, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20858427, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20858428, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20858429, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20858430, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20858431, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20858432, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20858433, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20858434, 'pht': 3726}}" where mtr_portfolio_id = 20858422 and dashboard_run_id = 1634985 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`=20858422 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095834, 0.12031977115887663, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20858422_26-02-2025_23_03_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20858423, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20858424, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20858425, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20858426, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20858427, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20858428, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20858429, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20858430, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20858431, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20858432, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20858433, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20858434, '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 = 20858789 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': 2617957, 'mtr_portfolio_id': 20858789, 'created_at': datetime.datetime(2025, 2, 26, 23, 17, 27), 'result': '0.1297871421903699', 'result_long': None, 'result_double': None}] Qualite : 0.1297871421903699 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20858789 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20858789_26-02-2025_23_17_27.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20858789 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_P20858789_26-02-2025_23_17_27.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20858790, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20858791, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20858792, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20858793, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20858794, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20858795, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20858796, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20858797, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20858798, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20858799, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20858800, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20858801, 'pht': 3726}}" where mtr_portfolio_id = 20858789 and dashboard_run_id = 1634985 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`=20858789 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095835, 0.1297871421903699, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20858789_26-02-2025_23_17_27.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20858790, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20858791, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20858792, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20858793, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20858794, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20858795, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20858796, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20858797, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20858798, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20858799, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20858800, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20858801, '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 = 20859314 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': 2617982, 'mtr_portfolio_id': 20859314, 'created_at': datetime.datetime(2025, 2, 26, 23, 36, 31), 'result': '0.1158730903107423', 'result_long': None, 'result_double': None}] Qualite : 0.1158730903107423 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20859314 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20859314_26-02-2025_23_36_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20859314 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_P20859314_26-02-2025_23_36_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20859315, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20859316, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20859317, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20859318, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20859319, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20859320, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20859321, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20859322, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20859323, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20859324, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20859325, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20859326, 'pht': 3726}}" where mtr_portfolio_id = 20859314 and dashboard_run_id = 1634985 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`=20859314 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095836, 0.1158730903107423, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20859314_26-02-2025_23_36_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20859315, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20859316, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20859317, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20859318, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20859319, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20859320, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20859321, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20859322, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20859323, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20859324, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20859325, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20859326, '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 = 20859884 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': 2618015, 'mtr_portfolio_id': 20859884, 'created_at': datetime.datetime(2025, 2, 26, 23, 49, 29), 'result': '0.10968201934970113', 'result_long': None, 'result_double': None}] Qualite : 0.10968201934970113 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20859884 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20859884_26-02-2025_23_49_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20859884 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_P20859884_26-02-2025_23_49_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20859885, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20859886, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20859887, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20859888, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20859889, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20859890, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20859891, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20859892, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20859893, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20859894, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20859895, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20859896, 'pht': 3726}}" where mtr_portfolio_id = 20859884 and dashboard_run_id = 1634985 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`=20859884 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095837, 0.10968201934970113, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20859884_26-02-2025_23_49_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20859885, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20859886, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20859887, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20859888, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20859889, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20859890, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20859891, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20859892, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20859893, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20859894, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20859895, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20859896, '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 = 20860315 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': 2618038, 'mtr_portfolio_id': 20860315, 'created_at': datetime.datetime(2025, 2, 27, 1, 1, 31), 'result': '0.12118769587984397', 'result_long': None, 'result_double': None}] Qualite : 0.12118769587984397 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20860315 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20860315_27-02-2025_01_01_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20860315 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_P20860315_27-02-2025_01_01_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20860316, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20860317, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20860318, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20860319, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20860320, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20860321, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20860322, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20860323, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20860324, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20860325, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20860326, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20860327, 'pht': 3726}}" where mtr_portfolio_id = 20860315 and dashboard_run_id = 1634985 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`=20860315 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095838, 0.12118769587984397, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20860315_27-02-2025_01_01_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20860316, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20860317, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20860318, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20860319, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20860320, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20860321, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20860322, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20860323, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20860324, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20860325, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20860326, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20860327, '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 (20822915,20823244,20823623,20823915,20824472,20825065,20825658,20826103,20826652,20826951,20827919,20828584,20829246,20829828,20830367,20831063,20832581,20832732,20833362,20833879,20834422,20835080,20835982,20836575,20837208,20838192,20838686,20840618,20840746,20841272,20841741,20842109,20842535,20843062,20843891,20844521,20844984,20845790,20846033,20846799,20848465,20848689,20848890,20849515,20850107,20850765,20851198,20851819,20852478,20852902,20854055,20854419,20855468,20856043,20856419,20856900,20857448,20857573,20858422,20858789,20859314,20859884,20860315) result : ((1339668466,), (1339668468,), (1339668482,), (1339668497,), (1339668499,), (1339668500,), (1339668510,), (1339668516,), (1339668519,), (1339668522,), (1339668531,), (1339668533,), (1339668536,), (1339668546,), (1339668549,), (1339668569,), (1339668697,), (1339668700,), (1339668947,), (1339668950,), (1339669239,), (1339669304,), (1339669649,), (1339669651,), (1339669676,), (1339669682,), (1339669685,), (1339670001,), (1339669782,), (1339669998,), (1339670070,), (1339670074,), (1339670078,), (1339670080,), (1339670091,), (1339670094,), (1339670097,), (1339670102,), (1339670106,), (1339670108,), (1339670115,), (1339670118,), (1339670121,), (1339670131,), (1339670133,), (1339670151,), (1339670157,), (1339670160,), (1339670162,), (1339670180,), (1339670197,), (1339670203,), (1339670207,), (1339670289,), (1339670291,), (1339670293,), (1339670300,), (1339670324,), (1339670388,), (1339670427,), (1339670430,), (1339670432,), (1339670435,), (1339670438,), (1339670444,), (1339670447,), (1339670459,), (1339670467,), (1339670469,), (1339670481,), (1339670486,), (1339670490,), (1339670493,), (1339670523,), (1339670549,), (1339670552,), (1339670554,), (1339670557,), (1339670567,), (1339670570,), (1339670573,), (1339670575,), (1339670577,), (1339670579,), (1339670588,), (1339670592,), (1339670594,), (1339670597,), (1339670599,), (1339670612,), (1339670615,), (1339670618,), (1339670620,), (1339670623,), (1339670633,), (1339670639,), (1339670645,), (1339670649,), (1339670651,), (1339670683,), (1339670672,), (1339670674,), (1339670677,), (1339670679,), (1339670699,), (1339670706,), (1339670709,), (1339670712,), (1339670729,), (1339670732,), (1339670735,), (1339670738,), (1339670777,), (1339670800,), (1339671343,), (1339671346,), (1339671349,), (1339671353,), (1339671361,), (1339671625,), (1339671628,), (1339671631,), (1339671633,), (1339671643,), (1339671651,), (1339671662,), (1339671665,), (1339671668,), (1339671671,), (1339671673,), (1339671690,), (1339671693,), (1339671695,), (1339671698,), (1339671701,), (1339671703,), (1339672083,), (1339672087,), (1339672091,), (1339672094,), (1339672101,), (1339672104,), (1339672107,), (1339672109,), (1339672112,), (1339672114,), (1339672121,), (1339672124,), (1339672127,), (1339672157,), (1339672136,), (1339672139,), (1339672141,), (1339672144,), (1339672148,), (1339672167,), (1339672169,), (1339672172,), (1339672174,), (1339672188,), (1339672191,), (1339672194,), (1339672197,), (1339672199,), (1339672203,), (1339672219,), (1339672223,), (1339672230,), (1339672237,), (1339672240,), (1339672284,), (1339672287,), (1339672290,), (1339672293,), (1339672301,), (1339672306,), (1339672354,), (1339672357,), (1339672360,), (1339672362,), (1339672371,), (1339672374,), (1339672376,), (1339672379,), (1339672411,), (1339672414,), (1339672417,), (1339672420,), (1339672423,), (1339672425,), (1339672451,), (1339672455,), (1339672457,), (1339672460,), (1339672576,), (1339672579,), (1339672583,), (1339672595,), (1339672665,), (1339672745,), (1339673187,), (1339673190,), (1339673222,), (1339673247,), (1339673250,), (1339673253,), (1339673282,), (1339673285,), (1339673308,), (1339673311,), (1339673313,), (1339673316,), (1339673318,), (1339673320,), (1339673325,), (1339673327,), (1339673329,), (1339673331,), (1339673363,), (1339673336,), (1339673346,), (1339673355,), (1339673360,), (1339673396,), (1339673399,), (1339673402,), (1339673406,), (1339673411,), (1339673413,), (1339673429,), (1339673434,), (1339673437,), (1339673440,), (1339674113,), (1339674131,), (1339674133,), (1339674167,), (1339674170,), (1339674238,), (1339674240,), (1339674243,), (1339674246,), (1339674249,), (1339674259,), (1339674262,), (1339674265,), (1339674268,), (1339674295,), (1339674297,), (1339674301,), (1339674305,), (1339674308,), (1339674310,), (1339674317,), (1339674320,), (1339674323,), (1339674326,), (1339674329,), (1339674352,), (1339674357,), (1339674361,), (1339674365,), (1339674367,), (1339674391,), (1339674394,), (1339674397,), (1339674400,), (1339674403,), (1339674438,), (1339674441,), (1339674444,), (1339674446,), (1339674454,), (1339674457,), (1339674460,), (1339674462,), (1339674465,), (1339674471,), (1339674484,), (1339674491,), (1339674497,), (1339674500,), (1339674508,), (1339674510,), (1339674513,), (1339674516,), (1339674519,), (1339674524,), (1339674540,), (1339674543,), (1339674546,), (1339674548,), (1339674858,), (1339674687,), (1339674779,), (1339674782,), (1339674800,), (1339674846,), (1339674873,), (1339674878,), (1339674881,), (1339674884,), (1339674886,), (1339674903,), (1339674905,), (1339674908,), (1339674924,), (1339674931,), (1339674948,), (1339674950,), (1339674953,), (1339674956,), (1339674959,), (1339674961,), (1339674985,), (1339674992,), (1339674995,), (1339674997,), (1339675004,), (1339675092,), (1339675121,), (1339675124,), (1339675136,), (1339675208,), (1339675393,), (1339675396,), (1339675399,), (1339675402,), (1339675403,), (1339675423,), (1339675426,), (1339675429,), (1339675431,), (1339675437,), (1339675441,), (1339675445,), (1339675447,), (1339675451,), (1339675457,), (1339675479,), (1339675483,), (1339675486,), (1339675490,), (1339675492,), (1339675506,), (1339675508,), (1339675511,), (1339675514,), (1339675517,), (1339675519,), (1339675526,), (1339675528,), (1339675531,), (1339675537,), (1339675561,), (1339675564,), (1339675567,), (1339675570,), (1339675572,), (1339675574,), (1339675578,), (1339675586,), (1339675589,), (1339675591,), (1339675592,), (1339675608,), (1339675611,), (1339675614,), (1339675616,), (1339675657,), (1339675625,), (1339675636,), (1339675643,), (1339675647,), (1339675650,), (1339675671,), (1339675676,), (1339675680,), (1339675685,), (1339675709,), (1339675800,), (1339675954,), (1339676114,), (1339676246,), (1339676268,), (1339676406,), (1339676409,), (1339676450,), (1339676454,), (1339676476,), (1339676478,), (1339676483,), (1339676492,), (1339676498,), (1339676500,), (1339676507,), (1339676510,), (1339676514,), (1339676518,), (1339676522,), (1339676549,), (1339676553,), (1339676557,), (1339676561,), (1339676565,), (1339676568,), (1339676571,), (1339676581,), (1339676585,), (1339676588,), (1339676610,), (1339676615,), (1339676619,), (1339676623,), (1339676627,), (1339676629,), (1339676656,), (1339676658,), (1339676661,), (1339676664,), (1339676802,), (1339676805,), (1339676808,), (1339676811,), (1339676813,), (1339676815,), (1339676841,), (1339676844,), (1339676847,), (1339676853,), (1339676854,), (1339676880,), (1339676883,), (1339676886,), (1339676889,), (1339676891,), (1339676905,), (1339676907,), (1339676910,), (1339676913,), (1339676917,), (1339676924,), (1339676938,), (1339676952,), (1339676959,), (1339676971,), (1339677059,), (1339677040,), (1339677044,), (1339677050,), (1339677053,), (1339677057,), (1339677098,), (1339677115,), (1339677121,), (1339677125,), (1339677128,), (1339677137,), (1339677140,), (1339677145,), (1339677162,), (1339677172,), (1339677176,), (1339677189,), (1339677193,), (1339677196,), (1339677200,), (1339677205,), (1339677206,), (1339677222,), (1339677224,), (1339677236,), (1339677242,), (1339677269,), (1339677271,), (1339677273,), (1339677275,), (1339677276,), (1339677277,), (1339677292,), (1339677294,), (1339677296,), (1339677298,), (1339677392,), (1339677394,), (1339677397,), (1339677400,), (1339677402,), (1339677404,), (1339677418,), (1339677421,), (1339677423,), (1339677426,), (1339677456,), (1339677458,), (1339677461,), (1339677464,), (1339677467,), (1339677469,), (1339677481,), (1339677484,), (1339677486,), (1339677489,), (1339677492,), (1339677494,), (1339677518,), (1339677520,), (1339677522,), (1339677526,), (1339677567,), (1339677570,), (1339677582,), (1339677591,), (1339677594,), (1339677596,), (1339677619,), (1339677621,), (1339677623,), (1339677625,), (1339677634,), (1339677638,), (1339677642,), (1339677646,), (1339677649,), (1339677682,), (1339677669,), (1339677673,), (1339677677,), (1339677720,), (1339677724,), (1339677729,), (1339677734,), (1339677738,), (1339677741,), (1339677753,), (1339677757,), (1339677763,), (1339677771,), (1339677778,), (1339677850,), (1339677853,), (1339677857,), (1339677862,), (1339677986,), (1339678497,), (1339678623,), (1339678628,), (1339678639,), (1339678669,), (1339678699,), (1339678720,), (1339678725,), (1339678730,), (1339678735,), (1339678739,), (1339678761,), (1339678769,), (1339678774,), (1339678779,), (1339678784,), (1339678789,), (1339678812,), (1339678817,), (1339678822,), (1339678855,), (1339678862,), (1339678867,), (1339678872,), (1339678875,), (1339678879,), (1339678882,), (1339678889,), (1339678897,), (1339678905,), (1339678914,), (1339678920,), (1339678943,), (1339678989,), (1339678991,), (1339679000,), (1339679005,), (1339679010,), (1339679015,), (1339679019,), (1339679023,), (1339679082,), (1339679084,), (1339679093,), (1339679097,), (1339679110,), (1339679123,), (1339679132,), (1339679136,), (1339679164,), (1339679167,), (1339679176,), (1339679179,), (1339679184,), (1339679187,), (1339679193,), (1339679199,), (1339679262,), (1339679263,), (1339679384,), (1339679396,), (1339679402,), (1339679408,), (1339678930,), (1339678931,), (1339678932,), (1339678934,), (1339678939,), (1339678963,), (1339678976,), (1339678982,), (1339678987,), (1339679028,), (1339679031,), (1339679039,), (1339679043,), (1339679046,), (1339679049,), (1339679060,), (1339679065,), (1339679070,), (1339679078,), (1339679144,), (1339679153,), (1339679160,), (1339679161,), (1339679209,), (1339679211,), (1339679214,), (1339679219,), (1339679225,), (1339679231,), (1339679245,), (1339679250,), (1339679256,), (1339679261,), (1339679428,), (1339679432,), (1339679437,), (1339679442,), (1339679446,), (1339679449,), (1339679478,), (1339679563,), (1339679662,), (1339679762,), (1339679861,), (1339679944,), (1339680170,), (1339680172,), (1339680178,), (1339680180,), (1339680184,), (1339680484,), (1339680488,), (1339680552,), (1339680568,), (1339680573,), (1339680576,), (1339680612,), (1339680614,), (1339680618,), (1339680623,), (1339680671,), (1339680674,), (1339680677,), (1339680680,), (1339680682,), (1339680684,), (1339680729,), (1339680737,), (1339680740,), (1339680743,), (1339680747,), (1339680804,), (1339680809,), (1339680815,), (1339680836,), (1339680932,), (1339682038,), (1339681964,), (1339682025,), (1339682028,), (1339682031,), (1339682036,), (1339682067,), (1339682072,), (1339682077,), (1339682084,), (1339682089,), (1339682111,), (1339682125,), (1339682129,), (1339682133,), (1339682135,), (1339682136,), (1339682162,), (1339682168,), (1339682174,), (1339682182,), (1339682196,), (1339682228,), (1339682233,), (1339682237,), (1339682243,), (1339683087,), (1339683154,), (1339683244,), (1339683292,), (1339683295,), (1339683346,), (1339683373,), (1339683379,), (1339683384,), (1339683388,), (1339683421,), (1339683425,), (1339683429,), (1339683433,), (1339683435,), (1339683441,), (1339683493,), (1339683497,), (1339683501,), (1339683506,), (1339683547,), (1339683551,), (1339683556,), (1339683561,), (1339683565,), (1339683568,), (1339683629,), (1339683634,), (1339683639,), (1339683645,), (1339683648,), (1339683665,), (1339683677,), (1339683683,), (1339683688,), (1339683736,), (1339683742,), (1339683746,), (1339683750,), (1339683826,), (1339683844,), (1339683848,), (1339683852,), (1339683857,), (1339683864,), (1339683887,), (1339683891,), (1339683894,), (1339683897,), (1339684022,), (1339683913,), (1339683917,), (1339683931,), (1339683937,), (1339683940,), (1339684195,), (1339684199,), (1339684203,), (1339684207,), (1339684239,), (1339684243,), (1339684249,), (1339684252,), (1339684255,), (1339684259,), (1339684297,), (1339684302,), (1339684305,), (1339684310,), (1339684314,), (1339684347,), (1339684351,), (1339684354,), (1339684358,), (1339684399,), (1339684405,), (1339684410,), (1339684415,), (1339684419,), (1339684421,), (1339684444,), (1339684448,), (1339684453,), (1339684457,), (1339684501,), (1339684509,), (1339684514,), (1339684518,), (1339684521,), (1339684627,), (1339684630,), (1339684635,), (1339684639,), (1339684643,), (1339684646,), (1339684680,), (1339684684,), (1339684688,), (1339684691,), (1339684708,), (1339684711,), (1339684715,), (1339684717,), (1339684725,), (1339684729,), (1339684739,), (1339684742,), (1339684745,), (1339684747,), (1339684771,), (1339684776,), (1339684780,), (1339684785,), (1339684821,), (1339684919,), (1339685103,), (1339685110,), (1339685113,), (1339685119,), (1339685168,), (1339685153,), (1339685157,), (1339685160,), (1339685164,), (1339685196,), (1339685201,), (1339685205,), (1339685214,), (1339685230,), (1339685701,), (1339685705,), (1339685733,), (1339685737,), (1339685758,), (1339685779,), (1339685828,), (1339685832,), (1339685837,), (1339685842,), (1339685886,), (1339685896,), (1339685903,), (1339685914,), (1339685918,), (1339685943,), (1339685946,), (1339685948,), (1339685951,), (1339685955,), (1339685988,), (1339686075,), (1339686084,), (1339686091,), (1339686101,), (1339686216,), (1339686311,), (1339686332,), (1339686335,), (1339686338,), (1339686379,), (1339686383,), (1339686386,), (1339686389,), (1339686391,), (1339686421,), (1339686426,), (1339686440,), (1339686447,), (1339686450,), (1339686453,), (1339686491,), (1339686495,), (1339686508,), (1339686524,), (1339686550,), (1339686551,), (1339686556,), (1339686560,), (1339686564,), (1339686568,), (1339686595,), (1339686599,), (1339686603,), (1339686606,), (1339686631,), (1339686635,), (1339686640,), (1339686643,), (1339686646,), (1339686648,), (1339686695,), (1339686697,), (1339686700,), (1339687126,), (1339686733,), (1339686946,), (1339686971,), (1339686975,), (1339687107,), (1339687193,), (1339687198,), (1339687203,), (1339687205,), (1339687262,), (1339687267,), (1339687270,), (1339687275,), (1339687278,), (1339687280,), (1339687329,), (1339687339,), (1339687343,), (1339687348,), (1339687351,), (1339687377,), (1339687381,), (1339687385,), (1339687388,), (1339687392,), (1339687394,), (1339687424,), (1339687428,), (1339687432,), (1339687435,), (1339687546,), (1339687551,), (1339687556,), (1339687568,), (1339687576,), (1339687579,), (1339687591,), (1339687596,), (1339687601,), (1339688076,), (1339688132,), (1339688166,), (1339688179,), (1339688195,), (1339688198,), (1339688286,), (1339688291,), (1339688297,), (1339688304,), (1339688329,), (1339688333,), (1339688336,), (1339688340,), (1339688348,), (1339688372,), (1339688376,), (1339688381,), (1339688385,), (1339688408,), (1339688412,), (1339688417,), (1339688464,), (1339688467,), (1339688472,), (1339688476,), (1339688480,), (1339688482,), (1339688505,), (1339688509,), (1339688512,), (1339688570,), (1339688561,), (1339688565,), (1339688568,), (1339688631,), (1339688634,), (1339688636,), (1339688639,), (1339688642,), (1339688684,), (1339688689,), (1339688701,), (1339688709,), (1339688712,), (1339688715,), (1339688763,), (1339688766,), (1339688769,), (1339688771,), (1339688823,), (1339688832,), (1339688838,), (1339688842,), (1339688844,), (1339688881,), (1339688884,), (1339688886,), (1339688890,), (1339688897,), (1339688926,), (1339688929,), (1339688933,), (1339688936,), (1339688940,), (1339688974,), (1339688977,), (1339688981,), (1339688985,), (1339688988,), (1339689009,), (1339689019,), (1339689024,), (1339689032,), (1339689076,), (1339689084,), (1339689089,), (1339689092,), (1339689097,), (1339689147,), (1339689154,), (1339689282,), (1339689290,), (1339689299,), (1339689303,), (1339689306,), (1339689381,), (1339689385,), (1339689389,), (1339689417,), (1339689421,), (1339689424,), (1339689428,), (1339689431,), (1339689434,), (1339689471,), (1339689474,), (1339689478,), (1339689482,), (1339689486,), (1339689560,), (1339689525,), (1339689540,), (1339689544,), (1339689552,), (1339689556,), (1339689582,), (1339689585,), (1339689589,), (1339689593,), (1339689597,), (1339689621,), (1339689625,), (1339689630,), (1339689650,), (1339689655,), (1339689659,), (1339689677,), (1339689681,), (1339689686,), (1339689691,), (1339689733,), (1339689743,), (1339689748,), (1339689752,), (1339689754,), (1339689756,), (1339689781,), (1339689786,), (1339689789,), (1339689793,), (1339689815,), (1339689818,), (1339689821,), (1339689825,), (1339689828,), (1339689834,), (1339690002,), (1339690043,), (1339690045,), (1339690049,), (1339690126,), (1339690130,), (1339690133,), (1339690136,), (1339690140,), (1339690188,), (1339690195,), (1339690207,), (1339690222,), (1339690227,), (1339690260,), (1339690269,), (1339690273,), (1339690304,), (1339690352,), (1339690357,), (1339690362,), (1339690367,), (1339690370,), (1339690372,), (1339690473,), (1339690483,), (1339690496,), (1339690544,), (1339690664,), (1339690669,), (1339690672,), (1339690676,), (1339690679,), (1339690681,), (1339690742,), (1339695637,), (1339696919,), (1339696956,), (1339696961,), (1339696965,), (1339696997,), (1339697004,), (1339697012,), (1339697101,), (1339697197,), (1339697202,), (1339697206,), (1339697210,), (1339697213,), (1339697266,), (1339697241,), (1339697246,), (1339697253,), (1339697260,), (1339697262,), (1339697288,), (1339697292,), (1339697298,), (1339697351,), (1339697356,), (1339697361,), (1339697366,), (1339697369,), (1339697372,), (1339698030,), (1339698138,), (1339698152,), (1339698171,), (1339698176,), (1339698201,), (1339698425,), (1339698436,), (1339698660,), (1339698664,), (1339698668,), (1339698672,), (1339698712,), (1339698717,), (1339698754,), (1339698758,), (1339698762,), (1339698766,), (1339698880,), (1339698890,), (1339698894,), (1339698897,), (1339698900,), (1339698919,), (1339698923,), (1339698927,), (1339698931,), (1339698934,), (1339698950,), (1339699112,), (1339699121,), (1339699128,), (1339699178,), (1339699181,), (1339699184,), (1339699185,), (1339699188,), (1339699253,), (1339699292,), (1339699295,), (1339699298,), (1339699301,), (1339699332,), (1339699335,), (1339699339,), (1339699349,), (1339699494,), (1339699498,), (1339699501,), (1339699504,), (1339699507,), (1339699510,), (1339699575,), (1339699549,), (1339699555,), (1339699565,), (1339699571,), (1339699600,), (1339699604,), (1339699607,), (1339699610,), (1339699652,), (1339699656,), (1339699660,), (1339699664,), (1339699667,), (1339700206,), (1339700214,), (1339700244,), (1339700247,), (1339700255,), (1339700301,), (1339700326,), (1339700333,), (1339700340,), (1339700386,), (1339700392,), (1339700396,), (1339700400,), (1339700404,), (1339700432,), (1339700442,), (1339700467,), (1339700530,), (1339700562,), (1339700567,), (1339700571,), (1339700574,), (1339700625,), (1339700628,), (1339700632,), (1339700636,), (1339700768,), (1339700778,), (1339700782,), (1339700832,), (1339700835,), (1339700859,), (1339701009,), (1339701055,), (1339701478,), (1339701667,), (1339701717,), (1339701784,), (1339701792,), (1339701796,), (1339701801,), (1339701804,), (1339701810,), (1339701818,), (1339701824,), (1339701865,), (1339701869,), (1339701957,), (1339701962,), (1339701966,), (1339701971,), (1339701976,), (1339701981,), (1339702074,), (1339702078,), (1339702087,), (1339702090,), (1339702101,), (1339702125,), (1339702129,), (1339702133,), (1339702149,), (1339702203,), (1339702356,), (1339702370,), (1339702381,), (1339702385,), (1339702391,), (1339702434,), (1339702437,), (1339702443,), (1339702448,), (1339702453,), (1339702467,), (1339702482,), (1339702488,), (1339702493,), (1339702496,), (1339702497,), (1339702520,), (1339702524,), (1339702530,), (1339702543,), (1339702556,), (1339702591,), (1339702598,), (1339702605,), (1339702612,), (1339702618,), (1339702675,), (1339702640,), (1339702644,), (1339702649,), (1339702670,), (1339702738,), (1339702741,), (1339702787,), (1339702793,), (1339702798,), (1339702802,), (1339702854,), (1339702866,), (1339702881,), (1339703019,), (1339703190,), (1339703194,), (1339703450,), (1339703536,), (1339703816,), (1339703907,), (1339703914,), (1339703920,), (1339703924,), (1339703935,), (1339703957,), (1339703961,), (1339703983,), (1339703994,), (1339704005,), (1339704067,), (1339704071,), (1339704092,), (1339704097,), (1339704101,), (1339704188,), (1339704193,), (1339704197,), (1339704201,), (1339704233,), (1339704243,), (1339704297,), (1339704300,), (1339704305,), (1339704307,), (1339704311,), (1339704339,), (1339704343,), (1339704347,), (1339704351,), (1339704386,), (1339704388,), (1339704391,), (1339704394,), (1339704398,), (1339704401,), (1339704427,), (1339704429,), (1339704432,), (1339704469,), (1339704473,), (1339704482,), (1339704489,), (1339704492,), (1339704496,), (1339704534,), (1339704536,), (1339704539,), (1339704543,), (1339704617,), (1339704622,), (1339704787,), (1339704783,), (1339704785,), (1339704824,), (1339704830,), (1339704837,), (1339704841,), (1339704844,), (1339704891,), (1339704899,), (1339704904,), (1339704914,), (1339704922,), (1339705009,), (1339705011,), (1339705023,), (1339705040,), (1339705051,), (1339705119,), (1339705123,), (1339705128,), (1339705132,), (1339705223,), (1339705227,), (1339705232,), (1339705236,), (1339705288,), (1339705301,), (1339705313,), (1339705325,), (1339705328,), (1339705334,), (1339705360,), (1339705364,), (1339705373,), (1339705382,), (1339705385,), (1339705415,), (1339705424,), (1339705428,), (1339705438,), (1339705449,), (1339705453,), (1339705475,), (1339705499,), (1339705509,), (1339705515,), (1339705516,), (1339705521,), (1339705549,), (1339705554,), (1339705558,), (1339705603,), (1339705614,), (1339705620,), (1339705623,), (1339705624,), (1339705626,), (1339705685,), (1339705687,), (1339705692,), (1339705695,), (1339705699,), (1339705959,), (1339705971,), (1339705973,), (1339705980,), (1339706000,), (1339706020,), (1339706046,), (1339706070,), (1339706076,), (1339706095,), (1339706085,), (1339706088,), (1339706091,), (1339706145,), (1339706149,), (1339706152,), (1339706155,), (1339706161,), (1339706218,), (1339706221,), (1339706226,), (1339706229,), (1339706260,), (1339706262,), (1339706620,), (1339706743,), (1339706868,), (1339706871,), (1339707135,), (1339707139,), (1339707143,), (1339707195,), (1339707204,), (1339707229,), (1339707232,), (1339707236,), (1339707238,), (1339707241,), (1339707340,), (1339707343,), (1339707349,), (1339707353,), (1339707467,), (1339707475,), (1339707486,), (1339707489,), (1339707518,), (1339707527,), (1339707546,), (1339707651,), (1339707677,), (1339707710,), (1339707720,), (1339707731,), (1339707736,), (1339707743,), (1339707747,), (1339707773,), (1339707776,), (1339707780,), (1339707787,), (1339707858,), (1339707861,), (1339707865,), (1339707869,), (1339707873,), (1339707876,), (1339707892,), (1339707897,), (1339707902,), (1339707909,), (1339707915,), (1339707925,), (1339707948,), (1339707951,), (1339707957,), (1339707963,), (1339708046,), (1339708050,), (1339708054,), (1339708058,), (1339708061,), (1339708064,), (1339708096,), (1339708079,), (1339708083,), (1339708087,), (1339708090,), (1339708094,), (1339708119,), (1339708128,), (1339708132,), (1339708136,), (1339708158,), (1339708162,), (1339708166,), (1339708172,), (1339708175,), (1339708177,), (1339708604,), (1339708607,), (1339708614,), (1339708852,), (1339708856,), (1339708863,), (1339708874,), (1339708889,), (1339708897,), (1339708921,), (1339708925,), (1339708930,), (1339708943,), (1339709026,), (1339709034,), (1339709038,), (1339709042,), (1339709087,), (1339709093,), (1339709104,), (1339709108,), (1339709112,), (1339709118,), (1339709155,), (1339709180,), (1339709185,), (1339709189,), (1339709217,), (1339709223,), (1339709230,), (1339709237,), (1339709243,), (1339709247,), (1339709287,), (1339709293,), (1339709301,), (1339709309,), (1339709571,), (1339709575,), (1339709580,), (1339709585,), (1339709590,), (1339709593,), (1339709625,), (1339709637,), (1339709642,), (1339709648,), (1339709727,), (1339709735,), (1339709742,), (1339709755,), (1339709761,), (1339709822,), (1339709831,), (1339709837,), (1339709843,), (1339710104,), (1339710081,), (1339710086,), (1339710091,), (1339710093,), (1339710098,), (1339710127,), (1339710145,), (1339710170,), (1339710189,), (1339710206,), (1339710211,), (1339710310,), (1339710314,), (1339710318,), (1339710322,), (1339710693,), (1339710820,), (1339710824,), (1339710830,), (1339710835,), (1339710845,), (1339711014,), (1339711024,), (1339711035,), (1339711039,), (1339711052,), (1339711313,), (1339711320,), (1339711325,), (1339711335,), (1339711345,), (1339711356,), (1339711381,), (1339711390,), (1339711403,), (1339711418,), (1339711443,), (1339711446,), (1339711451,), (1339711455,), (1339711462,), (1339711512,), (1339711515,), (1339711518,), (1339711525,), (1339711533,), (1339711538,), (1339711578,), (1339711582,), (1339711584,), (1339711587,), (1339711591,), (1339711641,), (1339711644,), (1339711649,), (1339711653,), (1339711695,), (1339711699,), (1339711702,), (1339711706,), (1339711715,), (1339711723,), (1339711774,), (1339711777,), (1339711781,), (1339711792,), (1339712023,), (1339712027,), (1339712032,), (1339712037,), (1339712041,), (1339712045,), (1339712084,), (1339712090,), (1339712096,), (1339712102,), (1339712105,), (1339712265,), (1339712249,), (1339712254,), (1339712425,), (1339712429,), (1339712434,), (1339712438,), (1339712559,), (1339712568,), (1339712573,), (1339712578,), (1339712584,), (1339712781,), (1339712786,), (1339712792,), (1339712799,), (1339712815,), (1339712946,), (1339713003,), (1339713009,), (1339713013,), (1339713017,), (1339713020,), (1339713057,), (1339713062,), (1339713067,), (1339713073,), (1339713092,), (1339713097,), (1339713102,), (1339713107,), (1339713110,), (1339713114,), (1339713210,), (1339713314,), (1339713429,), (1339713528,), (1339714004,), (1339714024,), (1339714031,), (1339714038,), (1339714067,), (1339714070,), (1339714111,), (1339714116,), (1339714120,), (1339714145,), (1339714198,), (1339714351,), (1339714391,), (1339714454,), (1339714459,), (1339714466,), (1339714469,), (1339714541,), (1339714555,), (1339714603,), (1339714609,), (1339714614,), (1339714631,), (1339714636,), (1339714652,), (1339714659,), (1339714674,), (1339714679,), (1339714759,), (1339714766,), (1339714813,), (1339714860,), (1339714848,), (1339714854,), (1339714858,), (1339714859,), (1339715427,), (1339715509,), (1339715603,), (1339715636,), (1339715638,), (1339715676,), (1339715679,), (1339715680,), (1339715685,), (1339715727,), (1339715761,), (1339715880,), (1339715884,), (1339715888,), (1339715891,), (1339716007,), (1339716051,), (1339716085,), (1339716142,), (1339716169,), (1339716239,), (1339716512,), (1339716518,), (1339716521,), (1339716524,), (1339716705,), (1339716708,), (1339716748,), (1339716751,), (1339716800,), (1339716804,), (1339716871,), (1339716874,), (1339716876,), (1339716889,), (1339716899,), (1339716903,), (1339716906,), (1339716909,), (1339716910,), (1339716922,), (1339716926,), (1339716929,), (1339716933,), (1339716947,), (1339716950,), (1339718405,), (1339726407,), (1339726784,), (1339727598,), (1339727735,), (1339728196,), (1339728609,), (1339728788,), (1339728793,), (1339728796,), (1339728799,), (1339728802,), (1339728807,), (1339728864,), (1339728868,), (1339728871,), (1339728875,), (1339728986,), (1339728993,), (1339729028,), (1339729041,), (1339729067,), (1339729254,), (1339729187,), (1339729193,), (1339729197,), (1339729318,), (1339729322,), (1339729699,), (1339729713,), (1339729823,), (1339729845,), (1339729849,), (1339729854,), (1339729866,), (1339729917,), (1339729935,), (1339729939,), (1339729991,), (1339730000,), (1339730005,), (1339730050,), (1339730056,), (1339730061,), (1339730066,), (1339730070,), (1339730074,), (1339730178,), (1339730196,), (1339730298,), (1339730365,), (1339730371,), (1339730377,), (1339730430,), (1339730461,), (1339730465,), (1339730523,), (1339730528,), (1339730533,), (1339730543,), (1339730644,), (1339730648,), (1339730656,), (1339730663,), (1339730696,), (1339730700,), (1339730703,), (1339730909,), (1339731000,), (1339731129,), (1339731157,), (1339731495,), (1339731506,), (1339731511,), (1339731515,), (1339731518,), (1339731521,), (1339731560,), (1339731546,), (1339731549,), (1339731553,), (1339731557,), (1339731579,), (1339731582,), (1339731585,), (1339731588,), (1339731591,), (1339731594,), (1339731610,), (1339731613,), (1339731616,), (1339731619,), (1339731622,), (1339731641,), (1339731644,), (1339731647,), (1339731650,), (1339731653,), (1339731674,), (1339731681,), (1339731687,), (1339731693,), (1339731699,), (1339731721,), (1339731727,), (1339731733,), (1339731738,), (1339731744,), (1339731747,), (1339732139,), (1339732213,), (1339732351,), (1339732498,), (1339732533,), (1339732539,), (1339732549,), (1339732558,), (1339732660,), (1339732830,), (1339732928,), (1339732946,), (1339732952,), (1339732959,), (1339732963,), (1339732969,), (1339733199,), (1339733204,), (1339733639,), (1339733596,), (1339733825,), (1339733891,), (1339733895,), (1339733899,), (1339733902,), (1339733923,), (1339733929,), (1339733933,), (1339733937,), (1339733961,), (1339733966,), (1339733972,), (1339733991,), (1339733994,), (1339733999,), (1339734003,), (1339734009,), (1339734012,), (1339734034,), (1339734039,), (1339734044,), (1339734500,), (1339734514,), (1339734519,), (1339734704,), (1339734708,), (1339734738,), (1339734743,), (1339734784,), (1339734787,), (1339734792,), (1339734854,), (1339734827,), (1339734830,), (1339734838,), (1339734844,), (1339734886,), (1339734897,), (1339734933,), (1339735295,), (1339735338,), (1339735374,), (1339735378,), (1339736089,), (1339736851,), (1339736933,), (1339737190,), (1339737213,), (1339737216,), (1339737219,), (1339737344,), (1339737385,), (1339737389,), (1339737590,), (1339737596,), (1339737601,), (1339737605,), (1339737607,), (1339737677,), (1339737680,), (1339737684,), (1339737797,), (1339737801,), (1339737806,), (1339737812,), (1339737919,), (1339737923,), (1339737926,), (1339738108,), (1339738130,), (1339738135,), (1339738141,), (1339738146,), (1339738149,), (1339738234,), (1339738237,), (1339738240,), (1339738297,), (1339738306,), (1339738310,), (1339738314,), (1339738410,), (1339738422,), (1339738424,), (1339738440,), (1339738446,), (1339738453,), (1339738504,), (1339738506,), (1339738509,), (1339738512,), (1339738572,), (1339738575,), (1339738633,), (1339738677,), (1339738681,), (1339738685,), (1339738736,), (1339738743,), (1339738746,), (1339738751,), (1339738757,), (1339738770,), (1339738784,), (1339738787,), (1339738796,), (1339738802,), (1339738829,), (1339738815,), (1339738818,), (1339738821,), (1339738890,), (1339738897,), (1339738924,), (1339738937,), (1339738951,), (1339738960,), (1339739104,), (1339739109,), (1339739113,), (1339739159,), (1339739162,), (1339739175,), (1339739179,), (1339739182,), (1339739252,), (1339739283,), (1339739288,), (1339739294,), (1339739300,), (1339739343,), (1339739348,), (1339739352,), (1339739928,), (1339739934,), (1339739940,), (1339739943,), (1339739947,), (1339740185,), (1339740190,), (1339740195,), (1339740204,), (1339740213,), (1339740243,), (1339740253,), (1339740258,), (1339740263,), (1339740282,), (1339740287,), (1339740292,), (1339740323,), (1339740332,), (1339740339,), (1339740344,), (1339740349,), (1339740353,), (1339740386,), (1339740389,), (1339740395,), (1339740400,), (1339740461,), (1339740478,), (1339740484,), (1339740489,), (1339740495,), (1339740552,), (1339740557,), (1339740561,), (1339740564,), (1339740597,), (1339740618,), (1339740622,), (1339740627,), (1339740996,), (1339740938,), (1339740954,), (1339740968,), (1339741028,), (1339741050,), (1339741060,), (1339741066,), (1339741069,), (1339741072,), (1339741162,), (1339741167,), (1339741171,), (1339741176,), (1339741206,), (1339741214,), (1339741221,), (1339741226,), (1339741237,), (1339741356,), (1339741360,), (1339741366,), (1339741371,), (1339741375,), (1339741377,), (1339741544,), (1339741549,), (1339741554,), (1339741557,), (1339741751,), (1339741758,), (1339741766,), (1339741808,), (1339741817,), (1339741822,), (1339741870,), (1339741879,), (1339741891,), (1339741895,), (1339741898,), (1339742011,), (1339742015,), (1339742020,), (1339742025,), (1339742028,), (1339742030,), (1339742065,), (1339742069,), (1339742079,), (1339742082,), (1339742086,), (1339742140,), (1339742144,), (1339742198,), (1339742201,), (1339742204,), (1339742207,), (1339742237,), (1339742255,), (1339742259,), (1339742262,), (1339742278,), (1339742294,), (1339742353,), (1339742357,), (1339742363,), (1339742365,), (1339742480,), (1339742491,), (1339742497,), (1339742502,), (1339742506,), (1339742509,), (1339742638,), (1339742525,), (1339742603,), (1339742606,), (1339742710,), (1339742714,), (1339742718,), (1339742722,), (1339742726,), (1339742734,), (1339742759,), (1339742765,), (1339742770,), (1339742774,), (1339742778,), (1339742801,), (1339742806,), (1339742810,), (1339742813,), (1339742817,), (1339742859,), (1339742874,), (1339742880,), (1339742902,), (1339742912,), (1339742916,), (1339743026,), (1339743031,), (1339743036,), (1339743040,), (1339743044,), (1339743070,), (1339743076,), (1339743081,), (1339743085,), (1339743089,), (1339743092,), (1339743107,), (1339743111,), (1339743115,), (1339743120,), (1339743140,), (1339743169,), (1339743173,), (1339743177,), (1339743180,), (1339743181,), (1339743211,), (1339743217,), (1339743221,), (1339743225,), (1339743229,), (1339743232,), (1339743308,), (1339743315,), (1339743320,), (1339743326,), (1339743396,), (1339743400,), (1339743405,), (1339743410,), (1339743414,), (1339743416,), (1339743437,), (1339743441,), (1339743445,), (1339743449,), (1339743468,), (1339743472,), (1339743477,), (1339743483,), (1339743493,), (1339743538,), (1339743543,), (1339743548,), (1339743553,), (1339743724,), (1339743587,), (1339743601,), (1339743650,), (1339743681,), (1339743704,), (1339743830,), (1339743834,), (1339743837,), (1339743840,), (1339743845,), (1339743908,), (1339743912,), (1339743914,), (1339743921,), (1339743974,), (1339744003,), (1339744059,), (1339744068,), (1339744077,), (1339744085,), (1339744089,), (1339744228,), (1339744232,), (1339744239,), (1339744242,), (1339744446,), (1339744450,), (1339744455,), (1339744460,), (1339744464,), (1339744467,), (1339744478,), (1339744482,), (1339744487,), (1339744492,), (1339744493,), (1339744497,), (1339744523,), (1339744528,), (1339744532,), (1339744687,), (1339744692,), (1339744704,), (1339744716,), (1339744722,), (1339744724,), (1339744737,), (1339744742,), (1339744747,), (1339744752,), (1339744756,), (1339744958,), (1339745051,), (1339745147,), (1339745151,), (1339745274,), (1339745300,), (1339745312,), (1339745322,), (1339745339,), (1339745348,), (1339745412,), (1339745417,), (1339745465,), (1339745469,), (1339745768,), (1339745773,), (1339745776,), (1339745777,), (1339745778,), (1339745779,), (1339745818,), (1339745810,), (1339745812,), (1339745815,), (1339745851,), (1339745855,), (1339745858,), (1339745861,), (1339745882,), (1339745886,), (1339745952,), (1339745957,), (1339745970,), (1339746079,), (1339746082,), (1339746086,), (1339746088,), (1339746092,), (1339746095,), (1339746123,), (1339746126,), (1339746129,), (1339746133,), (1339746162,), (1339746167,), (1339746172,), (1339746176,), (1339746180,), (1339746182,), (1339746193,), (1339746201,), (1339746204,), (1339746207,), (1339746225,), (1339746248,), (1339746425,), (1339746564,), (1339746640,), (1339746728,), (1339747035,), (1339747039,), (1339747047,), (1339747051,), (1339747330,), (1339747340,), (1339747345,), (1339747470,), (1339747475,), (1339747479,), (1339747485,), (1339747490,), (1339747493,), (1339747504,), (1339747514,), (1339747521,), (1339747527,), (1339747530,), (1339747532,), (1339747541,), (1339747551,), (1339747563,), (1339747572,), (1339747575,), (1339747577,), (1339747586,), (1339747589,), (1339747593,), (1339747613,), (1339747616,), (1339747621,), (1339747625,), (1339747716,), (1339747672,), (1339747686,), (1339747690,), (1339747697,), (1339747707,), (1339747747,), (1339747751,), (1339747802,), (1339747806,), (1339747842,), (1339747846,), (1339747850,), (1339747854,), (1339747857,), (1339747860,), (1339747879,), (1339747883,), (1339747887,), (1339747891,), (1339747894,), (1339747933,), (1339747936,), (1339747940,), (1339747944,), (1339747958,), (1339747962,), (1339747965,), (1339747972,), (1339747976,), (1339747981,), (1339748190,), (1339748194,), (1339748212,), (1339748247,), (1339748251,), (1339748335,), (1339748950,), (1339748954,), (1339748958,), (1339749308,), (1339749312,), (1339749315,), (1339749319,), (1339749322,), (1339749326,), (1339749560,), (1339749564,), (1339749568,), (1339749572,), (1339749759,), (1339749763,), (1339749768,), (1339749773,), (1339749778,), (1339749792,), (1339749795,), (1339749799,), (1339749803,), (1339749806,), (1339749809,), (1339749835,), (1339749839,), (1339749869,), (1339749958,), (1339749962,), (1339749966,), (1339749969,), (1339749995,), (1339749998,), (1339750021,), (1339750023,), (1339750027,), (1339750036,), (1339750133,), (1339750120,), (1339750124,), (1339750129,), (1339750402,), (1339750406,), (1339750410,), (1339750429,), (1339750432,), (1339750435,), (1339750443,), (1339750447,), (1339750504,), (1339750508,), (1339750517,), (1339750564,), (1339751147,), (1339751153,), (1339751157,), (1339751161,), (1339751211,), (1339751219,), (1339751225,), (1339751229,), (1339751232,), (1339751260,), (1339751318,), (1339751348,), (1339751386,), (1339751442,), (1339751451,), (1339751459,), (1339751653,), (1339751657,), (1339751662,), (1339751830,), (1339756218,), (1339756265,), (1339756270,), (1339756539,), (1339756543,), (1339756649,), (1339758000,), (1339758389,), (1339758485,), (1339758924,), (1339759374,), (1339759378,), (1339759393,), (1339759395,), (1339759402,), (1339764093,), (1339764084,), (1339764089,), (1339764121,), (1339764125,), (1339764138,), (1339764143,), (1339764147,), (1339764149,), (1339764187,), (1339764196,), (1339764201,), (1339764274,), (1339764277,), (1339764280,), (1339764283,), (1339764285,), (1339764895,), (1339764898,), (1339764901,), (1339764904,), (1339764906,), (1339764996,), (1339765107,), (1339765110,), (1339765113,), (1339765116,), (1339765119,), (1339765140,), (1339765143,), (1339765146,), (1339765148,), (1339765171,), (1339765174,), (1339765178,), (1339765181,), (1339765182,), (1339765184,), (1339765218,), (1339765225,), (1339765233,), (1339765244,), (1339765251,), (1339765297,), (1339765301,), (1339765305,), (1339765308,), (1339765310,), (1339765311,), (1339765498,), (1339765503,), (1339765654,), (1339765657,), (1339765662,), (1339765664,), (1339765680,), (1339765683,), (1339765686,), (1339765853,), (1339765863,), (1339765867,), (1339765871,), (1339765874,), (1339765929,), (1339765941,), (1339765943,), (1339765944,), (1339765945,), (1339765974,), (1339765966,), (1339765969,), (1339765972,), (1339765993,), (1339765996,), (1339766000,), (1339766007,), (1339766014,), (1339766038,), (1339766041,), (1339766045,), (1339766049,), (1339766052,), (1339766055,), (1339766095,), (1339766099,), (1339766103,), (1339766107,), (1339766189,), (1339766194,), (1339766199,), (1339766203,), (1339766205,), (1339766206,), (1339766281,), (1339766285,), (1339766295,), (1339766351,), (1339766354,), (1339766495,), (1339766733,), (1339766737,), (1339766946,), (1339767160,), (1339767279,), (1339767440,), (1339767518,), (1339767521,), (1339767575,), (1339767579,), (1339767583,), (1339767586,), (1339767589,), (1339767965,), (1339767986,), (1339768128,), (1339768131,), (1339768135,), (1339768170,), (1339768173,), (1339768253,), (1339768719,), (1339768733,), (1339768740,), (1339768773,), (1339768777,), (1339768807,), (1339768811,), (1339768815,), (1339768817,), (1339768846,), (1339768849,), (1339768850,), (1339768851,), (1339768858,), (1339768867,), (1339768902,), (1339768891,), (1339768895,), (1339768899,), (1339768923,), (1339768929,), (1339768933,), (1339768937,), (1339768940,), (1339768958,), (1339768962,), (1339768966,), (1339768971,), (1339768976,), (1339768978,), (1339769006,), (1339769012,), (1339769026,), (1339769030,), (1339769035,), (1339769054,), (1339769058,), (1339769061,), (1339769065,), (1339769069,), (1339769143,), (1339769333,), (1339769337,), (1339769341,), (1339769345,), (1339769832,), (1339769918,), (1339769922,), (1339769924,), (1339770006,), (1339770165,), (1339770171,), (1339770175,), (1339770310,), (1339770400,), (1339770403,), (1339770404,), (1339770405,), (1339770430,), (1339770432,), (1339770438,), (1339770440,), (1339770442,), (1339770463,), (1339770466,), (1339770469,), (1339770471,), (1339770473,), (1339770524,), (1339770529,), (1339770537,), (1339770540,), (1339770545,), (1339770613,), (1339770616,), (1339770619,), (1339770627,), (1339770639,), (1339770687,), (1339770691,), (1339770695,), (1339770698,), (1339770709,), (1339770718,), (1339770741,), (1339770745,), (1339770754,), (1339770803,), (1339770794,), (1339770798,), (1339770801,), (1339770850,), (1339770852,), (1339770854,), (1339770887,), (1339770895,), (1339770898,), (1339770918,), (1339770921,), (1339770922,), (1339770924,), (1339770993,), (1339771053,), (1339771059,), (1339771154,), (1339771160,), (1339771162,), (1339771165,), (1339771167,), (1339771169,), (1339771243,), (1339771245,), (1339771251,), (1339771280,), (1339771286,), (1339771294,), (1339771296,), (1339771298,), (1339771300,), (1339771338,), (1339771342,), (1339771345,), (1339771348,), (1339771351,), (1339772117,), (1339772121,), (1339772228,), (1339772232,), (1339772236,), (1339772241,), (1339772542,), (1339772578,), (1339772620,), (1339772637,), (1339772642,), (1339772651,), (1339772924,), (1339772927,), (1339772931,), (1339772934,), (1339773328,), (1339773333,), (1339773336,), (1339773337,), (1339773339,), (1339773341,), (1339773377,), (1339773363,), (1339773371,), (1339773374,), (1339773376,), (1339773399,), (1339773403,), (1339773405,), (1339773487,), (1339773491,), (1339773492,), (1339773494,), (1339773495,), (1339773496,), (1339773515,), (1339773518,), (1339773521,), (1339773523,), (1339773524,), (1339774040,), (1339774047,), (1339774051,), (1339774112,), (1339774145,), (1339774256,), (1339774260,), (1339774262,), (1339774264,), (1339774266,), (1339774272,), (1339774308,), (1339774311,), (1339774315,), (1339774319,), (1339774322,), (1339774341,), (1339774344,), (1339774347,), (1339774350,), (1339774352,), (1339774356,), (1339774372,), (1339774378,), (1339774382,), (1339774386,), (1339774447,), (1339774454,), (1339774462,), (1339774464,), (1339774473,), (1339774500,), (1339774504,), (1339774507,), (1339774510,), (1339774512,), (1339774514,), (1339774529,), (1339774533,), (1339774536,), (1339774594,), (1339774598,), (1339774602,), (1339774610,), (1339774612,), (1339774614,), (1339774628,), (1339774633,), (1339774636,), (1339774641,), (1339774648,), (1339774653,), (1339774669,), (1339774673,), (1339774678,), (1339774683,), (1339774724,), (1339774700,), (1339774705,), (1339774713,), (1339774718,), (1339774721,), (1339775048,), (1339775053,), (1339775055,), (1339775068,), (1339775177,), (1339775312,), (1339775429,), (1339775542,), (1339775553,), (1339775568,), (1339775724,), (1339775766,), (1339775770,), (1339775773,), (1339775776,), (1339775778,), (1339775793,), (1339775798,), (1339775803,), (1339775806,), (1339775810,), (1339775834,), (1339775839,), (1339775842,), (1339775846,), (1339775850,), (1339775860,), (1339776210,), (1339776440,), (1339776444,), (1339776449,), (1339776468,), (1339776478,), (1339776482,), (1339776486,), (1339776490,), (1339776494,), (1339776538,), (1339776542,), (1339776546,), (1339776550,), (1339776556,), (1339776698,), (1339776708,), (1339776719,), (1339776723,), (1339776726,), (1339776760,), (1339776793,), (1339776798,), (1339776803,), (1339776810,), (1339776815,), (1339777583,), (1339777677,), (1339777789,), (1339777878,), (1339777960,), (1339777981,), (1339777998,), (1339778001,), (1339778039,), (1339778150,), (1339778153,), (1339778180,), (1339778184,), (1339778188,), (1339778191,), (1339778192,), (1339778193,), (1339778217,), (1339778222,), (1339778225,), (1339778230,), (1339778273,), (1339778260,), (1339778264,), (1339778267,), (1339778270,), (1339778272,), (1339778301,), (1339778305,), (1339778308,), (1339778311,), (1339778313,), (1339778339,), (1339778344,), (1339778347,), (1339778351,), (1339778354,), (1339778356,), (1339778372,), (1339778384,), (1339778390,), (1339778396,), (1339778417,), (1339778422,), (1339778426,), (1339778474,), (1339778477,), (1339778479,), (1339778492,), (1339778497,), (1339778517,), (1339778532,), (1339778587,), (1339778597,), (1339778602,), (1339778606,), (1339778608,), (1339778611,), (1339778635,), (1339778641,), (1339778646,), (1339778654,), (1339778659,), (1339778660,), (1339778686,), (1339778691,), (1339778696,), (1339778701,), (1339778706,), (1339778774,), (1339778782,), (1339778818,), (1339779121,), (1339779413,), (1339779658,), (1339779663,), (1339779666,), (1339779670,), (1339779979,), (1339780250,), (1339780300,), (1339780322,), (1339780331,), (1339780510,), (1339780517,), (1339780522,), (1339780531,), (1339780539,), (1339780544,), (1339780574,), (1339780581,), (1339780589,), (1339780595,), (1339781017,), (1339781022,), (1339781030,), (1339781044,), (1339781059,), (1339781060,), (1339781087,), (1339781079,), (1339781083,), (1339781220,), (1339781225,), (1339781229,), (1339781233,), (1339781252,), (1339781256,), (1339781276,), (1339781280,), (1339781282,), (1339781283,), (1339781353,), (1339781357,), (1339781361,), (1339781364,), (1339781412,), (1339781422,), (1339781448,), (1339781463,), (1339781465,), (1339781480,), (1339781549,), (1339781552,), (1339781555,), (1339781558,), (1339781611,), (1339781614,), (1339781618,), (1339781622,), (1339781626,), (1339781628,), (1339781649,), (1339781652,), (1339781655,), (1339781656,), (1339781657,), (1339781679,), (1339781682,), (1339781684,), (1339781687,), (1339781691,), (1339781695,), (1339781744,), (1339781753,), (1339781758,), (1339781767,), (1339781806,), (1339781809,), (1339781877,), (1339781945,), (1339781948,), (1339781951,), (1339781971,), (1339781974,), (1339781991,), (1339781995,), (1339782032,), (1339782040,), (1339782043,), (1339782045,), (1339782095,), (1339782096,), (1339782181,), (1339782184,), (1339782187,), (1339782191,), (1339782200,), (1339782203,), (1339782278,), (1339782266,), (1339782269,), (1339782273,), (1339782275,), (1339782298,), (1339782303,), (1339782308,), (1339782312,), (1339782325,), (1339782330,), (1339782335,), (1339782339,), (1339782357,), (1339782362,), (1339782367,), (1339782373,), (1339782394,), (1339782486,), (1339783120,), (1339783169,), (1339783197,), (1339783332,), (1339783340,), (1339783359,), (1339783362,), (1339783365,), (1339783366,), (1339783525,), (1339783535,), (1339783540,), (1339783544,), (1339783548,), (1339783602,), (1339783605,), (1339783608,), (1339783614,), (1339783701,), (1339783714,), (1339783728,), (1339783735,), (1339783738,), (1339783741,), (1339783778,), (1339783784,), (1339783792,), (1339783796,), (1339783800,), (1339783840,), (1339783848,), (1339783852,), (1339783856,), (1339783864,), (1339783866,), (1339783880,), (1339783884,), (1339783888,), (1339783892,), (1339783911,), (1339783917,), (1339783921,), (1339783925,), (1339783929,), (1339783933,), (1339783960,), (1339783968,), (1339783978,), (1339783984,), (1339784006,), (1339784013,), (1339784017,), (1339784022,), (1339784025,), (1339784029,), (1339784077,), (1339784045,), (1339784059,), (1339784068,), (1339784072,), (1339784313,), (1339784317,), (1339784348,), (1339784352,), (1339784379,), (1339784383,), (1339784387,), (1339784396,), (1339784402,), (1339784405,), (1339784429,), (1339784440,), (1339784449,), (1339784453,), (1339784502,), (1339784511,), (1339784514,), (1339784519,), (1339784524,), (1339784527,), (1339784570,), (1339784576,), (1339784580,), (1339784715,), (1339784722,), (1339784729,), (1339784733,), (1339784736,), (1339784739,), (1339784763,), (1339784776,), (1339784785,), (1339784789,), (1339784794,), (1339784797,), (1339784819,), (1339784824,), (1339784833,), (1339784837,), (1339784856,), (1339784860,), (1339784865,), (1339784876,), (1339784883,), (1339784886,), (1339784912,), (1339784917,), (1339784928,), (1339784936,), (1339784947,), (1339784976,), (1339784981,), (1339784984,), (1339785002,), (1339785005,), (1339785009,), (1339785041,), (1339785045,), (1339785049,), (1339785071,), (1339785073,), (1339785099,), (1339785103,), (1339785107,), (1339785112,), (1339785119,), (1339785126,), (1339785165,), (1339785171,), (1339785177,), (1339785181,), (1339785260,), (1339785236,), (1339785241,), (1339785245,), (1339785254,), (1339785273,), (1339785278,), (1339785282,), (1339785287,), (1339785296,), (1339785303,), (1339785321,), (1339785325,), (1339785328,), (1339785332,), (1339785635,), (1339785644,), (1339785652,), (1339785657,), (1339785659,), (1339785662,), (1339785765,), (1339785769,), (1339785773,), (1339785778,), (1339786519,), (1339786529,), (1339786569,), (1339786582,), (1339786639,), (1339786642,), (1339786661,), (1339786667,), (1339786672,), (1339786675,), (1339786705,), (1339786724,), (1339786740,), (1339786744,), (1339786748,), (1339786762,), (1339786814,), (1339786822,), (1339786828,), (1339786833,), (1339786835,), (1339786859,), (1339786864,), (1339786869,), (1339786873,), (1339786875,), (1339786971,), (1339792052,), (1339792047,), (1339792076,), (1339792082,), (1339792147,), (1339792553,), (1339793533,), (1339793538,), (1339793544,), (1339793549,), (1339793554,), (1339793614,), (1339793619,), (1339793632,), (1339793636,), (1339793640,), (1339793716,), (1339793802,), (1339793843,), (1339793916,), (1339793978,), (1339794220,), (1339794250,), (1339794261,), (1339794285,), (1339794295,), (1339794299,), (1339794324,), (1339794330,), (1339794334,), (1339794338,), (1339794359,), (1339794390,), (1339794396,), (1339794401,), (1339794406,), (1339794481,), (1339794487,), (1339794493,), (1339794499,), (1339794588,), (1339794613,), (1339794641,), (1339794646,), (1339794650,), (1339794688,), (1339794692,), (1339794696,), (1339794700,), (1339794721,), (1339794873,), (1339794876,), (1339794880,), (1339794881,), (1339794912,), (1339795201,), (1339795435,), (1339795439,), (1339795501,), (1339795505,), (1339795509,), (1339795513,), (1339795556,), (1339795577,), (1339795807,), (1339795813,), (1339796107,), (1339796116,), (1339796212,), (1339796218,), (1339796223,), (1339796255,), (1339796260,), (1339796341,), (1339796350,), (1339796356,), (1339796359,), (1339796444,), (1339796449,), (1339796484,), (1339796524,), (1339796617,), (1339796773,), (1339796727,), (1339796843,), (1339796854,), (1339796859,), (1339796882,), (1339796889,), (1339796894,), (1339796919,), (1339796926,), (1339796955,), (1339796961,), (1339797001,), (1339797014,), (1339797865,), (1339797872,), (1339797884,), (1339797890,), (1339797968,), (1339798413,), (1339798419,), (1339798556,), (1339798560,), (1339798882,), (1339798887,), (1339798891,), (1339798895,), (1339798940,), (1339798971,), (1339799762,), (1339799796,), (1339800020,), (1339800015,), (1339800065,), (1339800075,), (1339800309,), (1339800313,), (1339800506,), (1339800517,), (1339800520,), (1339800545,), (1339800551,), (1339800603,), (1339800757,), (1339800790,), (1339800795,), (1339800799,), (1339800802,), (1339800804,), (1339800814,), (1339800818,), (1339800842,), (1339800846,), (1339800851,), (1339800864,), (1339800868,), (1339800872,), (1339800881,), (1339800912,), (1339800916,), (1339801078,), (1339801128,), (1339801136,), (1339801146,), (1339801192,), (1339801199,), (1339801201,), (1339801236,), (1339801243,), (1339801254,), (1339801272,), (1339801268,), (1339801308,), (1339801311,), (1339801353,), (1339801457,), (1339801466,), (1339801471,), (1339802077,), (1339802135,), (1339802346,), (1339802383,), (1339802395,), (1339802814,), (1339802850,), (1339802876,), (1339802933,), (1339802938,), (1339802963,), (1339803011,), (1339803035,), (1339803066,), (1339803071,), (1339803075,), (1339803079,), (1339803082,), (1339803250,), (1339803253,), (1339803259,), (1339803264,), (1339803289,), (1339803279,), (1339803285,), (1339803311,), (1339803317,), (1339803322,), (1339803348,), (1339803353,), (1339803391,), (1339803395,), (1339803402,), (1339803490,), (1339803529,), (1339803645,), (1339803648,), (1339803651,), (1339803654,), (1339803656,), (1339803695,), (1339803699,), (1339803741,), (1339803745,), (1339804561,), (1339804677,), (1339804682,), (1339804687,), (1339804718,), (1339804840,), (1339805087,), (1339805100,), (1339805227,), (1339805239,), (1339805247,), (1339805562,), (1339805568,), (1339805599,), (1339805603,), (1339805607,), (1339805846,), (1339805690,), (1339805789,), (1339805841,), (1339806026,), (1339806030,), (1339806086,), (1339806090,), (1339806111,), (1339806115,), (1339806118,), (1339806160,), (1339806163,), (1339806231,), (1339806246,), (1339806260,), (1339806341,), (1339806346,), (1339806380,), (1339806387,), (1339806406,), (1339806438,), (1339806493,), (1339806623,), (1339806627,), (1339806645,), (1339806649,), (1339806654,), (1339806703,), (1339806706,), (1339806710,), (1339806714,), (1339806783,), (1339806787,), (1339806790,), (1339806956,), (1339806856,), (1339806860,), (1339806937,), (1339807188,), (1339807192,), (1339807211,), (1339807220,), (1339807277,), (1339807283,), (1339807285,), (1339807301,), (1339807927,), (1339807931,), (1339808167,), (1339808171,), (1339808357,), (1339808368,), (1339808409,), (1339808414,), (1339808417,), (1339808500,), (1339808518,), (1339808608,), (1339808611,), (1339808614,), (1339808656,), (1339808741,), (1339808860,), (1339808863,), (1339808967,), (1339809470,), (1339809475,), (1339809572,), (1339809576,), (1339809596,), (1339809601,), (1339809606,), (1339809610,), (1339809667,), (1339809671,), (1339809675,), (1339809698,), (1339809704,), (1339809708,), (1339809873,), (1339809889,), (1339809892,), (1339810233,), (1339810327,), (1339810340,), (1339810526,), (1339810528,), (1339810551,), (1339810555,), (1339810559,), (1339810562,), (1339810566,), (1339810632,), (1339810636,), (1339810660,), (1339810666,), (1339810671,), (1339810725,), (1339810732,), (1339810737,), (1339811339,), (1339811436,), (1339811730,), (1339811766,), (1339811839,), (1339811861,), (1339811868,), (1339812022,), (1339812006,), (1339812011,), (1339812277,), (1339813179,), (1339813183,), (1339814285,), (1339814291,), (1339814296,), (1339814390,), (1339814707,), (1339814761,), (1339814766,), (1339814986,), (1339815181,), (1339815187,), (1339815192,), (1339815232,), (1339815236,), (1339815240,), (1339815244,), (1339815296,), (1339815301,), (1339815305,), (1339815308,), (1339815380,), (1339816097,), (1339816103,), (1339816345,), (1339816395,), (1339816483,), (1339816487,), (1339816672,), (1339816666,), (1339816874,), (1339816886,), (1339816944,), (1339817074,), (1339817076,), (1339817079,), (1339817118,), (1339817121,), (1339817124,), (1339817127,), (1339817130,), (1339817153,), (1339817157,), (1339817163,), (1339817165,), (1339817208,), (1339817216,), (1339817222,), (1339817225,), (1339817228,), (1339817230,), (1339817250,), (1339817255,), (1339817259,), (1339817293,), (1339817308,), (1339817312,), (1339817315,), (1339817318,), (1339817319,), (1339817337,), (1339817347,), (1339817352,), (1339817356,), (1339817366,), (1339817411,), (1339817424,), (1339817436,), (1339817438,), (1339817549,), (1339817564,), (1339817573,), (1339817592,), (1339817593,), (1339817599,), (1339817630,), (1339817634,), (1339817639,), (1339817643,), (1339817676,), (1339817689,), (1339817692,), (1339817722,), (1339817725,), (1339817727,), (1339817731,), (1339817734,), (1339817744,), (1339817747,), (1339817749,), (1339817758,), (1339817830,), (1339817929,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'26022025': {'nb_upload': 31, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20856419]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1339800020, 1339799796, 1339799762, 1339798971, 1339798940, 1339798895, 1339798891, 1339798887, 1339798882, 1339798560, 1339798556, 1339798419, 1339798413, 1339797968, 1339797890, 1339797884, 1339797872, 1339797865, 1339797014, 1339797001, 1339796961, 1339796955, 1339796926, 1339796919, 1339796894, 1339796889, 1339796882, 1339796859, 1339796854, 1339796843, 1339796727] map_info['map_portfolio_photo'] : {20856419: [1339800020, 1339799796, 1339799762, 1339798971, 1339798940, 1339798895, 1339798891, 1339798887, 1339798882, 1339798560, 1339798556, 1339798419, 1339798413, 1339797968, 1339797890, 1339797884, 1339797872, 1339797865, 1339797014, 1339797001, 1339796961, 1339796955, 1339796926, 1339796919, 1339796894, 1339796889, 1339796882, 1339796859, 1339796854, 1339796843, 1339796727]} final : True mtd_id 4302 list_pids : [1339800020, 1339799796, 1339799762, 1339798971, 1339798940, 1339798895, 1339798891, 1339798887, 1339798882, 1339798560, 1339798556, 1339798419, 1339798413, 1339797968, 1339797890, 1339797884, 1339797872, 1339797865, 1339797014, 1339797001, 1339796961, 1339796955, 1339796926, 1339796919, 1339796894, 1339796889, 1339796882, 1339796859, 1339796854, 1339796843, 1339796727] Looping around the photos to save general results len do output : 1 /20856419Didn'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, '2618778') ('4302', '20856419', '1339800020', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339799796', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339799762', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339798971', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339798940', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339798895', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339798891', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339798887', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339798882', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339798560', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339798556', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339798419', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339798413', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339797968', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339797890', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339797884', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339797872', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339797865', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339797014', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339797001', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339796961', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339796955', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339796926', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339796919', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339796894', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339796889', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339796882', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339796859', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339796854', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339796843', None, None, None, None, None, '2618778') ('4302', None, None, None, None, None, None, None, '2618778') ('4302', '20856419', '1339796727', None, None, None, None, None, '2618778') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 32 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, '20856419', 'None', None, None, None, None, '2618778'), ('4302', '20856419', '1339800020', None, None, None, None, None, '2618778'), ('4302', '20856419', '1339799796', None, None, None, None, None, '2618778'), ('4302', '20856419', '1339799762', None, None, None, None, None, '2618778'), ('4302', '20856419', '1339798971', None, None, None, None, None, '2618778'), ('4302', '20856419', '1339798940', None, None, None, None, None, '2618778'), ('4302', '20856419', '1339798895', None, None, None, None, None, '2618778'), ('4302', '20856419', '1339798891', None, None, None, None, None, '2618778'), ('4302', '20856419', '1339798887', None, None, None, None, None, '2618778'), ('4302', '20856419', '1339798882', None, None, None, None, None, '2618778'), ('4302', '20856419', '1339798560', None, None, None, None, None, '2618778'), ('4302', '20856419', '1339798556', None, None, None, None, None, '2618778'), ('4302', '20856419', '1339798419', None, None, None, None, None, '2618778'), ('4302', '20856419', '1339798413', None, None, None, None, None, '2618778'), ('4302', '20856419', '1339797968', None, None, None, None, None, '2618778'), ('4302', '20856419', '1339797890', None, None, None, None, None, '2618778'), ('4302', '20856419', '1339797884', None, None, None, None, None, '2618778'), ('4302', '20856419', '1339797872', None, None, None, None, None, '2618778'), ('4302', '20856419', '1339797865', None, None, None, None, None, '2618778'), ('4302', '20856419', '1339797014', None, None, None, None, None, '2618778'), ('4302', '20856419', '1339797001', None, None, None, None, None, '2618778'), ('4302', '20856419', '1339796961', None, None, None, None, None, '2618778'), ('4302', '20856419', '1339796955', None, None, None, None, None, '2618778'), ('4302', '20856419', '1339796926', None, None, None, None, None, '2618778'), ('4302', '20856419', '1339796919', None, None, None, None, None, '2618778'), ('4302', '20856419', '1339796894', None, None, None, None, None, '2618778'), ('4302', '20856419', '1339796889', None, None, None, None, None, '2618778'), ('4302', '20856419', '1339796882', None, None, None, None, None, '2618778'), ('4302', '20856419', '1339796859', None, None, None, None, None, '2618778'), ('4302', '20856419', '1339796854', None, None, None, None, None, '2618778'), ('4302', '20856419', '1339796843', None, None, None, None, None, '2618778'), ('4302', '20856419', '1339796727', None, None, None, None, None, '2618778')] time used for this insertion : 0.0206143856048584 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.186657667160034 time spend to save output : 0.020999670028686523 total time spend for step 5 : 5.207657337188721 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 (2618778) 3.11user 2.65system 0:22.84elapsed 25%CPU (0avgtext+0avgdata 160852maxresident)k 720inputs+31792outputs (6major+75850minor)pagefaults 0swaps