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 : 2862364 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 (2739669) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2739669) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22168535 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2739669'] with mtr_portfolio_ids : ['22168535'] and first list_photo_ids : [] new path : /proc/2862364/ Name: python3 Umask: 0002 State: R (running) Tgid: 2862364 Ngid: 0 Pid: 2862364 PPid: 2862363 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 2862364 NSpid: 2862364 NSpgid: 2860174 NSsid: 2860174 VmPeak: 1106936 kB VmSize: 1106936 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 98652 kB VmRSS: 98652 kB RssAnon: 59816 kB RssFile: 38836 kB RssShmem: 0 kB VmData: 865684 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 592 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 0/63054 SigPnd: 0000000000000000 ShdPnd: 0000000000000000 SigBlk: 0000000000000000 SigIgn: 0000000001001000 SigCgt: 0000000180000002 CapInh: 0000000000000000 CapPrm: 0000000000000000 CapEff: 0000000000000000 CapBnd: 000001ffffffffff CapAmb: 0000000000000000 NoNewPrivs: 0 Seccomp: 0 Seccomp_filters: 0 Speculation_Store_Bypass: thread vulnerable SpeculationIndirectBranch: conditional enabled Cpus_allowed: ffffffff,ffffffff,ffffffff,ffffffff Cpus_allowed_list: 0-127 Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001 Mems_allowed_list: 0 voluntary_ctxt_switches: 52 nonvoluntary_ctxt_switches: 85 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '2862364', 'Ngid': '0', 'Pid': '2862364', 'PPid': '2862363', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '2862364', 'NSpid': '2862364', 'NSpgid': '2860174', 'NSsid': '2860174', 'VmPeak': '1106936 kB', 'VmSize': '1106936 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '98652 kB', 'VmRSS': '98652 kB', 'RssAnon': '59816 kB', 'RssFile': '38836 kB', 'RssShmem': '0 kB', 'VmData': '865684 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '592 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '0/63054', 'SigPnd': '0000000000000000', 'ShdPnd': '0000000000000000', 'SigBlk': '0000000000000000', 'SigIgn': '0000000001001000', 'SigCgt': '0000000180000002', 'CapInh': '0000000000000000', 'CapPrm': '0000000000000000', 'CapEff': '0000000000000000', 'CapBnd': '000001ffffffffff', 'CapAmb': '0000000000000000', 'NoNewPrivs': '0', 'Seccomp': '0', 'Seccomp_filters': '0', 'Speculation_Store_Bypass': 'thread vulnerable', 'SpeculationIndirectBranch': 'conditional enabled', 'Cpus_allowed': 'ffffffff,ffffffff,ffffffff,ffffffff', 'Cpus_allowed_list': '0-127', 'Mems_allowed': '00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001', 'Mems_allowed_list': '0', 'voluntary_ctxt_switches': '52', 'nonvoluntary_ctxt_switches': '85'} ('datou_batch_current', '2862364', '1106936', '0', '1106936', '865684', '98652', b'', 'marlene', '2739669') 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 (22168535) 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 (2739669 ) ) 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 (22168535) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1350934864, 'portfolio_id': 22168535}, {'photo_id': 1350934804, 'portfolio_id': 22168535}, {'photo_id': 1350934801, 'portfolio_id': 22168535}, {'photo_id': 1350934799, 'portfolio_id': 22168535}, {'photo_id': 1350934755, 'portfolio_id': 22168535}, {'photo_id': 1350934749, 'portfolio_id': 22168535}, {'photo_id': 1350934745, 'portfolio_id': 22168535}, {'photo_id': 1350934741, 'portfolio_id': 22168535}, {'photo_id': 1350934735, 'portfolio_id': 22168535}, {'photo_id': 1350934693, 'portfolio_id': 22168535}, {'photo_id': 1350934692, 'portfolio_id': 22168535}, {'photo_id': 1350934691, 'portfolio_id': 22168535}, {'photo_id': 1350934689, 'portfolio_id': 22168535}, {'photo_id': 1350934651, 'portfolio_id': 22168535}, {'photo_id': 1350934636, 'portfolio_id': 22168535}, {'photo_id': 1350934629, 'portfolio_id': 22168535}, {'photo_id': 1350934625, 'portfolio_id': 22168535}, {'photo_id': 1350934621, 'portfolio_id': 22168535}, {'photo_id': 1350934592, 'portfolio_id': 22168535}, {'photo_id': 1350934523, 'portfolio_id': 22168535}, {'photo_id': 1350934519, 'portfolio_id': 22168535}, {'photo_id': 1350934516, 'portfolio_id': 22168535}, {'photo_id': 1350934512, 'portfolio_id': 22168535}, {'photo_id': 1350934508, 'portfolio_id': 22168535}, {'photo_id': 1350934420, 'portfolio_id': 22168535}, {'photo_id': 1350934415, 'portfolio_id': 22168535}, {'photo_id': 1350934411, 'portfolio_id': 22168535}, {'photo_id': 1350934394, 'portfolio_id': 22168535}, {'photo_id': 1350934376, 'portfolio_id': 22168535}, {'photo_id': 1350934374, 'portfolio_id': 22168535}, {'photo_id': 1350934064, 'portfolio_id': 22168535}, {'photo_id': 1350934038, 'portfolio_id': 22168535}, {'photo_id': 1350934011, 'portfolio_id': 22168535}, {'photo_id': 1350933984, 'portfolio_id': 22168535}, {'photo_id': 1350933852, 'portfolio_id': 22168535}, {'photo_id': 1350933849, 'portfolio_id': 22168535}, {'photo_id': 1350933846, 'portfolio_id': 22168535}, {'photo_id': 1350931360, 'portfolio_id': 22168535}, {'photo_id': 1350931329, 'portfolio_id': 22168535}, {'photo_id': 1350931299, 'portfolio_id': 22168535}, {'photo_id': 1350931268, 'portfolio_id': 22168535}] map_portfolio_id_photo_id: {22168535: [1350934864, 1350934804, 1350934801, 1350934799, 1350934755, 1350934749, 1350934745, 1350934741, 1350934735, 1350934693, 1350934692, 1350934691, 1350934689, 1350934651, 1350934636, 1350934629, 1350934625, 1350934621, 1350934592, 1350934523, 1350934519, 1350934516, 1350934512, 1350934508, 1350934420, 1350934415, 1350934411, 1350934394, 1350934376, 1350934374, 1350934064, 1350934038, 1350934011, 1350933984, 1350933852, 1350933849, 1350933846, 1350931360, 1350931329, 1350931299, 1350931268]} ##### 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.018390655517578125 #### 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 Sat Apr 19 05:37: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 (22168535) 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 : 22168535 get user id for portfolio 22168535 get sub ptf for main ptf 22168535, type 3726 and hashtags ['Carton_brun', 'autre_refus', 'environnement', 'mal_croppe', 'flou', 'kraft', 'cartonnette', 'Teint_Dans_La_Masse', 'plastique', 'papier', 'metal', 'Carton_gris'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22168535 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_brun','autre_refus','environnement','mal_croppe','flou','kraft','cartonnette','Teint_Dans_La_Masse','plastique','papier','metal','Carton_gris')) 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`=22168535 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_brun','autre_refus','environnement','mal_croppe','flou','kraft','cartonnette','Teint_Dans_La_Masse','plastique','papier','metal','Carton_gris')) AND mptpi.`min_score`=0.5 To do returned map {'Carton_gris': {'main_port_id': 22168535, 'sub_port_id': 22168536, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14646797, 'last_updated_at': datetime.datetime(2025, 4, 18, 3, 16, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 18, 3, 16, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 18, 3, 8, 58)}, 'kraft': {'main_port_id': 22168535, 'sub_port_id': 22168537, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14646798, 'last_updated_at': datetime.datetime(2025, 4, 18, 3, 16, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 18, 3, 16, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 18, 3, 8, 58)}, 'mal_croppe': {'main_port_id': 22168535, 'sub_port_id': 22168538, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14646799, 'last_updated_at': datetime.datetime(2025, 4, 18, 3, 16, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 18, 3, 16, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 18, 3, 8, 58)}, 'plastique': {'main_port_id': 22168535, 'sub_port_id': 22168539, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14646800, 'last_updated_at': datetime.datetime(2025, 4, 18, 3, 16, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 18, 3, 16, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 18, 3, 8, 58)}, 'cartonnette': {'main_port_id': 22168535, 'sub_port_id': 22168540, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14646801, 'last_updated_at': datetime.datetime(2025, 4, 18, 3, 16, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 18, 3, 16, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 18, 3, 8, 58)}, 'Carton_brun': {'main_port_id': 22168535, 'sub_port_id': 22168541, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14646802, 'last_updated_at': datetime.datetime(2025, 4, 18, 3, 16, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 18, 3, 16, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 18, 3, 8, 58)}, 'autre_refus': {'main_port_id': 22168535, 'sub_port_id': 22168542, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14646803, 'last_updated_at': datetime.datetime(2025, 4, 18, 3, 16, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 18, 3, 16, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 18, 3, 8, 58)}, 'Teint_Dans_La_Masse': {'main_port_id': 22168535, 'sub_port_id': 22168543, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14646804, 'last_updated_at': datetime.datetime(2025, 4, 18, 3, 16, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 18, 3, 16, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 18, 3, 8, 58)}, 'metal': {'main_port_id': 22168535, 'sub_port_id': 22168544, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14646805, 'last_updated_at': datetime.datetime(2025, 4, 18, 3, 16, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 18, 3, 16, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 18, 3, 8, 58)}, 'papier': {'main_port_id': 22168535, 'sub_port_id': 22168545, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14646806, 'last_updated_at': datetime.datetime(2025, 4, 18, 3, 16, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 18, 3, 16, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 18, 3, 8, 58)}, 'environnement': {'main_port_id': 22168535, 'sub_port_id': 22168546, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14646807, 'last_updated_at': datetime.datetime(2025, 4, 18, 3, 16, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 18, 3, 16, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 18, 3, 8, 58)}, 'flou': {'main_port_id': 22168535, 'sub_port_id': 22168547, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14646808, 'last_updated_at': datetime.datetime(2025, 4, 18, 3, 16, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 18, 3, 16, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 18, 3, 8, 58)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22168536 , 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=22168535 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 (22168536) result : ((1350932732,), (1350934178,), (1350934534,), (1350934638,), (1350934639,), (1350934640,), (1350934641,), (1350934643,), (1350934644,), (1350934726,), (1350934780,), (1350934781,), (1350934782,), (1350934838,), (1350934942,), (1350934943,), (1350934944,), (1350936468,), (1350936469,), (1350936470,), (1350936471,), (1350936472,), (1350936473,), (1350941206,), (1350941308,), (1350941309,), (1350941310,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22168535) result : ((1350931268,), (1350931299,), (1350931329,), (1350931360,), (1350933846,), (1350933849,), (1350933852,), (1350933984,), (1350934011,), (1350934038,), (1350934064,), (1350934374,), (1350934376,), (1350934394,), (1350934411,), (1350934415,), (1350934420,), (1350934508,), (1350934512,), (1350934516,), (1350934519,), (1350934523,), (1350934592,), (1350934621,), (1350934625,), (1350934629,), (1350934636,), (1350934651,), (1350934689,), (1350934691,), (1350934692,), (1350934693,), (1350934735,), (1350934741,), (1350934745,), (1350934749,), (1350934755,), (1350934799,), (1350934801,), (1350934804,), (1350934864,)) 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 22168537 , 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=22168535 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 (22168537) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22168535) result : ((1350931268,), (1350931299,), (1350931329,), (1350931360,), (1350933846,), (1350933849,), (1350933852,), (1350933984,), (1350934011,), (1350934038,), (1350934064,), (1350934374,), (1350934376,), (1350934394,), (1350934411,), (1350934415,), (1350934420,), (1350934508,), (1350934512,), (1350934516,), (1350934519,), (1350934523,), (1350934592,), (1350934621,), (1350934625,), (1350934629,), (1350934636,), (1350934651,), (1350934689,), (1350934691,), (1350934692,), (1350934693,), (1350934735,), (1350934741,), (1350934745,), (1350934749,), (1350934755,), (1350934799,), (1350934801,), (1350934804,), (1350934864,)) 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 22168538 , 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=22168535 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 (22168538) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22168535) result : ((1350931268,), (1350931299,), (1350931329,), (1350931360,), (1350933846,), (1350933849,), (1350933852,), (1350933984,), (1350934011,), (1350934038,), (1350934064,), (1350934374,), (1350934376,), (1350934394,), (1350934411,), (1350934415,), (1350934420,), (1350934508,), (1350934512,), (1350934516,), (1350934519,), (1350934523,), (1350934592,), (1350934621,), (1350934625,), (1350934629,), (1350934636,), (1350934651,), (1350934689,), (1350934691,), (1350934692,), (1350934693,), (1350934735,), (1350934741,), (1350934745,), (1350934749,), (1350934755,), (1350934799,), (1350934801,), (1350934804,), (1350934864,)) 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 22168539 , 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=22168535 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 (22168539) result : ((1350932757,), (1350932758,), (1350934183,), (1350934362,), (1350934363,), (1350934364,), (1350934536,), (1350934537,), (1350934652,), (1350934653,), (1350934731,), (1350934732,), (1350934788,), (1350934843,), (1350934844,), (1350934954,), (1350934955,), (1350936477,), (1350936478,), (1350936487,), (1350936488,), (1350936489,), (1350941317,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22168535) result : ((1350931268,), (1350931299,), (1350931329,), (1350931360,), (1350933846,), (1350933849,), (1350933852,), (1350933984,), (1350934011,), (1350934038,), (1350934064,), (1350934374,), (1350934376,), (1350934394,), (1350934411,), (1350934415,), (1350934420,), (1350934508,), (1350934512,), (1350934516,), (1350934519,), (1350934523,), (1350934592,), (1350934621,), (1350934625,), (1350934629,), (1350934636,), (1350934651,), (1350934689,), (1350934691,), (1350934692,), (1350934693,), (1350934735,), (1350934741,), (1350934745,), (1350934749,), (1350934755,), (1350934799,), (1350934801,), (1350934804,), (1350934864,)) 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 22168540 , 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=22168535 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 (22168540) result : ((1350934727,), (1350934728,), (1350934839,), (1350934840,), (1350934945,), (1350934946,), (1350941209,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22168535) result : ((1350931268,), (1350931299,), (1350931329,), (1350931360,), (1350933846,), (1350933849,), (1350933852,), (1350933984,), (1350934011,), (1350934038,), (1350934064,), (1350934374,), (1350934376,), (1350934394,), (1350934411,), (1350934415,), (1350934420,), (1350934508,), (1350934512,), (1350934516,), (1350934519,), (1350934523,), (1350934592,), (1350934621,), (1350934625,), (1350934629,), (1350934636,), (1350934651,), (1350934689,), (1350934691,), (1350934692,), (1350934693,), (1350934735,), (1350934741,), (1350934745,), (1350934749,), (1350934755,), (1350934799,), (1350934801,), (1350934804,), (1350934864,)) 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 22168541 , 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=22168535 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 (22168541) result : ((1350932744,), (1350932745,), (1350932746,), (1350932748,), (1350932749,), (1350934647,), (1350934648,), (1350934650,), (1350934667,), (1350934668,), (1350934729,), (1350934730,), (1350934784,), (1350934785,), (1350934786,), (1350934787,), (1350934841,), (1350934842,), (1350936474,), (1350936475,), (1350936476,), (1350941311,), (1350941312,), (1350941313,), (1350941314,), (1350941315,), (1350941316,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22168535) result : ((1350931268,), (1350931299,), (1350931329,), (1350931360,), (1350933846,), (1350933849,), (1350933852,), (1350933984,), (1350934011,), (1350934038,), (1350934064,), (1350934374,), (1350934376,), (1350934394,), (1350934411,), (1350934415,), (1350934420,), (1350934508,), (1350934512,), (1350934516,), (1350934519,), (1350934523,), (1350934592,), (1350934621,), (1350934625,), (1350934629,), (1350934636,), (1350934651,), (1350934689,), (1350934691,), (1350934692,), (1350934693,), (1350934735,), (1350934741,), (1350934745,), (1350934749,), (1350934755,), (1350934799,), (1350934801,), (1350934804,), (1350934864,)) 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 22168542 , 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=22168535 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 (22168542) result : ((1350934634,), (1350934664,), (1350934724,), (1350934836,), (1350936467,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22168535) result : ((1350931268,), (1350931299,), (1350931329,), (1350931360,), (1350933846,), (1350933849,), (1350933852,), (1350933984,), (1350934011,), (1350934038,), (1350934064,), (1350934374,), (1350934376,), (1350934394,), (1350934411,), (1350934415,), (1350934420,), (1350934508,), (1350934512,), (1350934516,), (1350934519,), (1350934523,), (1350934592,), (1350934621,), (1350934625,), (1350934629,), (1350934636,), (1350934651,), (1350934689,), (1350934691,), (1350934692,), (1350934693,), (1350934735,), (1350934741,), (1350934745,), (1350934749,), (1350934755,), (1350934799,), (1350934801,), (1350934804,), (1350934864,)) 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 22168543 , 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=22168535 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 (22168543) result : ((1350932725,), (1350934531,), (1350934630,), (1350934631,), (1350934632,), (1350934663,), (1350934718,), (1350934719,), (1350934720,), (1350934721,), (1350934722,), (1350934778,), (1350934831,), (1350934832,), (1350934833,), (1350934834,), (1350934835,), (1350934936,), (1350934937,), (1350936464,), (1350936465,), (1350936466,), (1350941195,), (1350941196,), (1350941197,), (1350941198,), (1350941199,), (1350941200,), (1350941305,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22168535) result : ((1350931268,), (1350931299,), (1350931329,), (1350931360,), (1350933846,), (1350933849,), (1350933852,), (1350933984,), (1350934011,), (1350934038,), (1350934064,), (1350934374,), (1350934376,), (1350934394,), (1350934411,), (1350934415,), (1350934420,), (1350934508,), (1350934512,), (1350934516,), (1350934519,), (1350934523,), (1350934592,), (1350934621,), (1350934625,), (1350934629,), (1350934636,), (1350934651,), (1350934689,), (1350934691,), (1350934692,), (1350934693,), (1350934735,), (1350934741,), (1350934745,), (1350934749,), (1350934755,), (1350934799,), (1350934801,), (1350934804,), (1350934864,)) 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 22168544 , 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=22168535 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 (22168544) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22168535) result : ((1350931268,), (1350931299,), (1350931329,), (1350931360,), (1350933846,), (1350933849,), (1350933852,), (1350933984,), (1350934011,), (1350934038,), (1350934064,), (1350934374,), (1350934376,), (1350934394,), (1350934411,), (1350934415,), (1350934420,), (1350934508,), (1350934512,), (1350934516,), (1350934519,), (1350934523,), (1350934592,), (1350934621,), (1350934625,), (1350934629,), (1350934636,), (1350934651,), (1350934689,), (1350934691,), (1350934692,), (1350934693,), (1350934735,), (1350934741,), (1350934745,), (1350934749,), (1350934755,), (1350934799,), (1350934801,), (1350934804,), (1350934864,)) 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 22168545 , 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=22168535 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 (22168545) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22168535) result : ((1350931268,), (1350931299,), (1350931329,), (1350931360,), (1350933846,), (1350933849,), (1350933852,), (1350933984,), (1350934011,), (1350934038,), (1350934064,), (1350934374,), (1350934376,), (1350934394,), (1350934411,), (1350934415,), (1350934420,), (1350934508,), (1350934512,), (1350934516,), (1350934519,), (1350934523,), (1350934592,), (1350934621,), (1350934625,), (1350934629,), (1350934636,), (1350934651,), (1350934689,), (1350934691,), (1350934692,), (1350934693,), (1350934735,), (1350934741,), (1350934745,), (1350934749,), (1350934755,), (1350934799,), (1350934801,), (1350934804,), (1350934864,)) 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 22168546 , 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=22168535 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 (22168546) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22168535) result : ((1350931268,), (1350931299,), (1350931329,), (1350931360,), (1350933846,), (1350933849,), (1350933852,), (1350933984,), (1350934011,), (1350934038,), (1350934064,), (1350934374,), (1350934376,), (1350934394,), (1350934411,), (1350934415,), (1350934420,), (1350934508,), (1350934512,), (1350934516,), (1350934519,), (1350934523,), (1350934592,), (1350934621,), (1350934625,), (1350934629,), (1350934636,), (1350934651,), (1350934689,), (1350934691,), (1350934692,), (1350934693,), (1350934735,), (1350934741,), (1350934745,), (1350934749,), (1350934755,), (1350934799,), (1350934801,), (1350934804,), (1350934864,)) 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 22168547 , 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=22168535 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 (22168547) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22168535) result : ((1350931268,), (1350931299,), (1350931329,), (1350931360,), (1350933846,), (1350933849,), (1350933852,), (1350933984,), (1350934011,), (1350934038,), (1350934064,), (1350934374,), (1350934376,), (1350934394,), (1350934411,), (1350934415,), (1350934420,), (1350934508,), (1350934512,), (1350934516,), (1350934519,), (1350934523,), (1350934592,), (1350934621,), (1350934625,), (1350934629,), (1350934636,), (1350934651,), (1350934689,), (1350934691,), (1350934692,), (1350934693,), (1350934735,), (1350934741,), (1350934745,), (1350934749,), (1350934755,), (1350934799,), (1350934801,), (1350934804,), (1350934864,)) 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`=22168535 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_brun','autre_refus','environnement','mal_croppe','flou','kraft','cartonnette','Teint_Dans_La_Masse','plastique','papier','metal','Carton_gris')) 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`=22168535 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_brun','autre_refus','environnement','mal_croppe','flou','kraft','cartonnette','Teint_Dans_La_Masse','plastique','papier','metal','Carton_gris')) AND mptpi.`min_score`=0.5 To do returned map {'Carton_gris': {'main_port_id': 22168535, 'sub_port_id': 22168548, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14646809, 'last_updated_at': datetime.datetime(2025, 4, 18, 3, 8, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 18, 3, 8, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 18, 3, 8, 59)}, 'kraft': {'main_port_id': 22168535, 'sub_port_id': 22168549, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14646810, 'last_updated_at': datetime.datetime(2025, 4, 18, 3, 8, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 18, 3, 8, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 18, 3, 8, 59)}, 'mal_croppe': {'main_port_id': 22168535, 'sub_port_id': 22168550, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14646811, 'last_updated_at': datetime.datetime(2025, 4, 18, 3, 8, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 18, 3, 8, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 18, 3, 8, 59)}, 'plastique': {'main_port_id': 22168535, 'sub_port_id': 22168551, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14646812, 'last_updated_at': datetime.datetime(2025, 4, 18, 3, 8, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 18, 3, 8, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 18, 3, 8, 59)}, 'cartonnette': {'main_port_id': 22168535, 'sub_port_id': 22168552, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14646813, 'last_updated_at': datetime.datetime(2025, 4, 18, 3, 8, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 18, 3, 8, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 18, 3, 8, 59)}, 'Carton_brun': {'main_port_id': 22168535, 'sub_port_id': 22168553, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14646814, 'last_updated_at': datetime.datetime(2025, 4, 18, 3, 8, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 18, 3, 8, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 18, 3, 8, 59)}, 'autre_refus': {'main_port_id': 22168535, 'sub_port_id': 22168554, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14646815, 'last_updated_at': datetime.datetime(2025, 4, 18, 3, 8, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 18, 3, 8, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 18, 3, 8, 59)}, 'Teint_Dans_La_Masse': {'main_port_id': 22168535, 'sub_port_id': 22168555, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14646816, 'last_updated_at': datetime.datetime(2025, 4, 18, 3, 8, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 18, 3, 8, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 18, 3, 8, 59)}, 'metal': {'main_port_id': 22168535, 'sub_port_id': 22168556, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14646817, 'last_updated_at': datetime.datetime(2025, 4, 18, 3, 8, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 18, 3, 8, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 18, 3, 8, 59)}, 'papier': {'main_port_id': 22168535, 'sub_port_id': 22168557, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14646818, 'last_updated_at': datetime.datetime(2025, 4, 18, 3, 8, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 18, 3, 8, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 18, 3, 8, 59)}, 'environnement': {'main_port_id': 22168535, 'sub_port_id': 22168558, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14646819, 'last_updated_at': datetime.datetime(2025, 4, 18, 3, 8, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 18, 3, 8, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 18, 3, 8, 59)}, 'flou': {'main_port_id': 22168535, 'sub_port_id': 22168559, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14646820, 'last_updated_at': datetime.datetime(2025, 4, 18, 3, 16, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 18, 3, 16, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 18, 3, 8, 59)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22168548,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22168536 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22168549,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22168537 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22168550,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22168538 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22168551,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22168539 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22168552,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22168540 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22168553,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22168541 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22168554,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22168542 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22168555,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22168543 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22168556,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22168544 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22168557,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22168545 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22168558,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22168546 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22168559,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22168547 lien utilise dans velours : https://www.fotonower.com/velours/22168548,22168549,22168550,22168551,22168552,22168553,22168554,22168555,22168556,22168557,22168558,22168559?tags=Carton_gris,kraft,mal_croppe,plastique,cartonnette,Carton_brun,autre_refus,Teint_Dans_La_Masse,metal,papier,environnement,flou After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22168535]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1350934864, 1350934804, 1350934801, 1350934799, 1350934755, 1350934749, 1350934745, 1350934741, 1350934735, 1350934693, 1350934692, 1350934691, 1350934689, 1350934651, 1350934636, 1350934629, 1350934625, 1350934621, 1350934592, 1350934523, 1350934519, 1350934516, 1350934512, 1350934508, 1350934420, 1350934415, 1350934411, 1350934394, 1350934376, 1350934374, 1350934064, 1350934038, 1350934011, 1350933984, 1350933852, 1350933849, 1350933846, 1350931360, 1350931329, 1350931299, 1350931268] map_info['map_portfolio_photo'] : {22168535: [1350934864, 1350934804, 1350934801, 1350934799, 1350934755, 1350934749, 1350934745, 1350934741, 1350934735, 1350934693, 1350934692, 1350934691, 1350934689, 1350934651, 1350934636, 1350934629, 1350934625, 1350934621, 1350934592, 1350934523, 1350934519, 1350934516, 1350934512, 1350934508, 1350934420, 1350934415, 1350934411, 1350934394, 1350934376, 1350934374, 1350934064, 1350934038, 1350934011, 1350933984, 1350933852, 1350933849, 1350933846, 1350931360, 1350931329, 1350931299, 1350931268]} final : False mtd_id 4302 list_pids : [1350934864, 1350934804, 1350934801, 1350934799, 1350934755, 1350934749, 1350934745, 1350934741, 1350934735, 1350934693, 1350934692, 1350934691, 1350934689, 1350934651, 1350934636, 1350934629, 1350934625, 1350934621, 1350934592, 1350934523, 1350934519, 1350934516, 1350934512, 1350934508, 1350934420, 1350934415, 1350934411, 1350934394, 1350934376, 1350934374, 1350934064, 1350934038, 1350934011, 1350933984, 1350933852, 1350933849, 1350933846, 1350931360, 1350931329, 1350931299, 1350931268] Looping around the photos to save general results len do output : 1 /22168535. 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, '2739669') ('4302', '22168535', '1350934864', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934804', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934801', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934799', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934755', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934749', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934745', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934741', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934735', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934693', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934692', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934691', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934689', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934651', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934636', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934629', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934625', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934621', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934592', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934523', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934519', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934516', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934512', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934508', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934420', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934415', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934411', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934394', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934376', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934374', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934064', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934038', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934011', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350933984', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350933852', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350933849', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350933846', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350931360', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350931329', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350931299', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350931268', None, None, None, None, None, '2739669') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 42 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '22168535', "{'Carton_gris': 22168536, 'kraft': 22168537, 'mal_croppe': 22168538, 'plastique': 22168539, 'cartonnette': 22168540, 'Carton_brun': 22168541, 'autre_refus': 22168542, 'Teint_Dans_La_Masse': 22168543, 'metal': 22168544, 'papier': 22168545, 'environnement': 22168546, 'flou': 22168547}", None, None, None, None, '2739669'), ('4302', '22168535', '1350934864', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350934804', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350934801', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350934799', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350934755', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350934749', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350934745', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350934741', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350934735', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350934693', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350934692', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350934691', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350934689', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350934651', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350934636', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350934629', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350934625', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350934621', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350934592', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350934523', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350934519', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350934516', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350934512', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350934508', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350934420', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350934415', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350934411', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350934394', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350934376', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350934374', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350934064', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350934038', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350934011', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350933984', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350933852', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350933849', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350933846', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350931360', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350931329', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350931299', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350931268', None, None, None, None, None, '2739669')] time used for this insertion : 0.02539801597595215 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.4085209369659424 time spend to save output : 0.02582716941833496 total time spend for step 1 : 1.4343481063842773 step2:final Sat Apr 19 05:37:58 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 (22168535) 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 22168535 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1350931360,1350931329,1350931299,1350931268,1350933852,1350933849,1350933846,1350934064,1350934038,1350934011,1350933984,1350934420,1350934415,1350934411,1350934394,1350934376,1350934374,1350934523,1350934519,1350934516,1350934512,1350934508,1350934592,1350934651,1350934636,1350934629,1350934625,1350934621,1350934693,1350934692,1350934691,1350934689,1350934755,1350934749,1350934745,1350934741,1350934735,1350934804,1350934801,1350934799,1350934864); 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([22168535]) Inside saveOutput : final : False verbose : True original output for save of step final : {1350934864: ('0.07061054419730133',), 1350934804: ('0.07061054419730133',), 1350934801: ('0.07061054419730133',), 1350934799: ('0.07061054419730133',), 1350934755: ('0.07061054419730133',), 1350934749: ('0.07061054419730133',), 1350934745: ('0.07061054419730133',), 1350934741: ('0.07061054419730133',), 1350934735: ('0.07061054419730133',), 1350934693: ('0.07061054419730133',), 1350934692: ('0.07061054419730133',), 1350934691: ('0.07061054419730133',), 1350934689: ('0.07061054419730133',), 1350934651: ('0.07061054419730133',), 1350934636: ('0.07061054419730133',), 1350934629: ('0.07061054419730133',), 1350934625: ('0.07061054419730133',), 1350934621: ('0.07061054419730133',), 1350934592: ('0.07061054419730133',), 1350934523: ('0.07061054419730133',), 1350934519: ('0.07061054419730133',), 1350934516: ('0.07061054419730133',), 1350934512: ('0.07061054419730133',), 1350934508: ('0.07061054419730133',), 1350934420: ('0.07061054419730133',), 1350934415: ('0.07061054419730133',), 1350934411: ('0.07061054419730133',), 1350934394: ('0.07061054419730133',), 1350934376: ('0.07061054419730133',), 1350934374: ('0.07061054419730133',), 1350934064: ('0.07061054419730133',), 1350934038: ('0.07061054419730133',), 1350934011: ('0.07061054419730133',), 1350933984: ('0.07061054419730133',), 1350933852: ('0.07061054419730133',), 1350933849: ('0.07061054419730133',), 1350933846: ('0.07061054419730133',), 1350931360: ('0.07061054419730133',), 1350931329: ('0.07061054419730133',), 1350931299: ('0.07061054419730133',), 1350931268: ('0.07061054419730133',)} new output for save of step final : {1350934864: ('0.07061054419730133',), 1350934804: ('0.07061054419730133',), 1350934801: ('0.07061054419730133',), 1350934799: ('0.07061054419730133',), 1350934755: ('0.07061054419730133',), 1350934749: ('0.07061054419730133',), 1350934745: ('0.07061054419730133',), 1350934741: ('0.07061054419730133',), 1350934735: ('0.07061054419730133',), 1350934693: ('0.07061054419730133',), 1350934692: ('0.07061054419730133',), 1350934691: ('0.07061054419730133',), 1350934689: ('0.07061054419730133',), 1350934651: ('0.07061054419730133',), 1350934636: ('0.07061054419730133',), 1350934629: ('0.07061054419730133',), 1350934625: ('0.07061054419730133',), 1350934621: ('0.07061054419730133',), 1350934592: ('0.07061054419730133',), 1350934523: ('0.07061054419730133',), 1350934519: ('0.07061054419730133',), 1350934516: ('0.07061054419730133',), 1350934512: ('0.07061054419730133',), 1350934508: ('0.07061054419730133',), 1350934420: ('0.07061054419730133',), 1350934415: ('0.07061054419730133',), 1350934411: ('0.07061054419730133',), 1350934394: ('0.07061054419730133',), 1350934376: ('0.07061054419730133',), 1350934374: ('0.07061054419730133',), 1350934064: ('0.07061054419730133',), 1350934038: ('0.07061054419730133',), 1350934011: ('0.07061054419730133',), 1350933984: ('0.07061054419730133',), 1350933852: ('0.07061054419730133',), 1350933849: ('0.07061054419730133',), 1350933846: ('0.07061054419730133',), 1350931360: ('0.07061054419730133',), 1350931329: ('0.07061054419730133',), 1350931299: ('0.07061054419730133',), 1350931268: ('0.07061054419730133',)} [1350934864, 1350934804, 1350934801, 1350934799, 1350934755, 1350934749, 1350934745, 1350934741, 1350934735, 1350934693, 1350934692, 1350934691, 1350934689, 1350934651, 1350934636, 1350934629, 1350934625, 1350934621, 1350934592, 1350934523, 1350934519, 1350934516, 1350934512, 1350934508, 1350934420, 1350934415, 1350934411, 1350934394, 1350934376, 1350934374, 1350934064, 1350934038, 1350934011, 1350933984, 1350933852, 1350933849, 1350933846, 1350931360, 1350931329, 1350931299, 1350931268] map_info['map_portfolio_photo'] : {22168535: [1350934864, 1350934804, 1350934801, 1350934799, 1350934755, 1350934749, 1350934745, 1350934741, 1350934735, 1350934693, 1350934692, 1350934691, 1350934689, 1350934651, 1350934636, 1350934629, 1350934625, 1350934621, 1350934592, 1350934523, 1350934519, 1350934516, 1350934512, 1350934508, 1350934420, 1350934415, 1350934411, 1350934394, 1350934376, 1350934374, 1350934064, 1350934038, 1350934011, 1350933984, 1350933852, 1350933849, 1350933846, 1350931360, 1350931329, 1350931299, 1350931268]} final : False mtd_id 4302 list_pids : [1350934864, 1350934804, 1350934801, 1350934799, 1350934755, 1350934749, 1350934745, 1350934741, 1350934735, 1350934693, 1350934692, 1350934691, 1350934689, 1350934651, 1350934636, 1350934629, 1350934625, 1350934621, 1350934592, 1350934523, 1350934519, 1350934516, 1350934512, 1350934508, 1350934420, 1350934415, 1350934411, 1350934394, 1350934376, 1350934374, 1350934064, 1350934038, 1350934011, 1350933984, 1350933852, 1350933849, 1350933846, 1350931360, 1350931329, 1350931299, 1350931268] Looping around the photos to save general results len do output : 41 /1350934864.Didn't retrieve data . /1350934804.Didn't retrieve data . /1350934801.Didn't retrieve data . /1350934799.Didn't retrieve data . /1350934755.Didn't retrieve data . /1350934749.Didn't retrieve data . /1350934745.Didn't retrieve data . /1350934741.Didn't retrieve data . /1350934735.Didn't retrieve data . /1350934693.Didn't retrieve data . /1350934692.Didn't retrieve data . /1350934691.Didn't retrieve data . /1350934689.Didn't retrieve data . /1350934651.Didn't retrieve data . /1350934636.Didn't retrieve data . /1350934629.Didn't retrieve data . /1350934625.Didn't retrieve data . /1350934621.Didn't retrieve data . /1350934592.Didn't retrieve data . /1350934523.Didn't retrieve data . /1350934519.Didn't retrieve data . /1350934516.Didn't retrieve data . /1350934512.Didn't retrieve data . /1350934508.Didn't retrieve data . /1350934420.Didn't retrieve data . /1350934415.Didn't retrieve data . /1350934411.Didn't retrieve data . /1350934394.Didn't retrieve data . /1350934376.Didn't retrieve data . /1350934374.Didn't retrieve data . /1350934064.Didn't retrieve data . /1350934038.Didn't retrieve data . /1350934011.Didn't retrieve data . /1350933984.Didn't retrieve data . /1350933852.Didn't retrieve data . /1350933849.Didn't retrieve data . /1350933846.Didn't retrieve data . /1350931360.Didn't retrieve data . /1350931329.Didn't retrieve data . /1350931299.Didn't retrieve data . /1350931268.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, '2739669') ('4302', '22168535', '1350934864', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934804', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934801', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934799', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934755', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934749', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934745', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934741', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934735', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934693', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934692', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934691', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934689', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934651', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934636', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934629', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934625', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934621', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934592', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934523', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934519', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934516', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934512', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934508', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934420', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934415', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934411', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934394', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934376', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934374', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934064', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934038', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934011', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350933984', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350933852', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350933849', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350933846', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350931360', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350931329', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350931299', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350931268', None, None, None, None, None, '2739669') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 123 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '22168535', '1350934864', '0.07061054419730133', None, None, None, None, '2739669'), ('4302', '22168535', '1350934804', '0.07061054419730133', None, None, None, None, '2739669'), ('4302', '22168535', '1350934801', '0.07061054419730133', None, None, None, None, '2739669'), ('4302', '22168535', '1350934799', '0.07061054419730133', None, None, None, None, '2739669'), ('4302', '22168535', '1350934755', '0.07061054419730133', None, None, None, None, '2739669'), ('4302', '22168535', '1350934749', '0.07061054419730133', None, None, None, None, '2739669'), ('4302', '22168535', '1350934745', '0.07061054419730133', None, None, None, None, '2739669'), ('4302', '22168535', '1350934741', '0.07061054419730133', None, None, None, None, '2739669'), ('4302', '22168535', '1350934735', '0.07061054419730133', None, None, None, None, '2739669'), ('4302', '22168535', '1350934693', '0.07061054419730133', None, None, None, None, '2739669'), ('4302', '22168535', '1350934692', '0.07061054419730133', None, None, None, None, '2739669'), ('4302', '22168535', '1350934691', '0.07061054419730133', None, None, None, None, '2739669'), ('4302', '22168535', '1350934689', '0.07061054419730133', None, None, None, None, '2739669'), ('4302', '22168535', '1350934651', '0.07061054419730133', None, None, None, None, '2739669'), ('4302', '22168535', '1350934636', '0.07061054419730133', None, None, None, None, '2739669'), ('4302', '22168535', '1350934629', '0.07061054419730133', None, None, None, None, '2739669'), ('4302', '22168535', '1350934625', '0.07061054419730133', None, None, None, None, '2739669'), ('4302', '22168535', '1350934621', '0.07061054419730133', None, None, None, None, '2739669'), ('4302', '22168535', '1350934592', '0.07061054419730133', None, None, None, None, '2739669'), ('4302', '22168535', '1350934523', '0.07061054419730133', None, None, None, None, '2739669'), ('4302', '22168535', '1350934519', '0.07061054419730133', None, None, None, None, '2739669'), ('4302', '22168535', '1350934516', '0.07061054419730133', None, None, None, None, '2739669'), ('4302', '22168535', '1350934512', '0.07061054419730133', None, None, None, None, '2739669'), ('4302', '22168535', '1350934508', '0.07061054419730133', None, None, None, None, '2739669'), ('4302', '22168535', '1350934420', '0.07061054419730133', None, None, None, None, '2739669'), ('4302', '22168535', '1350934415', '0.07061054419730133', None, None, None, None, '2739669'), ('4302', '22168535', '1350934411', '0.07061054419730133', None, None, None, None, '2739669'), ('4302', '22168535', '1350934394', '0.07061054419730133', None, None, None, None, '2739669'), ('4302', '22168535', '1350934376', '0.07061054419730133', None, None, None, None, '2739669'), ('4302', '22168535', '1350934374', '0.07061054419730133', None, None, None, None, '2739669'), ('4302', '22168535', '1350934064', '0.07061054419730133', None, None, None, None, '2739669'), ('4302', '22168535', '1350934038', '0.07061054419730133', None, None, None, None, '2739669'), ('4302', '22168535', '1350934011', '0.07061054419730133', None, None, None, None, '2739669'), ('4302', '22168535', '1350933984', '0.07061054419730133', None, None, None, None, '2739669'), ('4302', '22168535', '1350933852', '0.07061054419730133', None, None, None, None, '2739669'), ('4302', '22168535', '1350933849', '0.07061054419730133', None, None, None, None, '2739669'), ('4302', '22168535', '1350933846', '0.07061054419730133', None, None, None, None, '2739669'), ('4302', '22168535', '1350931360', '0.07061054419730133', None, None, None, None, '2739669'), ('4302', '22168535', '1350931329', '0.07061054419730133', None, None, None, None, '2739669'), ('4302', '22168535', '1350931299', '0.07061054419730133', None, None, None, None, '2739669'), ('4302', '22168535', '1350931268', '0.07061054419730133', None, None, None, None, '2739669')] time used for this insertion : 0.024445772171020508 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.07238221168518066 time spend to save output : 0.02607107162475586 total time spend for step 2 : 0.09845328330993652 step3:velours_tree Sat Apr 19 05:37:58 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 : {22168535: [{'Carton_gris': 22168536, 'kraft': 22168537, 'mal_croppe': 22168538, 'plastique': 22168539, 'cartonnette': 22168540, 'Carton_brun': 22168541, 'autre_refus': 22168542, 'Teint_Dans_La_Masse': 22168543, 'metal': 22168544, 'papier': 22168545, 'environnement': 22168546, 'flou': 22168547}]} input_args_next_step : {22168535: ()} output_args : {22168535: [{'Carton_gris': 22168536, 'kraft': 22168537, 'mal_croppe': 22168538, 'plastique': 22168539, 'cartonnette': 22168540, 'Carton_brun': 22168541, 'autre_refus': 22168542, 'Teint_Dans_La_Masse': 22168543, 'metal': 22168544, 'papier': 22168545, 'environnement': 22168546, 'flou': 22168547}]} args : 22168535 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 : ({'Carton_gris': 22168536, 'kraft': 22168537, 'mal_croppe': 22168538, 'plastique': 22168539, 'cartonnette': 22168540, 'Carton_brun': 22168541, 'autre_refus': 22168542, 'Teint_Dans_La_Masse': 22168543, 'metal': 22168544, 'papier': 22168545, 'environnement': 22168546, 'flou': 22168547},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22168535) 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([22168535]) 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.2872741222381592 time spend to save output : 5.435943603515625e-05 total time spend for step 3 : 0.28732848167419434 step4:send_mail_cod Sat Apr 19 05:37: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 : {1350934864: ('0.07061054419730133',), 1350934804: ('0.07061054419730133',), 1350934801: ('0.07061054419730133',), 1350934799: ('0.07061054419730133',), 1350934755: ('0.07061054419730133',), 1350934749: ('0.07061054419730133',), 1350934745: ('0.07061054419730133',), 1350934741: ('0.07061054419730133',), 1350934735: ('0.07061054419730133',), 1350934693: ('0.07061054419730133',), 1350934692: ('0.07061054419730133',), 1350934691: ('0.07061054419730133',), 1350934689: ('0.07061054419730133',), 1350934651: ('0.07061054419730133',), 1350934636: ('0.07061054419730133',), 1350934629: ('0.07061054419730133',), 1350934625: ('0.07061054419730133',), 1350934621: ('0.07061054419730133',), 1350934592: ('0.07061054419730133',), 1350934523: ('0.07061054419730133',), 1350934519: ('0.07061054419730133',), 1350934516: ('0.07061054419730133',), 1350934512: ('0.07061054419730133',), 1350934508: ('0.07061054419730133',), 1350934420: ('0.07061054419730133',), 1350934415: ('0.07061054419730133',), 1350934411: ('0.07061054419730133',), 1350934394: ('0.07061054419730133',), 1350934376: ('0.07061054419730133',), 1350934374: ('0.07061054419730133',), 1350934064: ('0.07061054419730133',), 1350934038: ('0.07061054419730133',), 1350934011: ('0.07061054419730133',), 1350933984: ('0.07061054419730133',), 1350933852: ('0.07061054419730133',), 1350933849: ('0.07061054419730133',), 1350933846: ('0.07061054419730133',), 1350931360: ('0.07061054419730133',), 1350931329: ('0.07061054419730133',), 1350931299: ('0.07061054419730133',), 1350931268: ('0.07061054419730133',)} input_args_next_step : {1350934864: ()} output_args : {1350934864: ('0.07061054419730133',), 1350934804: ('0.07061054419730133',), 1350934801: ('0.07061054419730133',), 1350934799: ('0.07061054419730133',), 1350934755: ('0.07061054419730133',), 1350934749: ('0.07061054419730133',), 1350934745: ('0.07061054419730133',), 1350934741: ('0.07061054419730133',), 1350934735: ('0.07061054419730133',), 1350934693: ('0.07061054419730133',), 1350934692: ('0.07061054419730133',), 1350934691: ('0.07061054419730133',), 1350934689: ('0.07061054419730133',), 1350934651: ('0.07061054419730133',), 1350934636: ('0.07061054419730133',), 1350934629: ('0.07061054419730133',), 1350934625: ('0.07061054419730133',), 1350934621: ('0.07061054419730133',), 1350934592: ('0.07061054419730133',), 1350934523: ('0.07061054419730133',), 1350934519: ('0.07061054419730133',), 1350934516: ('0.07061054419730133',), 1350934512: ('0.07061054419730133',), 1350934508: ('0.07061054419730133',), 1350934420: ('0.07061054419730133',), 1350934415: ('0.07061054419730133',), 1350934411: ('0.07061054419730133',), 1350934394: ('0.07061054419730133',), 1350934376: ('0.07061054419730133',), 1350934374: ('0.07061054419730133',), 1350934064: ('0.07061054419730133',), 1350934038: ('0.07061054419730133',), 1350934011: ('0.07061054419730133',), 1350933984: ('0.07061054419730133',), 1350933852: ('0.07061054419730133',), 1350933849: ('0.07061054419730133',), 1350933846: ('0.07061054419730133',), 1350931360: ('0.07061054419730133',), 1350931329: ('0.07061054419730133',), 1350931299: ('0.07061054419730133',), 1350931268: ('0.07061054419730133',)} args : 1350934864 depend.output_id : 0 input_args_next_step : {1350934864: ('0.07061054419730133',), 1350934804: ()} output_args : {1350934864: ('0.07061054419730133',), 1350934804: ('0.07061054419730133',), 1350934801: ('0.07061054419730133',), 1350934799: ('0.07061054419730133',), 1350934755: ('0.07061054419730133',), 1350934749: ('0.07061054419730133',), 1350934745: ('0.07061054419730133',), 1350934741: ('0.07061054419730133',), 1350934735: ('0.07061054419730133',), 1350934693: ('0.07061054419730133',), 1350934692: ('0.07061054419730133',), 1350934691: ('0.07061054419730133',), 1350934689: ('0.07061054419730133',), 1350934651: ('0.07061054419730133',), 1350934636: ('0.07061054419730133',), 1350934629: ('0.07061054419730133',), 1350934625: ('0.07061054419730133',), 1350934621: ('0.07061054419730133',), 1350934592: ('0.07061054419730133',), 1350934523: ('0.07061054419730133',), 1350934519: ('0.07061054419730133',), 1350934516: ('0.07061054419730133',), 1350934512: ('0.07061054419730133',), 1350934508: ('0.07061054419730133',), 1350934420: ('0.07061054419730133',), 1350934415: ('0.07061054419730133',), 1350934411: ('0.07061054419730133',), 1350934394: ('0.07061054419730133',), 1350934376: ('0.07061054419730133',), 1350934374: ('0.07061054419730133',), 1350934064: ('0.07061054419730133',), 1350934038: ('0.07061054419730133',), 1350934011: ('0.07061054419730133',), 1350933984: ('0.07061054419730133',), 1350933852: ('0.07061054419730133',), 1350933849: ('0.07061054419730133',), 1350933846: ('0.07061054419730133',), 1350931360: ('0.07061054419730133',), 1350931329: ('0.07061054419730133',), 1350931299: ('0.07061054419730133',), 1350931268: ('0.07061054419730133',)} args : 1350934804 depend.output_id : 0 input_args_next_step : {1350934864: ('0.07061054419730133',), 1350934804: ('0.07061054419730133',), 1350934801: ()} output_args : {1350934864: ('0.07061054419730133',), 1350934804: ('0.07061054419730133',), 1350934801: ('0.07061054419730133',), 1350934799: ('0.07061054419730133',), 1350934755: ('0.07061054419730133',), 1350934749: ('0.07061054419730133',), 1350934745: ('0.07061054419730133',), 1350934741: ('0.07061054419730133',), 1350934735: ('0.07061054419730133',), 1350934693: ('0.07061054419730133',), 1350934692: ('0.07061054419730133',), 1350934691: ('0.07061054419730133',), 1350934689: ('0.07061054419730133',), 1350934651: ('0.07061054419730133',), 1350934636: ('0.07061054419730133',), 1350934629: ('0.07061054419730133',), 1350934625: ('0.07061054419730133',), 1350934621: ('0.07061054419730133',), 1350934592: ('0.07061054419730133',), 1350934523: ('0.07061054419730133',), 1350934519: ('0.07061054419730133',), 1350934516: ('0.07061054419730133',), 1350934512: ('0.07061054419730133',), 1350934508: ('0.07061054419730133',), 1350934420: ('0.07061054419730133',), 1350934415: ('0.07061054419730133',), 1350934411: ('0.07061054419730133',), 1350934394: ('0.07061054419730133',), 1350934376: ('0.07061054419730133',), 1350934374: ('0.07061054419730133',), 1350934064: ('0.07061054419730133',), 1350934038: ('0.07061054419730133',), 1350934011: ('0.07061054419730133',), 1350933984: ('0.07061054419730133',), 1350933852: ('0.07061054419730133',), 1350933849: ('0.07061054419730133',), 1350933846: ('0.07061054419730133',), 1350931360: ('0.07061054419730133',), 1350931329: ('0.07061054419730133',), 1350931299: ('0.07061054419730133',), 1350931268: ('0.07061054419730133',)} args : 1350934801 depend.output_id : 0 input_args_next_step : {1350934864: ('0.07061054419730133',), 1350934804: ('0.07061054419730133',), 1350934801: ('0.07061054419730133',), 1350934799: ()} output_args : {1350934864: ('0.07061054419730133',), 1350934804: ('0.07061054419730133',), 1350934801: ('0.07061054419730133',), 1350934799: ('0.07061054419730133',), 1350934755: ('0.07061054419730133',), 1350934749: ('0.07061054419730133',), 1350934745: ('0.07061054419730133',), 1350934741: ('0.07061054419730133',), 1350934735: ('0.07061054419730133',), 1350934693: ('0.07061054419730133',), 1350934692: ('0.07061054419730133',), 1350934691: ('0.07061054419730133',), 1350934689: ('0.07061054419730133',), 1350934651: ('0.07061054419730133',), 1350934636: ('0.07061054419730133',), 1350934629: ('0.07061054419730133',), 1350934625: ('0.07061054419730133',), 1350934621: ('0.07061054419730133',), 1350934592: ('0.07061054419730133',), 1350934523: ('0.07061054419730133',), 1350934519: ('0.07061054419730133',), 1350934516: ('0.07061054419730133',), 1350934512: ('0.07061054419730133',), 1350934508: ('0.07061054419730133',), 1350934420: ('0.07061054419730133',), 1350934415: ('0.07061054419730133',), 1350934411: ('0.07061054419730133',), 1350934394: ('0.07061054419730133',), 1350934376: ('0.07061054419730133',), 1350934374: ('0.07061054419730133',), 1350934064: ('0.07061054419730133',), 1350934038: ('0.07061054419730133',), 1350934011: ('0.07061054419730133',), 1350933984: ('0.07061054419730133',), 1350933852: ('0.07061054419730133',), 1350933849: ('0.07061054419730133',), 1350933846: ('0.07061054419730133',), 1350931360: ('0.07061054419730133',), 1350931329: ('0.07061054419730133',), 1350931299: ('0.07061054419730133',), 1350931268: ('0.07061054419730133',)} args : 1350934799 depend.output_id : 0 input_args_next_step : {1350934864: ('0.07061054419730133',), 1350934804: ('0.07061054419730133',), 1350934801: ('0.07061054419730133',), 1350934799: ('0.07061054419730133',), 1350934755: ()} output_args : {1350934864: ('0.07061054419730133',), 1350934804: ('0.07061054419730133',), 1350934801: ('0.07061054419730133',), 1350934799: ('0.07061054419730133',), 1350934755: ('0.07061054419730133',), 1350934749: ('0.07061054419730133',), 1350934745: ('0.07061054419730133',), 1350934741: ('0.07061054419730133',), 1350934735: ('0.07061054419730133',), 1350934693: ('0.07061054419730133',), 1350934692: ('0.07061054419730133',), 1350934691: ('0.07061054419730133',), 1350934689: ('0.07061054419730133',), 1350934651: ('0.07061054419730133',), 1350934636: ('0.07061054419730133',), 1350934629: ('0.07061054419730133',), 1350934625: ('0.07061054419730133',), 1350934621: ('0.07061054419730133',), 1350934592: ('0.07061054419730133',), 1350934523: ('0.07061054419730133',), 1350934519: ('0.07061054419730133',), 1350934516: ('0.07061054419730133',), 1350934512: ('0.07061054419730133',), 1350934508: ('0.07061054419730133',), 1350934420: ('0.07061054419730133',), 1350934415: ('0.07061054419730133',), 1350934411: ('0.07061054419730133',), 1350934394: ('0.07061054419730133',), 1350934376: ('0.07061054419730133',), 1350934374: ('0.07061054419730133',), 1350934064: ('0.07061054419730133',), 1350934038: ('0.07061054419730133',), 1350934011: ('0.07061054419730133',), 1350933984: ('0.07061054419730133',), 1350933852: ('0.07061054419730133',), 1350933849: ('0.07061054419730133',), 1350933846: ('0.07061054419730133',), 1350931360: ('0.07061054419730133',), 1350931329: ('0.07061054419730133',), 1350931299: ('0.07061054419730133',), 1350931268: ('0.07061054419730133',)} args : 1350934755 depend.output_id : 0 input_args_next_step : {1350934864: ('0.07061054419730133',), 1350934804: ('0.07061054419730133',), 1350934801: ('0.07061054419730133',), 1350934799: ('0.07061054419730133',), 1350934755: ('0.07061054419730133',), 1350934749: ()} output_args : {1350934864: ('0.07061054419730133',), 1350934804: ('0.07061054419730133',), 1350934801: ('0.07061054419730133',), 1350934799: ('0.07061054419730133',), 1350934755: ('0.07061054419730133',), 1350934749: ('0.07061054419730133',), 1350934745: ('0.07061054419730133',), 1350934741: ('0.07061054419730133',), 1350934735: ('0.07061054419730133',), 1350934693: ('0.07061054419730133',), 1350934692: ('0.07061054419730133',), 1350934691: ('0.07061054419730133',), 1350934689: ('0.07061054419730133',), 1350934651: ('0.07061054419730133',), 1350934636: ('0.07061054419730133',), 1350934629: ('0.07061054419730133',), 1350934625: ('0.07061054419730133',), 1350934621: ('0.07061054419730133',), 1350934592: ('0.07061054419730133',), 1350934523: ('0.07061054419730133',), 1350934519: ('0.07061054419730133',), 1350934516: ('0.07061054419730133',), 1350934512: ('0.07061054419730133',), 1350934508: ('0.07061054419730133',), 1350934420: ('0.07061054419730133',), 1350934415: ('0.07061054419730133',), 1350934411: ('0.07061054419730133',), 1350934394: ('0.07061054419730133',), 1350934376: ('0.07061054419730133',), 1350934374: ('0.07061054419730133',), 1350934064: ('0.07061054419730133',), 1350934038: ('0.07061054419730133',), 1350934011: ('0.07061054419730133',), 1350933984: ('0.07061054419730133',), 1350933852: ('0.07061054419730133',), 1350933849: ('0.07061054419730133',), 1350933846: ('0.07061054419730133',), 1350931360: ('0.07061054419730133',), 1350931329: ('0.07061054419730133',), 1350931299: ('0.07061054419730133',), 1350931268: ('0.07061054419730133',)} args : 1350934749 depend.output_id : 0 input_args_next_step : {1350934864: ('0.07061054419730133',), 1350934804: ('0.07061054419730133',), 1350934801: ('0.07061054419730133',), 1350934799: ('0.07061054419730133',), 1350934755: ('0.07061054419730133',), 1350934749: ('0.07061054419730133',), 1350934745: ()} output_args : {1350934864: ('0.07061054419730133',), 1350934804: ('0.07061054419730133',), 1350934801: ('0.07061054419730133',), 1350934799: ('0.07061054419730133',), 1350934755: ('0.07061054419730133',), 1350934749: ('0.07061054419730133',), 1350934745: ('0.07061054419730133',), 1350934741: ('0.07061054419730133',), 1350934735: ('0.07061054419730133',), 1350934693: ('0.07061054419730133',), 1350934692: ('0.07061054419730133',), 1350934691: ('0.07061054419730133',), 1350934689: ('0.07061054419730133',), 1350934651: ('0.07061054419730133',), 1350934636: ('0.07061054419730133',), 1350934629: ('0.07061054419730133',), 1350934625: ('0.07061054419730133',), 1350934621: ('0.07061054419730133',), 1350934592: ('0.07061054419730133',), 1350934523: ('0.07061054419730133',), 1350934519: ('0.07061054419730133',), 1350934516: ('0.07061054419730133',), 1350934512: ('0.07061054419730133',), 1350934508: ('0.07061054419730133',), 1350934420: ('0.07061054419730133',), 1350934415: ('0.07061054419730133',), 1350934411: ('0.07061054419730133',), 1350934394: ('0.07061054419730133',), 1350934376: ('0.07061054419730133',), 1350934374: ('0.07061054419730133',), 1350934064: ('0.07061054419730133',), 1350934038: ('0.07061054419730133',), 1350934011: ('0.07061054419730133',), 1350933984: ('0.07061054419730133',), 1350933852: ('0.07061054419730133',), 1350933849: ('0.07061054419730133',), 1350933846: ('0.07061054419730133',), 1350931360: ('0.07061054419730133',), 1350931329: ('0.07061054419730133',), 1350931299: ('0.07061054419730133',), 1350931268: ('0.07061054419730133',)} args : 1350934745 depend.output_id : 0 input_args_next_step : {1350934864: ('0.07061054419730133',), 1350934804: ('0.07061054419730133',), 1350934801: ('0.07061054419730133',), 1350934799: ('0.07061054419730133',), 1350934755: ('0.07061054419730133',), 1350934749: ('0.07061054419730133',), 1350934745: ('0.07061054419730133',), 1350934741: ()} output_args : {1350934864: ('0.07061054419730133',), 1350934804: ('0.07061054419730133',), 1350934801: ('0.07061054419730133',), 1350934799: ('0.07061054419730133',), 1350934755: ('0.07061054419730133',), 1350934749: ('0.07061054419730133',), 1350934745: ('0.07061054419730133',), 1350934741: ('0.07061054419730133',), 1350934735: ('0.07061054419730133',), 1350934693: ('0.07061054419730133',), 1350934692: ('0.07061054419730133',), 1350934691: ('0.07061054419730133',), 1350934689: ('0.07061054419730133',), 1350934651: ('0.07061054419730133',), 1350934636: ('0.07061054419730133',), 1350934629: ('0.07061054419730133',), 1350934625: ('0.07061054419730133',), 1350934621: ('0.07061054419730133',), 1350934592: ('0.07061054419730133',), 1350934523: ('0.07061054419730133',), 1350934519: ('0.07061054419730133',), 1350934516: ('0.07061054419730133',), 1350934512: ('0.07061054419730133',), 1350934508: ('0.07061054419730133',), 1350934420: ('0.07061054419730133',), 1350934415: ('0.07061054419730133',), 1350934411: ('0.07061054419730133',), 1350934394: ('0.07061054419730133',), 1350934376: ('0.07061054419730133',), 1350934374: ('0.07061054419730133',), 1350934064: ('0.07061054419730133',), 1350934038: ('0.07061054419730133',), 1350934011: ('0.07061054419730133',), 1350933984: ('0.07061054419730133',), 1350933852: ('0.07061054419730133',), 1350933849: ('0.07061054419730133',), 1350933846: ('0.07061054419730133',), 1350931360: ('0.07061054419730133',), 1350931329: ('0.07061054419730133',), 1350931299: ('0.07061054419730133',), 1350931268: ('0.07061054419730133',)} args : 1350934741 depend.output_id : 0 input_args_next_step : {1350934864: ('0.07061054419730133',), 1350934804: ('0.07061054419730133',), 1350934801: ('0.07061054419730133',), 1350934799: ('0.07061054419730133',), 1350934755: ('0.07061054419730133',), 1350934749: ('0.07061054419730133',), 1350934745: ('0.07061054419730133',), 1350934741: ('0.07061054419730133',), 1350934735: ()} output_args : {1350934864: ('0.07061054419730133',), 1350934804: ('0.07061054419730133',), 1350934801: ('0.07061054419730133',), 1350934799: ('0.07061054419730133',), 1350934755: ('0.07061054419730133',), 1350934749: ('0.07061054419730133',), 1350934745: ('0.07061054419730133',), 1350934741: ('0.07061054419730133',), 1350934735: ('0.07061054419730133',), 1350934693: ('0.07061054419730133',), 1350934692: ('0.07061054419730133',), 1350934691: ('0.07061054419730133',), 1350934689: ('0.07061054419730133',), 1350934651: ('0.07061054419730133',), 1350934636: ('0.07061054419730133',), 1350934629: ('0.07061054419730133',), 1350934625: ('0.07061054419730133',), 1350934621: ('0.07061054419730133',), 1350934592: ('0.07061054419730133',), 1350934523: ('0.07061054419730133',), 1350934519: ('0.07061054419730133',), 1350934516: ('0.07061054419730133',), 1350934512: ('0.07061054419730133',), 1350934508: ('0.07061054419730133',), 1350934420: ('0.07061054419730133',), 1350934415: ('0.07061054419730133',), 1350934411: ('0.07061054419730133',), 1350934394: ('0.07061054419730133',), 1350934376: ('0.07061054419730133',), 1350934374: ('0.07061054419730133',), 1350934064: ('0.07061054419730133',), 1350934038: ('0.07061054419730133',), 1350934011: ('0.07061054419730133',), 1350933984: ('0.07061054419730133',), 1350933852: ('0.07061054419730133',), 1350933849: ('0.07061054419730133',), 1350933846: ('0.07061054419730133',), 1350931360: ('0.07061054419730133',), 1350931329: ('0.07061054419730133',), 1350931299: ('0.07061054419730133',), 1350931268: ('0.07061054419730133',)} args : 1350934735 depend.output_id : 0 input_args_next_step : {1350934864: ('0.07061054419730133',), 1350934804: ('0.07061054419730133',), 1350934801: ('0.07061054419730133',), 1350934799: ('0.07061054419730133',), 1350934755: ('0.07061054419730133',), 1350934749: ('0.07061054419730133',), 1350934745: ('0.07061054419730133',), 1350934741: ('0.07061054419730133',), 1350934735: ('0.07061054419730133',), 1350934693: ()} output_args : {1350934864: ('0.07061054419730133',), 1350934804: ('0.07061054419730133',), 1350934801: ('0.07061054419730133',), 1350934799: ('0.07061054419730133',), 1350934755: ('0.07061054419730133',), 1350934749: ('0.07061054419730133',), 1350934745: ('0.07061054419730133',), 1350934741: ('0.07061054419730133',), 1350934735: ('0.07061054419730133',), 1350934693: ('0.07061054419730133',), 1350934692: ('0.07061054419730133',), 1350934691: ('0.07061054419730133',), 1350934689: ('0.07061054419730133',), 1350934651: ('0.07061054419730133',), 1350934636: ('0.07061054419730133',), 1350934629: ('0.07061054419730133',), 1350934625: ('0.07061054419730133',), 1350934621: ('0.07061054419730133',), 1350934592: ('0.07061054419730133',), 1350934523: ('0.07061054419730133',), 1350934519: ('0.07061054419730133',), 1350934516: ('0.07061054419730133',), 1350934512: ('0.07061054419730133',), 1350934508: ('0.07061054419730133',), 1350934420: ('0.07061054419730133',), 1350934415: ('0.07061054419730133',), 1350934411: ('0.07061054419730133',), 1350934394: ('0.07061054419730133',), 1350934376: ('0.07061054419730133',), 1350934374: ('0.07061054419730133',), 1350934064: ('0.07061054419730133',), 1350934038: ('0.07061054419730133',), 1350934011: ('0.07061054419730133',), 1350933984: ('0.07061054419730133',), 1350933852: ('0.07061054419730133',), 1350933849: ('0.07061054419730133',), 1350933846: ('0.07061054419730133',), 1350931360: ('0.07061054419730133',), 1350931329: ('0.07061054419730133',), 1350931299: ('0.07061054419730133',), 1350931268: ('0.07061054419730133',)} args : 1350934693 depend.output_id : 0 input_args_next_step : {1350934864: ('0.07061054419730133',), 1350934804: ('0.07061054419730133',), 1350934801: ('0.07061054419730133',), 1350934799: ('0.07061054419730133',), 1350934755: ('0.07061054419730133',), 1350934749: ('0.07061054419730133',), 1350934745: ('0.07061054419730133',), 1350934741: ('0.07061054419730133',), 1350934735: ('0.07061054419730133',), 1350934693: ('0.07061054419730133',), 1350934692: ()} output_args : {1350934864: ('0.07061054419730133',), 1350934804: ('0.07061054419730133',), 1350934801: ('0.07061054419730133',), 1350934799: ('0.07061054419730133',), 1350934755: ('0.07061054419730133',), 1350934749: ('0.07061054419730133',), 1350934745: ('0.07061054419730133',), 1350934741: ('0.07061054419730133',), 1350934735: ('0.07061054419730133',), 1350934693: ('0.07061054419730133',), 1350934692: ('0.07061054419730133',), 1350934691: ('0.07061054419730133',), 1350934689: ('0.07061054419730133',), 1350934651: ('0.07061054419730133',), 1350934636: ('0.07061054419730133',), 1350934629: ('0.07061054419730133',), 1350934625: ('0.07061054419730133',), 1350934621: ('0.07061054419730133',), 1350934592: ('0.07061054419730133',), 1350934523: ('0.07061054419730133',), 1350934519: ('0.07061054419730133',), 1350934516: ('0.07061054419730133',), 1350934512: ('0.07061054419730133',), 1350934508: ('0.07061054419730133',), 1350934420: ('0.07061054419730133',), 1350934415: ('0.07061054419730133',), 1350934411: ('0.07061054419730133',), 1350934394: ('0.07061054419730133',), 1350934376: ('0.07061054419730133',), 1350934374: ('0.07061054419730133',), 1350934064: ('0.07061054419730133',), 1350934038: ('0.07061054419730133',), 1350934011: ('0.07061054419730133',), 1350933984: ('0.07061054419730133',), 1350933852: ('0.07061054419730133',), 1350933849: ('0.07061054419730133',), 1350933846: ('0.07061054419730133',), 1350931360: ('0.07061054419730133',), 1350931329: ('0.07061054419730133',), 1350931299: ('0.07061054419730133',), 1350931268: ('0.07061054419730133',)} args : 1350934692 depend.output_id : 0 input_args_next_step : {1350934864: ('0.07061054419730133',), 1350934804: ('0.07061054419730133',), 1350934801: ('0.07061054419730133',), 1350934799: ('0.07061054419730133',), 1350934755: ('0.07061054419730133',), 1350934749: ('0.07061054419730133',), 1350934745: ('0.07061054419730133',), 1350934741: ('0.07061054419730133',), 1350934735: ('0.07061054419730133',), 1350934693: ('0.07061054419730133',), 1350934692: ('0.07061054419730133',), 1350934691: ()} output_args : {1350934864: ('0.07061054419730133',), 1350934804: ('0.07061054419730133',), 1350934801: ('0.07061054419730133',), 1350934799: ('0.07061054419730133',), 1350934755: ('0.07061054419730133',), 1350934749: ('0.07061054419730133',), 1350934745: ('0.07061054419730133',), 1350934741: ('0.07061054419730133',), 1350934735: ('0.07061054419730133',), 1350934693: ('0.07061054419730133',), 1350934692: ('0.07061054419730133',), 1350934691: ('0.07061054419730133',), 1350934689: ('0.07061054419730133',), 1350934651: ('0.07061054419730133',), 1350934636: ('0.07061054419730133',), 1350934629: ('0.07061054419730133',), 1350934625: ('0.07061054419730133',), 1350934621: ('0.07061054419730133',), 1350934592: ('0.07061054419730133',), 1350934523: ('0.07061054419730133',), 1350934519: ('0.07061054419730133',), 1350934516: ('0.07061054419730133',), 1350934512: ('0.07061054419730133',), 1350934508: ('0.07061054419730133',), 1350934420: ('0.07061054419730133',), 1350934415: ('0.07061054419730133',), 1350934411: ('0.07061054419730133',), 1350934394: ('0.07061054419730133',), 1350934376: ('0.07061054419730133',), 1350934374: ('0.07061054419730133',), 1350934064: ('0.07061054419730133',), 1350934038: ('0.07061054419730133',), 1350934011: ('0.07061054419730133',), 1350933984: ('0.07061054419730133',), 1350933852: ('0.07061054419730133',), 1350933849: ('0.07061054419730133',), 1350933846: ('0.07061054419730133',), 1350931360: ('0.07061054419730133',), 1350931329: ('0.07061054419730133',), 1350931299: ('0.07061054419730133',), 1350931268: ('0.07061054419730133',)} args : 1350934691 depend.output_id : 0 input_args_next_step : {1350934864: ('0.07061054419730133',), 1350934804: ('0.07061054419730133',), 1350934801: ('0.07061054419730133',), 1350934799: ('0.07061054419730133',), 1350934755: ('0.07061054419730133',), 1350934749: ('0.07061054419730133',), 1350934745: ('0.07061054419730133',), 1350934741: ('0.07061054419730133',), 1350934735: ('0.07061054419730133',), 1350934693: ('0.07061054419730133',), 1350934692: ('0.07061054419730133',), 1350934691: ('0.07061054419730133',), 1350934689: ()} output_args : {1350934864: ('0.07061054419730133',), 1350934804: ('0.07061054419730133',), 1350934801: ('0.07061054419730133',), 1350934799: ('0.07061054419730133',), 1350934755: ('0.07061054419730133',), 1350934749: ('0.07061054419730133',), 1350934745: ('0.07061054419730133',), 1350934741: ('0.07061054419730133',), 1350934735: ('0.07061054419730133',), 1350934693: ('0.07061054419730133',), 1350934692: ('0.07061054419730133',), 1350934691: ('0.07061054419730133',), 1350934689: ('0.07061054419730133',), 1350934651: ('0.07061054419730133',), 1350934636: ('0.07061054419730133',), 1350934629: ('0.07061054419730133',), 1350934625: ('0.07061054419730133',), 1350934621: ('0.07061054419730133',), 1350934592: ('0.07061054419730133',), 1350934523: ('0.07061054419730133',), 1350934519: ('0.07061054419730133',), 1350934516: ('0.07061054419730133',), 1350934512: ('0.07061054419730133',), 1350934508: ('0.07061054419730133',), 1350934420: ('0.07061054419730133',), 1350934415: ('0.07061054419730133',), 1350934411: ('0.07061054419730133',), 1350934394: ('0.07061054419730133',), 1350934376: ('0.07061054419730133',), 1350934374: ('0.07061054419730133',), 1350934064: ('0.07061054419730133',), 1350934038: ('0.07061054419730133',), 1350934011: ('0.07061054419730133',), 1350933984: ('0.07061054419730133',), 1350933852: ('0.07061054419730133',), 1350933849: ('0.07061054419730133',), 1350933846: ('0.07061054419730133',), 1350931360: ('0.07061054419730133',), 1350931329: ('0.07061054419730133',), 1350931299: ('0.07061054419730133',), 1350931268: ('0.07061054419730133',)} args : 1350934689 depend.output_id : 0 input_args_next_step : {1350934864: ('0.07061054419730133',), 1350934804: ('0.07061054419730133',), 1350934801: ('0.07061054419730133',), 1350934799: ('0.07061054419730133',), 1350934755: ('0.07061054419730133',), 1350934749: ('0.07061054419730133',), 1350934745: ('0.07061054419730133',), 1350934741: ('0.07061054419730133',), 1350934735: ('0.07061054419730133',), 1350934693: ('0.07061054419730133',), 1350934692: ('0.07061054419730133',), 1350934691: ('0.07061054419730133',), 1350934689: ('0.07061054419730133',), 1350934651: ()} output_args : {1350934864: ('0.07061054419730133',), 1350934804: ('0.07061054419730133',), 1350934801: ('0.07061054419730133',), 1350934799: ('0.07061054419730133',), 1350934755: ('0.07061054419730133',), 1350934749: ('0.07061054419730133',), 1350934745: ('0.07061054419730133',), 1350934741: ('0.07061054419730133',), 1350934735: ('0.07061054419730133',), 1350934693: ('0.07061054419730133',), 1350934692: ('0.07061054419730133',), 1350934691: ('0.07061054419730133',), 1350934689: ('0.07061054419730133',), 1350934651: ('0.07061054419730133',), 1350934636: ('0.07061054419730133',), 1350934629: ('0.07061054419730133',), 1350934625: ('0.07061054419730133',), 1350934621: ('0.07061054419730133',), 1350934592: ('0.07061054419730133',), 1350934523: ('0.07061054419730133',), 1350934519: ('0.07061054419730133',), 1350934516: ('0.07061054419730133',), 1350934512: ('0.07061054419730133',), 1350934508: ('0.07061054419730133',), 1350934420: ('0.07061054419730133',), 1350934415: ('0.07061054419730133',), 1350934411: ('0.07061054419730133',), 1350934394: ('0.07061054419730133',), 1350934376: ('0.07061054419730133',), 1350934374: ('0.07061054419730133',), 1350934064: ('0.07061054419730133',), 1350934038: ('0.07061054419730133',), 1350934011: ('0.07061054419730133',), 1350933984: ('0.07061054419730133',), 1350933852: ('0.07061054419730133',), 1350933849: ('0.07061054419730133',), 1350933846: ('0.07061054419730133',), 1350931360: ('0.07061054419730133',), 1350931329: ('0.07061054419730133',), 1350931299: ('0.07061054419730133',), 1350931268: ('0.07061054419730133',)} args : 1350934651 depend.output_id : 0 input_args_next_step : {1350934864: ('0.07061054419730133',), 1350934804: ('0.07061054419730133',), 1350934801: ('0.07061054419730133',), 1350934799: ('0.07061054419730133',), 1350934755: ('0.07061054419730133',), 1350934749: ('0.07061054419730133',), 1350934745: ('0.07061054419730133',), 1350934741: ('0.07061054419730133',), 1350934735: ('0.07061054419730133',), 1350934693: ('0.07061054419730133',), 1350934692: ('0.07061054419730133',), 1350934691: ('0.07061054419730133',), 1350934689: ('0.07061054419730133',), 1350934651: ('0.07061054419730133',), 1350934636: ()} output_args : {1350934864: ('0.07061054419730133',), 1350934804: ('0.07061054419730133',), 1350934801: ('0.07061054419730133',), 1350934799: ('0.07061054419730133',), 1350934755: ('0.07061054419730133',), 1350934749: ('0.07061054419730133',), 1350934745: ('0.07061054419730133',), 1350934741: ('0.07061054419730133',), 1350934735: ('0.07061054419730133',), 1350934693: ('0.07061054419730133',), 1350934692: ('0.07061054419730133',), 1350934691: ('0.07061054419730133',), 1350934689: ('0.07061054419730133',), 1350934651: ('0.07061054419730133',), 1350934636: ('0.07061054419730133',), 1350934629: ('0.07061054419730133',), 1350934625: ('0.07061054419730133',), 1350934621: ('0.07061054419730133',), 1350934592: ('0.07061054419730133',), 1350934523: ('0.07061054419730133',), 1350934519: ('0.07061054419730133',), 1350934516: ('0.07061054419730133',), 1350934512: ('0.07061054419730133',), 1350934508: ('0.07061054419730133',), 1350934420: ('0.07061054419730133',), 1350934415: ('0.07061054419730133',), 1350934411: ('0.07061054419730133',), 1350934394: ('0.07061054419730133',), 1350934376: ('0.07061054419730133',), 1350934374: ('0.07061054419730133',), 1350934064: ('0.07061054419730133',), 1350934038: ('0.07061054419730133',), 1350934011: ('0.07061054419730133',), 1350933984: ('0.07061054419730133',), 1350933852: ('0.07061054419730133',), 1350933849: ('0.07061054419730133',), 1350933846: ('0.07061054419730133',), 1350931360: ('0.07061054419730133',), 1350931329: ('0.07061054419730133',), 1350931299: ('0.07061054419730133',), 1350931268: ('0.07061054419730133',)} args : 1350934636 depend.output_id : 0 input_args_next_step : {1350934864: ('0.07061054419730133',), 1350934804: ('0.07061054419730133',), 1350934801: ('0.07061054419730133',), 1350934799: ('0.07061054419730133',), 1350934755: ('0.07061054419730133',), 1350934749: ('0.07061054419730133',), 1350934745: ('0.07061054419730133',), 1350934741: ('0.07061054419730133',), 1350934735: ('0.07061054419730133',), 1350934693: ('0.07061054419730133',), 1350934692: ('0.07061054419730133',), 1350934691: ('0.07061054419730133',), 1350934689: ('0.07061054419730133',), 1350934651: ('0.07061054419730133',), 1350934636: ('0.07061054419730133',), 1350934629: ()} output_args : {1350934864: ('0.07061054419730133',), 1350934804: ('0.07061054419730133',), 1350934801: ('0.07061054419730133',), 1350934799: ('0.07061054419730133',), 1350934755: ('0.07061054419730133',), 1350934749: ('0.07061054419730133',), 1350934745: ('0.07061054419730133',), 1350934741: ('0.07061054419730133',), 1350934735: ('0.07061054419730133',), 1350934693: ('0.07061054419730133',), 1350934692: ('0.07061054419730133',), 1350934691: ('0.07061054419730133',), 1350934689: ('0.07061054419730133',), 1350934651: ('0.07061054419730133',), 1350934636: ('0.07061054419730133',), 1350934629: ('0.07061054419730133',), 1350934625: ('0.07061054419730133',), 1350934621: ('0.07061054419730133',), 1350934592: ('0.07061054419730133',), 1350934523: ('0.07061054419730133',), 1350934519: ('0.07061054419730133',), 1350934516: ('0.07061054419730133',), 1350934512: ('0.07061054419730133',), 1350934508: ('0.07061054419730133',), 1350934420: ('0.07061054419730133',), 1350934415: ('0.07061054419730133',), 1350934411: ('0.07061054419730133',), 1350934394: ('0.07061054419730133',), 1350934376: ('0.07061054419730133',), 1350934374: ('0.07061054419730133',), 1350934064: ('0.07061054419730133',), 1350934038: ('0.07061054419730133',), 1350934011: ('0.07061054419730133',), 1350933984: ('0.07061054419730133',), 1350933852: ('0.07061054419730133',), 1350933849: ('0.07061054419730133',), 1350933846: ('0.07061054419730133',), 1350931360: ('0.07061054419730133',), 1350931329: ('0.07061054419730133',), 1350931299: ('0.07061054419730133',), 1350931268: ('0.07061054419730133',)} args : 1350934629 depend.output_id : 0 input_args_next_step : {1350934864: ('0.07061054419730133',), 1350934804: ('0.07061054419730133',), 1350934801: ('0.07061054419730133',), 1350934799: ('0.07061054419730133',), 1350934755: ('0.07061054419730133',), 1350934749: ('0.07061054419730133',), 1350934745: ('0.07061054419730133',), 1350934741: ('0.07061054419730133',), 1350934735: ('0.07061054419730133',), 1350934693: ('0.07061054419730133',), 1350934692: ('0.07061054419730133',), 1350934691: ('0.07061054419730133',), 1350934689: ('0.07061054419730133',), 1350934651: ('0.07061054419730133',), 1350934636: ('0.07061054419730133',), 1350934629: ('0.07061054419730133',), 1350934625: ()} output_args : {1350934864: ('0.07061054419730133',), 1350934804: ('0.07061054419730133',), 1350934801: ('0.07061054419730133',), 1350934799: ('0.07061054419730133',), 1350934755: ('0.07061054419730133',), 1350934749: ('0.07061054419730133',), 1350934745: ('0.07061054419730133',), 1350934741: ('0.07061054419730133',), 1350934735: ('0.07061054419730133',), 1350934693: ('0.07061054419730133',), 1350934692: ('0.07061054419730133',), 1350934691: ('0.07061054419730133',), 1350934689: ('0.07061054419730133',), 1350934651: ('0.07061054419730133',), 1350934636: ('0.07061054419730133',), 1350934629: ('0.07061054419730133',), 1350934625: ('0.07061054419730133',), 1350934621: ('0.07061054419730133',), 1350934592: ('0.07061054419730133',), 1350934523: ('0.07061054419730133',), 1350934519: ('0.07061054419730133',), 1350934516: ('0.07061054419730133',), 1350934512: ('0.07061054419730133',), 1350934508: ('0.07061054419730133',), 1350934420: ('0.07061054419730133',), 1350934415: ('0.07061054419730133',), 1350934411: ('0.07061054419730133',), 1350934394: ('0.07061054419730133',), 1350934376: ('0.07061054419730133',), 1350934374: ('0.07061054419730133',), 1350934064: ('0.07061054419730133',), 1350934038: ('0.07061054419730133',), 1350934011: ('0.07061054419730133',), 1350933984: ('0.07061054419730133',), 1350933852: ('0.07061054419730133',), 1350933849: ('0.07061054419730133',), 1350933846: ('0.07061054419730133',), 1350931360: ('0.07061054419730133',), 1350931329: ('0.07061054419730133',), 1350931299: ('0.07061054419730133',), 1350931268: ('0.07061054419730133',)} args : 1350934625 depend.output_id : 0 input_args_next_step : {1350934864: ('0.07061054419730133',), 1350934804: ('0.07061054419730133',), 1350934801: ('0.07061054419730133',), 1350934799: ('0.07061054419730133',), 1350934755: ('0.07061054419730133',), 1350934749: ('0.07061054419730133',), 1350934745: ('0.07061054419730133',), 1350934741: ('0.07061054419730133',), 1350934735: ('0.07061054419730133',), 1350934693: ('0.07061054419730133',), 1350934692: ('0.07061054419730133',), 1350934691: ('0.07061054419730133',), 1350934689: ('0.07061054419730133',), 1350934651: ('0.07061054419730133',), 1350934636: ('0.07061054419730133',), 1350934629: ('0.07061054419730133',), 1350934625: ('0.07061054419730133',), 1350934621: ()} output_args : {1350934864: ('0.07061054419730133',), 1350934804: ('0.07061054419730133',), 1350934801: ('0.07061054419730133',), 1350934799: ('0.07061054419730133',), 1350934755: ('0.07061054419730133',), 1350934749: ('0.07061054419730133',), 1350934745: ('0.07061054419730133',), 1350934741: ('0.07061054419730133',), 1350934735: ('0.07061054419730133',), 1350934693: ('0.07061054419730133',), 1350934692: ('0.07061054419730133',), 1350934691: ('0.07061054419730133',), 1350934689: ('0.07061054419730133',), 1350934651: ('0.07061054419730133',), 1350934636: ('0.07061054419730133',), 1350934629: ('0.07061054419730133',), 1350934625: ('0.07061054419730133',), 1350934621: ('0.07061054419730133',), 1350934592: ('0.07061054419730133',), 1350934523: ('0.07061054419730133',), 1350934519: ('0.07061054419730133',), 1350934516: ('0.07061054419730133',), 1350934512: ('0.07061054419730133',), 1350934508: ('0.07061054419730133',), 1350934420: ('0.07061054419730133',), 1350934415: ('0.07061054419730133',), 1350934411: ('0.07061054419730133',), 1350934394: ('0.07061054419730133',), 1350934376: ('0.07061054419730133',), 1350934374: ('0.07061054419730133',), 1350934064: ('0.07061054419730133',), 1350934038: ('0.07061054419730133',), 1350934011: ('0.07061054419730133',), 1350933984: ('0.07061054419730133',), 1350933852: ('0.07061054419730133',), 1350933849: ('0.07061054419730133',), 1350933846: ('0.07061054419730133',), 1350931360: ('0.07061054419730133',), 1350931329: ('0.07061054419730133',), 1350931299: ('0.07061054419730133',), 1350931268: ('0.07061054419730133',)} args : 1350934621 depend.output_id : 0 input_args_next_step : {1350934864: ('0.07061054419730133',), 1350934804: ('0.07061054419730133',), 1350934801: ('0.07061054419730133',), 1350934799: ('0.07061054419730133',), 1350934755: ('0.07061054419730133',), 1350934749: ('0.07061054419730133',), 1350934745: ('0.07061054419730133',), 1350934741: ('0.07061054419730133',), 1350934735: ('0.07061054419730133',), 1350934693: ('0.07061054419730133',), 1350934692: ('0.07061054419730133',), 1350934691: ('0.07061054419730133',), 1350934689: ('0.07061054419730133',), 1350934651: ('0.07061054419730133',), 1350934636: ('0.07061054419730133',), 1350934629: ('0.07061054419730133',), 1350934625: ('0.07061054419730133',), 1350934621: ('0.07061054419730133',), 1350934592: ()} output_args : {1350934864: ('0.07061054419730133',), 1350934804: ('0.07061054419730133',), 1350934801: ('0.07061054419730133',), 1350934799: ('0.07061054419730133',), 1350934755: ('0.07061054419730133',), 1350934749: ('0.07061054419730133',), 1350934745: ('0.07061054419730133',), 1350934741: ('0.07061054419730133',), 1350934735: ('0.07061054419730133',), 1350934693: ('0.07061054419730133',), 1350934692: ('0.07061054419730133',), 1350934691: ('0.07061054419730133',), 1350934689: ('0.07061054419730133',), 1350934651: ('0.07061054419730133',), 1350934636: ('0.07061054419730133',), 1350934629: ('0.07061054419730133',), 1350934625: ('0.07061054419730133',), 1350934621: ('0.07061054419730133',), 1350934592: ('0.07061054419730133',), 1350934523: ('0.07061054419730133',), 1350934519: ('0.07061054419730133',), 1350934516: ('0.07061054419730133',), 1350934512: ('0.07061054419730133',), 1350934508: ('0.07061054419730133',), 1350934420: ('0.07061054419730133',), 1350934415: ('0.07061054419730133',), 1350934411: ('0.07061054419730133',), 1350934394: ('0.07061054419730133',), 1350934376: ('0.07061054419730133',), 1350934374: ('0.07061054419730133',), 1350934064: ('0.07061054419730133',), 1350934038: ('0.07061054419730133',), 1350934011: ('0.07061054419730133',), 1350933984: ('0.07061054419730133',), 1350933852: ('0.07061054419730133',), 1350933849: ('0.07061054419730133',), 1350933846: ('0.07061054419730133',), 1350931360: ('0.07061054419730133',), 1350931329: ('0.07061054419730133',), 1350931299: ('0.07061054419730133',), 1350931268: ('0.07061054419730133',)} args : 1350934592 depend.output_id : 0 input_args_next_step : {1350934864: ('0.07061054419730133',), 1350934804: ('0.07061054419730133',), 1350934801: ('0.07061054419730133',), 1350934799: ('0.07061054419730133',), 1350934755: ('0.07061054419730133',), 1350934749: ('0.07061054419730133',), 1350934745: ('0.07061054419730133',), 1350934741: ('0.07061054419730133',), 1350934735: ('0.07061054419730133',), 1350934693: ('0.07061054419730133',), 1350934692: ('0.07061054419730133',), 1350934691: ('0.07061054419730133',), 1350934689: ('0.07061054419730133',), 1350934651: ('0.07061054419730133',), 1350934636: ('0.07061054419730133',), 1350934629: ('0.07061054419730133',), 1350934625: ('0.07061054419730133',), 1350934621: ('0.07061054419730133',), 1350934592: ('0.07061054419730133',), 1350934523: ()} output_args : {1350934864: ('0.07061054419730133',), 1350934804: ('0.07061054419730133',), 1350934801: ('0.07061054419730133',), 1350934799: ('0.07061054419730133',), 1350934755: ('0.07061054419730133',), 1350934749: ('0.07061054419730133',), 1350934745: ('0.07061054419730133',), 1350934741: ('0.07061054419730133',), 1350934735: ('0.07061054419730133',), 1350934693: ('0.07061054419730133',), 1350934692: ('0.07061054419730133',), 1350934691: ('0.07061054419730133',), 1350934689: ('0.07061054419730133',), 1350934651: ('0.07061054419730133',), 1350934636: ('0.07061054419730133',), 1350934629: ('0.07061054419730133',), 1350934625: ('0.07061054419730133',), 1350934621: ('0.07061054419730133',), 1350934592: ('0.07061054419730133',), 1350934523: ('0.07061054419730133',), 1350934519: ('0.07061054419730133',), 1350934516: ('0.07061054419730133',), 1350934512: ('0.07061054419730133',), 1350934508: ('0.07061054419730133',), 1350934420: ('0.07061054419730133',), 1350934415: ('0.07061054419730133',), 1350934411: ('0.07061054419730133',), 1350934394: ('0.07061054419730133',), 1350934376: ('0.07061054419730133',), 1350934374: ('0.07061054419730133',), 1350934064: ('0.07061054419730133',), 1350934038: ('0.07061054419730133',), 1350934011: ('0.07061054419730133',), 1350933984: ('0.07061054419730133',), 1350933852: ('0.07061054419730133',), 1350933849: ('0.07061054419730133',), 1350933846: ('0.07061054419730133',), 1350931360: ('0.07061054419730133',), 1350931329: ('0.07061054419730133',), 1350931299: ('0.07061054419730133',), 1350931268: ('0.07061054419730133',)} args : 1350934523 depend.output_id : 0 input_args_next_step : {1350934864: ('0.07061054419730133',), 1350934804: ('0.07061054419730133',), 1350934801: ('0.07061054419730133',), 1350934799: ('0.07061054419730133',), 1350934755: ('0.07061054419730133',), 1350934749: ('0.07061054419730133',), 1350934745: ('0.07061054419730133',), 1350934741: ('0.07061054419730133',), 1350934735: ('0.07061054419730133',), 1350934693: ('0.07061054419730133',), 1350934692: ('0.07061054419730133',), 1350934691: ('0.07061054419730133',), 1350934689: ('0.07061054419730133',), 1350934651: ('0.07061054419730133',), 1350934636: ('0.07061054419730133',), 1350934629: ('0.07061054419730133',), 1350934625: ('0.07061054419730133',), 1350934621: ('0.07061054419730133',), 1350934592: ('0.07061054419730133',), 1350934523: ('0.07061054419730133',), 1350934519: ()} output_args : {1350934864: ('0.07061054419730133',), 1350934804: ('0.07061054419730133',), 1350934801: ('0.07061054419730133',), 1350934799: ('0.07061054419730133',), 1350934755: ('0.07061054419730133',), 1350934749: ('0.07061054419730133',), 1350934745: ('0.07061054419730133',), 1350934741: ('0.07061054419730133',), 1350934735: ('0.07061054419730133',), 1350934693: ('0.07061054419730133',), 1350934692: ('0.07061054419730133',), 1350934691: ('0.07061054419730133',), 1350934689: ('0.07061054419730133',), 1350934651: ('0.07061054419730133',), 1350934636: ('0.07061054419730133',), 1350934629: ('0.07061054419730133',), 1350934625: ('0.07061054419730133',), 1350934621: ('0.07061054419730133',), 1350934592: ('0.07061054419730133',), 1350934523: ('0.07061054419730133',), 1350934519: ('0.07061054419730133',), 1350934516: ('0.07061054419730133',), 1350934512: ('0.07061054419730133',), 1350934508: ('0.07061054419730133',), 1350934420: ('0.07061054419730133',), 1350934415: ('0.07061054419730133',), 1350934411: ('0.07061054419730133',), 1350934394: ('0.07061054419730133',), 1350934376: ('0.07061054419730133',), 1350934374: ('0.07061054419730133',), 1350934064: ('0.07061054419730133',), 1350934038: ('0.07061054419730133',), 1350934011: ('0.07061054419730133',), 1350933984: ('0.07061054419730133',), 1350933852: ('0.07061054419730133',), 1350933849: ('0.07061054419730133',), 1350933846: ('0.07061054419730133',), 1350931360: ('0.07061054419730133',), 1350931329: ('0.07061054419730133',), 1350931299: ('0.07061054419730133',), 1350931268: ('0.07061054419730133',)} args : 1350934519 depend.output_id : 0 input_args_next_step : {1350934864: ('0.07061054419730133',), 1350934804: ('0.07061054419730133',), 1350934801: ('0.07061054419730133',), 1350934799: ('0.07061054419730133',), 1350934755: ('0.07061054419730133',), 1350934749: ('0.07061054419730133',), 1350934745: ('0.07061054419730133',), 1350934741: ('0.07061054419730133',), 1350934735: ('0.07061054419730133',), 1350934693: ('0.07061054419730133',), 1350934692: ('0.07061054419730133',), 1350934691: ('0.07061054419730133',), 1350934689: ('0.07061054419730133',), 1350934651: ('0.07061054419730133',), 1350934636: ('0.07061054419730133',), 1350934629: ('0.07061054419730133',), 1350934625: ('0.07061054419730133',), 1350934621: ('0.07061054419730133',), 1350934592: ('0.07061054419730133',), 1350934523: ('0.07061054419730133',), 1350934519: ('0.07061054419730133',), 1350934516: ()} output_args : {1350934864: ('0.07061054419730133',), 1350934804: ('0.07061054419730133',), 1350934801: ('0.07061054419730133',), 1350934799: ('0.07061054419730133',), 1350934755: ('0.07061054419730133',), 1350934749: ('0.07061054419730133',), 1350934745: ('0.07061054419730133',), 1350934741: ('0.07061054419730133',), 1350934735: ('0.07061054419730133',), 1350934693: ('0.07061054419730133',), 1350934692: ('0.07061054419730133',), 1350934691: ('0.07061054419730133',), 1350934689: ('0.07061054419730133',), 1350934651: ('0.07061054419730133',), 1350934636: ('0.07061054419730133',), 1350934629: ('0.07061054419730133',), 1350934625: ('0.07061054419730133',), 1350934621: ('0.07061054419730133',), 1350934592: ('0.07061054419730133',), 1350934523: ('0.07061054419730133',), 1350934519: ('0.07061054419730133',), 1350934516: ('0.07061054419730133',), 1350934512: ('0.07061054419730133',), 1350934508: ('0.07061054419730133',), 1350934420: ('0.07061054419730133',), 1350934415: ('0.07061054419730133',), 1350934411: ('0.07061054419730133',), 1350934394: ('0.07061054419730133',), 1350934376: ('0.07061054419730133',), 1350934374: ('0.07061054419730133',), 1350934064: ('0.07061054419730133',), 1350934038: ('0.07061054419730133',), 1350934011: ('0.07061054419730133',), 1350933984: ('0.07061054419730133',), 1350933852: ('0.07061054419730133',), 1350933849: ('0.07061054419730133',), 1350933846: ('0.07061054419730133',), 1350931360: ('0.07061054419730133',), 1350931329: ('0.07061054419730133',), 1350931299: ('0.07061054419730133',), 1350931268: ('0.07061054419730133',)} args : 1350934516 depend.output_id : 0 input_args_next_step : {1350934864: ('0.07061054419730133',), 1350934804: ('0.07061054419730133',), 1350934801: ('0.07061054419730133',), 1350934799: ('0.07061054419730133',), 1350934755: ('0.07061054419730133',), 1350934749: ('0.07061054419730133',), 1350934745: ('0.07061054419730133',), 1350934741: ('0.07061054419730133',), 1350934735: ('0.07061054419730133',), 1350934693: ('0.07061054419730133',), 1350934692: ('0.07061054419730133',), 1350934691: ('0.07061054419730133',), 1350934689: ('0.07061054419730133',), 1350934651: ('0.07061054419730133',), 1350934636: ('0.07061054419730133',), 1350934629: ('0.07061054419730133',), 1350934625: ('0.07061054419730133',), 1350934621: ('0.07061054419730133',), 1350934592: ('0.07061054419730133',), 1350934523: ('0.07061054419730133',), 1350934519: ('0.07061054419730133',), 1350934516: ('0.07061054419730133',), 1350934512: ()} output_args : {1350934864: ('0.07061054419730133',), 1350934804: ('0.07061054419730133',), 1350934801: ('0.07061054419730133',), 1350934799: ('0.07061054419730133',), 1350934755: ('0.07061054419730133',), 1350934749: ('0.07061054419730133',), 1350934745: ('0.07061054419730133',), 1350934741: ('0.07061054419730133',), 1350934735: ('0.07061054419730133',), 1350934693: ('0.07061054419730133',), 1350934692: ('0.07061054419730133',), 1350934691: ('0.07061054419730133',), 1350934689: ('0.07061054419730133',), 1350934651: ('0.07061054419730133',), 1350934636: ('0.07061054419730133',), 1350934629: ('0.07061054419730133',), 1350934625: ('0.07061054419730133',), 1350934621: ('0.07061054419730133',), 1350934592: ('0.07061054419730133',), 1350934523: ('0.07061054419730133',), 1350934519: ('0.07061054419730133',), 1350934516: ('0.07061054419730133',), 1350934512: ('0.07061054419730133',), 1350934508: ('0.07061054419730133',), 1350934420: ('0.07061054419730133',), 1350934415: ('0.07061054419730133',), 1350934411: ('0.07061054419730133',), 1350934394: ('0.07061054419730133',), 1350934376: ('0.07061054419730133',), 1350934374: ('0.07061054419730133',), 1350934064: ('0.07061054419730133',), 1350934038: ('0.07061054419730133',), 1350934011: ('0.07061054419730133',), 1350933984: ('0.07061054419730133',), 1350933852: ('0.07061054419730133',), 1350933849: ('0.07061054419730133',), 1350933846: ('0.07061054419730133',), 1350931360: ('0.07061054419730133',), 1350931329: ('0.07061054419730133',), 1350931299: ('0.07061054419730133',), 1350931268: ('0.07061054419730133',)} args : 1350934512 depend.output_id : 0 input_args_next_step : {1350934864: ('0.07061054419730133',), 1350934804: ('0.07061054419730133',), 1350934801: ('0.07061054419730133',), 1350934799: ('0.07061054419730133',), 1350934755: ('0.07061054419730133',), 1350934749: ('0.07061054419730133',), 1350934745: ('0.07061054419730133',), 1350934741: ('0.07061054419730133',), 1350934735: ('0.07061054419730133',), 1350934693: ('0.07061054419730133',), 1350934692: ('0.07061054419730133',), 1350934691: ('0.07061054419730133',), 1350934689: ('0.07061054419730133',), 1350934651: ('0.07061054419730133',), 1350934636: ('0.07061054419730133',), 1350934629: ('0.07061054419730133',), 1350934625: ('0.07061054419730133',), 1350934621: ('0.07061054419730133',), 1350934592: ('0.07061054419730133',), 1350934523: ('0.07061054419730133',), 1350934519: ('0.07061054419730133',), 1350934516: ('0.07061054419730133',), 1350934512: ('0.07061054419730133',), 1350934508: ()} output_args : {1350934864: ('0.07061054419730133',), 1350934804: ('0.07061054419730133',), 1350934801: ('0.07061054419730133',), 1350934799: ('0.07061054419730133',), 1350934755: ('0.07061054419730133',), 1350934749: ('0.07061054419730133',), 1350934745: ('0.07061054419730133',), 1350934741: ('0.07061054419730133',), 1350934735: ('0.07061054419730133',), 1350934693: ('0.07061054419730133',), 1350934692: ('0.07061054419730133',), 1350934691: ('0.07061054419730133',), 1350934689: ('0.07061054419730133',), 1350934651: ('0.07061054419730133',), 1350934636: ('0.07061054419730133',), 1350934629: ('0.07061054419730133',), 1350934625: ('0.07061054419730133',), 1350934621: ('0.07061054419730133',), 1350934592: ('0.07061054419730133',), 1350934523: ('0.07061054419730133',), 1350934519: ('0.07061054419730133',), 1350934516: ('0.07061054419730133',), 1350934512: ('0.07061054419730133',), 1350934508: ('0.07061054419730133',), 1350934420: ('0.07061054419730133',), 1350934415: ('0.07061054419730133',), 1350934411: ('0.07061054419730133',), 1350934394: ('0.07061054419730133',), 1350934376: ('0.07061054419730133',), 1350934374: ('0.07061054419730133',), 1350934064: ('0.07061054419730133',), 1350934038: ('0.07061054419730133',), 1350934011: ('0.07061054419730133',), 1350933984: ('0.07061054419730133',), 1350933852: ('0.07061054419730133',), 1350933849: ('0.07061054419730133',), 1350933846: ('0.07061054419730133',), 1350931360: ('0.07061054419730133',), 1350931329: ('0.07061054419730133',), 1350931299: ('0.07061054419730133',), 1350931268: ('0.07061054419730133',)} args : 1350934508 depend.output_id : 0 input_args_next_step : {1350934864: ('0.07061054419730133',), 1350934804: ('0.07061054419730133',), 1350934801: ('0.07061054419730133',), 1350934799: ('0.07061054419730133',), 1350934755: ('0.07061054419730133',), 1350934749: ('0.07061054419730133',), 1350934745: ('0.07061054419730133',), 1350934741: ('0.07061054419730133',), 1350934735: ('0.07061054419730133',), 1350934693: ('0.07061054419730133',), 1350934692: ('0.07061054419730133',), 1350934691: ('0.07061054419730133',), 1350934689: ('0.07061054419730133',), 1350934651: ('0.07061054419730133',), 1350934636: ('0.07061054419730133',), 1350934629: ('0.07061054419730133',), 1350934625: ('0.07061054419730133',), 1350934621: ('0.07061054419730133',), 1350934592: ('0.07061054419730133',), 1350934523: ('0.07061054419730133',), 1350934519: ('0.07061054419730133',), 1350934516: ('0.07061054419730133',), 1350934512: ('0.07061054419730133',), 1350934508: ('0.07061054419730133',), 1350934420: ()} output_args : {1350934864: ('0.07061054419730133',), 1350934804: ('0.07061054419730133',), 1350934801: ('0.07061054419730133',), 1350934799: ('0.07061054419730133',), 1350934755: ('0.07061054419730133',), 1350934749: ('0.07061054419730133',), 1350934745: ('0.07061054419730133',), 1350934741: ('0.07061054419730133',), 1350934735: ('0.07061054419730133',), 1350934693: ('0.07061054419730133',), 1350934692: ('0.07061054419730133',), 1350934691: ('0.07061054419730133',), 1350934689: ('0.07061054419730133',), 1350934651: ('0.07061054419730133',), 1350934636: ('0.07061054419730133',), 1350934629: ('0.07061054419730133',), 1350934625: ('0.07061054419730133',), 1350934621: ('0.07061054419730133',), 1350934592: ('0.07061054419730133',), 1350934523: ('0.07061054419730133',), 1350934519: ('0.07061054419730133',), 1350934516: ('0.07061054419730133',), 1350934512: ('0.07061054419730133',), 1350934508: ('0.07061054419730133',), 1350934420: ('0.07061054419730133',), 1350934415: ('0.07061054419730133',), 1350934411: ('0.07061054419730133',), 1350934394: ('0.07061054419730133',), 1350934376: ('0.07061054419730133',), 1350934374: ('0.07061054419730133',), 1350934064: ('0.07061054419730133',), 1350934038: ('0.07061054419730133',), 1350934011: ('0.07061054419730133',), 1350933984: ('0.07061054419730133',), 1350933852: ('0.07061054419730133',), 1350933849: ('0.07061054419730133',), 1350933846: ('0.07061054419730133',), 1350931360: ('0.07061054419730133',), 1350931329: ('0.07061054419730133',), 1350931299: ('0.07061054419730133',), 1350931268: ('0.07061054419730133',)} args : 1350934420 depend.output_id : 0 input_args_next_step : {1350934864: ('0.07061054419730133',), 1350934804: ('0.07061054419730133',), 1350934801: ('0.07061054419730133',), 1350934799: ('0.07061054419730133',), 1350934755: ('0.07061054419730133',), 1350934749: ('0.07061054419730133',), 1350934745: ('0.07061054419730133',), 1350934741: ('0.07061054419730133',), 1350934735: ('0.07061054419730133',), 1350934693: ('0.07061054419730133',), 1350934692: ('0.07061054419730133',), 1350934691: ('0.07061054419730133',), 1350934689: ('0.07061054419730133',), 1350934651: ('0.07061054419730133',), 1350934636: ('0.07061054419730133',), 1350934629: ('0.07061054419730133',), 1350934625: ('0.07061054419730133',), 1350934621: ('0.07061054419730133',), 1350934592: ('0.07061054419730133',), 1350934523: ('0.07061054419730133',), 1350934519: ('0.07061054419730133',), 1350934516: ('0.07061054419730133',), 1350934512: ('0.07061054419730133',), 1350934508: ('0.07061054419730133',), 1350934420: ('0.07061054419730133',), 1350934415: ()} output_args : {1350934864: ('0.07061054419730133',), 1350934804: ('0.07061054419730133',), 1350934801: ('0.07061054419730133',), 1350934799: ('0.07061054419730133',), 1350934755: ('0.07061054419730133',), 1350934749: ('0.07061054419730133',), 1350934745: ('0.07061054419730133',), 1350934741: ('0.07061054419730133',), 1350934735: ('0.07061054419730133',), 1350934693: ('0.07061054419730133',), 1350934692: ('0.07061054419730133',), 1350934691: ('0.07061054419730133',), 1350934689: ('0.07061054419730133',), 1350934651: ('0.07061054419730133',), 1350934636: ('0.07061054419730133',), 1350934629: ('0.07061054419730133',), 1350934625: ('0.07061054419730133',), 1350934621: ('0.07061054419730133',), 1350934592: ('0.07061054419730133',), 1350934523: ('0.07061054419730133',), 1350934519: ('0.07061054419730133',), 1350934516: ('0.07061054419730133',), 1350934512: ('0.07061054419730133',), 1350934508: ('0.07061054419730133',), 1350934420: ('0.07061054419730133',), 1350934415: ('0.07061054419730133',), 1350934411: ('0.07061054419730133',), 1350934394: ('0.07061054419730133',), 1350934376: ('0.07061054419730133',), 1350934374: ('0.07061054419730133',), 1350934064: ('0.07061054419730133',), 1350934038: ('0.07061054419730133',), 1350934011: ('0.07061054419730133',), 1350933984: ('0.07061054419730133',), 1350933852: ('0.07061054419730133',), 1350933849: ('0.07061054419730133',), 1350933846: ('0.07061054419730133',), 1350931360: ('0.07061054419730133',), 1350931329: ('0.07061054419730133',), 1350931299: ('0.07061054419730133',), 1350931268: ('0.07061054419730133',)} args : 1350934415 depend.output_id : 0 input_args_next_step : {1350934864: ('0.07061054419730133',), 1350934804: ('0.07061054419730133',), 1350934801: ('0.07061054419730133',), 1350934799: ('0.07061054419730133',), 1350934755: ('0.07061054419730133',), 1350934749: ('0.07061054419730133',), 1350934745: ('0.07061054419730133',), 1350934741: ('0.07061054419730133',), 1350934735: ('0.07061054419730133',), 1350934693: ('0.07061054419730133',), 1350934692: ('0.07061054419730133',), 1350934691: ('0.07061054419730133',), 1350934689: ('0.07061054419730133',), 1350934651: ('0.07061054419730133',), 1350934636: ('0.07061054419730133',), 1350934629: ('0.07061054419730133',), 1350934625: ('0.07061054419730133',), 1350934621: ('0.07061054419730133',), 1350934592: ('0.07061054419730133',), 1350934523: ('0.07061054419730133',), 1350934519: ('0.07061054419730133',), 1350934516: ('0.07061054419730133',), 1350934512: ('0.07061054419730133',), 1350934508: ('0.07061054419730133',), 1350934420: ('0.07061054419730133',), 1350934415: ('0.07061054419730133',), 1350934411: ()} output_args : {1350934864: ('0.07061054419730133',), 1350934804: ('0.07061054419730133',), 1350934801: ('0.07061054419730133',), 1350934799: ('0.07061054419730133',), 1350934755: ('0.07061054419730133',), 1350934749: ('0.07061054419730133',), 1350934745: ('0.07061054419730133',), 1350934741: ('0.07061054419730133',), 1350934735: ('0.07061054419730133',), 1350934693: ('0.07061054419730133',), 1350934692: ('0.07061054419730133',), 1350934691: ('0.07061054419730133',), 1350934689: ('0.07061054419730133',), 1350934651: ('0.07061054419730133',), 1350934636: ('0.07061054419730133',), 1350934629: ('0.07061054419730133',), 1350934625: ('0.07061054419730133',), 1350934621: ('0.07061054419730133',), 1350934592: ('0.07061054419730133',), 1350934523: ('0.07061054419730133',), 1350934519: ('0.07061054419730133',), 1350934516: ('0.07061054419730133',), 1350934512: ('0.07061054419730133',), 1350934508: ('0.07061054419730133',), 1350934420: ('0.07061054419730133',), 1350934415: ('0.07061054419730133',), 1350934411: ('0.07061054419730133',), 1350934394: ('0.07061054419730133',), 1350934376: ('0.07061054419730133',), 1350934374: ('0.07061054419730133',), 1350934064: ('0.07061054419730133',), 1350934038: ('0.07061054419730133',), 1350934011: ('0.07061054419730133',), 1350933984: ('0.07061054419730133',), 1350933852: ('0.07061054419730133',), 1350933849: ('0.07061054419730133',), 1350933846: ('0.07061054419730133',), 1350931360: ('0.07061054419730133',), 1350931329: ('0.07061054419730133',), 1350931299: ('0.07061054419730133',), 1350931268: ('0.07061054419730133',)} args : 1350934411 depend.output_id : 0 input_args_next_step : {1350934864: ('0.07061054419730133',), 1350934804: ('0.07061054419730133',), 1350934801: ('0.07061054419730133',), 1350934799: ('0.07061054419730133',), 1350934755: ('0.07061054419730133',), 1350934749: ('0.07061054419730133',), 1350934745: ('0.07061054419730133',), 1350934741: ('0.07061054419730133',), 1350934735: ('0.07061054419730133',), 1350934693: ('0.07061054419730133',), 1350934692: ('0.07061054419730133',), 1350934691: ('0.07061054419730133',), 1350934689: ('0.07061054419730133',), 1350934651: ('0.07061054419730133',), 1350934636: ('0.07061054419730133',), 1350934629: ('0.07061054419730133',), 1350934625: ('0.07061054419730133',), 1350934621: ('0.07061054419730133',), 1350934592: ('0.07061054419730133',), 1350934523: ('0.07061054419730133',), 1350934519: ('0.07061054419730133',), 1350934516: ('0.07061054419730133',), 1350934512: ('0.07061054419730133',), 1350934508: ('0.07061054419730133',), 1350934420: ('0.07061054419730133',), 1350934415: ('0.07061054419730133',), 1350934411: ('0.07061054419730133',), 1350934394: ()} output_args : {1350934864: ('0.07061054419730133',), 1350934804: ('0.07061054419730133',), 1350934801: ('0.07061054419730133',), 1350934799: ('0.07061054419730133',), 1350934755: ('0.07061054419730133',), 1350934749: ('0.07061054419730133',), 1350934745: ('0.07061054419730133',), 1350934741: ('0.07061054419730133',), 1350934735: ('0.07061054419730133',), 1350934693: ('0.07061054419730133',), 1350934692: ('0.07061054419730133',), 1350934691: ('0.07061054419730133',), 1350934689: ('0.07061054419730133',), 1350934651: ('0.07061054419730133',), 1350934636: ('0.07061054419730133',), 1350934629: ('0.07061054419730133',), 1350934625: ('0.07061054419730133',), 1350934621: ('0.07061054419730133',), 1350934592: ('0.07061054419730133',), 1350934523: ('0.07061054419730133',), 1350934519: ('0.07061054419730133',), 1350934516: ('0.07061054419730133',), 1350934512: ('0.07061054419730133',), 1350934508: ('0.07061054419730133',), 1350934420: ('0.07061054419730133',), 1350934415: ('0.07061054419730133',), 1350934411: ('0.07061054419730133',), 1350934394: ('0.07061054419730133',), 1350934376: ('0.07061054419730133',), 1350934374: ('0.07061054419730133',), 1350934064: ('0.07061054419730133',), 1350934038: ('0.07061054419730133',), 1350934011: ('0.07061054419730133',), 1350933984: ('0.07061054419730133',), 1350933852: ('0.07061054419730133',), 1350933849: ('0.07061054419730133',), 1350933846: ('0.07061054419730133',), 1350931360: ('0.07061054419730133',), 1350931329: ('0.07061054419730133',), 1350931299: ('0.07061054419730133',), 1350931268: ('0.07061054419730133',)} args : 1350934394 depend.output_id : 0 input_args_next_step : {1350934864: ('0.07061054419730133',), 1350934804: ('0.07061054419730133',), 1350934801: ('0.07061054419730133',), 1350934799: ('0.07061054419730133',), 1350934755: ('0.07061054419730133',), 1350934749: ('0.07061054419730133',), 1350934745: ('0.07061054419730133',), 1350934741: ('0.07061054419730133',), 1350934735: ('0.07061054419730133',), 1350934693: ('0.07061054419730133',), 1350934692: ('0.07061054419730133',), 1350934691: ('0.07061054419730133',), 1350934689: ('0.07061054419730133',), 1350934651: ('0.07061054419730133',), 1350934636: ('0.07061054419730133',), 1350934629: ('0.07061054419730133',), 1350934625: ('0.07061054419730133',), 1350934621: ('0.07061054419730133',), 1350934592: ('0.07061054419730133',), 1350934523: ('0.07061054419730133',), 1350934519: ('0.07061054419730133',), 1350934516: ('0.07061054419730133',), 1350934512: ('0.07061054419730133',), 1350934508: ('0.07061054419730133',), 1350934420: ('0.07061054419730133',), 1350934415: ('0.07061054419730133',), 1350934411: ('0.07061054419730133',), 1350934394: ('0.07061054419730133',), 1350934376: ()} output_args : {1350934864: ('0.07061054419730133',), 1350934804: ('0.07061054419730133',), 1350934801: ('0.07061054419730133',), 1350934799: ('0.07061054419730133',), 1350934755: ('0.07061054419730133',), 1350934749: ('0.07061054419730133',), 1350934745: ('0.07061054419730133',), 1350934741: ('0.07061054419730133',), 1350934735: ('0.07061054419730133',), 1350934693: ('0.07061054419730133',), 1350934692: ('0.07061054419730133',), 1350934691: ('0.07061054419730133',), 1350934689: ('0.07061054419730133',), 1350934651: ('0.07061054419730133',), 1350934636: ('0.07061054419730133',), 1350934629: ('0.07061054419730133',), 1350934625: ('0.07061054419730133',), 1350934621: ('0.07061054419730133',), 1350934592: ('0.07061054419730133',), 1350934523: ('0.07061054419730133',), 1350934519: ('0.07061054419730133',), 1350934516: ('0.07061054419730133',), 1350934512: ('0.07061054419730133',), 1350934508: ('0.07061054419730133',), 1350934420: ('0.07061054419730133',), 1350934415: ('0.07061054419730133',), 1350934411: ('0.07061054419730133',), 1350934394: ('0.07061054419730133',), 1350934376: ('0.07061054419730133',), 1350934374: ('0.07061054419730133',), 1350934064: ('0.07061054419730133',), 1350934038: ('0.07061054419730133',), 1350934011: ('0.07061054419730133',), 1350933984: ('0.07061054419730133',), 1350933852: ('0.07061054419730133',), 1350933849: ('0.07061054419730133',), 1350933846: ('0.07061054419730133',), 1350931360: ('0.07061054419730133',), 1350931329: ('0.07061054419730133',), 1350931299: ('0.07061054419730133',), 1350931268: ('0.07061054419730133',)} args : 1350934376 depend.output_id : 0 input_args_next_step : {1350934864: ('0.07061054419730133',), 1350934804: ('0.07061054419730133',), 1350934801: ('0.07061054419730133',), 1350934799: ('0.07061054419730133',), 1350934755: ('0.07061054419730133',), 1350934749: ('0.07061054419730133',), 1350934745: ('0.07061054419730133',), 1350934741: ('0.07061054419730133',), 1350934735: ('0.07061054419730133',), 1350934693: ('0.07061054419730133',), 1350934692: ('0.07061054419730133',), 1350934691: ('0.07061054419730133',), 1350934689: ('0.07061054419730133',), 1350934651: ('0.07061054419730133',), 1350934636: ('0.07061054419730133',), 1350934629: ('0.07061054419730133',), 1350934625: ('0.07061054419730133',), 1350934621: ('0.07061054419730133',), 1350934592: ('0.07061054419730133',), 1350934523: ('0.07061054419730133',), 1350934519: ('0.07061054419730133',), 1350934516: ('0.07061054419730133',), 1350934512: ('0.07061054419730133',), 1350934508: ('0.07061054419730133',), 1350934420: ('0.07061054419730133',), 1350934415: ('0.07061054419730133',), 1350934411: ('0.07061054419730133',), 1350934394: ('0.07061054419730133',), 1350934376: ('0.07061054419730133',), 1350934374: ()} output_args : {1350934864: ('0.07061054419730133',), 1350934804: ('0.07061054419730133',), 1350934801: ('0.07061054419730133',), 1350934799: ('0.07061054419730133',), 1350934755: ('0.07061054419730133',), 1350934749: ('0.07061054419730133',), 1350934745: ('0.07061054419730133',), 1350934741: ('0.07061054419730133',), 1350934735: ('0.07061054419730133',), 1350934693: ('0.07061054419730133',), 1350934692: ('0.07061054419730133',), 1350934691: ('0.07061054419730133',), 1350934689: ('0.07061054419730133',), 1350934651: ('0.07061054419730133',), 1350934636: ('0.07061054419730133',), 1350934629: ('0.07061054419730133',), 1350934625: ('0.07061054419730133',), 1350934621: ('0.07061054419730133',), 1350934592: ('0.07061054419730133',), 1350934523: ('0.07061054419730133',), 1350934519: ('0.07061054419730133',), 1350934516: ('0.07061054419730133',), 1350934512: ('0.07061054419730133',), 1350934508: ('0.07061054419730133',), 1350934420: ('0.07061054419730133',), 1350934415: ('0.07061054419730133',), 1350934411: ('0.07061054419730133',), 1350934394: ('0.07061054419730133',), 1350934376: ('0.07061054419730133',), 1350934374: ('0.07061054419730133',), 1350934064: ('0.07061054419730133',), 1350934038: ('0.07061054419730133',), 1350934011: ('0.07061054419730133',), 1350933984: ('0.07061054419730133',), 1350933852: ('0.07061054419730133',), 1350933849: ('0.07061054419730133',), 1350933846: ('0.07061054419730133',), 1350931360: ('0.07061054419730133',), 1350931329: ('0.07061054419730133',), 1350931299: ('0.07061054419730133',), 1350931268: ('0.07061054419730133',)} args : 1350934374 depend.output_id : 0 input_args_next_step : {1350934864: ('0.07061054419730133',), 1350934804: ('0.07061054419730133',), 1350934801: ('0.07061054419730133',), 1350934799: ('0.07061054419730133',), 1350934755: ('0.07061054419730133',), 1350934749: ('0.07061054419730133',), 1350934745: ('0.07061054419730133',), 1350934741: ('0.07061054419730133',), 1350934735: ('0.07061054419730133',), 1350934693: ('0.07061054419730133',), 1350934692: ('0.07061054419730133',), 1350934691: ('0.07061054419730133',), 1350934689: ('0.07061054419730133',), 1350934651: ('0.07061054419730133',), 1350934636: ('0.07061054419730133',), 1350934629: ('0.07061054419730133',), 1350934625: ('0.07061054419730133',), 1350934621: ('0.07061054419730133',), 1350934592: ('0.07061054419730133',), 1350934523: ('0.07061054419730133',), 1350934519: ('0.07061054419730133',), 1350934516: ('0.07061054419730133',), 1350934512: ('0.07061054419730133',), 1350934508: ('0.07061054419730133',), 1350934420: ('0.07061054419730133',), 1350934415: ('0.07061054419730133',), 1350934411: ('0.07061054419730133',), 1350934394: ('0.07061054419730133',), 1350934376: ('0.07061054419730133',), 1350934374: ('0.07061054419730133',), 1350934064: ()} output_args : {1350934864: ('0.07061054419730133',), 1350934804: ('0.07061054419730133',), 1350934801: ('0.07061054419730133',), 1350934799: ('0.07061054419730133',), 1350934755: ('0.07061054419730133',), 1350934749: ('0.07061054419730133',), 1350934745: ('0.07061054419730133',), 1350934741: ('0.07061054419730133',), 1350934735: ('0.07061054419730133',), 1350934693: ('0.07061054419730133',), 1350934692: ('0.07061054419730133',), 1350934691: ('0.07061054419730133',), 1350934689: ('0.07061054419730133',), 1350934651: ('0.07061054419730133',), 1350934636: ('0.07061054419730133',), 1350934629: ('0.07061054419730133',), 1350934625: ('0.07061054419730133',), 1350934621: ('0.07061054419730133',), 1350934592: ('0.07061054419730133',), 1350934523: ('0.07061054419730133',), 1350934519: ('0.07061054419730133',), 1350934516: ('0.07061054419730133',), 1350934512: ('0.07061054419730133',), 1350934508: ('0.07061054419730133',), 1350934420: ('0.07061054419730133',), 1350934415: ('0.07061054419730133',), 1350934411: ('0.07061054419730133',), 1350934394: ('0.07061054419730133',), 1350934376: ('0.07061054419730133',), 1350934374: ('0.07061054419730133',), 1350934064: ('0.07061054419730133',), 1350934038: ('0.07061054419730133',), 1350934011: ('0.07061054419730133',), 1350933984: ('0.07061054419730133',), 1350933852: ('0.07061054419730133',), 1350933849: ('0.07061054419730133',), 1350933846: ('0.07061054419730133',), 1350931360: ('0.07061054419730133',), 1350931329: ('0.07061054419730133',), 1350931299: ('0.07061054419730133',), 1350931268: ('0.07061054419730133',)} args : 1350934064 depend.output_id : 0 input_args_next_step : {1350934864: ('0.07061054419730133',), 1350934804: ('0.07061054419730133',), 1350934801: ('0.07061054419730133',), 1350934799: ('0.07061054419730133',), 1350934755: ('0.07061054419730133',), 1350934749: ('0.07061054419730133',), 1350934745: ('0.07061054419730133',), 1350934741: ('0.07061054419730133',), 1350934735: ('0.07061054419730133',), 1350934693: ('0.07061054419730133',), 1350934692: ('0.07061054419730133',), 1350934691: ('0.07061054419730133',), 1350934689: ('0.07061054419730133',), 1350934651: ('0.07061054419730133',), 1350934636: ('0.07061054419730133',), 1350934629: ('0.07061054419730133',), 1350934625: ('0.07061054419730133',), 1350934621: ('0.07061054419730133',), 1350934592: ('0.07061054419730133',), 1350934523: ('0.07061054419730133',), 1350934519: ('0.07061054419730133',), 1350934516: ('0.07061054419730133',), 1350934512: ('0.07061054419730133',), 1350934508: ('0.07061054419730133',), 1350934420: ('0.07061054419730133',), 1350934415: ('0.07061054419730133',), 1350934411: ('0.07061054419730133',), 1350934394: ('0.07061054419730133',), 1350934376: ('0.07061054419730133',), 1350934374: ('0.07061054419730133',), 1350934064: ('0.07061054419730133',), 1350934038: ()} output_args : {1350934864: ('0.07061054419730133',), 1350934804: ('0.07061054419730133',), 1350934801: ('0.07061054419730133',), 1350934799: ('0.07061054419730133',), 1350934755: ('0.07061054419730133',), 1350934749: ('0.07061054419730133',), 1350934745: ('0.07061054419730133',), 1350934741: ('0.07061054419730133',), 1350934735: ('0.07061054419730133',), 1350934693: ('0.07061054419730133',), 1350934692: ('0.07061054419730133',), 1350934691: ('0.07061054419730133',), 1350934689: ('0.07061054419730133',), 1350934651: ('0.07061054419730133',), 1350934636: ('0.07061054419730133',), 1350934629: ('0.07061054419730133',), 1350934625: ('0.07061054419730133',), 1350934621: ('0.07061054419730133',), 1350934592: ('0.07061054419730133',), 1350934523: ('0.07061054419730133',), 1350934519: ('0.07061054419730133',), 1350934516: ('0.07061054419730133',), 1350934512: ('0.07061054419730133',), 1350934508: ('0.07061054419730133',), 1350934420: ('0.07061054419730133',), 1350934415: ('0.07061054419730133',), 1350934411: ('0.07061054419730133',), 1350934394: ('0.07061054419730133',), 1350934376: ('0.07061054419730133',), 1350934374: ('0.07061054419730133',), 1350934064: ('0.07061054419730133',), 1350934038: ('0.07061054419730133',), 1350934011: ('0.07061054419730133',), 1350933984: ('0.07061054419730133',), 1350933852: ('0.07061054419730133',), 1350933849: ('0.07061054419730133',), 1350933846: ('0.07061054419730133',), 1350931360: ('0.07061054419730133',), 1350931329: ('0.07061054419730133',), 1350931299: ('0.07061054419730133',), 1350931268: ('0.07061054419730133',)} args : 1350934038 depend.output_id : 0 input_args_next_step : {1350934864: ('0.07061054419730133',), 1350934804: ('0.07061054419730133',), 1350934801: ('0.07061054419730133',), 1350934799: ('0.07061054419730133',), 1350934755: ('0.07061054419730133',), 1350934749: ('0.07061054419730133',), 1350934745: ('0.07061054419730133',), 1350934741: ('0.07061054419730133',), 1350934735: ('0.07061054419730133',), 1350934693: ('0.07061054419730133',), 1350934692: ('0.07061054419730133',), 1350934691: ('0.07061054419730133',), 1350934689: ('0.07061054419730133',), 1350934651: ('0.07061054419730133',), 1350934636: ('0.07061054419730133',), 1350934629: ('0.07061054419730133',), 1350934625: ('0.07061054419730133',), 1350934621: ('0.07061054419730133',), 1350934592: ('0.07061054419730133',), 1350934523: ('0.07061054419730133',), 1350934519: ('0.07061054419730133',), 1350934516: ('0.07061054419730133',), 1350934512: ('0.07061054419730133',), 1350934508: ('0.07061054419730133',), 1350934420: ('0.07061054419730133',), 1350934415: ('0.07061054419730133',), 1350934411: ('0.07061054419730133',), 1350934394: ('0.07061054419730133',), 1350934376: ('0.07061054419730133',), 1350934374: ('0.07061054419730133',), 1350934064: ('0.07061054419730133',), 1350934038: ('0.07061054419730133',), 1350934011: ()} output_args : {1350934864: ('0.07061054419730133',), 1350934804: ('0.07061054419730133',), 1350934801: ('0.07061054419730133',), 1350934799: ('0.07061054419730133',), 1350934755: ('0.07061054419730133',), 1350934749: ('0.07061054419730133',), 1350934745: ('0.07061054419730133',), 1350934741: ('0.07061054419730133',), 1350934735: ('0.07061054419730133',), 1350934693: ('0.07061054419730133',), 1350934692: ('0.07061054419730133',), 1350934691: ('0.07061054419730133',), 1350934689: ('0.07061054419730133',), 1350934651: ('0.07061054419730133',), 1350934636: ('0.07061054419730133',), 1350934629: ('0.07061054419730133',), 1350934625: ('0.07061054419730133',), 1350934621: ('0.07061054419730133',), 1350934592: ('0.07061054419730133',), 1350934523: ('0.07061054419730133',), 1350934519: ('0.07061054419730133',), 1350934516: ('0.07061054419730133',), 1350934512: ('0.07061054419730133',), 1350934508: ('0.07061054419730133',), 1350934420: ('0.07061054419730133',), 1350934415: ('0.07061054419730133',), 1350934411: ('0.07061054419730133',), 1350934394: ('0.07061054419730133',), 1350934376: ('0.07061054419730133',), 1350934374: ('0.07061054419730133',), 1350934064: ('0.07061054419730133',), 1350934038: ('0.07061054419730133',), 1350934011: ('0.07061054419730133',), 1350933984: ('0.07061054419730133',), 1350933852: ('0.07061054419730133',), 1350933849: ('0.07061054419730133',), 1350933846: ('0.07061054419730133',), 1350931360: ('0.07061054419730133',), 1350931329: ('0.07061054419730133',), 1350931299: ('0.07061054419730133',), 1350931268: ('0.07061054419730133',)} args : 1350934011 depend.output_id : 0 input_args_next_step : {1350934864: ('0.07061054419730133',), 1350934804: ('0.07061054419730133',), 1350934801: ('0.07061054419730133',), 1350934799: ('0.07061054419730133',), 1350934755: ('0.07061054419730133',), 1350934749: ('0.07061054419730133',), 1350934745: ('0.07061054419730133',), 1350934741: ('0.07061054419730133',), 1350934735: ('0.07061054419730133',), 1350934693: ('0.07061054419730133',), 1350934692: ('0.07061054419730133',), 1350934691: ('0.07061054419730133',), 1350934689: ('0.07061054419730133',), 1350934651: ('0.07061054419730133',), 1350934636: ('0.07061054419730133',), 1350934629: ('0.07061054419730133',), 1350934625: ('0.07061054419730133',), 1350934621: ('0.07061054419730133',), 1350934592: ('0.07061054419730133',), 1350934523: ('0.07061054419730133',), 1350934519: ('0.07061054419730133',), 1350934516: ('0.07061054419730133',), 1350934512: ('0.07061054419730133',), 1350934508: ('0.07061054419730133',), 1350934420: ('0.07061054419730133',), 1350934415: ('0.07061054419730133',), 1350934411: ('0.07061054419730133',), 1350934394: ('0.07061054419730133',), 1350934376: ('0.07061054419730133',), 1350934374: ('0.07061054419730133',), 1350934064: ('0.07061054419730133',), 1350934038: ('0.07061054419730133',), 1350934011: ('0.07061054419730133',), 1350933984: ()} output_args : {1350934864: ('0.07061054419730133',), 1350934804: ('0.07061054419730133',), 1350934801: ('0.07061054419730133',), 1350934799: ('0.07061054419730133',), 1350934755: ('0.07061054419730133',), 1350934749: ('0.07061054419730133',), 1350934745: ('0.07061054419730133',), 1350934741: ('0.07061054419730133',), 1350934735: ('0.07061054419730133',), 1350934693: ('0.07061054419730133',), 1350934692: ('0.07061054419730133',), 1350934691: ('0.07061054419730133',), 1350934689: ('0.07061054419730133',), 1350934651: ('0.07061054419730133',), 1350934636: ('0.07061054419730133',), 1350934629: ('0.07061054419730133',), 1350934625: ('0.07061054419730133',), 1350934621: ('0.07061054419730133',), 1350934592: ('0.07061054419730133',), 1350934523: ('0.07061054419730133',), 1350934519: ('0.07061054419730133',), 1350934516: ('0.07061054419730133',), 1350934512: ('0.07061054419730133',), 1350934508: ('0.07061054419730133',), 1350934420: ('0.07061054419730133',), 1350934415: ('0.07061054419730133',), 1350934411: ('0.07061054419730133',), 1350934394: ('0.07061054419730133',), 1350934376: ('0.07061054419730133',), 1350934374: ('0.07061054419730133',), 1350934064: ('0.07061054419730133',), 1350934038: ('0.07061054419730133',), 1350934011: ('0.07061054419730133',), 1350933984: ('0.07061054419730133',), 1350933852: ('0.07061054419730133',), 1350933849: ('0.07061054419730133',), 1350933846: ('0.07061054419730133',), 1350931360: ('0.07061054419730133',), 1350931329: ('0.07061054419730133',), 1350931299: ('0.07061054419730133',), 1350931268: ('0.07061054419730133',)} args : 1350933984 depend.output_id : 0 input_args_next_step : {1350934864: ('0.07061054419730133',), 1350934804: ('0.07061054419730133',), 1350934801: ('0.07061054419730133',), 1350934799: ('0.07061054419730133',), 1350934755: ('0.07061054419730133',), 1350934749: ('0.07061054419730133',), 1350934745: ('0.07061054419730133',), 1350934741: ('0.07061054419730133',), 1350934735: ('0.07061054419730133',), 1350934693: ('0.07061054419730133',), 1350934692: ('0.07061054419730133',), 1350934691: ('0.07061054419730133',), 1350934689: ('0.07061054419730133',), 1350934651: ('0.07061054419730133',), 1350934636: ('0.07061054419730133',), 1350934629: ('0.07061054419730133',), 1350934625: ('0.07061054419730133',), 1350934621: ('0.07061054419730133',), 1350934592: ('0.07061054419730133',), 1350934523: ('0.07061054419730133',), 1350934519: ('0.07061054419730133',), 1350934516: ('0.07061054419730133',), 1350934512: ('0.07061054419730133',), 1350934508: ('0.07061054419730133',), 1350934420: ('0.07061054419730133',), 1350934415: ('0.07061054419730133',), 1350934411: ('0.07061054419730133',), 1350934394: ('0.07061054419730133',), 1350934376: ('0.07061054419730133',), 1350934374: ('0.07061054419730133',), 1350934064: ('0.07061054419730133',), 1350934038: ('0.07061054419730133',), 1350934011: ('0.07061054419730133',), 1350933984: ('0.07061054419730133',), 1350933852: ()} output_args : {1350934864: ('0.07061054419730133',), 1350934804: ('0.07061054419730133',), 1350934801: ('0.07061054419730133',), 1350934799: ('0.07061054419730133',), 1350934755: ('0.07061054419730133',), 1350934749: ('0.07061054419730133',), 1350934745: ('0.07061054419730133',), 1350934741: ('0.07061054419730133',), 1350934735: ('0.07061054419730133',), 1350934693: ('0.07061054419730133',), 1350934692: ('0.07061054419730133',), 1350934691: ('0.07061054419730133',), 1350934689: ('0.07061054419730133',), 1350934651: ('0.07061054419730133',), 1350934636: ('0.07061054419730133',), 1350934629: ('0.07061054419730133',), 1350934625: ('0.07061054419730133',), 1350934621: ('0.07061054419730133',), 1350934592: ('0.07061054419730133',), 1350934523: ('0.07061054419730133',), 1350934519: ('0.07061054419730133',), 1350934516: ('0.07061054419730133',), 1350934512: ('0.07061054419730133',), 1350934508: ('0.07061054419730133',), 1350934420: ('0.07061054419730133',), 1350934415: ('0.07061054419730133',), 1350934411: ('0.07061054419730133',), 1350934394: ('0.07061054419730133',), 1350934376: ('0.07061054419730133',), 1350934374: ('0.07061054419730133',), 1350934064: ('0.07061054419730133',), 1350934038: ('0.07061054419730133',), 1350934011: ('0.07061054419730133',), 1350933984: ('0.07061054419730133',), 1350933852: ('0.07061054419730133',), 1350933849: ('0.07061054419730133',), 1350933846: ('0.07061054419730133',), 1350931360: ('0.07061054419730133',), 1350931329: ('0.07061054419730133',), 1350931299: ('0.07061054419730133',), 1350931268: ('0.07061054419730133',)} args : 1350933852 depend.output_id : 0 input_args_next_step : {1350934864: ('0.07061054419730133',), 1350934804: ('0.07061054419730133',), 1350934801: ('0.07061054419730133',), 1350934799: ('0.07061054419730133',), 1350934755: ('0.07061054419730133',), 1350934749: ('0.07061054419730133',), 1350934745: ('0.07061054419730133',), 1350934741: ('0.07061054419730133',), 1350934735: ('0.07061054419730133',), 1350934693: ('0.07061054419730133',), 1350934692: ('0.07061054419730133',), 1350934691: ('0.07061054419730133',), 1350934689: ('0.07061054419730133',), 1350934651: ('0.07061054419730133',), 1350934636: ('0.07061054419730133',), 1350934629: ('0.07061054419730133',), 1350934625: ('0.07061054419730133',), 1350934621: ('0.07061054419730133',), 1350934592: ('0.07061054419730133',), 1350934523: ('0.07061054419730133',), 1350934519: ('0.07061054419730133',), 1350934516: ('0.07061054419730133',), 1350934512: ('0.07061054419730133',), 1350934508: ('0.07061054419730133',), 1350934420: ('0.07061054419730133',), 1350934415: ('0.07061054419730133',), 1350934411: ('0.07061054419730133',), 1350934394: ('0.07061054419730133',), 1350934376: ('0.07061054419730133',), 1350934374: ('0.07061054419730133',), 1350934064: ('0.07061054419730133',), 1350934038: ('0.07061054419730133',), 1350934011: ('0.07061054419730133',), 1350933984: ('0.07061054419730133',), 1350933852: ('0.07061054419730133',), 1350933849: ()} output_args : {1350934864: ('0.07061054419730133',), 1350934804: ('0.07061054419730133',), 1350934801: ('0.07061054419730133',), 1350934799: ('0.07061054419730133',), 1350934755: ('0.07061054419730133',), 1350934749: ('0.07061054419730133',), 1350934745: ('0.07061054419730133',), 1350934741: ('0.07061054419730133',), 1350934735: ('0.07061054419730133',), 1350934693: ('0.07061054419730133',), 1350934692: ('0.07061054419730133',), 1350934691: ('0.07061054419730133',), 1350934689: ('0.07061054419730133',), 1350934651: ('0.07061054419730133',), 1350934636: ('0.07061054419730133',), 1350934629: ('0.07061054419730133',), 1350934625: ('0.07061054419730133',), 1350934621: ('0.07061054419730133',), 1350934592: ('0.07061054419730133',), 1350934523: ('0.07061054419730133',), 1350934519: ('0.07061054419730133',), 1350934516: ('0.07061054419730133',), 1350934512: ('0.07061054419730133',), 1350934508: ('0.07061054419730133',), 1350934420: ('0.07061054419730133',), 1350934415: ('0.07061054419730133',), 1350934411: ('0.07061054419730133',), 1350934394: ('0.07061054419730133',), 1350934376: ('0.07061054419730133',), 1350934374: ('0.07061054419730133',), 1350934064: ('0.07061054419730133',), 1350934038: ('0.07061054419730133',), 1350934011: ('0.07061054419730133',), 1350933984: ('0.07061054419730133',), 1350933852: ('0.07061054419730133',), 1350933849: ('0.07061054419730133',), 1350933846: ('0.07061054419730133',), 1350931360: ('0.07061054419730133',), 1350931329: ('0.07061054419730133',), 1350931299: ('0.07061054419730133',), 1350931268: ('0.07061054419730133',)} args : 1350933849 depend.output_id : 0 input_args_next_step : {1350934864: ('0.07061054419730133',), 1350934804: ('0.07061054419730133',), 1350934801: ('0.07061054419730133',), 1350934799: ('0.07061054419730133',), 1350934755: ('0.07061054419730133',), 1350934749: ('0.07061054419730133',), 1350934745: ('0.07061054419730133',), 1350934741: ('0.07061054419730133',), 1350934735: ('0.07061054419730133',), 1350934693: ('0.07061054419730133',), 1350934692: ('0.07061054419730133',), 1350934691: ('0.07061054419730133',), 1350934689: ('0.07061054419730133',), 1350934651: ('0.07061054419730133',), 1350934636: ('0.07061054419730133',), 1350934629: ('0.07061054419730133',), 1350934625: ('0.07061054419730133',), 1350934621: ('0.07061054419730133',), 1350934592: ('0.07061054419730133',), 1350934523: ('0.07061054419730133',), 1350934519: ('0.07061054419730133',), 1350934516: ('0.07061054419730133',), 1350934512: ('0.07061054419730133',), 1350934508: ('0.07061054419730133',), 1350934420: ('0.07061054419730133',), 1350934415: ('0.07061054419730133',), 1350934411: ('0.07061054419730133',), 1350934394: ('0.07061054419730133',), 1350934376: ('0.07061054419730133',), 1350934374: ('0.07061054419730133',), 1350934064: ('0.07061054419730133',), 1350934038: ('0.07061054419730133',), 1350934011: ('0.07061054419730133',), 1350933984: ('0.07061054419730133',), 1350933852: ('0.07061054419730133',), 1350933849: ('0.07061054419730133',), 1350933846: ()} output_args : {1350934864: ('0.07061054419730133',), 1350934804: ('0.07061054419730133',), 1350934801: ('0.07061054419730133',), 1350934799: ('0.07061054419730133',), 1350934755: ('0.07061054419730133',), 1350934749: ('0.07061054419730133',), 1350934745: ('0.07061054419730133',), 1350934741: ('0.07061054419730133',), 1350934735: ('0.07061054419730133',), 1350934693: ('0.07061054419730133',), 1350934692: ('0.07061054419730133',), 1350934691: ('0.07061054419730133',), 1350934689: ('0.07061054419730133',), 1350934651: ('0.07061054419730133',), 1350934636: ('0.07061054419730133',), 1350934629: ('0.07061054419730133',), 1350934625: ('0.07061054419730133',), 1350934621: ('0.07061054419730133',), 1350934592: ('0.07061054419730133',), 1350934523: ('0.07061054419730133',), 1350934519: ('0.07061054419730133',), 1350934516: ('0.07061054419730133',), 1350934512: ('0.07061054419730133',), 1350934508: ('0.07061054419730133',), 1350934420: ('0.07061054419730133',), 1350934415: ('0.07061054419730133',), 1350934411: ('0.07061054419730133',), 1350934394: ('0.07061054419730133',), 1350934376: ('0.07061054419730133',), 1350934374: ('0.07061054419730133',), 1350934064: ('0.07061054419730133',), 1350934038: ('0.07061054419730133',), 1350934011: ('0.07061054419730133',), 1350933984: ('0.07061054419730133',), 1350933852: ('0.07061054419730133',), 1350933849: ('0.07061054419730133',), 1350933846: ('0.07061054419730133',), 1350931360: ('0.07061054419730133',), 1350931329: ('0.07061054419730133',), 1350931299: ('0.07061054419730133',), 1350931268: ('0.07061054419730133',)} args : 1350933846 depend.output_id : 0 input_args_next_step : {1350934864: ('0.07061054419730133',), 1350934804: ('0.07061054419730133',), 1350934801: ('0.07061054419730133',), 1350934799: ('0.07061054419730133',), 1350934755: ('0.07061054419730133',), 1350934749: ('0.07061054419730133',), 1350934745: ('0.07061054419730133',), 1350934741: ('0.07061054419730133',), 1350934735: ('0.07061054419730133',), 1350934693: ('0.07061054419730133',), 1350934692: ('0.07061054419730133',), 1350934691: ('0.07061054419730133',), 1350934689: ('0.07061054419730133',), 1350934651: ('0.07061054419730133',), 1350934636: ('0.07061054419730133',), 1350934629: ('0.07061054419730133',), 1350934625: ('0.07061054419730133',), 1350934621: ('0.07061054419730133',), 1350934592: ('0.07061054419730133',), 1350934523: ('0.07061054419730133',), 1350934519: ('0.07061054419730133',), 1350934516: ('0.07061054419730133',), 1350934512: ('0.07061054419730133',), 1350934508: ('0.07061054419730133',), 1350934420: ('0.07061054419730133',), 1350934415: ('0.07061054419730133',), 1350934411: ('0.07061054419730133',), 1350934394: ('0.07061054419730133',), 1350934376: ('0.07061054419730133',), 1350934374: ('0.07061054419730133',), 1350934064: ('0.07061054419730133',), 1350934038: ('0.07061054419730133',), 1350934011: ('0.07061054419730133',), 1350933984: ('0.07061054419730133',), 1350933852: ('0.07061054419730133',), 1350933849: ('0.07061054419730133',), 1350933846: ('0.07061054419730133',), 1350931360: ()} output_args : {1350934864: ('0.07061054419730133',), 1350934804: ('0.07061054419730133',), 1350934801: ('0.07061054419730133',), 1350934799: ('0.07061054419730133',), 1350934755: ('0.07061054419730133',), 1350934749: ('0.07061054419730133',), 1350934745: ('0.07061054419730133',), 1350934741: ('0.07061054419730133',), 1350934735: ('0.07061054419730133',), 1350934693: ('0.07061054419730133',), 1350934692: ('0.07061054419730133',), 1350934691: ('0.07061054419730133',), 1350934689: ('0.07061054419730133',), 1350934651: ('0.07061054419730133',), 1350934636: ('0.07061054419730133',), 1350934629: ('0.07061054419730133',), 1350934625: ('0.07061054419730133',), 1350934621: ('0.07061054419730133',), 1350934592: ('0.07061054419730133',), 1350934523: ('0.07061054419730133',), 1350934519: ('0.07061054419730133',), 1350934516: ('0.07061054419730133',), 1350934512: ('0.07061054419730133',), 1350934508: ('0.07061054419730133',), 1350934420: ('0.07061054419730133',), 1350934415: ('0.07061054419730133',), 1350934411: ('0.07061054419730133',), 1350934394: ('0.07061054419730133',), 1350934376: ('0.07061054419730133',), 1350934374: ('0.07061054419730133',), 1350934064: ('0.07061054419730133',), 1350934038: ('0.07061054419730133',), 1350934011: ('0.07061054419730133',), 1350933984: ('0.07061054419730133',), 1350933852: ('0.07061054419730133',), 1350933849: ('0.07061054419730133',), 1350933846: ('0.07061054419730133',), 1350931360: ('0.07061054419730133',), 1350931329: ('0.07061054419730133',), 1350931299: ('0.07061054419730133',), 1350931268: ('0.07061054419730133',)} args : 1350931360 depend.output_id : 0 input_args_next_step : {1350934864: ('0.07061054419730133',), 1350934804: ('0.07061054419730133',), 1350934801: ('0.07061054419730133',), 1350934799: ('0.07061054419730133',), 1350934755: ('0.07061054419730133',), 1350934749: ('0.07061054419730133',), 1350934745: ('0.07061054419730133',), 1350934741: ('0.07061054419730133',), 1350934735: ('0.07061054419730133',), 1350934693: ('0.07061054419730133',), 1350934692: ('0.07061054419730133',), 1350934691: ('0.07061054419730133',), 1350934689: ('0.07061054419730133',), 1350934651: ('0.07061054419730133',), 1350934636: ('0.07061054419730133',), 1350934629: ('0.07061054419730133',), 1350934625: ('0.07061054419730133',), 1350934621: ('0.07061054419730133',), 1350934592: ('0.07061054419730133',), 1350934523: ('0.07061054419730133',), 1350934519: ('0.07061054419730133',), 1350934516: ('0.07061054419730133',), 1350934512: ('0.07061054419730133',), 1350934508: ('0.07061054419730133',), 1350934420: ('0.07061054419730133',), 1350934415: ('0.07061054419730133',), 1350934411: ('0.07061054419730133',), 1350934394: ('0.07061054419730133',), 1350934376: ('0.07061054419730133',), 1350934374: ('0.07061054419730133',), 1350934064: ('0.07061054419730133',), 1350934038: ('0.07061054419730133',), 1350934011: ('0.07061054419730133',), 1350933984: ('0.07061054419730133',), 1350933852: ('0.07061054419730133',), 1350933849: ('0.07061054419730133',), 1350933846: ('0.07061054419730133',), 1350931360: ('0.07061054419730133',), 1350931329: ()} output_args : {1350934864: ('0.07061054419730133',), 1350934804: ('0.07061054419730133',), 1350934801: ('0.07061054419730133',), 1350934799: ('0.07061054419730133',), 1350934755: ('0.07061054419730133',), 1350934749: ('0.07061054419730133',), 1350934745: ('0.07061054419730133',), 1350934741: ('0.07061054419730133',), 1350934735: ('0.07061054419730133',), 1350934693: ('0.07061054419730133',), 1350934692: ('0.07061054419730133',), 1350934691: ('0.07061054419730133',), 1350934689: ('0.07061054419730133',), 1350934651: ('0.07061054419730133',), 1350934636: ('0.07061054419730133',), 1350934629: ('0.07061054419730133',), 1350934625: ('0.07061054419730133',), 1350934621: ('0.07061054419730133',), 1350934592: ('0.07061054419730133',), 1350934523: ('0.07061054419730133',), 1350934519: ('0.07061054419730133',), 1350934516: ('0.07061054419730133',), 1350934512: ('0.07061054419730133',), 1350934508: ('0.07061054419730133',), 1350934420: ('0.07061054419730133',), 1350934415: ('0.07061054419730133',), 1350934411: ('0.07061054419730133',), 1350934394: ('0.07061054419730133',), 1350934376: ('0.07061054419730133',), 1350934374: ('0.07061054419730133',), 1350934064: ('0.07061054419730133',), 1350934038: ('0.07061054419730133',), 1350934011: ('0.07061054419730133',), 1350933984: ('0.07061054419730133',), 1350933852: ('0.07061054419730133',), 1350933849: ('0.07061054419730133',), 1350933846: ('0.07061054419730133',), 1350931360: ('0.07061054419730133',), 1350931329: ('0.07061054419730133',), 1350931299: ('0.07061054419730133',), 1350931268: ('0.07061054419730133',)} args : 1350931329 depend.output_id : 0 input_args_next_step : {1350934864: ('0.07061054419730133',), 1350934804: ('0.07061054419730133',), 1350934801: ('0.07061054419730133',), 1350934799: ('0.07061054419730133',), 1350934755: ('0.07061054419730133',), 1350934749: ('0.07061054419730133',), 1350934745: ('0.07061054419730133',), 1350934741: ('0.07061054419730133',), 1350934735: ('0.07061054419730133',), 1350934693: ('0.07061054419730133',), 1350934692: ('0.07061054419730133',), 1350934691: ('0.07061054419730133',), 1350934689: ('0.07061054419730133',), 1350934651: ('0.07061054419730133',), 1350934636: ('0.07061054419730133',), 1350934629: ('0.07061054419730133',), 1350934625: ('0.07061054419730133',), 1350934621: ('0.07061054419730133',), 1350934592: ('0.07061054419730133',), 1350934523: ('0.07061054419730133',), 1350934519: ('0.07061054419730133',), 1350934516: ('0.07061054419730133',), 1350934512: ('0.07061054419730133',), 1350934508: ('0.07061054419730133',), 1350934420: ('0.07061054419730133',), 1350934415: ('0.07061054419730133',), 1350934411: ('0.07061054419730133',), 1350934394: ('0.07061054419730133',), 1350934376: ('0.07061054419730133',), 1350934374: ('0.07061054419730133',), 1350934064: ('0.07061054419730133',), 1350934038: ('0.07061054419730133',), 1350934011: ('0.07061054419730133',), 1350933984: ('0.07061054419730133',), 1350933852: ('0.07061054419730133',), 1350933849: ('0.07061054419730133',), 1350933846: ('0.07061054419730133',), 1350931360: ('0.07061054419730133',), 1350931329: ('0.07061054419730133',), 1350931299: ()} output_args : {1350934864: ('0.07061054419730133',), 1350934804: ('0.07061054419730133',), 1350934801: ('0.07061054419730133',), 1350934799: ('0.07061054419730133',), 1350934755: ('0.07061054419730133',), 1350934749: ('0.07061054419730133',), 1350934745: ('0.07061054419730133',), 1350934741: ('0.07061054419730133',), 1350934735: ('0.07061054419730133',), 1350934693: ('0.07061054419730133',), 1350934692: ('0.07061054419730133',), 1350934691: ('0.07061054419730133',), 1350934689: ('0.07061054419730133',), 1350934651: ('0.07061054419730133',), 1350934636: ('0.07061054419730133',), 1350934629: ('0.07061054419730133',), 1350934625: ('0.07061054419730133',), 1350934621: ('0.07061054419730133',), 1350934592: ('0.07061054419730133',), 1350934523: ('0.07061054419730133',), 1350934519: ('0.07061054419730133',), 1350934516: ('0.07061054419730133',), 1350934512: ('0.07061054419730133',), 1350934508: ('0.07061054419730133',), 1350934420: ('0.07061054419730133',), 1350934415: ('0.07061054419730133',), 1350934411: ('0.07061054419730133',), 1350934394: ('0.07061054419730133',), 1350934376: ('0.07061054419730133',), 1350934374: ('0.07061054419730133',), 1350934064: ('0.07061054419730133',), 1350934038: ('0.07061054419730133',), 1350934011: ('0.07061054419730133',), 1350933984: ('0.07061054419730133',), 1350933852: ('0.07061054419730133',), 1350933849: ('0.07061054419730133',), 1350933846: ('0.07061054419730133',), 1350931360: ('0.07061054419730133',), 1350931329: ('0.07061054419730133',), 1350931299: ('0.07061054419730133',), 1350931268: ('0.07061054419730133',)} args : 1350931299 depend.output_id : 0 input_args_next_step : {1350934864: ('0.07061054419730133',), 1350934804: ('0.07061054419730133',), 1350934801: ('0.07061054419730133',), 1350934799: ('0.07061054419730133',), 1350934755: ('0.07061054419730133',), 1350934749: ('0.07061054419730133',), 1350934745: ('0.07061054419730133',), 1350934741: ('0.07061054419730133',), 1350934735: ('0.07061054419730133',), 1350934693: ('0.07061054419730133',), 1350934692: ('0.07061054419730133',), 1350934691: ('0.07061054419730133',), 1350934689: ('0.07061054419730133',), 1350934651: ('0.07061054419730133',), 1350934636: ('0.07061054419730133',), 1350934629: ('0.07061054419730133',), 1350934625: ('0.07061054419730133',), 1350934621: ('0.07061054419730133',), 1350934592: ('0.07061054419730133',), 1350934523: ('0.07061054419730133',), 1350934519: ('0.07061054419730133',), 1350934516: ('0.07061054419730133',), 1350934512: ('0.07061054419730133',), 1350934508: ('0.07061054419730133',), 1350934420: ('0.07061054419730133',), 1350934415: ('0.07061054419730133',), 1350934411: ('0.07061054419730133',), 1350934394: ('0.07061054419730133',), 1350934376: ('0.07061054419730133',), 1350934374: ('0.07061054419730133',), 1350934064: ('0.07061054419730133',), 1350934038: ('0.07061054419730133',), 1350934011: ('0.07061054419730133',), 1350933984: ('0.07061054419730133',), 1350933852: ('0.07061054419730133',), 1350933849: ('0.07061054419730133',), 1350933846: ('0.07061054419730133',), 1350931360: ('0.07061054419730133',), 1350931329: ('0.07061054419730133',), 1350931299: ('0.07061054419730133',), 1350931268: ()} output_args : {1350934864: ('0.07061054419730133',), 1350934804: ('0.07061054419730133',), 1350934801: ('0.07061054419730133',), 1350934799: ('0.07061054419730133',), 1350934755: ('0.07061054419730133',), 1350934749: ('0.07061054419730133',), 1350934745: ('0.07061054419730133',), 1350934741: ('0.07061054419730133',), 1350934735: ('0.07061054419730133',), 1350934693: ('0.07061054419730133',), 1350934692: ('0.07061054419730133',), 1350934691: ('0.07061054419730133',), 1350934689: ('0.07061054419730133',), 1350934651: ('0.07061054419730133',), 1350934636: ('0.07061054419730133',), 1350934629: ('0.07061054419730133',), 1350934625: ('0.07061054419730133',), 1350934621: ('0.07061054419730133',), 1350934592: ('0.07061054419730133',), 1350934523: ('0.07061054419730133',), 1350934519: ('0.07061054419730133',), 1350934516: ('0.07061054419730133',), 1350934512: ('0.07061054419730133',), 1350934508: ('0.07061054419730133',), 1350934420: ('0.07061054419730133',), 1350934415: ('0.07061054419730133',), 1350934411: ('0.07061054419730133',), 1350934394: ('0.07061054419730133',), 1350934376: ('0.07061054419730133',), 1350934374: ('0.07061054419730133',), 1350934064: ('0.07061054419730133',), 1350934038: ('0.07061054419730133',), 1350934011: ('0.07061054419730133',), 1350933984: ('0.07061054419730133',), 1350933852: ('0.07061054419730133',), 1350933849: ('0.07061054419730133',), 1350933846: ('0.07061054419730133',), 1350931360: ('0.07061054419730133',), 1350931329: ('0.07061054419730133',), 1350931299: ('0.07061054419730133',), 1350931268: ('0.07061054419730133',)} args : 1350931268 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 : {22168535: [{'Carton_gris': 22168536, 'kraft': 22168537, 'mal_croppe': 22168538, 'plastique': 22168539, 'cartonnette': 22168540, 'Carton_brun': 22168541, 'autre_refus': 22168542, 'Teint_Dans_La_Masse': 22168543, 'metal': 22168544, 'papier': 22168545, 'environnement': 22168546, 'flou': 22168547}]} input_args_next_step : {1350934864: ('0.07061054419730133',), 1350934804: ('0.07061054419730133',), 1350934801: ('0.07061054419730133',), 1350934799: ('0.07061054419730133',), 1350934755: ('0.07061054419730133',), 1350934749: ('0.07061054419730133',), 1350934745: ('0.07061054419730133',), 1350934741: ('0.07061054419730133',), 1350934735: ('0.07061054419730133',), 1350934693: ('0.07061054419730133',), 1350934692: ('0.07061054419730133',), 1350934691: ('0.07061054419730133',), 1350934689: ('0.07061054419730133',), 1350934651: ('0.07061054419730133',), 1350934636: ('0.07061054419730133',), 1350934629: ('0.07061054419730133',), 1350934625: ('0.07061054419730133',), 1350934621: ('0.07061054419730133',), 1350934592: ('0.07061054419730133',), 1350934523: ('0.07061054419730133',), 1350934519: ('0.07061054419730133',), 1350934516: ('0.07061054419730133',), 1350934512: ('0.07061054419730133',), 1350934508: ('0.07061054419730133',), 1350934420: ('0.07061054419730133',), 1350934415: ('0.07061054419730133',), 1350934411: ('0.07061054419730133',), 1350934394: ('0.07061054419730133',), 1350934376: ('0.07061054419730133',), 1350934374: ('0.07061054419730133',), 1350934064: ('0.07061054419730133',), 1350934038: ('0.07061054419730133',), 1350934011: ('0.07061054419730133',), 1350933984: ('0.07061054419730133',), 1350933852: ('0.07061054419730133',), 1350933849: ('0.07061054419730133',), 1350933846: ('0.07061054419730133',), 1350931360: ('0.07061054419730133',), 1350931329: ('0.07061054419730133',), 1350931299: ('0.07061054419730133',), 1350931268: ('0.07061054419730133',), 22168535: ()} output_args : {22168535: [{'Carton_gris': 22168536, 'kraft': 22168537, 'mal_croppe': 22168538, 'plastique': 22168539, 'cartonnette': 22168540, 'Carton_brun': 22168541, 'autre_refus': 22168542, 'Teint_Dans_La_Masse': 22168543, 'metal': 22168544, 'papier': 22168545, 'environnement': 22168546, 'flou': 22168547}]} args : 22168535 depend.output_id : 0 We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :42, first value : ('0.07061054419730133',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22168535) 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 (1350934864,1350934804,1350934801,1350934799,1350934755,1350934749,1350934745,1350934741,1350934735,1350934693,1350934692,1350934691,1350934689,1350934651,1350934636,1350934629,1350934625,1350934621,1350934592,1350934523,1350934519,1350934516,1350934512,1350934508,1350934420,1350934415,1350934411,1350934394,1350934376,1350934374,1350934064,1350934038,1350934011,1350933984,1350933852,1350933849,1350933846,1350931360,1350931329,1350931299,1350931268) Found this number of photos: 41 ##### Call download_photos : nb_thread : 5 begin to download photo : 1350931268 begin to download photo : 1350934038 begin to download photo : 1350934512 begin to download photo : 1350934651 begin to download photo : 1350934755 download finish for photo 1350934651 begin to download photo : 1350934689 download finish for photo 1350934512 begin to download photo : 1350934516 download finish for photo 1350934038 begin to download photo : 1350934064 download finish for photo 1350931268 begin to download photo : 1350931299 download finish for photo 1350934755 begin to download photo : 1350934799 download finish for photo 1350934516 begin to download photo : 1350934519 download finish for photo 1350931299 begin to download photo : 1350931329 download finish for photo 1350934689 begin to download photo : 1350934691 download finish for photo 1350934064 begin to download photo : 1350934374 download finish for photo 1350931329 begin to download photo : 1350931360 download finish for photo 1350934799 begin to download photo : 1350934801 download finish for photo 1350934519 begin to download photo : 1350934523 download finish for photo 1350934374 begin to download photo : 1350934376 download finish for photo 1350934691 begin to download photo : 1350934692 download finish for photo 1350931360 begin to download photo : 1350933846 download finish for photo 1350934801 begin to download photo : 1350934804 download finish for photo 1350934523 begin to download photo : 1350934592 download finish for photo 1350934692 begin to download photo : 1350934693 download finish for photo 1350934376 begin to download photo : 1350934394 download finish for photo 1350933846 begin to download photo : 1350933849 download finish for photo 1350934804 begin to download photo : 1350934864 download finish for photo 1350934693 begin to download photo : 1350934735 download finish for photo 1350934864 download finish for photo 1350934592 begin to download photo : 1350934621 download finish for photo 1350933849 begin to download photo : 1350933852 download finish for photo 1350934394 begin to download photo : 1350934411 download finish for photo 1350934735 begin to download photo : 1350934741 download finish for photo 1350933852 begin to download photo : 1350933984 download finish for photo 1350934621 begin to download photo : 1350934625 download finish for photo 1350934741 begin to download photo : 1350934745 download finish for photo 1350933984 begin to download photo : 1350934011 download finish for photo 1350934625 begin to download photo : 1350934629 download finish for photo 1350934411 begin to download photo : 1350934415 download finish for photo 1350934745 begin to download photo : 1350934749 download finish for photo 1350934011 download finish for photo 1350934415 begin to download photo : 1350934420 download finish for photo 1350934629 begin to download photo : 1350934636 download finish for photo 1350934749 download finish for photo 1350934420 begin to download photo : 1350934508 download finish for photo 1350934636 download finish for photo 1350934508 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette221685371745033880/ imagette221685381745033880/ length of list_filenames : 41 ; length of list_pids : 41 ; length of list_args : 41 results_Auto_P22168535_19-04-2025_05_38_00.pdf 22168537 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=22168537 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette221685371745033880 22168538 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=22168538 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette221685381745033880 22168539 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=22168539 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1350934732: '1744938792_3609863_1350934411_8b7f7a93234ff75ef920a56ce05a1fcf_rle_crop_3753182769_0.png', 1350941317: '1744942273_3655274_1350934621_9e427c544e93df248861ec236ed091ff_rle_crop_3753183001_0.png', 1350936489: '1744941011_3632060_1350933846_ed24d94275a4a9ae5575ef259b215189_rle_crop_3753182178_0.png', 1350936488: '1744941011_3632060_1350933846_ed24d94275a4a9ae5575ef259b215189_rle_crop_3753182184_0.png', 1350936487: '1744941011_3632060_1350933849_49dbfba40701862210113e7d286f49bf_rle_crop_3753182162_0.png', 1350936478: '1744940983_1854283_1350934508_f0a23b4b5685579d57e6c27ea71eaf71_rle_crop_3753182488_0.png', 1350936477: '1744940983_1854283_1350934519_575c8f65db5b74963dec5873974ecae2_rle_crop_3753182442_0.png', 1350934955: '1744939061_1807449_1350934799_cb256ce6cdacb34c19cc4adbe1e99eea_rle_crop_3753183864_0.png', 1350934954: '1744939061_1807449_1350934801_0cee2a86a57f46b3ef71a323e9ae721f_rle_crop_3753183853_0.png', 1350934844: '1744938911_3610899_1350934411_8b7f7a93234ff75ef920a56ce05a1fcf_rle_crop_3753182769_0.png', 1350934843: '1744938911_3610899_1350934415_ab420f351fbd07c9d1ebcdd176961d18_rle_crop_3753182740_0.png', 1350934788: '1744938850_3610330_1350934621_9e427c544e93df248861ec236ed091ff_rle_crop_3753183001_0.png', 1350932757: '1744938192_3605029_1350931329_b1a5673968b42906a0297123ada950e3_rle_crop_3753181629_0.png', 1350934731: '1744938792_3609863_1350934415_ab420f351fbd07c9d1ebcdd176961d18_rle_crop_3753182740_0.png', 1350934653: '1744938709_1800542_1350934508_f0a23b4b5685579d57e6c27ea71eaf71_rle_crop_3753182488_0.png', 1350934652: '1744938709_1800542_1350934519_575c8f65db5b74963dec5873974ecae2_rle_crop_3753182442_0.png', 1350934537: '1744938541_3607758_1350933984_fc3601645e067ba12fe194aace1fe03b_rle_crop_3753182291_0.png', 1350934536: '1744938541_3607758_1350934011_538797ee13328233d301a973a00b730d_rle_crop_3753182272_0.png', 1350934364: '1744938462_1795298_1350933846_ed24d94275a4a9ae5575ef259b215189_rle_crop_3753182178_0.png', 1350934363: '1744938462_1795298_1350933846_ed24d94275a4a9ae5575ef259b215189_rle_crop_3753182184_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/9746903448a8dec4a64b9c8c1ef42ada_71765615.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/d81580f889446726a179ba8aa222a079_33264004.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/e7fb839c783809792e0ad0d10afb9bbf_55141365.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/61e372961b9df4560f4e9cfed5d6a252_49037020.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/ce39db56000c7924209d1c912bb6d323_47412119.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/ccab7e7ba37f6bd686f386f14a3453d8_13034996.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/eff47891d59b6d2244a20ed1d39d0192_62835823.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/942f6c8122c35687a49e63e242863200_2815383.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/f2b7119faa68bd93c5abf09661400229_546451.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/9746903448a8dec4a64b9c8c1ef42ada_91343271.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/9e5ad8b7cd0eb0e405c4f5432f131250_22506118.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/d81580f889446726a179ba8aa222a079_51211762.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/949552075672ca98d1e020f8e9a7391e_26371943.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/9e5ad8b7cd0eb0e405c4f5432f131250_32792946.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/ccab7e7ba37f6bd686f386f14a3453d8_26760244.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/eff47891d59b6d2244a20ed1d39d0192_82973343.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/2fc9559ad1090d8f331c75d84660095a_22986581.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/2c8f812735feff051fe4c928ad4af62d_84581473.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/e7fb839c783809792e0ad0d10afb9bbf_71442025.png change filename to text .imagette221685391745033880/ imagette221685391745033880/1744940983_1854283_1350934519_575c8f65db5b74963dec5873974ecae2_rle_crop_3753182442_0.png.png imagette221685391745033880/1744938462_1795298_1350933846_ed24d94275a4a9ae5575ef259b215189_rle_crop_3753182184_0.png.png imagette221685391745033880/1744938541_3607758_1350933984_fc3601645e067ba12fe194aace1fe03b_rle_crop_3753182291_0.png.png imagette221685391745033880/1744941011_3632060_1350933849_49dbfba40701862210113e7d286f49bf_rle_crop_3753182162_0.png.png imagette221685391745033880/1744938462_1795298_1350933846_ed24d94275a4a9ae5575ef259b215189_rle_crop_3753182178_0.png.png imagette221685391745033880/1744940983_1854283_1350934508_f0a23b4b5685579d57e6c27ea71eaf71_rle_crop_3753182488_0.png.png imagette221685391745033880/1744938792_3609863_1350934411_8b7f7a93234ff75ef920a56ce05a1fcf_rle_crop_3753182769_0.png.png imagette221685391745033880/1744938541_3607758_1350934011_538797ee13328233d301a973a00b730d_rle_crop_3753182272_0.png.png imagette221685391745033880/1744939061_1807449_1350934801_0cee2a86a57f46b3ef71a323e9ae721f_rle_crop_3753183853_0.png.png imagette221685391745033880/1744938911_3610899_1350934415_ab420f351fbd07c9d1ebcdd176961d18_rle_crop_3753182740_0.png.png imagette221685391745033880/1744938911_3610899_1350934411_8b7f7a93234ff75ef920a56ce05a1fcf_rle_crop_3753182769_0.png.png imagette221685391745033880/1744938709_1800542_1350934519_575c8f65db5b74963dec5873974ecae2_rle_crop_3753182442_0.png.png imagette221685391745033880/1744938192_3605029_1350931329_b1a5673968b42906a0297123ada950e3_rle_crop_3753181629_0.png.png imagette221685391745033880/1744942273_3655274_1350934621_9e427c544e93df248861ec236ed091ff_rle_crop_3753183001_0.png.png imagette221685391745033880/1744938709_1800542_1350934508_f0a23b4b5685579d57e6c27ea71eaf71_rle_crop_3753182488_0.png.png imagette221685391745033880/1744938850_3610330_1350934621_9e427c544e93df248861ec236ed091ff_rle_crop_3753183001_0.png.png imagette221685391745033880/1744938792_3609863_1350934415_ab420f351fbd07c9d1ebcdd176961d18_rle_crop_3753182740_0.png.png imagette221685391745033880/1744941011_3632060_1350933846_ed24d94275a4a9ae5575ef259b215189_rle_crop_3753182178_0.png.png imagette221685391745033880/1744939061_1807449_1350934799_cb256ce6cdacb34c19cc4adbe1e99eea_rle_crop_3753183864_0.png.png imagette221685391745033880/1744941011_3632060_1350933846_ed24d94275a4a9ae5575ef259b215189_rle_crop_3753182184_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/61e372961b9df4560f4e9cfed5d6a252_43684679.png imagette221685391745033880 22168540 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=22168540 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1350934727: '1744938792_3609863_1350934411_8b7f7a93234ff75ef920a56ce05a1fcf_rle_crop_3753182763_0.png', 1350934728: '1744938792_3609863_1350934374_cb356d9b466ab2f4d450593cab1542c4_rle_crop_3753182794_0.png', 1350934839: '1744938911_3610899_1350934411_8b7f7a93234ff75ef920a56ce05a1fcf_rle_crop_3753182763_0.png', 1350934840: '1744938911_3610899_1350934374_cb356d9b466ab2f4d450593cab1542c4_rle_crop_3753182794_0.png', 1350934945: '1744939032_3612178_1350934755_0791bd6488ebc38ab6466e9df2874fad_rle_crop_3753183780_0.png', 1350934946: '1744939032_3612178_1350934691_256baa34590416fba75dc5ad3ad213d0_rle_crop_3753183802_0.png', 1350941209: '1744942153_3653791_1350934749_688b0ee334729dc4fbae9a68103caae3_rle_crop_3753183388_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/92413f3bbb6e30b2b35c543897e17e80_45318048.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/97d5b03b1756af00879f42076c791d1b_96476220.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/92413f3bbb6e30b2b35c543897e17e80_52188066.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/97d5b03b1756af00879f42076c791d1b_72899698.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/f6b171f782471aa3d3e7b69f7ca21528_46494831.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/ac6be66852683cc311dcd6e805caf642_64640999.png change filename to text .imagette221685401745033883/ imagette221685401745033883/1744938911_3610899_1350934411_8b7f7a93234ff75ef920a56ce05a1fcf_rle_crop_3753182763_0.png.png imagette221685401745033883/1744938792_3609863_1350934411_8b7f7a93234ff75ef920a56ce05a1fcf_rle_crop_3753182763_0.png.png imagette221685401745033883/1744938792_3609863_1350934374_cb356d9b466ab2f4d450593cab1542c4_rle_crop_3753182794_0.png.png imagette221685401745033883/1744939032_3612178_1350934755_0791bd6488ebc38ab6466e9df2874fad_rle_crop_3753183780_0.png.png imagette221685401745033883/1744939032_3612178_1350934691_256baa34590416fba75dc5ad3ad213d0_rle_crop_3753183802_0.png.png imagette221685401745033883/1744942153_3653791_1350934749_688b0ee334729dc4fbae9a68103caae3_rle_crop_3753183388_0.png.png imagette221685401745033883/1744938911_3610899_1350934374_cb356d9b466ab2f4d450593cab1542c4_rle_crop_3753182794_0.png.png wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/27310035854fa79d5077c9635bcb8d15_28311726.png imagette221685401745033883 22168542 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=22168542 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1350934634: '1744938709_1800542_1350934512_1d689bb35b89502d9c5cfa5568f86ca8_rle_crop_3753182466_0.png', 1350934664: '1744938734_3609202_1350934420_baa20205b50f562f5896313d050c6e58_rle_crop_3753182534_0.png', 1350934724: '1744938792_3609863_1350934374_cb356d9b466ab2f4d450593cab1542c4_rle_crop_3753182802_0.png', 1350934836: '1744938911_3610899_1350934374_cb356d9b466ab2f4d450593cab1542c4_rle_crop_3753182802_0.png', 1350936467: '1744940983_1854283_1350934512_1d689bb35b89502d9c5cfa5568f86ca8_rle_crop_3753182466_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/943412c023b23e3094435a7b7fd7b419_61416630.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/cb1cc7c7c4061a492fc245374cabdd4e_94365102.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/22f1f232d59990b30e83a5c27a454e24_50720197.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/22f1f232d59990b30e83a5c27a454e24_92492225.png change filename to text .imagette221685421745033884/ imagette221685421745033884/1744938709_1800542_1350934512_1d689bb35b89502d9c5cfa5568f86ca8_rle_crop_3753182466_0.png.png imagette221685421745033884/1744940983_1854283_1350934512_1d689bb35b89502d9c5cfa5568f86ca8_rle_crop_3753182466_0.png.png imagette221685421745033884/1744938792_3609863_1350934374_cb356d9b466ab2f4d450593cab1542c4_rle_crop_3753182802_0.png.png imagette221685421745033884/1744938911_3610899_1350934374_cb356d9b466ab2f4d450593cab1542c4_rle_crop_3753182802_0.png.png imagette221685421745033884/1744938734_3609202_1350934420_baa20205b50f562f5896313d050c6e58_rle_crop_3753182534_0.png.png imagette221685441745033884/ imagette221685471745033884/ wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/943412c023b23e3094435a7b7fd7b419_26373929.png imagette221685421745033884 22168544 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=22168544 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette221685441745033884 22168547 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=22168547 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette221685471745033884 22168536 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=22168536 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1350934838: '1744938911_3610899_1350934376_06635fcc307b5bb66b27525255ff93cb_rle_crop_3753182790_0.png', 1350941310: '1744942273_3655274_1350934625_724fce817f4ba83b5231d916d5993cf2_rle_crop_3753182984_0.png', 1350941309: '1744942273_3655274_1350934625_724fce817f4ba83b5231d916d5993cf2_bib_crop_3753182979_0.jpg', 1350941308: '1744942273_3655274_1350934629_9e39cf576d24857b5faa4faf8db41ee2_rle_crop_3753182962_0.png', 1350941206: '1744942153_3653791_1350934735_91dd4c2c28efc71ec624598bc78345f7_rle_crop_3753183430_0.png', 1350936473: '1744940983_1854283_1350934508_f0a23b4b5685579d57e6c27ea71eaf71_rle_crop_3753182486_0.png', 1350936472: '1744940983_1854283_1350934508_f0a23b4b5685579d57e6c27ea71eaf71_rle_crop_3753182489_0.png', 1350936471: '1744940983_1854283_1350934512_1d689bb35b89502d9c5cfa5568f86ca8_rle_crop_3753182464_0.png', 1350936470: '1744940983_1854283_1350934512_1d689bb35b89502d9c5cfa5568f86ca8_rle_crop_3753182472_0.png', 1350936469: '1744940983_1854283_1350934516_3c248ba6ecf63108688d6fe586bca3cd_rle_crop_3753182454_0.png', 1350936468: '1744940983_1854283_1350934519_575c8f65db5b74963dec5873974ecae2_rle_crop_3753182437_0.png', 1350934944: '1744939032_3612178_1350934689_fa3c4d815ccaf0b075bb5d8e71ce9336_rle_crop_3753183816_0.png', 1350934943: '1744939032_3612178_1350934689_fa3c4d815ccaf0b075bb5d8e71ce9336_rle_crop_3753183815_0.png', 1350934942: '1744939032_3612178_1350934755_0791bd6488ebc38ab6466e9df2874fad_rle_crop_3753183777_0.png', 1350932732: '1744938192_3605029_1350931268_e84fb136d80859f36273e2b2f544d7fd_rle_crop_3753181659_0.png', 1350934782: '1744938850_3610330_1350934625_724fce817f4ba83b5231d916d5993cf2_rle_crop_3753182984_0.png', 1350934781: '1744938850_3610330_1350934625_724fce817f4ba83b5231d916d5993cf2_rle_crop_3753182979_0.png', 1350934780: '1744938850_3610330_1350934629_9e39cf576d24857b5faa4faf8db41ee2_rle_crop_3753182962_0.png', 1350934726: '1744938792_3609863_1350934376_06635fcc307b5bb66b27525255ff93cb_rle_crop_3753182790_0.png', 1350934644: '1744938709_1800542_1350934508_f0a23b4b5685579d57e6c27ea71eaf71_rle_crop_3753182486_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/de7f4bafa3a1a947c76140ccbad8111b_64307574.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/705a43574e200daed602fdd8e31aaf4c_26040792.png change filename to text .wget -O 3.jpg http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/1119e4256f81023d2350faac11f79bc7_4025670.jpg change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/86408bb3d47defbab067ea4b899faea7_73191129.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/6d47bacf026b8a73306b189040a903b1_70509048.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/4f6129d5c7c5c58db1cb034e60903504_67618017.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/4b09b9c92133be80662bf2b3e9d40b4a_81319004.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/e1cad37e98369ff8074bdf30ce6fa4ba_41449614.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/8f818ad5763da0356ca09c7a7181558d_44804830.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/18887aebad56758e46fe3f1869dc00e8_94184066.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/e68095eea54313acc1f64cef02cbfac8_36117602.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/c4232a1cc492ac758fca32d55ea1a211_7203822.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/38fb1b167cc86affd41259587928d46d_14895454.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/4bc35cfeb54b87759f29c7aa6da0c993_63640454.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/3c2400d3f8bd6de81e1ae3cadfaa39ef_61572911.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/705a43574e200daed602fdd8e31aaf4c_47796873.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/457b959f5e74ef6cf8abfd03e8ceae73_99419112.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/86408bb3d47defbab067ea4b899faea7_17979200.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/de7f4bafa3a1a947c76140ccbad8111b_50198047.png change filename to text .imagette221685361745033884/ imagette221685361745033884/1744939032_3612178_1350934689_fa3c4d815ccaf0b075bb5d8e71ce9336_rle_crop_3753183816_0.png.png imagette221685361745033884/1744940983_1854283_1350934516_3c248ba6ecf63108688d6fe586bca3cd_rle_crop_3753182454_0.png.png imagette221685361745033884/1744938192_3605029_1350931268_e84fb136d80859f36273e2b2f544d7fd_rle_crop_3753181659_0.png.png imagette221685361745033884/1744942273_3655274_1350934625_724fce817f4ba83b5231d916d5993cf2_rle_crop_3753182984_0.png.png imagette221685361745033884/1744938850_3610330_1350934629_9e39cf576d24857b5faa4faf8db41ee2_rle_crop_3753182962_0.png.png imagette221685361745033884/1744940983_1854283_1350934519_575c8f65db5b74963dec5873974ecae2_rle_crop_3753182437_0.png.png imagette221685361745033884/1744939032_3612178_1350934755_0791bd6488ebc38ab6466e9df2874fad_rle_crop_3753183777_0.png.png imagette221685361745033884/1744938850_3610330_1350934625_724fce817f4ba83b5231d916d5993cf2_rle_crop_3753182984_0.png.png imagette221685361745033884/1744940983_1854283_1350934508_f0a23b4b5685579d57e6c27ea71eaf71_rle_crop_3753182489_0.png.png imagette221685361745033884/1744942153_3653791_1350934735_91dd4c2c28efc71ec624598bc78345f7_rle_crop_3753183430_0.png.png imagette221685361745033884/1744938792_3609863_1350934376_06635fcc307b5bb66b27525255ff93cb_rle_crop_3753182790_0.png.png imagette221685361745033884/1744938850_3610330_1350934625_724fce817f4ba83b5231d916d5993cf2_rle_crop_3753182979_0.png.png imagette221685361745033884/1744940983_1854283_1350934512_1d689bb35b89502d9c5cfa5568f86ca8_rle_crop_3753182472_0.png.png imagette221685361745033884/1744939032_3612178_1350934689_fa3c4d815ccaf0b075bb5d8e71ce9336_rle_crop_3753183815_0.png.png imagette221685361745033884/1744942273_3655274_1350934629_9e39cf576d24857b5faa4faf8db41ee2_rle_crop_3753182962_0.png.png imagette221685361745033884/1744940983_1854283_1350934512_1d689bb35b89502d9c5cfa5568f86ca8_rle_crop_3753182464_0.png.png imagette221685361745033884/1744938709_1800542_1350934508_f0a23b4b5685579d57e6c27ea71eaf71_rle_crop_3753182486_0.png.png imagette221685361745033884/1744938911_3610899_1350934376_06635fcc307b5bb66b27525255ff93cb_rle_crop_3753182790_0.png.png imagette221685361745033884/1744942273_3655274_1350934625_724fce817f4ba83b5231d916d5993cf2_bib_crop_3753182979_0.jpg.jpg imagette221685361745033884/1744940983_1854283_1350934508_f0a23b4b5685579d57e6c27ea71eaf71_rle_crop_3753182486_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/4f6129d5c7c5c58db1cb034e60903504_75229800.png imagette221685361745033884 22168541 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=22168541 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1350934785: '1744938850_3610330_1350934625_724fce817f4ba83b5231d916d5993cf2_rle_crop_3753182978_0.png', 1350941316: '1744942273_3655274_1350934621_9e427c544e93df248861ec236ed091ff_rle_crop_3753182995_0.png', 1350941315: '1744942273_3655274_1350934621_9e427c544e93df248861ec236ed091ff_rle_crop_3753182996_0.png', 1350941314: '1744942273_3655274_1350934625_724fce817f4ba83b5231d916d5993cf2_rle_crop_3753182978_0.png', 1350941313: '1744942273_3655274_1350934629_9e39cf576d24857b5faa4faf8db41ee2_rle_crop_3753182961_0.png', 1350941312: '1744942273_3655274_1350934693_8770572217ebf546aecf45fa5a36fdb0_rle_crop_3753230228_0.png', 1350941311: '1744942273_3655274_1350934693_8770572217ebf546aecf45fa5a36fdb0_rle_crop_3753230224_0.png', 1350936476: '1744940983_1854283_1350934508_f0a23b4b5685579d57e6c27ea71eaf71_rle_crop_3753182491_0.png', 1350936475: '1744940983_1854283_1350934519_575c8f65db5b74963dec5873974ecae2_rle_crop_3753182444_0.png', 1350936474: '1744940983_1854283_1350934519_575c8f65db5b74963dec5873974ecae2_rle_crop_3753182438_0.png', 1350934842: '1744938911_3610899_1350934411_8b7f7a93234ff75ef920a56ce05a1fcf_rle_crop_3753182761_0.png', 1350934841: '1744938911_3610899_1350934415_ab420f351fbd07c9d1ebcdd176961d18_rle_crop_3753182743_0.png', 1350934787: '1744938850_3610330_1350934621_9e427c544e93df248861ec236ed091ff_rle_crop_3753182995_0.png', 1350934786: '1744938850_3610330_1350934621_9e427c544e93df248861ec236ed091ff_rle_crop_3753182996_0.png', 1350932744: '1744938192_3605029_1350931360_42cefbe6cbfcb9b4027e130494fe6d6d_rle_crop_3753181606_0.png', 1350934784: '1744938850_3610330_1350934629_9e39cf576d24857b5faa4faf8db41ee2_rle_crop_3753182961_0.png', 1350934730: '1744938792_3609863_1350934411_8b7f7a93234ff75ef920a56ce05a1fcf_rle_crop_3753182761_0.png', 1350934729: '1744938792_3609863_1350934415_ab420f351fbd07c9d1ebcdd176961d18_rle_crop_3753182743_0.png', 1350934668: '1744938734_3609202_1350934420_baa20205b50f562f5896313d050c6e58_rle_crop_3753182535_0.png', 1350934667: '1744938734_3609202_1350934420_baa20205b50f562f5896313d050c6e58_rle_crop_3753182541_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/20f94e4313e52be4f5194f9928e06543_70425936.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/5d63a8cae847d427383299f46302557e_78745842.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/2b8923657575c3dd83ba0086c1fcb66b_4508069.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/20f94e4313e52be4f5194f9928e06543_90144713.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/bdbb5676350bc2438021c8e299da5c00_8234166.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/29787c8e0a815366ba4c079ea63adaf0_78572683.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/107360bd7f142c25a88296a2c5bb2693_3792777.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/0c4137aec2b0c59e6cd282a26ba59a6c_96710787.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/3c118d8f08e732a179a7abe0823210f6_28530477.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/be73fb62be62c19617d553f42d6474b6_79370066.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/14349ca5f86ce7983c09574119361d79_39416831.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/7b0c0f6d6ad74bfab373a6b9258a30c0_91319529.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/5d63a8cae847d427383299f46302557e_52719636.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/2b8923657575c3dd83ba0086c1fcb66b_12681996.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/380478f8a5bca032975b1abba03fb474_82498243.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/bdbb5676350bc2438021c8e299da5c00_19995733.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/14349ca5f86ce7983c09574119361d79_75076223.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/7b0c0f6d6ad74bfab373a6b9258a30c0_12989543.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/f464b1f4921757a607bde24f2e9389fe_99991718.png change filename to text .imagette221685411745033886/ imagette221685411745033886/1744938850_3610330_1350934621_9e427c544e93df248861ec236ed091ff_rle_crop_3753182996_0.png.png imagette221685411745033886/1744942273_3655274_1350934621_9e427c544e93df248861ec236ed091ff_rle_crop_3753182995_0.png.png imagette221685411745033886/1744942273_3655274_1350934693_8770572217ebf546aecf45fa5a36fdb0_rle_crop_3753230228_0.png.png imagette221685411745033886/1744938911_3610899_1350934411_8b7f7a93234ff75ef920a56ce05a1fcf_rle_crop_3753182761_0.png.png imagette221685411745033886/1744938850_3610330_1350934621_9e427c544e93df248861ec236ed091ff_rle_crop_3753182995_0.png.png imagette221685411745033886/1744942273_3655274_1350934629_9e39cf576d24857b5faa4faf8db41ee2_rle_crop_3753182961_0.png.png imagette221685411745033886/1744938850_3610330_1350934625_724fce817f4ba83b5231d916d5993cf2_rle_crop_3753182978_0.png.png imagette221685411745033886/1744942273_3655274_1350934625_724fce817f4ba83b5231d916d5993cf2_rle_crop_3753182978_0.png.png imagette221685411745033886/1744942273_3655274_1350934693_8770572217ebf546aecf45fa5a36fdb0_rle_crop_3753230224_0.png.png imagette221685411745033886/1744938192_3605029_1350931360_42cefbe6cbfcb9b4027e130494fe6d6d_rle_crop_3753181606_0.png.png imagette221685411745033886/1744942273_3655274_1350934621_9e427c544e93df248861ec236ed091ff_rle_crop_3753182996_0.png.png imagette221685411745033886/1744938792_3609863_1350934411_8b7f7a93234ff75ef920a56ce05a1fcf_rle_crop_3753182761_0.png.png imagette221685411745033886/1744938792_3609863_1350934415_ab420f351fbd07c9d1ebcdd176961d18_rle_crop_3753182743_0.png.png imagette221685411745033886/1744938734_3609202_1350934420_baa20205b50f562f5896313d050c6e58_rle_crop_3753182541_0.png.png imagette221685411745033886/1744938850_3610330_1350934629_9e39cf576d24857b5faa4faf8db41ee2_rle_crop_3753182961_0.png.png imagette221685411745033886/1744940983_1854283_1350934508_f0a23b4b5685579d57e6c27ea71eaf71_rle_crop_3753182491_0.png.png imagette221685411745033886/1744940983_1854283_1350934519_575c8f65db5b74963dec5873974ecae2_rle_crop_3753182438_0.png.png imagette221685411745033886/1744938734_3609202_1350934420_baa20205b50f562f5896313d050c6e58_rle_crop_3753182535_0.png.png imagette221685411745033886/1744940983_1854283_1350934519_575c8f65db5b74963dec5873974ecae2_rle_crop_3753182444_0.png.png imagette221685411745033886/1744938911_3610899_1350934415_ab420f351fbd07c9d1ebcdd176961d18_rle_crop_3753182743_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/dfc93515ff9c93aacfb3d95e2c206523_21887628.png imagette221685411745033886 22168543 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=22168543 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1350934833: '1744938911_3610899_1350934394_7f2416e5ddc22931a3d23f8473c07d73_rle_crop_3753182774_0.png', 1350941305: '1744942273_3655274_1350934629_9e39cf576d24857b5faa4faf8db41ee2_rle_crop_3753182960_0.png', 1350941200: '1744942153_3653791_1350934735_91dd4c2c28efc71ec624598bc78345f7_rle_crop_3753183436_0.png', 1350941199: '1744942153_3653791_1350934741_2340f4cfd4aa674e28ef8f7f0b498665_rle_crop_3753183426_0.png', 1350941198: '1744942153_3653791_1350934745_ab076c752c7fc1600bd0778ded430341_rle_crop_3753183408_0.png', 1350941197: '1744942153_3653791_1350934745_ab076c752c7fc1600bd0778ded430341_rle_crop_3753183417_0.png', 1350941196: '1744942153_3653791_1350934749_688b0ee334729dc4fbae9a68103caae3_rle_crop_3753183390_0.png', 1350941195: '1744942153_3653791_1350934749_688b0ee334729dc4fbae9a68103caae3_rle_crop_3753183389_0.png', 1350936466: '1744940983_1854283_1350934508_f0a23b4b5685579d57e6c27ea71eaf71_rle_crop_3753182494_0.png', 1350936465: '1744940983_1854283_1350934516_3c248ba6ecf63108688d6fe586bca3cd_rle_crop_3753182453_0.png', 1350936464: '1744940983_1854283_1350934519_575c8f65db5b74963dec5873974ecae2_rle_crop_3753182441_0.png', 1350934937: '1744939032_3612178_1350934689_fa3c4d815ccaf0b075bb5d8e71ce9336_rle_crop_3753183819_0.png', 1350934936: '1744939032_3612178_1350934689_fa3c4d815ccaf0b075bb5d8e71ce9336_rle_crop_3753183823_0.png', 1350934835: '1744938911_3610899_1350934374_cb356d9b466ab2f4d450593cab1542c4_rle_crop_3753182800_0.png', 1350934834: '1744938911_3610899_1350934374_cb356d9b466ab2f4d450593cab1542c4_rle_crop_3753182801_0.png', 1350932725: '1744938192_3605029_1350931329_b1a5673968b42906a0297123ada950e3_rle_crop_3753181618_0.png', 1350934832: '1744938911_3610899_1350934394_7f2416e5ddc22931a3d23f8473c07d73_rle_crop_3753182776_0.png', 1350934831: '1744938911_3610899_1350934411_8b7f7a93234ff75ef920a56ce05a1fcf_rle_crop_3753182766_0.png', 1350934778: '1744938850_3610330_1350934629_9e39cf576d24857b5faa4faf8db41ee2_rle_crop_3753182960_0.png', 1350934722: '1744938792_3609863_1350934374_cb356d9b466ab2f4d450593cab1542c4_rle_crop_3753182800_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/fa881f60b898343d850ddd9c4e5d2ca8_4404364.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/a479490d2a0cec6ccdaf66f0f4787ab0_18227087.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/9917546b2e901e6e1f71d2dfb6a70f77_27750947.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/606ea4089e533b72a7342f10faaa75ec_42018554.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/161e4d27ee53a819307e46d5bea2e302_57882143.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/c4585f91e9c5fa7f72c5a5a7eff1833f_29355931.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/ee3edaa239509036aefb0fabc3545610_54989246.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/fb13253567bb2ff20b505f03df835f3e_78343898.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/56a1aa17633dfb80a8754f409b2557c2_67763240.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/141936f21dcb7c39a445b0819a25952b_19088416.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/69d4bc7d45971abd55aa54ff4663bbb6_95228215.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/c6b49726125178404e90afc8f5a34991_71442493.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/de5d476307e6ca1b283091a2bd7af1f3_9312785.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/1fb4705246ac44b98e0de0900b20ec1a_89944624.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/a5c7d150046acf1cc59481e827fab7ca_57133747.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/70496f307e4b8865d5d006dff3b42b1c_75786707.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/3bbdb52591588e7be2776df9bdb04209_29150267.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/5fe8407d10adaa52a1cff6ee68b5def7_74449097.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/a479490d2a0cec6ccdaf66f0f4787ab0_48211338.png change filename to text .imagette221685431745033889/ imagette221685431745033889/1744942153_3653791_1350934749_688b0ee334729dc4fbae9a68103caae3_rle_crop_3753183389_0.png.png imagette221685431745033889/1744938911_3610899_1350934374_cb356d9b466ab2f4d450593cab1542c4_rle_crop_3753182800_0.png.png imagette221685431745033889/1744942153_3653791_1350934745_ab076c752c7fc1600bd0778ded430341_rle_crop_3753183417_0.png.png imagette221685431745033889/1744938792_3609863_1350934374_cb356d9b466ab2f4d450593cab1542c4_rle_crop_3753182800_0.png.png imagette221685431745033889/1744942273_3655274_1350934629_9e39cf576d24857b5faa4faf8db41ee2_rle_crop_3753182960_0.png.png imagette221685431745033889/1744939032_3612178_1350934689_fa3c4d815ccaf0b075bb5d8e71ce9336_rle_crop_3753183823_0.png.png imagette221685431745033889/1744940983_1854283_1350934516_3c248ba6ecf63108688d6fe586bca3cd_rle_crop_3753182453_0.png.png imagette221685431745033889/1744942153_3653791_1350934745_ab076c752c7fc1600bd0778ded430341_rle_crop_3753183408_0.png.png imagette221685431745033889/1744942153_3653791_1350934735_91dd4c2c28efc71ec624598bc78345f7_rle_crop_3753183436_0.png.png imagette221685431745033889/1744938911_3610899_1350934374_cb356d9b466ab2f4d450593cab1542c4_rle_crop_3753182801_0.png.png imagette221685431745033889/1744938911_3610899_1350934411_8b7f7a93234ff75ef920a56ce05a1fcf_rle_crop_3753182766_0.png.png imagette221685431745033889/1744942153_3653791_1350934741_2340f4cfd4aa674e28ef8f7f0b498665_rle_crop_3753183426_0.png.png imagette221685431745033889/1744939032_3612178_1350934689_fa3c4d815ccaf0b075bb5d8e71ce9336_rle_crop_3753183819_0.png.png imagette221685431745033889/1744942153_3653791_1350934749_688b0ee334729dc4fbae9a68103caae3_rle_crop_3753183390_0.png.png imagette221685431745033889/1744938911_3610899_1350934394_7f2416e5ddc22931a3d23f8473c07d73_rle_crop_3753182776_0.png.png imagette221685431745033889/1744940983_1854283_1350934508_f0a23b4b5685579d57e6c27ea71eaf71_rle_crop_3753182494_0.png.png imagette221685431745033889/1744938911_3610899_1350934394_7f2416e5ddc22931a3d23f8473c07d73_rle_crop_3753182774_0.png.png imagette221685431745033889/1744938850_3610330_1350934629_9e39cf576d24857b5faa4faf8db41ee2_rle_crop_3753182960_0.png.png imagette221685431745033889/1744940983_1854283_1350934519_575c8f65db5b74963dec5873974ecae2_rle_crop_3753182441_0.png.png imagette221685431745033889/1744938192_3605029_1350931329_b1a5673968b42906a0297123ada950e3_rle_crop_3753181618_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/1fb4705246ac44b98e0de0900b20ec1a_35086017.png imagette221685431745033889 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=22168535 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/22168548,22168549,22168550,22168551,22168552,22168553,22168554,22168555,22168556,22168557,22168558,22168559?tags=Carton_gris,kraft,mal_croppe,plastique,cartonnette,Carton_brun,autre_refus,Teint_Dans_La_Masse,metal,papier,environnement,flou your option no_mail is active, we will not send the real mail to your client args[1350934864] : ('0.07061054419730133',) no score found for photo 1350934864 We are sending mail with results at report@fotonower.com args[1350934804] : ('0.07061054419730133',) no score found for photo 1350934804 We are sending mail with results at report@fotonower.com args[1350934801] : ('0.07061054419730133',) no score found for photo 1350934801 We are sending mail with results at report@fotonower.com args[1350934799] : ('0.07061054419730133',) no score found for photo 1350934799 We are sending mail with results at report@fotonower.com args[1350934755] : ('0.07061054419730133',) no score found for photo 1350934755 We are sending mail with results at report@fotonower.com args[1350934749] : ('0.07061054419730133',) no score found for photo 1350934749 We are sending mail with results at report@fotonower.com args[1350934745] : ('0.07061054419730133',) no score found for photo 1350934745 We are sending mail with results at report@fotonower.com args[1350934741] : ('0.07061054419730133',) no score found for photo 1350934741 We are sending mail with results at report@fotonower.com args[1350934735] : ('0.07061054419730133',) no score found for photo 1350934735 We are sending mail with results at report@fotonower.com args[1350934693] : ('0.07061054419730133',) no score found for photo 1350934693 We are sending mail with results at report@fotonower.com args[1350934692] : ('0.07061054419730133',) no score found for photo 1350934692 We are sending mail with results at report@fotonower.com args[1350934691] : ('0.07061054419730133',) no score found for photo 1350934691 We are sending mail with results at report@fotonower.com args[1350934689] : ('0.07061054419730133',) no score found for photo 1350934689 We are sending mail with results at report@fotonower.com args[1350934651] : ('0.07061054419730133',) no score found for photo 1350934651 We are sending mail with results at report@fotonower.com args[1350934636] : ('0.07061054419730133',) no score found for photo 1350934636 We are sending mail with results at report@fotonower.com args[1350934629] : ('0.07061054419730133',) no score found for photo 1350934629 We are sending mail with results at report@fotonower.com args[1350934625] : ('0.07061054419730133',) no score found for photo 1350934625 We are sending mail with results at report@fotonower.com args[1350934621] : ('0.07061054419730133',) no score found for photo 1350934621 We are sending mail with results at report@fotonower.com args[1350934592] : ('0.07061054419730133',) no score found for photo 1350934592 We are sending mail with results at report@fotonower.com args[1350934523] : ('0.07061054419730133',) no score found for photo 1350934523 We are sending mail with results at report@fotonower.com args[1350934519] : ('0.07061054419730133',) no score found for photo 1350934519 We are sending mail with results at report@fotonower.com args[1350934516] : ('0.07061054419730133',) no score found for photo 1350934516 We are sending mail with results at report@fotonower.com args[1350934512] : ('0.07061054419730133',) no score found for photo 1350934512 We are sending mail with results at report@fotonower.com args[1350934508] : ('0.07061054419730133',) no score found for photo 1350934508 We are sending mail with results at report@fotonower.com args[1350934420] : ('0.07061054419730133',) no score found for photo 1350934420 We are sending mail with results at report@fotonower.com args[1350934415] : ('0.07061054419730133',) no score found for photo 1350934415 We are sending mail with results at report@fotonower.com args[1350934411] : ('0.07061054419730133',) no score found for photo 1350934411 We are sending mail with results at report@fotonower.com args[1350934394] : ('0.07061054419730133',) no score found for photo 1350934394 We are sending mail with results at report@fotonower.com args[1350934376] : ('0.07061054419730133',) no score found for photo 1350934376 We are sending mail with results at report@fotonower.com args[1350934374] : ('0.07061054419730133',) no score found for photo 1350934374 We are sending mail with results at report@fotonower.com args[1350934064] : ('0.07061054419730133',) no score found for photo 1350934064 We are sending mail with results at report@fotonower.com args[1350934038] : ('0.07061054419730133',) no score found for photo 1350934038 We are sending mail with results at report@fotonower.com args[1350934011] : ('0.07061054419730133',) no score found for photo 1350934011 We are sending mail with results at report@fotonower.com args[1350933984] : ('0.07061054419730133',) no score found for photo 1350933984 We are sending mail with results at report@fotonower.com args[1350933852] : ('0.07061054419730133',) no score found for photo 1350933852 We are sending mail with results at report@fotonower.com args[1350933849] : ('0.07061054419730133',) no score found for photo 1350933849 We are sending mail with results at report@fotonower.com args[1350933846] : ('0.07061054419730133',) no score found for photo 1350933846 We are sending mail with results at report@fotonower.com args[1350931360] : ('0.07061054419730133',) no score found for photo 1350931360 We are sending mail with results at report@fotonower.com args[1350931329] : ('0.07061054419730133',) no score found for photo 1350931329 We are sending mail with results at report@fotonower.com args[1350931299] : ('0.07061054419730133',) no score found for photo 1350931299 We are sending mail with results at report@fotonower.com args[1350931268] : ('0.07061054419730133',) no score found for photo 1350931268 We are sending mail with results at report@fotonower.com refus_total : 0.07061054419730133 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=22168535 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_P22168535_19-04-2025_05_38_00.pdf results_Auto_P22168535_19-04-2025_05_38_00.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22168535_19-04-2025_05_38_00.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','22168535','results_Auto_P22168535_19-04-2025_05_38_00.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22168535_19-04-2025_05_38_00.pdf','pdf','','0.52','0.07061054419730133') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22168535]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1350934864, 1350934804, 1350934801, 1350934799, 1350934755, 1350934749, 1350934745, 1350934741, 1350934735, 1350934693, 1350934692, 1350934691, 1350934689, 1350934651, 1350934636, 1350934629, 1350934625, 1350934621, 1350934592, 1350934523, 1350934519, 1350934516, 1350934512, 1350934508, 1350934420, 1350934415, 1350934411, 1350934394, 1350934376, 1350934374, 1350934064, 1350934038, 1350934011, 1350933984, 1350933852, 1350933849, 1350933846, 1350931360, 1350931329, 1350931299, 1350931268] map_info['map_portfolio_photo'] : {22168535: [1350934864, 1350934804, 1350934801, 1350934799, 1350934755, 1350934749, 1350934745, 1350934741, 1350934735, 1350934693, 1350934692, 1350934691, 1350934689, 1350934651, 1350934636, 1350934629, 1350934625, 1350934621, 1350934592, 1350934523, 1350934519, 1350934516, 1350934512, 1350934508, 1350934420, 1350934415, 1350934411, 1350934394, 1350934376, 1350934374, 1350934064, 1350934038, 1350934011, 1350933984, 1350933852, 1350933849, 1350933846, 1350931360, 1350931329, 1350931299, 1350931268]} final : False mtd_id 4302 list_pids : [1350934864, 1350934804, 1350934801, 1350934799, 1350934755, 1350934749, 1350934745, 1350934741, 1350934735, 1350934693, 1350934692, 1350934691, 1350934689, 1350934651, 1350934636, 1350934629, 1350934625, 1350934621, 1350934592, 1350934523, 1350934519, 1350934516, 1350934512, 1350934508, 1350934420, 1350934415, 1350934411, 1350934394, 1350934376, 1350934374, 1350934064, 1350934038, 1350934011, 1350933984, 1350933852, 1350933849, 1350933846, 1350931360, 1350931329, 1350931299, 1350931268] 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, '2739669') ('4302', '22168535', '1350934864', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934804', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934801', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934799', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934755', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934749', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934745', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934741', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934735', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934693', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934692', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934691', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934689', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934651', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934636', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934629', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934625', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934621', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934592', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934523', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934519', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934516', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934512', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934508', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934420', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934415', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934411', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934394', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934376', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934374', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934064', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934038', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934011', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350933984', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350933852', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350933849', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350933846', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350931360', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350931329', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350931299', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350931268', None, None, None, None, None, '2739669') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 41 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '22168535', '1350934864', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350934804', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350934801', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350934799', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350934755', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350934749', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350934745', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350934741', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350934735', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350934693', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350934692', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350934691', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350934689', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350934651', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350934636', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350934629', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350934625', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350934621', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350934592', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350934523', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350934519', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350934516', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350934512', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350934508', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350934420', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350934415', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350934411', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350934394', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350934376', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350934374', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350934064', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350934038', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350934011', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350933984', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350933852', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350933849', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350933846', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350931360', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350931329', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350931299', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350931268', None, None, None, None, None, '2739669')] time used for this insertion : 0.025438308715820312 save_final save missing photos in datou_result : time spend for datou_step_exec : 14.616228103637695 time spend to save output : 0.025903940200805664 total time spend for step 4 : 14.642132043838501 step5:split_time_score Sat Apr 19 05:38:13 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 : ['22168535'] 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 : [('22168535',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22168535) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1350934755: {'path': 'temp/1745033879_2862364_1350934755_0791bd6488ebc38ab6466e9df2874fad.jpg', 'extension': 'jpg'}, 1350934799: {'path': 'temp/1745033879_2862364_1350934799_cb256ce6cdacb34c19cc4adbe1e99eea.jpg', 'extension': 'jpg'}, 1350934801: {'path': 'temp/1745033879_2862364_1350934801_0cee2a86a57f46b3ef71a323e9ae721f.jpg', 'extension': 'jpg'}, 1350934804: {'path': 'temp/1745033879_2862364_1350934804_d6ac7b5b1d7c9fb4b655f5196c785b00.jpg', 'extension': 'jpg'}, 1350934864: {'path': 'temp/1745033879_2862364_1350934864_162cc9b521b987250336c0e4b4c670c7.jpg', 'extension': 'jpg'}, 1350931268: {'path': 'temp/1745033879_2862364_1350931268_e84fb136d80859f36273e2b2f544d7fd.jpg', 'extension': 'jpg'}, 1350931299: {'path': 'temp/1745033879_2862364_1350931299_a54ac2da76a5ffda68957c107a02dc17.jpg', 'extension': 'jpg'}, 1350931329: {'path': 'temp/1745033879_2862364_1350931329_b1a5673968b42906a0297123ada950e3.jpg', 'extension': 'jpg'}, 1350931360: {'path': 'temp/1745033879_2862364_1350931360_42cefbe6cbfcb9b4027e130494fe6d6d.jpg', 'extension': 'jpg'}, 1350933846: {'path': 'temp/1745033879_2862364_1350933846_ed24d94275a4a9ae5575ef259b215189.jpg', 'extension': 'jpg'}, 1350933849: {'path': 'temp/1745033879_2862364_1350933849_49dbfba40701862210113e7d286f49bf.jpg', 'extension': 'jpg'}, 1350933852: {'path': 'temp/1745033879_2862364_1350933852_e3f712a9ee47d3e5a0196eee2b480b77.jpg', 'extension': 'jpg'}, 1350933984: {'path': 'temp/1745033879_2862364_1350933984_fc3601645e067ba12fe194aace1fe03b.jpg', 'extension': 'jpg'}, 1350934011: {'path': 'temp/1745033879_2862364_1350934011_538797ee13328233d301a973a00b730d.jpg', 'extension': 'jpg'}, 1350934651: {'path': 'temp/1745033879_2862364_1350934651_3d426ae5f8f5e3322da4331973913058.jpg', 'extension': 'jpg'}, 1350934689: {'path': 'temp/1745033879_2862364_1350934689_fa3c4d815ccaf0b075bb5d8e71ce9336.jpg', 'extension': 'jpg'}, 1350934691: {'path': 'temp/1745033879_2862364_1350934691_256baa34590416fba75dc5ad3ad213d0.jpg', 'extension': 'jpg'}, 1350934692: {'path': 'temp/1745033879_2862364_1350934692_e8cb29fe670fa1e00bd56041d02a93da.jpg', 'extension': 'jpg'}, 1350934693: {'path': 'temp/1745033879_2862364_1350934693_8770572217ebf546aecf45fa5a36fdb0.jpg', 'extension': 'jpg'}, 1350934735: {'path': 'temp/1745033879_2862364_1350934735_91dd4c2c28efc71ec624598bc78345f7.jpg', 'extension': 'jpg'}, 1350934741: {'path': 'temp/1745033879_2862364_1350934741_2340f4cfd4aa674e28ef8f7f0b498665.jpg', 'extension': 'jpg'}, 1350934745: {'path': 'temp/1745033879_2862364_1350934745_ab076c752c7fc1600bd0778ded430341.jpg', 'extension': 'jpg'}, 1350934749: {'path': 'temp/1745033879_2862364_1350934749_688b0ee334729dc4fbae9a68103caae3.jpg', 'extension': 'jpg'}, 1350934512: {'path': 'temp/1745033879_2862364_1350934512_1d689bb35b89502d9c5cfa5568f86ca8.jpg', 'extension': 'jpg'}, 1350934516: {'path': 'temp/1745033879_2862364_1350934516_3c248ba6ecf63108688d6fe586bca3cd.jpg', 'extension': 'jpg'}, 1350934519: {'path': 'temp/1745033879_2862364_1350934519_575c8f65db5b74963dec5873974ecae2.jpg', 'extension': 'jpg'}, 1350934523: {'path': 'temp/1745033879_2862364_1350934523_8651e6f40931c5f4ce79d7fbef7118ea.jpg', 'extension': 'jpg'}, 1350934592: {'path': 'temp/1745033879_2862364_1350934592_9499af6a4c2c784fe0be400ec978c5b5.jpg', 'extension': 'jpg'}, 1350934621: {'path': 'temp/1745033879_2862364_1350934621_9e427c544e93df248861ec236ed091ff.jpg', 'extension': 'jpg'}, 1350934625: {'path': 'temp/1745033879_2862364_1350934625_724fce817f4ba83b5231d916d5993cf2.jpg', 'extension': 'jpg'}, 1350934629: {'path': 'temp/1745033879_2862364_1350934629_9e39cf576d24857b5faa4faf8db41ee2.jpg', 'extension': 'jpg'}, 1350934636: {'path': 'temp/1745033879_2862364_1350934636_73a529ca7f7652b685d15cd0ab7722fc.jpg', 'extension': 'jpg'}, 1350934038: {'path': 'temp/1745033879_2862364_1350934038_e10d5c5a4b6bbcd36c5aa860ba6601e7.jpg', 'extension': 'jpg'}, 1350934064: {'path': 'temp/1745033879_2862364_1350934064_5e1fbd1933a3891abf550e4cfec10d08.jpg', 'extension': 'jpg'}, 1350934374: {'path': 'temp/1745033879_2862364_1350934374_cb356d9b466ab2f4d450593cab1542c4.jpg', 'extension': 'jpg'}, 1350934376: {'path': 'temp/1745033879_2862364_1350934376_06635fcc307b5bb66b27525255ff93cb.jpg', 'extension': 'jpg'}, 1350934394: {'path': 'temp/1745033879_2862364_1350934394_7f2416e5ddc22931a3d23f8473c07d73.jpg', 'extension': 'jpg'}, 1350934411: {'path': 'temp/1745033879_2862364_1350934411_8b7f7a93234ff75ef920a56ce05a1fcf.jpg', 'extension': 'jpg'}, 1350934415: {'path': 'temp/1745033879_2862364_1350934415_ab420f351fbd07c9d1ebcdd176961d18.jpg', 'extension': 'jpg'}, 1350934420: {'path': 'temp/1745033879_2862364_1350934420_baa20205b50f562f5896313d050c6e58.jpg', 'extension': 'jpg'}, 1350934508: {'path': 'temp/1745033879_2862364_1350934508_f0a23b4b5685579d57e6c27ea71eaf71.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 = 22168535; (('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 = 22168535 group by h (('03', 41),) SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=22168535 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 (22168535) 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 (22168535) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 18042025 22168535 Nombre de photos uploadées : 41 / 23040 (0%) 18042025 22168535 Nombre de photos taguées (types de déchets): 0 / 41 (0%) 18042025 22168535 Nombre de photos taguées (volume) : 0 / 41 (0%) [{'photo_id': 1350931360, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/42cefbe6cbfcb9b4027e130494fe6d6d.jpg', 'username': None, 'uploaded_at': 1744938072, 'text': 'image_18042025_03_00_14_010208m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1350931329, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/b1a5673968b42906a0297123ada950e3.jpg', 'username': None, 'uploaded_at': 1744938072, 'text': 'image_18042025_03_00_24_010138m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1350931299, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/a54ac2da76a5ffda68957c107a02dc17.jpg', 'username': None, 'uploaded_at': 1744938072, 'text': 'image_18042025_03_00_34_010145m0.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1350931268, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/e84fb136d80859f36273e2b2f544d7fd.jpg', 'username': None, 'uploaded_at': 1744938072, 'text': 'image_18042025_03_00_44_010145m0.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.4836273193359375e-06 ????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0020530223846435547 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 22168535, '2025-04-18' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1725253,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.029857397079467773 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= 1725253 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1725253, 'dashboard_run_id': 1737776, 'mtr_portfolio_id': 22162948, 'dashboard_result_id': 9999347, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22162948_19-04-2025_05_34_33.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22162951, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22162952, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22162953, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22162954, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22162955, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22162956, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22162957, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22162958, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22162959, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22162960, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22162961, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22162962, 'pht': 3726}}"}, {'dashboat_entry_day': 1725253, 'dashboard_run_id': 1737776, 'mtr_portfolio_id': 22163465, 'dashboard_result_id': 9999348, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22163465_19-04-2025_05_35_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22163492, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22163493, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22163494, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22163495, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22163496, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22163497, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22163498, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22163499, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22163500, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22163501, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22163502, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22163503, 'pht': 3726}}"}, {'dashboat_entry_day': 1725253, 'dashboard_run_id': 1737776, 'mtr_portfolio_id': 22163930, 'dashboard_result_id': 9999349, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22163930_19-04-2025_05_35_49.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22163933, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22163934, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22163935, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22163936, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22163937, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22163938, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22163939, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22163940, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22163941, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22163942, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22163943, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22163944, 'pht': 3726}}"}, {'dashboat_entry_day': 1725253, 'dashboard_run_id': 1737776, 'mtr_portfolio_id': 22164320, 'dashboard_result_id': 9999350, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22164320_19-04-2025_05_35_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22164347, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22164348, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22164349, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22164350, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22164351, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22164352, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22164353, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22164354, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22164355, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22164356, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22164357, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22164358, 'pht': 3726}}"}, {'dashboat_entry_day': 1725253, 'dashboard_run_id': 1737776, 'mtr_portfolio_id': 22165302, 'dashboard_result_id': 9999351, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22165302_19-04-2025_05_36_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22165303, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22165304, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22165305, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22165306, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22165307, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22165308, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22165309, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22165310, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22165311, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22165312, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22165313, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22165314, 'pht': 3726}}"}, {'dashboat_entry_day': 1725253, 'dashboard_run_id': 1737776, 'mtr_portfolio_id': 22165696, 'dashboard_result_id': 9999352, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22165696_19-04-2025_05_36_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22165697, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22165698, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22165699, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22165700, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22165701, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22165702, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22165703, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22165704, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22165705, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22165706, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22165707, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22165708, 'pht': 3726}}"}, {'dashboat_entry_day': 1725253, 'dashboard_run_id': 1737776, 'mtr_portfolio_id': 22166003, 'dashboard_result_id': 9999353, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22166003_19-04-2025_05_37_07.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22166006, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22166007, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22166008, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22166009, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22166010, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22166011, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22166012, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22166013, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22166014, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22166015, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22166016, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22166017, 'pht': 3726}}"}, {'dashboat_entry_day': 1725253, 'dashboard_run_id': 1737776, 'mtr_portfolio_id': 22166799, 'dashboard_result_id': 9999354, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22166799_18-04-2025_02_33_29.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22166801, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22166802, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22166803, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22166804, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22166805, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22166806, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22166807, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22166808, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22166809, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22166810, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22166811, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22166812, 'pht': 3726}}"}, {'dashboat_entry_day': 1725253, 'dashboard_run_id': 1737776, 'mtr_portfolio_id': 22167282, 'dashboard_result_id': 9999355, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22167282_19-04-2025_05_37_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22167283, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22167284, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22167285, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22167286, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22167287, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22167288, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22167289, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22167290, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22167291, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22167292, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22167293, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22167294, 'pht': 3726}}"}, {'dashboat_entry_day': 1725253, 'dashboard_run_id': 1737776, 'mtr_portfolio_id': 22167840, 'dashboard_result_id': 9999356, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22167840_19-04-2025_05_37_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22167841, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22167842, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22167843, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22167844, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22167845, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22167846, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22167847, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22167848, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22167849, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22167850, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22167851, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22167852, 'pht': 3726}}"}, {'dashboat_entry_day': 1725253, 'dashboard_run_id': 1737776, 'mtr_portfolio_id': 22168535, 'dashboard_result_id': 9999357, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22168535_18-04-2025_03_16_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22168536, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22168537, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22168538, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22168539, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22168540, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22168541, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22168542, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22168543, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22168544, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22168545, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22168546, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22168547, 'pht': 3726}}"}, {'dashboat_entry_day': 1725253, 'dashboard_run_id': 1737776, 'mtr_portfolio_id': 22168817, 'dashboard_result_id': 9999358, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22168817_18-04-2025_03_32_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22168819, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22168820, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22168821, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22168822, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22168823, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22168824, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22168825, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22168826, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22168827, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22168828, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22168829, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22168830, 'pht': 3726}}"}, {'dashboat_entry_day': 1725253, 'dashboard_run_id': 1737776, 'mtr_portfolio_id': 22169287, 'dashboard_result_id': 9999359, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22169287_18-04-2025_03_48_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22169288, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22169289, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22169290, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22169291, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22169292, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22169293, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22169294, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22169295, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22169296, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22169297, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22169298, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22169299, 'pht': 3726}}"}, {'dashboat_entry_day': 1725253, 'dashboard_run_id': 1737776, 'mtr_portfolio_id': 22169736, 'dashboard_result_id': 9999360, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22169736_18-04-2025_04_02_57.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22169761, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22169762, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22169763, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22169764, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22169765, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22169766, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22169767, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22169768, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22169769, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22169770, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22169771, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22169772, 'pht': 3726}}"}, {'dashboat_entry_day': 1725253, 'dashboard_run_id': 1737776, 'mtr_portfolio_id': 22170221, 'dashboard_result_id': 9999361, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22170221_19-04-2025_00_09_29.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22170247, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22170248, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22170249, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22170250, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22170251, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22170252, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22170253, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22170254, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22170255, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22170256, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22170257, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22170258, 'pht': 3726}}"}, {'dashboat_entry_day': 1725253, 'dashboard_run_id': 1737776, 'mtr_portfolio_id': 22171119, 'dashboard_result_id': 9999362, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22171119_18-04-2025_05_18_57.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22171122, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22171123, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22171124, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22171125, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22171126, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22171127, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22171128, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22171129, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22171130, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22171131, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22171132, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22171133, 'pht': 3726}}"}, {'dashboat_entry_day': 1725253, 'dashboard_run_id': 1737776, 'mtr_portfolio_id': 22171362, 'dashboard_result_id': 9999363, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22171362_18-04-2025_05_32_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22171363, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22171364, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22171365, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22171366, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22171367, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22171368, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22171369, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22171370, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22171371, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22171372, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22171373, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22171374, 'pht': 3726}}"}, {'dashboat_entry_day': 1725253, 'dashboard_run_id': 1737776, 'mtr_portfolio_id': 22171631, 'dashboard_result_id': 9999364, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22171631_18-04-2025_05_49_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22171646, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22171647, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22171648, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22171649, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22171650, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22171651, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22171652, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22171653, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22171654, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22171655, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22171656, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22171657, 'pht': 3726}}"}, {'dashboat_entry_day': 1725253, 'dashboard_run_id': 1737776, 'mtr_portfolio_id': 22172154, 'dashboard_result_id': 9999365, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22172154_18-04-2025_06_02_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22172179, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22172180, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22172181, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22172182, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22172183, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22172184, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22172185, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22172186, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22172187, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22172188, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22172189, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22172190, 'pht': 3726}}"}, {'dashboat_entry_day': 1725253, 'dashboard_run_id': 1737776, 'mtr_portfolio_id': 22172466, 'dashboard_result_id': 9999366, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22172466_18-04-2025_06_17_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22172467, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22172468, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22172469, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22172470, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22172471, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22172472, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22172473, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22172474, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22172475, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22172476, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22172477, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22172478, 'pht': 3726}}"}, {'dashboat_entry_day': 1725253, 'dashboard_run_id': 1737776, 'mtr_portfolio_id': 22173041, 'dashboard_result_id': 9999367, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22173041_18-04-2025_06_32_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22173068, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22173069, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22173070, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22173071, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22173072, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22173073, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22173074, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22173075, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22173076, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22173077, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22173078, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22173079, 'pht': 3726}}"}, {'dashboat_entry_day': 1725253, 'dashboard_run_id': 1737776, 'mtr_portfolio_id': 22173579, 'dashboard_result_id': 9999368, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22173579_18-04-2025_06_49_27.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22173605, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22173606, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22173607, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22173608, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22173609, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22173610, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22173611, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22173612, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22173613, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22173614, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22173615, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22173616, 'pht': 3726}}"}, {'dashboat_entry_day': 1725253, 'dashboard_run_id': 1737776, 'mtr_portfolio_id': 22173940, 'dashboard_result_id': 9999369, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22173940_18-04-2025_07_02_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22173941, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22173942, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22173943, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22173944, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22173945, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22173946, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22173947, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22173948, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22173949, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22173950, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22173951, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22173952, 'pht': 3726}}"}, {'dashboat_entry_day': 1725253, 'dashboard_run_id': 1737776, 'mtr_portfolio_id': 22174430, 'dashboard_result_id': 9999370, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22174430_18-04-2025_07_17_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22174461, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22174462, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22174463, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22174464, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22174465, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22174466, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22174467, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22174468, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22174469, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22174470, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22174471, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22174472, 'pht': 3726}}"}, {'dashboat_entry_day': 1725253, 'dashboard_run_id': 1737776, 'mtr_portfolio_id': 22175155, 'dashboard_result_id': 9999371, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22175155_18-04-2025_07_32_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22175187, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22175188, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22175189, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22175190, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22175191, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22175192, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22175193, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22175194, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22175195, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22175196, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22175197, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22175198, 'pht': 3726}}"}, {'dashboat_entry_day': 1725253, 'dashboard_run_id': 1737776, 'mtr_portfolio_id': 22175907, 'dashboard_result_id': 9999372, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22175907_18-04-2025_07_46_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22175953, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22175954, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22175955, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22175956, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22175957, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22175958, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22175959, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22175960, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22175961, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22175962, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22175963, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22175964, 'pht': 3726}}"}, {'dashboat_entry_day': 1725253, 'dashboard_run_id': 1737776, 'mtr_portfolio_id': 22176494, 'dashboard_result_id': 9999373, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22176494_18-04-2025_08_02_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22176540, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22176541, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22176542, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22176543, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22176544, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22176545, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22176546, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22176547, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22176548, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22176549, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22176550, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22176551, 'pht': 3726}}"}, {'dashboat_entry_day': 1725253, 'dashboard_run_id': 1737776, 'mtr_portfolio_id': 22177264, 'dashboard_result_id': 9999374, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22177264_18-04-2025_08_19_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22177318, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22177319, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22177320, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22177321, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22177322, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22177323, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22177324, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22177325, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22177326, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22177327, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22177328, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22177329, 'pht': 3726}}"}, {'dashboat_entry_day': 1725253, 'dashboard_run_id': 1737776, 'mtr_portfolio_id': 22178039, 'dashboard_result_id': 9999375, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22178039_18-04-2025_08_32_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22178087, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22178088, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22178089, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22178090, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22178091, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22178092, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22178093, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22178094, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22178095, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22178096, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22178097, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22178098, 'pht': 3726}}"}, {'dashboat_entry_day': 1725253, 'dashboard_run_id': 1737776, 'mtr_portfolio_id': 22178776, 'dashboard_result_id': 9999376, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22178776_18-04-2025_08_48_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22178783, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22178784, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22178785, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22178786, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22178787, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22178788, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22178789, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22178790, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22178791, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22178792, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22178793, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22178794, 'pht': 3726}}"}, {'dashboat_entry_day': 1725253, 'dashboard_run_id': 1737776, 'mtr_portfolio_id': 22181228, 'dashboard_result_id': 9999377, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22181228_18-04-2025_09_46_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22181231, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22181232, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22181233, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22181234, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22181235, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22181236, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22181237, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22181238, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22181239, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22181240, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22181241, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22181242, 'pht': 3726}}"}, {'dashboat_entry_day': 1725253, 'dashboard_run_id': 1737776, 'mtr_portfolio_id': 22181746, 'dashboard_result_id': 9999378, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22181746_18-04-2025_10_02_57.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22181750, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22181751, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22181752, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22181753, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22181754, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22181755, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22181756, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22181757, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22181758, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22181759, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22181760, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22181761, 'pht': 3726}}"}, {'dashboat_entry_day': 1725253, 'dashboard_run_id': 1737776, 'mtr_portfolio_id': 22182399, 'dashboard_result_id': 9999379, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22182399_18-04-2025_10_18_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22182400, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22182401, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22182402, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22182403, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22182404, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22182405, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22182406, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22182407, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22182408, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22182409, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22182410, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22182411, 'pht': 3726}}"}, {'dashboat_entry_day': 1725253, 'dashboard_run_id': 1737776, 'mtr_portfolio_id': 22182983, 'dashboard_result_id': 9999380, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22182983_18-04-2025_10_32_30.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22183015, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22183016, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22183017, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22183018, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22183019, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22183020, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22183021, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22183022, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22183023, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22183024, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22183025, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22183026, 'pht': 3726}}"}, {'dashboat_entry_day': 1725253, 'dashboard_run_id': 1737776, 'mtr_portfolio_id': 22183721, 'dashboard_result_id': 9999381, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22183721_18-04-2025_10_48_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22183728, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22183729, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22183730, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22183731, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22183732, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22183736, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22183743, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22183747, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22183748, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22183749, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22183750, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22183751, 'pht': 3726}}"}, {'dashboat_entry_day': 1725253, 'dashboard_run_id': 1737776, 'mtr_portfolio_id': 22185830, 'dashboard_result_id': 9999382, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22185830_18-04-2025_11_02_57.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22185893, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22185894, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22185895, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22185896, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22185897, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22185898, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22185899, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22185900, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22185901, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22185902, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22185903, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22185904, 'pht': 3726}}"}, {'dashboat_entry_day': 1725253, 'dashboard_run_id': 1737776, 'mtr_portfolio_id': 22187506, 'dashboard_result_id': 9999383, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22187506_18-04-2025_11_16_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22187573, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22187574, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22187575, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22187576, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22187577, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22187578, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22187579, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22187580, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22187581, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22187582, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22187583, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22187584, 'pht': 3726}}"}, {'dashboat_entry_day': 1725253, 'dashboard_run_id': 1737776, 'mtr_portfolio_id': 22188563, 'dashboard_result_id': 9999384, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22188563_18-04-2025_11_32_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22188630, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22188631, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22188632, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22188633, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22188634, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22188635, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22188636, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22188637, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22188638, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22188639, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22188640, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22188641, 'pht': 3726}}"}, {'dashboat_entry_day': 1725253, 'dashboard_run_id': 1737776, 'mtr_portfolio_id': 22189239, 'dashboard_result_id': 9999385, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22189239_18-04-2025_11_47_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22189283, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22189284, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22189285, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22189286, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22189287, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22189288, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22189289, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22189290, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22189291, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22189292, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22189293, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22189294, 'pht': 3726}}"}, {'dashboat_entry_day': 1725253, 'dashboard_run_id': 1737776, 'mtr_portfolio_id': 22190456, 'dashboard_result_id': 9999386, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22190456_18-04-2025_12_02_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22190460, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22190461, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22190462, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22190463, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22190464, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22190465, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22190466, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22190467, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22190468, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22190469, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22190470, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22190471, 'pht': 3726}}"}, {'dashboat_entry_day': 1725253, 'dashboard_run_id': 1737776, 'mtr_portfolio_id': 22191274, 'dashboard_result_id': 9999387, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22191274_19-04-2025_00_09_45.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22191430, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22191431, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22191432, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22191433, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22191434, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22191435, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22191436, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22191437, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22191438, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22191439, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22191440, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22191441, 'pht': 3726}}"}, {'dashboat_entry_day': 1725253, 'dashboard_run_id': 1737776, 'mtr_portfolio_id': 22195476, 'dashboard_result_id': 9999388, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22195476_18-04-2025_13_48_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22195477, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22195478, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22195479, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22195480, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22195481, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22195482, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22195483, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22195484, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22195485, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22195486, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22195487, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22195488, 'pht': 3726}}"}, {'dashboat_entry_day': 1725253, 'dashboard_run_id': 1737776, 'mtr_portfolio_id': 22195829, 'dashboard_result_id': 9999389, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22195829_18-04-2025_14_02_50.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22195859, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22195860, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22195861, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22195862, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22195863, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22195864, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22195865, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22195866, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22195867, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22195868, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22195869, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22195870, 'pht': 3726}}"}, {'dashboat_entry_day': 1725253, 'dashboard_run_id': 1737776, 'mtr_portfolio_id': 22196748, 'dashboard_result_id': 9999390, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22196748_18-04-2025_14_16_57.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22196830, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22196831, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22196832, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22196833, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22196834, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22196835, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22196836, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22196837, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22196838, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22196839, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22196840, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22196841, 'pht': 3726}}"}, {'dashboat_entry_day': 1725253, 'dashboard_run_id': 1737776, 'mtr_portfolio_id': 22197824, 'dashboard_result_id': 9999391, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22197824_18-04-2025_14_32_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22197828, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22197829, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22197830, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22197831, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22197832, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22197833, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22197834, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22197835, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22197836, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22197837, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22197838, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22197839, 'pht': 3726}}"}, {'dashboat_entry_day': 1725253, 'dashboard_run_id': 1737776, 'mtr_portfolio_id': 22198831, 'dashboard_result_id': 9999392, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22198831_18-04-2025_14_49_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22198876, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22198877, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22198878, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22198879, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22198880, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22198881, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22198882, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22198883, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22198884, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22198885, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22198886, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22198887, 'pht': 3726}}"}, {'dashboat_entry_day': 1725253, 'dashboard_run_id': 1737776, 'mtr_portfolio_id': 22199667, 'dashboard_result_id': 9999393, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22199667_18-04-2025_15_04_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22199708, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22199709, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22199710, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22199711, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22199712, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22199713, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22199714, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22199715, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22199716, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22199717, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22199718, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22199719, 'pht': 3726}}"}, {'dashboat_entry_day': 1725253, 'dashboard_run_id': 1737776, 'mtr_portfolio_id': 22200840, 'dashboard_result_id': 9999394, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22200840_18-04-2025_15_18_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22200887, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22200888, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22200889, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22200890, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22200891, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22200892, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22200893, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22200894, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22200895, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22200896, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22200897, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22200898, 'pht': 3726}}"}, {'dashboat_entry_day': 1725253, 'dashboard_run_id': 1737776, 'mtr_portfolio_id': 22201618, 'dashboard_result_id': 9999395, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22201618_18-04-2025_15_34_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22201667, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22201668, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22201669, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22201670, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22201671, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22201672, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22201673, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22201674, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22201675, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22201676, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22201677, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22201678, 'pht': 3726}}"}, {'dashboat_entry_day': 1725253, 'dashboard_run_id': 1737776, 'mtr_portfolio_id': 22202621, 'dashboard_result_id': 9999396, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22202621_18-04-2025_15_47_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22202679, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22202680, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22202681, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22202682, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22202683, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22202684, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22202685, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22202686, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22202687, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22202688, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22202689, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22202690, 'pht': 3726}}"}, {'dashboat_entry_day': 1725253, 'dashboard_run_id': 1737776, 'mtr_portfolio_id': 22203468, 'dashboard_result_id': 9999397, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22203468_18-04-2025_16_02_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22203486, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22203487, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22203488, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22203489, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22203490, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22203491, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22203492, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22203493, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22203494, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22203495, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22203496, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22203497, 'pht': 3726}}"}, {'dashboat_entry_day': 1725253, 'dashboard_run_id': 1737776, 'mtr_portfolio_id': 22204432, 'dashboard_result_id': 9999398, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22204432_18-04-2025_16_21_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22204455, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22204456, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22204457, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22204458, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22204459, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22204460, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22204461, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22204462, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22204463, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22204464, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22204465, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22204466, 'pht': 3726}}"}, {'dashboat_entry_day': 1725253, 'dashboard_run_id': 1737776, 'mtr_portfolio_id': 22205673, 'dashboard_result_id': 9999399, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22205673_18-04-2025_16_35_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22205738, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22205739, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22205740, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22205741, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22205742, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22205743, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22205744, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22205745, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22205746, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22205747, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22205748, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22205749, 'pht': 3726}}"}, {'dashboat_entry_day': 1725253, 'dashboard_run_id': 1737776, 'mtr_portfolio_id': 22206611, 'dashboard_result_id': 9999400, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22206611_18-04-2025_16_49_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22206643, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22206644, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22206645, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22206646, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22206647, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22206648, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22206649, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22206650, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22206651, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22206652, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22206653, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22206654, 'pht': 3726}}"}, {'dashboat_entry_day': 1725253, 'dashboard_run_id': 1737776, 'mtr_portfolio_id': 22207503, 'dashboard_result_id': 9999401, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22207503_18-04-2025_17_02_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22207585, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22207586, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22207587, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22207588, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22207589, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22207590, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22207591, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22207592, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22207593, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22207594, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22207595, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22207596, 'pht': 3726}}"}, {'dashboat_entry_day': 1725253, 'dashboard_run_id': 1737776, 'mtr_portfolio_id': 22208392, 'dashboard_result_id': 9999402, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22208392_18-04-2025_17_18_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22208398, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22208399, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22208400, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22208401, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22208402, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22208403, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22208404, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22208405, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22208406, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22208407, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22208408, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22208409, 'pht': 3726}}"}, {'dashboat_entry_day': 1725253, 'dashboard_run_id': 1737776, 'mtr_portfolio_id': 22209371, 'dashboard_result_id': 9999403, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22209371_18-04-2025_18_02_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22209455, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22209456, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22209457, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22209458, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22209459, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22209460, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22209461, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22209462, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22209463, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22209464, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22209465, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22209466, 'pht': 3726}}"}, {'dashboat_entry_day': 1725253, 'dashboard_run_id': 1737776, 'mtr_portfolio_id': 22211758, 'dashboard_result_id': 9999404, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22211758_18-04-2025_18_18_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22211764, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22211765, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22211766, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22211767, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22211768, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22211769, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22211770, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22211771, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22211772, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22211773, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22211774, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22211775, 'pht': 3726}}"}, {'dashboat_entry_day': 1725253, 'dashboard_run_id': 1737776, 'mtr_portfolio_id': 22212653, 'dashboard_result_id': 9999405, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22212653_18-04-2025_18_32_57.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22212755, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22212756, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22212757, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22212758, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22212759, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22212760, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22212761, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22212762, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22212763, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22212764, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22212765, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22212766, 'pht': 3726}}"}, {'dashboat_entry_day': 1725253, 'dashboard_run_id': 1737776, 'mtr_portfolio_id': 22213700, 'dashboard_result_id': 9999406, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22213700_18-04-2025_18_51_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22213742, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22213743, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22213744, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22213745, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22213746, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22213747, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22213748, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22213749, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22213750, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22213751, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22213752, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22213753, 'pht': 3726}}"}, {'dashboat_entry_day': 1725253, 'dashboard_run_id': 1737776, 'mtr_portfolio_id': 22214541, 'dashboard_result_id': 9999407, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22214541_18-04-2025_19_03_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22214586, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22214587, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22214588, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22214589, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22214590, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22214591, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22214592, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22214593, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22214594, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22214595, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22214596, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22214597, 'pht': 3726}}"}, {'dashboat_entry_day': 1725253, 'dashboard_run_id': 1737776, 'mtr_portfolio_id': 22215466, 'dashboard_result_id': 9999408, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22215466_18-04-2025_19_18_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22215489, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22215490, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22215491, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22215492, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22215493, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22215494, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22215495, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22215496, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22215497, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22215498, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22215499, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22215500, 'pht': 3726}}"}, {'dashboat_entry_day': 1725253, 'dashboard_run_id': 1737776, 'mtr_portfolio_id': 22216453, 'dashboard_result_id': 9999409, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22216453_18-04-2025_19_32_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22216514, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22216515, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22216516, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22216517, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22216518, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22216519, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22216520, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22216521, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22216522, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22216523, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22216524, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22216525, 'pht': 3726}}"}, {'dashboat_entry_day': 1725253, 'dashboard_run_id': 1737776, 'mtr_portfolio_id': 22217260, 'dashboard_result_id': 9999410, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22217260_18-04-2025_19_48_57.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22217324, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22217325, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22217326, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22217327, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22217328, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22217329, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22217330, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22217331, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22217332, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22217333, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22217334, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22217335, 'pht': 3726}}"}, {'dashboat_entry_day': 1725253, 'dashboard_run_id': 1737776, 'mtr_portfolio_id': 22218492, 'dashboard_result_id': 9999411, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22218492_18-04-2025_20_03_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22218529, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22218530, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22218531, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22218532, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22218533, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22218534, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22218535, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22218536, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22218537, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22218538, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22218539, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22218540, 'pht': 3726}}"}, {'dashboat_entry_day': 1725253, 'dashboard_run_id': 1737776, 'mtr_portfolio_id': 22219511, 'dashboard_result_id': 9999412, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22219511_18-04-2025_20_17_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22219570, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22219571, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22219573, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22219574, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22219575, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22219577, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22219578, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22219579, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22219581, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22219582, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22219583, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22219585, 'pht': 3726}}"}, {'dashboat_entry_day': 1725253, 'dashboard_run_id': 1737776, 'mtr_portfolio_id': 22220431, 'dashboard_result_id': 9999413, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22220431_18-04-2025_20_32_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22220435, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22220436, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22220437, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22220438, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22220439, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22220440, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22220441, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22220442, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22220443, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22220444, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22220445, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22220446, 'pht': 3726}}"}, {'dashboat_entry_day': 1725253, 'dashboard_run_id': 1737776, 'mtr_portfolio_id': 22220923, 'dashboard_result_id': 9999414, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22220923_18-04-2025_21_05_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22220952, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22220953, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22220954, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22220955, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22220956, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22220957, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22220958, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22220959, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22220960, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22220961, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22220962, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22220963, 'pht': 3726}}"}, {'dashboat_entry_day': 1725253, 'dashboard_run_id': 1737776, 'mtr_portfolio_id': 22223035, 'dashboard_result_id': 9999415, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22223035_18-04-2025_21_18_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22223038, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22223039, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22223040, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22223041, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22223042, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22223043, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22223044, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22223045, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22223046, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22223047, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22223048, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22223049, 'pht': 3726}}"}, {'dashboat_entry_day': 1725253, 'dashboard_run_id': 1737776, 'mtr_portfolio_id': 22225216, 'dashboard_result_id': 9999416, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22225216_18-04-2025_22_04_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22225217, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22225218, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22225219, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22225220, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22225221, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22225222, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22225223, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22225224, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22225225, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22225226, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22225227, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22225228, 'pht': 3726}}"}, {'dashboat_entry_day': 1725253, 'dashboard_run_id': 1737776, 'mtr_portfolio_id': 22228334, 'dashboard_result_id': 9999417, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22228334_18-04-2025_23_16_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22228389, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22228390, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22228391, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22228392, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22228393, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22228394, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22228395, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22228396, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22228397, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22228398, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22228399, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22228400, '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 = 22162948 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2739659, 'mtr_portfolio_id': 22162948, 'created_at': datetime.datetime(2025, 4, 19, 5, 34, 29), 'result': '0.05802794034302116', 'result_long': None, 'result_double': None}] Qualite : 0.05802794034302116 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22162948 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22162948_19-04-2025_05_34_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22162948 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22162948_19-04-2025_05_34_33.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22162951, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22162952, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22162953, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22162954, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22162955, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22162956, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22162957, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22162958, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22162959, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22162960, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22162961, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22162962, 'pht': 3726}}" where mtr_portfolio_id = 22162948 and dashboard_run_id = 1737776 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22162948 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9999347, 0.05802794034302116, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22162948_19-04-2025_05_34_33.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22162951, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22162952, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22162953, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22162954, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22162955, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22162956, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22162957, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22162958, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22162959, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22162960, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22162961, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22162962, '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 = 22163465 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2739660, 'mtr_portfolio_id': 22163465, 'created_at': datetime.datetime(2025, 4, 19, 5, 34, 58), 'result': '0.05804305563715384', 'result_long': None, 'result_double': None}] Qualite : 0.05804305563715384 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22163465 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22163465_19-04-2025_05_35_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22163465 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22163465_19-04-2025_05_35_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22163492, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22163493, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22163494, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22163495, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22163496, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22163497, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22163498, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22163499, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22163500, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22163501, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22163502, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22163503, 'pht': 3726}}" where mtr_portfolio_id = 22163465 and dashboard_run_id = 1737776 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22163465 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9999348, 0.05804305563715384, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22163465_19-04-2025_05_35_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22163492, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22163493, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22163494, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22163495, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22163496, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22163497, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22163498, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22163499, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22163500, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22163501, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22163502, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22163503, '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 = 22163930 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2739661, 'mtr_portfolio_id': 22163930, 'created_at': datetime.datetime(2025, 4, 19, 5, 35, 45), 'result': '0.07104622861329793', 'result_long': None, 'result_double': None}] Qualite : 0.07104622861329793 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22163930 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22163930_19-04-2025_05_35_49.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22163930 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22163930_19-04-2025_05_35_49.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22163933, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22163934, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22163935, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22163936, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22163937, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22163938, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22163939, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22163940, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22163941, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22163942, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22163943, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22163944, 'pht': 3726}}" where mtr_portfolio_id = 22163930 and dashboard_run_id = 1737776 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22163930 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9999349, 0.07104622861329793, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22163930_19-04-2025_05_35_49.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22163933, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22163934, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22163935, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22163936, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22163937, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22163938, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22163939, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22163940, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22163941, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22163942, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22163943, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22163944, '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 = 22164320 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2739662, 'mtr_portfolio_id': 22164320, 'created_at': datetime.datetime(2025, 4, 19, 5, 35, 30), 'result': '0.06658908624421675', 'result_long': None, 'result_double': None}] Qualite : 0.06658908624421675 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22164320 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22164320_19-04-2025_05_35_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22164320 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22164320_19-04-2025_05_35_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22164347, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22164348, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22164349, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22164350, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22164351, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22164352, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22164353, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22164354, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22164355, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22164356, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22164357, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22164358, 'pht': 3726}}" where mtr_portfolio_id = 22164320 and dashboard_run_id = 1737776 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22164320 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9999350, 0.06658908624421675, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22164320_19-04-2025_05_35_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22164347, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22164348, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22164349, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22164350, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22164351, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22164352, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22164353, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22164354, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22164355, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22164356, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22164357, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22164358, '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 = 22165302 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2739663, 'mtr_portfolio_id': 22165302, 'created_at': datetime.datetime(2025, 4, 19, 5, 36), 'result': '0.052256266685867275', 'result_long': None, 'result_double': None}] Qualite : 0.052256266685867275 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22165302 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22165302_19-04-2025_05_36_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22165302 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22165302_19-04-2025_05_36_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22165303, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22165304, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22165305, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22165306, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22165307, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22165308, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22165309, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22165310, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22165311, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22165312, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22165313, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22165314, 'pht': 3726}}" where mtr_portfolio_id = 22165302 and dashboard_run_id = 1737776 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22165302 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9999351, 0.052256266685867275, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22165302_19-04-2025_05_36_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22165303, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22165304, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22165305, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22165306, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22165307, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22165308, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22165309, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22165310, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22165311, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22165312, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22165313, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22165314, '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 = 22165696 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2739664, 'mtr_portfolio_id': 22165696, 'created_at': datetime.datetime(2025, 4, 19, 5, 36, 30), 'result': '0.053881910319139886', 'result_long': None, 'result_double': None}] Qualite : 0.053881910319139886 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22165696 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22165696_19-04-2025_05_36_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22165696 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22165696_19-04-2025_05_36_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22165697, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22165698, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22165699, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22165700, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22165701, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22165702, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22165703, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22165704, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22165705, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22165706, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22165707, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22165708, 'pht': 3726}}" where mtr_portfolio_id = 22165696 and dashboard_run_id = 1737776 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22165696 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9999352, 0.053881910319139886, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22165696_19-04-2025_05_36_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22165697, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22165698, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22165699, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22165700, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22165701, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22165702, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22165703, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22165704, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22165705, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22165706, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22165707, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22165708, '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 = 22166003 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2739665, 'mtr_portfolio_id': 22166003, 'created_at': datetime.datetime(2025, 4, 19, 5, 37), 'result': '0.047790594646829804', 'result_long': None, 'result_double': None}] Qualite : 0.047790594646829804 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22166003 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22166003_19-04-2025_05_37_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22166003 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22166003_19-04-2025_05_37_07.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22166006, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22166007, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22166008, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22166009, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22166010, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22166011, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22166012, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22166013, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22166014, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22166015, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22166016, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22166017, 'pht': 3726}}" where mtr_portfolio_id = 22166003 and dashboard_run_id = 1737776 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22166003 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9999353, 0.047790594646829804, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22166003_19-04-2025_05_37_07.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22166006, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22166007, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22166008, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22166009, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22166010, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22166011, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22166012, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22166013, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22166014, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22166015, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22166016, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22166017, '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 = 22166799 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2739666, 'mtr_portfolio_id': 22166799, 'created_at': datetime.datetime(2025, 4, 19, 5, 37, 50), 'result': '0.04890722761152895', 'result_long': None, 'result_double': None}] Qualite : 0.04890722761152895 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22166799 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22166799_18-04-2025_02_33_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22166799 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22166799_18-04-2025_02_33_29.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22166801, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22166802, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22166803, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22166804, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22166805, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22166806, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22166807, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22166808, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22166809, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22166810, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22166811, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22166812, 'pht': 3726}}" where mtr_portfolio_id = 22166799 and dashboard_run_id = 1737776 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22166799 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9999354, 0.04890722761152895, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22166799_18-04-2025_02_33_29.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22166801, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22166802, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22166803, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22166804, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22166805, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22166806, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22166807, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22166808, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22166809, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22166810, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22166811, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22166812, '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 = 22167282 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2739667, 'mtr_portfolio_id': 22167282, 'created_at': datetime.datetime(2025, 4, 19, 5, 37, 28), 'result': '0.07206933849344499', 'result_long': None, 'result_double': None}] Qualite : 0.07206933849344499 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22167282 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22167282_19-04-2025_05_37_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22167282 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22167282_19-04-2025_05_37_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22167283, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22167284, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22167285, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22167286, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22167287, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22167288, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22167289, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22167290, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22167291, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22167292, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22167293, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22167294, 'pht': 3726}}" where mtr_portfolio_id = 22167282 and dashboard_run_id = 1737776 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22167282 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9999355, 0.07206933849344499, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22167282_19-04-2025_05_37_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22167283, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22167284, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22167285, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22167286, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22167287, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22167288, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22167289, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22167290, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22167291, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22167292, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22167293, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22167294, '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 = 22167840 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2739668, 'mtr_portfolio_id': 22167840, 'created_at': datetime.datetime(2025, 4, 19, 5, 37, 27), 'result': '0.05140966075972333', 'result_long': None, 'result_double': None}] Qualite : 0.05140966075972333 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22167840 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22167840_19-04-2025_05_37_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22167840 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22167840_19-04-2025_05_37_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22167841, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22167842, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22167843, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22167844, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22167845, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22167846, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22167847, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22167848, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22167849, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22167850, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22167851, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22167852, 'pht': 3726}}" where mtr_portfolio_id = 22167840 and dashboard_run_id = 1737776 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22167840 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9999356, 0.05140966075972333, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22167840_19-04-2025_05_37_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22167841, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22167842, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22167843, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22167844, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22167845, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22167846, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22167847, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22167848, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22167849, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22167850, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22167851, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22167852, '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 = 22168535 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2739669, 'mtr_portfolio_id': 22168535, 'created_at': datetime.datetime(2025, 4, 19, 5, 37, 58), 'result': '0.07061054419730133', 'result_long': None, 'result_double': None}] Qualite : 0.07061054419730133 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22168535 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22168535_19-04-2025_05_38_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22168535 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22168535_19-04-2025_05_38_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22168536, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22168537, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22168538, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22168539, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22168540, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22168541, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22168542, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22168543, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22168544, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22168545, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22168546, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22168547, 'pht': 3726}}" where mtr_portfolio_id = 22168535 and dashboard_run_id = 1737776 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22168535 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9999357, 0.07061054419730133, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22168535_19-04-2025_05_38_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22168536, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22168537, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22168538, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22168539, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22168540, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22168541, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22168542, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22168543, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22168544, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22168545, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22168546, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22168547, '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 = 22168817 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2733823, 'mtr_portfolio_id': 22168817, 'created_at': datetime.datetime(2025, 4, 18, 3, 32, 59), 'result': '0.056738700952245924', 'result_long': None, 'result_double': None}] Qualite : 0.056738700952245924 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22168817 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22168817_18-04-2025_03_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22168817 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22168817_18-04-2025_03_32_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22168819, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22168820, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22168821, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22168822, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22168823, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22168824, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22168825, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22168826, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22168827, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22168828, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22168829, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22168830, 'pht': 3726}}" where mtr_portfolio_id = 22168817 and dashboard_run_id = 1737776 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22168817 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9999358, 0.056738700952245924, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22168817_18-04-2025_03_32_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22168819, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22168820, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22168821, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22168822, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22168823, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22168824, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22168825, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22168826, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22168827, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22168828, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22168829, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22168830, '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 = 22169287 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2733868, 'mtr_portfolio_id': 22169287, 'created_at': datetime.datetime(2025, 4, 18, 3, 48, 58), 'result': '0.0645923525995014', 'result_long': None, 'result_double': None}] Qualite : 0.0645923525995014 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22169287 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22169287_18-04-2025_03_48_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22169287 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22169287_18-04-2025_03_48_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22169288, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22169289, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22169290, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22169291, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22169292, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22169293, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22169294, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22169295, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22169296, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22169297, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22169298, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22169299, 'pht': 3726}}" where mtr_portfolio_id = 22169287 and dashboard_run_id = 1737776 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22169287 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9999359, 0.0645923525995014, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22169287_18-04-2025_03_48_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22169288, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22169289, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22169290, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22169291, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22169292, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22169293, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22169294, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22169295, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22169296, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22169297, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22169298, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22169299, '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 = 22169736 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2733909, 'mtr_portfolio_id': 22169736, 'created_at': datetime.datetime(2025, 4, 18, 4, 2, 56), 'result': '0.05673996977298194', 'result_long': None, 'result_double': None}] Qualite : 0.05673996977298194 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22169736 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22169736_18-04-2025_04_02_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22169736 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22169736_18-04-2025_04_02_57.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22169761, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22169762, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22169763, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22169764, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22169765, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22169766, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22169767, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22169768, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22169769, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22169770, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22169771, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22169772, 'pht': 3726}}" where mtr_portfolio_id = 22169736 and dashboard_run_id = 1737776 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22169736 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9999360, 0.05673996977298194, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22169736_18-04-2025_04_02_57.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22169761, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22169762, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22169763, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22169764, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22169765, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22169766, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22169767, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22169768, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22169769, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22169770, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22169771, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22169772, '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 = 22170221 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2733959, 'mtr_portfolio_id': 22170221, 'created_at': datetime.datetime(2025, 4, 19, 0, 9, 28), 'result': '0.0549236955181099', 'result_long': None, 'result_double': None}] Qualite : 0.0549236955181099 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22170221 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22170221_19-04-2025_00_09_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22170221 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22170221_19-04-2025_00_09_29.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22170247, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22170248, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22170249, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22170250, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22170251, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22170252, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22170253, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22170254, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22170255, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22170256, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22170257, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22170258, 'pht': 3726}}" where mtr_portfolio_id = 22170221 and dashboard_run_id = 1737776 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22170221 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9999361, 0.0549236955181099, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22170221_19-04-2025_00_09_29.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22170247, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22170248, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22170249, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22170250, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22170251, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22170252, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22170253, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22170254, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22170255, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22170256, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22170257, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22170258, '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 = 22171119 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2734067, 'mtr_portfolio_id': 22171119, 'created_at': datetime.datetime(2025, 4, 18, 5, 18, 57), 'result': '0.03841069222690285', 'result_long': None, 'result_double': None}] Qualite : 0.03841069222690285 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22171119 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22171119_18-04-2025_05_18_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22171119 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22171119_18-04-2025_05_18_57.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22171122, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22171123, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22171124, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22171125, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22171126, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22171127, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22171128, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22171129, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22171130, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22171131, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22171132, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22171133, 'pht': 3726}}" where mtr_portfolio_id = 22171119 and dashboard_run_id = 1737776 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22171119 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9999362, 0.03841069222690285, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22171119_18-04-2025_05_18_57.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22171122, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22171123, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22171124, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22171125, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22171126, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22171127, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22171128, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22171129, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22171130, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22171131, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22171132, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22171133, '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 = 22171362 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2734088, 'mtr_portfolio_id': 22171362, 'created_at': datetime.datetime(2025, 4, 18, 5, 32, 58), 'result': '0.033286991186584444', 'result_long': None, 'result_double': None}] Qualite : 0.033286991186584444 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22171362 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22171362_18-04-2025_05_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22171362 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22171362_18-04-2025_05_32_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22171363, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22171364, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22171365, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22171366, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22171367, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22171368, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22171369, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22171370, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22171371, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22171372, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22171373, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22171374, 'pht': 3726}}" where mtr_portfolio_id = 22171362 and dashboard_run_id = 1737776 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22171362 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9999363, 0.033286991186584444, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22171362_18-04-2025_05_32_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22171363, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22171364, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22171365, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22171366, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22171367, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22171368, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22171369, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22171370, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22171371, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22171372, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22171373, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22171374, '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 = 22171631 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2734240, 'mtr_portfolio_id': 22171631, 'created_at': datetime.datetime(2025, 4, 18, 5, 48, 59), 'result': '0.03990713613187805', 'result_long': None, 'result_double': None}] Qualite : 0.03990713613187805 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22171631 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22171631_18-04-2025_05_49_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22171631 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22171631_18-04-2025_05_49_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22171646, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22171647, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22171648, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22171649, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22171650, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22171651, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22171652, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22171653, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22171654, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22171655, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22171656, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22171657, 'pht': 3726}}" where mtr_portfolio_id = 22171631 and dashboard_run_id = 1737776 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22171631 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9999364, 0.03990713613187805, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22171631_18-04-2025_05_49_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22171646, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22171647, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22171648, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22171649, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22171650, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22171651, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22171652, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22171653, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22171654, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22171655, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22171656, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22171657, '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 = 22172154 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2734279, 'mtr_portfolio_id': 22172154, 'created_at': datetime.datetime(2025, 4, 18, 6, 2, 58), 'result': '0.06537342915765552', 'result_long': None, 'result_double': None}] Qualite : 0.06537342915765552 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22172154 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22172154_18-04-2025_06_02_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22172154 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22172154_18-04-2025_06_02_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22172179, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22172180, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22172181, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22172182, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22172183, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22172184, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22172185, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22172186, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22172187, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22172188, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22172189, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22172190, 'pht': 3726}}" where mtr_portfolio_id = 22172154 and dashboard_run_id = 1737776 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22172154 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9999365, 0.06537342915765552, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22172154_18-04-2025_06_02_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22172179, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22172180, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22172181, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22172182, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22172183, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22172184, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22172185, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22172186, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22172187, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22172188, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22172189, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22172190, '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 = 22172466 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2734320, 'mtr_portfolio_id': 22172466, 'created_at': datetime.datetime(2025, 4, 18, 6, 16, 59), 'result': '0.062320019734015755', 'result_long': None, 'result_double': None}] Qualite : 0.062320019734015755 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22172466 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22172466_18-04-2025_06_17_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22172466 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22172466_18-04-2025_06_17_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22172467, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22172468, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22172469, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22172470, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22172471, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22172472, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22172473, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22172474, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22172475, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22172476, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22172477, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22172478, 'pht': 3726}}" where mtr_portfolio_id = 22172466 and dashboard_run_id = 1737776 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22172466 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9999366, 0.062320019734015755, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22172466_18-04-2025_06_17_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22172467, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22172468, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22172469, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22172470, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22172471, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22172472, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22172473, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22172474, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22172475, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22172476, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22172477, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22172478, '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 = 22173041 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2734361, 'mtr_portfolio_id': 22173041, 'created_at': datetime.datetime(2025, 4, 18, 6, 32, 58), 'result': '0.057166220677746404', 'result_long': None, 'result_double': None}] Qualite : 0.057166220677746404 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22173041 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22173041_18-04-2025_06_32_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22173041 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22173041_18-04-2025_06_32_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22173068, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22173069, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22173070, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22173071, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22173072, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22173073, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22173074, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22173075, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22173076, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22173077, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22173078, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22173079, 'pht': 3726}}" where mtr_portfolio_id = 22173041 and dashboard_run_id = 1737776 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22173041 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9999367, 0.057166220677746404, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22173041_18-04-2025_06_32_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22173068, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22173069, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22173070, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22173071, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22173072, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22173073, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22173074, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22173075, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22173076, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22173077, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22173078, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22173079, '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 = 22173579 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2734401, 'mtr_portfolio_id': 22173579, 'created_at': datetime.datetime(2025, 4, 18, 6, 49, 27), 'result': '0.051226485004484054', 'result_long': None, 'result_double': None}] Qualite : 0.051226485004484054 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22173579 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22173579_18-04-2025_06_49_27.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22173579 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22173579_18-04-2025_06_49_27.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22173605, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22173606, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22173607, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22173608, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22173609, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22173610, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22173611, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22173612, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22173613, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22173614, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22173615, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22173616, 'pht': 3726}}" where mtr_portfolio_id = 22173579 and dashboard_run_id = 1737776 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22173579 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9999368, 0.051226485004484054, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22173579_18-04-2025_06_49_27.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22173605, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22173606, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22173607, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22173608, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22173609, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22173610, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22173611, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22173612, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22173613, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22173614, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22173615, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22173616, '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 = 22173940 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2734429, 'mtr_portfolio_id': 22173940, 'created_at': datetime.datetime(2025, 4, 18, 7, 2, 57), 'result': '0.04302277740257137', 'result_long': None, 'result_double': None}] Qualite : 0.04302277740257137 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22173940 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22173940_18-04-2025_07_02_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22173940 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22173940_18-04-2025_07_02_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22173941, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22173942, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22173943, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22173944, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22173945, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22173946, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22173947, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22173948, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22173949, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22173950, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22173951, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22173952, 'pht': 3726}}" where mtr_portfolio_id = 22173940 and dashboard_run_id = 1737776 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22173940 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9999369, 0.04302277740257137, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22173940_18-04-2025_07_02_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22173941, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22173942, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22173943, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22173944, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22173945, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22173946, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22173947, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22173948, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22173949, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22173950, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22173951, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22173952, '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 = 22174430 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2734525, 'mtr_portfolio_id': 22174430, 'created_at': datetime.datetime(2025, 4, 18, 7, 17, 1), 'result': '0.09001200735003627', 'result_long': None, 'result_double': None}] Qualite : 0.09001200735003627 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22174430 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22174430_18-04-2025_07_17_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22174430 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22174430_18-04-2025_07_17_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22174461, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22174462, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22174463, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22174464, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22174465, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22174466, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22174467, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22174468, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22174469, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22174470, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22174471, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22174472, 'pht': 3726}}" where mtr_portfolio_id = 22174430 and dashboard_run_id = 1737776 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22174430 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9999370, 0.09001200735003627, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22174430_18-04-2025_07_17_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22174461, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22174462, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22174463, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22174464, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22174465, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22174466, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22174467, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22174468, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22174469, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22174470, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22174471, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22174472, '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 = 22175155 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2734592, 'mtr_portfolio_id': 22175155, 'created_at': datetime.datetime(2025, 4, 18, 7, 32, 59), 'result': '0.05887334434922578', 'result_long': None, 'result_double': None}] Qualite : 0.05887334434922578 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22175155 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22175155_18-04-2025_07_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22175155 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22175155_18-04-2025_07_32_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22175187, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22175188, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22175189, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22175190, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22175191, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22175192, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22175193, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22175194, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22175195, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22175196, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22175197, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22175198, 'pht': 3726}}" where mtr_portfolio_id = 22175155 and dashboard_run_id = 1737776 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22175155 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9999371, 0.05887334434922578, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22175155_18-04-2025_07_32_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22175187, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22175188, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22175189, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22175190, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22175191, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22175192, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22175193, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22175194, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22175195, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22175196, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22175197, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22175198, '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 = 22175907 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2734663, 'mtr_portfolio_id': 22175907, 'created_at': datetime.datetime(2025, 4, 18, 7, 46, 57), 'result': '0.04374779709682909', 'result_long': None, 'result_double': None}] Qualite : 0.04374779709682909 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22175907 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22175907_18-04-2025_07_46_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22175907 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22175907_18-04-2025_07_46_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22175953, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22175954, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22175955, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22175956, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22175957, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22175958, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22175959, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22175960, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22175961, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22175962, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22175963, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22175964, 'pht': 3726}}" where mtr_portfolio_id = 22175907 and dashboard_run_id = 1737776 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22175907 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9999372, 0.04374779709682909, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22175907_18-04-2025_07_46_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22175953, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22175954, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22175955, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22175956, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22175957, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22175958, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22175959, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22175960, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22175961, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22175962, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22175963, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22175964, '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 = 22176494 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2734708, 'mtr_portfolio_id': 22176494, 'created_at': datetime.datetime(2025, 4, 18, 8, 2, 31), 'result': '0.08224039154773116', 'result_long': None, 'result_double': None}] Qualite : 0.08224039154773116 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22176494 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22176494_18-04-2025_08_02_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22176494 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22176494_18-04-2025_08_02_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22176540, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22176541, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22176542, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22176543, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22176544, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22176545, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22176546, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22176547, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22176548, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22176549, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22176550, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22176551, 'pht': 3726}}" where mtr_portfolio_id = 22176494 and dashboard_run_id = 1737776 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22176494 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9999373, 0.08224039154773116, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22176494_18-04-2025_08_02_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22176540, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22176541, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22176542, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22176543, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22176544, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22176545, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22176546, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22176547, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22176548, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22176549, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22176550, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22176551, '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 = 22177264 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2734789, 'mtr_portfolio_id': 22177264, 'created_at': datetime.datetime(2025, 4, 18, 8, 19), 'result': '0.05854538478891407', 'result_long': None, 'result_double': None}] Qualite : 0.05854538478891407 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22177264 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22177264_18-04-2025_08_19_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22177264 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22177264_18-04-2025_08_19_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22177318, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22177319, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22177320, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22177321, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22177322, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22177323, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22177324, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22177325, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22177326, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22177327, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22177328, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22177329, 'pht': 3726}}" where mtr_portfolio_id = 22177264 and dashboard_run_id = 1737776 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22177264 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9999374, 0.05854538478891407, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22177264_18-04-2025_08_19_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22177318, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22177319, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22177320, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22177321, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22177322, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22177323, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22177324, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22177325, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22177326, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22177327, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22177328, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22177329, '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 = 22178039 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2734850, 'mtr_portfolio_id': 22178039, 'created_at': datetime.datetime(2025, 4, 18, 8, 32, 57), 'result': '0.06692862498266987', 'result_long': None, 'result_double': None}] Qualite : 0.06692862498266987 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22178039 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22178039_18-04-2025_08_32_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22178039 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22178039_18-04-2025_08_32_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22178087, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22178088, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22178089, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22178090, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22178091, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22178092, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22178093, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22178094, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22178095, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22178096, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22178097, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22178098, 'pht': 3726}}" where mtr_portfolio_id = 22178039 and dashboard_run_id = 1737776 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22178039 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9999375, 0.06692862498266987, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22178039_18-04-2025_08_32_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22178087, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22178088, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22178089, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22178090, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22178091, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22178092, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22178093, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22178094, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22178095, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22178096, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22178097, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22178098, '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 = 22178776 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2734912, 'mtr_portfolio_id': 22178776, 'created_at': datetime.datetime(2025, 4, 18, 8, 48, 30), 'result': '0.05878410475257472', 'result_long': None, 'result_double': None}] Qualite : 0.05878410475257472 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22178776 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22178776_18-04-2025_08_48_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22178776 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22178776_18-04-2025_08_48_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22178783, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22178784, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22178785, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22178786, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22178787, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22178788, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22178789, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22178790, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22178791, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22178792, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22178793, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22178794, 'pht': 3726}}" where mtr_portfolio_id = 22178776 and dashboard_run_id = 1737776 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22178776 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9999376, 0.05878410475257472, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22178776_18-04-2025_08_48_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22178783, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22178784, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22178785, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22178786, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22178787, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22178788, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22178789, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22178790, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22178791, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22178792, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22178793, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22178794, '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 = 22181228 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2735217, 'mtr_portfolio_id': 22181228, 'created_at': datetime.datetime(2025, 4, 18, 9, 46, 59), 'result': '0.05562028207338114', 'result_long': None, 'result_double': None}] Qualite : 0.05562028207338114 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22181228 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22181228_18-04-2025_09_46_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22181228 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22181228_18-04-2025_09_46_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22181231, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22181232, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22181233, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22181234, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22181235, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22181236, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22181237, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22181238, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22181239, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22181240, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22181241, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22181242, 'pht': 3726}}" where mtr_portfolio_id = 22181228 and dashboard_run_id = 1737776 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22181228 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9999377, 0.05562028207338114, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22181228_18-04-2025_09_46_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22181231, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22181232, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22181233, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22181234, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22181235, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22181236, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22181237, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22181238, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22181239, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22181240, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22181241, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22181242, '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 = 22181746 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2735273, 'mtr_portfolio_id': 22181746, 'created_at': datetime.datetime(2025, 4, 18, 10, 2, 56), 'result': '0.04053643275549414', 'result_long': None, 'result_double': None}] Qualite : 0.04053643275549414 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22181746 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22181746_18-04-2025_10_02_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22181746 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22181746_18-04-2025_10_02_57.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22181750, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22181751, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22181752, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22181753, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22181754, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22181755, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22181756, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22181757, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22181758, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22181759, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22181760, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22181761, 'pht': 3726}}" where mtr_portfolio_id = 22181746 and dashboard_run_id = 1737776 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22181746 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9999378, 0.04053643275549414, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22181746_18-04-2025_10_02_57.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22181750, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22181751, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22181752, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22181753, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22181754, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22181755, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22181756, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22181757, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22181758, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22181759, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22181760, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22181761, '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 = 22182399 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2735328, 'mtr_portfolio_id': 22182399, 'created_at': datetime.datetime(2025, 4, 18, 10, 18, 58), 'result': '0.054109684719423644', 'result_long': None, 'result_double': None}] Qualite : 0.054109684719423644 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22182399 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22182399_18-04-2025_10_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22182399 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22182399_18-04-2025_10_18_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22182400, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22182401, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22182402, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22182403, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22182404, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22182405, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22182406, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22182407, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22182408, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22182409, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22182410, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22182411, 'pht': 3726}}" where mtr_portfolio_id = 22182399 and dashboard_run_id = 1737776 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22182399 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9999379, 0.054109684719423644, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22182399_18-04-2025_10_18_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22182400, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22182401, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22182402, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22182403, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22182404, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22182405, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22182406, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22182407, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22182408, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22182409, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22182410, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22182411, '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 = 22182983 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2735392, 'mtr_portfolio_id': 22182983, 'created_at': datetime.datetime(2025, 4, 18, 10, 32, 30), 'result': '0.04660583019476436', 'result_long': None, 'result_double': None}] Qualite : 0.04660583019476436 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22182983 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22182983_18-04-2025_10_32_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22182983 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22182983_18-04-2025_10_32_30.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22183015, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22183016, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22183017, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22183018, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22183019, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22183020, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22183021, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22183022, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22183023, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22183024, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22183025, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22183026, 'pht': 3726}}" where mtr_portfolio_id = 22182983 and dashboard_run_id = 1737776 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22182983 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9999380, 0.04660583019476436, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22182983_18-04-2025_10_32_30.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22183015, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22183016, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22183017, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22183018, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22183019, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22183020, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22183021, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22183022, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22183023, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22183024, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22183025, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22183026, '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 = 22183721 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2735488, 'mtr_portfolio_id': 22183721, 'created_at': datetime.datetime(2025, 4, 18, 10, 48, 59), 'result': '0.0769466640675709', 'result_long': None, 'result_double': None}] Qualite : 0.0769466640675709 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22183721 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22183721_18-04-2025_10_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22183721 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22183721_18-04-2025_10_48_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22183728, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22183729, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22183730, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22183731, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22183732, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22183736, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22183743, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22183747, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22183748, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22183749, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22183750, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22183751, 'pht': 3726}}" where mtr_portfolio_id = 22183721 and dashboard_run_id = 1737776 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22183721 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9999381, 0.0769466640675709, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22183721_18-04-2025_10_48_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22183728, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22183729, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22183730, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22183731, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22183732, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22183736, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22183743, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22183747, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22183748, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22183749, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22183750, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22183751, '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 = 22185830 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2735946, 'mtr_portfolio_id': 22185830, 'created_at': datetime.datetime(2025, 4, 18, 11, 2, 57), 'result': '0.06580218927595571', 'result_long': None, 'result_double': None}] Qualite : 0.06580218927595571 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22185830 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22185830_18-04-2025_11_02_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22185830 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22185830_18-04-2025_11_02_57.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22185893, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22185894, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22185895, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22185896, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22185897, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22185898, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22185899, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22185900, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22185901, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22185902, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22185903, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22185904, 'pht': 3726}}" where mtr_portfolio_id = 22185830 and dashboard_run_id = 1737776 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22185830 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9999382, 0.06580218927595571, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22185830_18-04-2025_11_02_57.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22185893, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22185894, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22185895, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22185896, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22185897, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22185898, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22185899, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22185900, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22185901, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22185902, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22185903, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22185904, '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 = 22187506 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2736156, 'mtr_portfolio_id': 22187506, 'created_at': datetime.datetime(2025, 4, 18, 11, 16, 59), 'result': '0.07272767608181951', 'result_long': None, 'result_double': None}] Qualite : 0.07272767608181951 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22187506 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22187506_18-04-2025_11_16_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22187506 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22187506_18-04-2025_11_16_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22187573, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22187574, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22187575, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22187576, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22187577, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22187578, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22187579, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22187580, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22187581, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22187582, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22187583, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22187584, 'pht': 3726}}" where mtr_portfolio_id = 22187506 and dashboard_run_id = 1737776 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22187506 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9999383, 0.07272767608181951, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22187506_18-04-2025_11_16_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22187573, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22187574, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22187575, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22187576, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22187577, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22187578, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22187579, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22187580, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22187581, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22187582, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22187583, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22187584, '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 = 22188563 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2736330, 'mtr_portfolio_id': 22188563, 'created_at': datetime.datetime(2025, 4, 18, 11, 32, 59), 'result': '0.09224976272455014', 'result_long': None, 'result_double': None}] Qualite : 0.09224976272455014 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22188563 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22188563_18-04-2025_11_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22188563 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22188563_18-04-2025_11_32_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22188630, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22188631, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22188632, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22188633, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22188634, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22188635, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22188636, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22188637, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22188638, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22188639, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22188640, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22188641, 'pht': 3726}}" where mtr_portfolio_id = 22188563 and dashboard_run_id = 1737776 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22188563 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9999384, 0.09224976272455014, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22188563_18-04-2025_11_32_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22188630, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22188631, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22188632, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22188633, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22188634, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22188635, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22188636, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22188637, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22188638, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22188639, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22188640, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22188641, '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 = 22189239 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2736395, 'mtr_portfolio_id': 22189239, 'created_at': datetime.datetime(2025, 4, 18, 11, 47), 'result': '0.051488758448127885', 'result_long': None, 'result_double': None}] Qualite : 0.051488758448127885 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22189239 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22189239_18-04-2025_11_47_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22189239 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22189239_18-04-2025_11_47_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22189283, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22189284, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22189285, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22189286, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22189287, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22189288, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22189289, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22189290, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22189291, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22189292, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22189293, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22189294, 'pht': 3726}}" where mtr_portfolio_id = 22189239 and dashboard_run_id = 1737776 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22189239 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9999385, 0.051488758448127885, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22189239_18-04-2025_11_47_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22189283, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22189284, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22189285, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22189286, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22189287, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22189288, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22189289, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22189290, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22189291, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22189292, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22189293, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22189294, '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 = 22190456 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2736468, 'mtr_portfolio_id': 22190456, 'created_at': datetime.datetime(2025, 4, 18, 12, 2, 58), 'result': '0.06859687192942905', 'result_long': None, 'result_double': None}] Qualite : 0.06859687192942905 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22190456 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22190456_18-04-2025_12_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22190456 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22190456_18-04-2025_12_02_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22190460, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22190461, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22190462, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22190463, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22190464, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22190465, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22190466, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22190467, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22190468, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22190469, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22190470, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22190471, 'pht': 3726}}" where mtr_portfolio_id = 22190456 and dashboard_run_id = 1737776 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22190456 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9999386, 0.06859687192942905, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22190456_18-04-2025_12_02_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22190460, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22190461, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22190462, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22190463, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22190464, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22190465, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22190466, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22190467, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22190468, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22190469, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22190470, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22190471, '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 = 22191274 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2736516, 'mtr_portfolio_id': 22191274, 'created_at': datetime.datetime(2025, 4, 19, 0, 9, 45), 'result': '0.06054346581106074', 'result_long': None, 'result_double': None}] Qualite : 0.06054346581106074 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22191274 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22191274_19-04-2025_00_09_45.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22191274 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22191274_19-04-2025_00_09_45.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22191430, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22191431, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22191432, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22191433, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22191434, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22191435, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22191436, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22191437, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22191438, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22191439, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22191440, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22191441, 'pht': 3726}}" where mtr_portfolio_id = 22191274 and dashboard_run_id = 1737776 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22191274 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9999387, 0.06054346581106074, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22191274_19-04-2025_00_09_45.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22191430, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22191431, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22191432, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22191433, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22191434, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22191435, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22191436, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22191437, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22191438, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22191439, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22191440, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22191441, '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 = 22195476 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2736843, 'mtr_portfolio_id': 22195476, 'created_at': datetime.datetime(2025, 4, 18, 13, 48, 58), 'result': '0.04424045782602438', 'result_long': None, 'result_double': None}] Qualite : 0.04424045782602438 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22195476 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22195476_18-04-2025_13_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22195476 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22195476_18-04-2025_13_48_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22195477, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22195478, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22195479, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22195480, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22195481, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22195482, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22195483, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22195484, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22195485, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22195486, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22195487, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22195488, 'pht': 3726}}" where mtr_portfolio_id = 22195476 and dashboard_run_id = 1737776 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22195476 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9999388, 0.04424045782602438, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22195476_18-04-2025_13_48_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22195477, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22195478, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22195479, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22195480, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22195481, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22195482, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22195483, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22195484, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22195485, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22195486, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22195487, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22195488, '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 = 22195829 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2736859, 'mtr_portfolio_id': 22195829, 'created_at': datetime.datetime(2025, 4, 18, 14, 2, 49), 'result': '0.041465983159170966', 'result_long': None, 'result_double': None}] Qualite : 0.041465983159170966 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22195829 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22195829_18-04-2025_14_02_50.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22195829 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22195829_18-04-2025_14_02_50.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22195859, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22195860, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22195861, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22195862, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22195863, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22195864, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22195865, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22195866, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22195867, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22195868, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22195869, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22195870, 'pht': 3726}}" where mtr_portfolio_id = 22195829 and dashboard_run_id = 1737776 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22195829 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9999389, 0.041465983159170966, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22195829_18-04-2025_14_02_50.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22195859, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22195860, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22195861, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22195862, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22195863, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22195864, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22195865, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22195866, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22195867, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22195868, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22195869, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22195870, '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 = 22196748 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2736960, 'mtr_portfolio_id': 22196748, 'created_at': datetime.datetime(2025, 4, 18, 14, 16, 56), 'result': '0.059163368933889265', 'result_long': None, 'result_double': None}] Qualite : 0.059163368933889265 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22196748 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22196748_18-04-2025_14_16_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22196748 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22196748_18-04-2025_14_16_57.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22196830, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22196831, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22196832, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22196833, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22196834, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22196835, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22196836, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22196837, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22196838, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22196839, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22196840, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22196841, 'pht': 3726}}" where mtr_portfolio_id = 22196748 and dashboard_run_id = 1737776 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22196748 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9999390, 0.059163368933889265, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22196748_18-04-2025_14_16_57.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22196830, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22196831, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22196832, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22196833, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22196834, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22196835, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22196836, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22196837, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22196838, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22196839, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22196840, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22196841, '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 = 22197824 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2737046, 'mtr_portfolio_id': 22197824, 'created_at': datetime.datetime(2025, 4, 18, 14, 32, 29), 'result': '0.048455897723622465', 'result_long': None, 'result_double': None}] Qualite : 0.048455897723622465 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22197824 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22197824_18-04-2025_14_32_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22197824 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22197824_18-04-2025_14_32_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22197828, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22197829, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22197830, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22197831, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22197832, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22197833, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22197834, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22197835, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22197836, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22197837, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22197838, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22197839, 'pht': 3726}}" where mtr_portfolio_id = 22197824 and dashboard_run_id = 1737776 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22197824 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9999391, 0.048455897723622465, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22197824_18-04-2025_14_32_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22197828, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22197829, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22197830, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22197831, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22197832, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22197833, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22197834, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22197835, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22197836, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22197837, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22197838, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22197839, '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 = 22198831 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2737149, 'mtr_portfolio_id': 22198831, 'created_at': datetime.datetime(2025, 4, 18, 14, 48, 59), 'result': '0.055954116611333524', 'result_long': None, 'result_double': None}] Qualite : 0.055954116611333524 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22198831 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22198831_18-04-2025_14_49_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22198831 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22198831_18-04-2025_14_49_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22198876, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22198877, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22198878, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22198879, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22198880, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22198881, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22198882, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22198883, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22198884, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22198885, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22198886, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22198887, 'pht': 3726}}" where mtr_portfolio_id = 22198831 and dashboard_run_id = 1737776 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22198831 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9999392, 0.055954116611333524, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22198831_18-04-2025_14_49_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22198876, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22198877, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22198878, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22198879, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22198880, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22198881, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22198882, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22198883, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22198884, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22198885, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22198886, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22198887, '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 = 22199667 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2737189, 'mtr_portfolio_id': 22199667, 'created_at': datetime.datetime(2025, 4, 18, 15, 4, 58), 'result': '0.07310475255820241', 'result_long': None, 'result_double': None}] Qualite : 0.07310475255820241 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22199667 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22199667_18-04-2025_15_04_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22199667 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22199667_18-04-2025_15_04_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22199708, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22199709, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22199710, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22199711, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22199712, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22199713, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22199714, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22199715, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22199716, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22199717, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22199718, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22199719, 'pht': 3726}}" where mtr_portfolio_id = 22199667 and dashboard_run_id = 1737776 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22199667 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9999393, 0.07310475255820241, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22199667_18-04-2025_15_04_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22199708, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22199709, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22199710, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22199711, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22199712, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22199713, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22199714, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22199715, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22199716, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22199717, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22199718, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22199719, '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 = 22200840 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2737270, 'mtr_portfolio_id': 22200840, 'created_at': datetime.datetime(2025, 4, 18, 15, 18, 58), 'result': '0.054895072840392765', 'result_long': None, 'result_double': None}] Qualite : 0.054895072840392765 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22200840 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22200840_18-04-2025_15_18_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22200840 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22200840_18-04-2025_15_18_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22200887, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22200888, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22200889, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22200890, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22200891, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22200892, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22200893, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22200894, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22200895, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22200896, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22200897, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22200898, 'pht': 3726}}" where mtr_portfolio_id = 22200840 and dashboard_run_id = 1737776 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22200840 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9999394, 0.054895072840392765, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22200840_18-04-2025_15_18_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22200887, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22200888, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22200889, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22200890, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22200891, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22200892, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22200893, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22200894, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22200895, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22200896, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22200897, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22200898, '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 = 22201618 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2737310, 'mtr_portfolio_id': 22201618, 'created_at': datetime.datetime(2025, 4, 18, 15, 34, 59), 'result': '0.04907295047098356', 'result_long': None, 'result_double': None}] Qualite : 0.04907295047098356 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22201618 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22201618_18-04-2025_15_34_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22201618 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22201618_18-04-2025_15_34_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22201667, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22201668, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22201669, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22201670, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22201671, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22201672, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22201673, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22201674, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22201675, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22201676, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22201677, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22201678, 'pht': 3726}}" where mtr_portfolio_id = 22201618 and dashboard_run_id = 1737776 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22201618 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9999395, 0.04907295047098356, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22201618_18-04-2025_15_34_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22201667, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22201668, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22201669, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22201670, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22201671, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22201672, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22201673, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22201674, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22201675, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22201676, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22201677, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22201678, '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 = 22202621 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2737375, 'mtr_portfolio_id': 22202621, 'created_at': datetime.datetime(2025, 4, 18, 15, 46, 59), 'result': '0.05862152506475679', 'result_long': None, 'result_double': None}] Qualite : 0.05862152506475679 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22202621 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22202621_18-04-2025_15_47_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22202621 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22202621_18-04-2025_15_47_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22202679, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22202680, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22202681, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22202682, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22202683, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22202684, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22202685, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22202686, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22202687, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22202688, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22202689, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22202690, 'pht': 3726}}" where mtr_portfolio_id = 22202621 and dashboard_run_id = 1737776 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22202621 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9999396, 0.05862152506475679, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22202621_18-04-2025_15_47_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22202679, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22202680, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22202681, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22202682, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22202683, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22202684, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22202685, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22202686, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22202687, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22202688, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22202689, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22202690, '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 = 22203468 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2737426, 'mtr_portfolio_id': 22203468, 'created_at': datetime.datetime(2025, 4, 18, 16, 2, 30), 'result': '0.03836131747358875', 'result_long': None, 'result_double': None}] Qualite : 0.03836131747358875 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22203468 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22203468_18-04-2025_16_02_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22203468 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22203468_18-04-2025_16_02_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22203486, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22203487, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22203488, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22203489, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22203490, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22203491, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22203492, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22203493, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22203494, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22203495, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22203496, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22203497, 'pht': 3726}}" where mtr_portfolio_id = 22203468 and dashboard_run_id = 1737776 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22203468 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9999397, 0.03836131747358875, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22203468_18-04-2025_16_02_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22203486, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22203487, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22203488, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22203489, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22203490, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22203491, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22203492, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22203493, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22203494, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22203495, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22203496, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22203497, '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 = 22204432 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2737505, 'mtr_portfolio_id': 22204432, 'created_at': datetime.datetime(2025, 4, 18, 16, 20, 59), 'result': '0.06783880925434066', 'result_long': None, 'result_double': None}] Qualite : 0.06783880925434066 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22204432 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22204432_18-04-2025_16_21_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22204432 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22204432_18-04-2025_16_21_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22204455, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22204456, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22204457, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22204458, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22204459, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22204460, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22204461, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22204462, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22204463, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22204464, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22204465, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22204466, 'pht': 3726}}" where mtr_portfolio_id = 22204432 and dashboard_run_id = 1737776 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22204432 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9999398, 0.06783880925434066, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22204432_18-04-2025_16_21_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22204455, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22204456, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22204457, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22204458, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22204459, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22204460, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22204461, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22204462, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22204463, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22204464, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22204465, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22204466, '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 = 22205673 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2737568, 'mtr_portfolio_id': 22205673, 'created_at': datetime.datetime(2025, 4, 18, 16, 34, 59), 'result': '0.051352452015660736', 'result_long': None, 'result_double': None}] Qualite : 0.051352452015660736 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22205673 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22205673_18-04-2025_16_35_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22205673 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22205673_18-04-2025_16_35_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22205738, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22205739, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22205740, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22205741, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22205742, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22205743, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22205744, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22205745, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22205746, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22205747, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22205748, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22205749, 'pht': 3726}}" where mtr_portfolio_id = 22205673 and dashboard_run_id = 1737776 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22205673 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9999399, 0.051352452015660736, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22205673_18-04-2025_16_35_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22205738, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22205739, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22205740, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22205741, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22205742, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22205743, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22205744, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22205745, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22205746, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22205747, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22205748, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22205749, '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 = 22206611 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2737627, 'mtr_portfolio_id': 22206611, 'created_at': datetime.datetime(2025, 4, 18, 16, 49), 'result': '0.07288796202004338', 'result_long': None, 'result_double': None}] Qualite : 0.07288796202004338 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22206611 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22206611_18-04-2025_16_49_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22206611 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22206611_18-04-2025_16_49_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22206643, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22206644, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22206645, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22206646, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22206647, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22206648, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22206649, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22206650, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22206651, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22206652, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22206653, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22206654, 'pht': 3726}}" where mtr_portfolio_id = 22206611 and dashboard_run_id = 1737776 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22206611 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9999400, 0.07288796202004338, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22206611_18-04-2025_16_49_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22206643, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22206644, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22206645, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22206646, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22206647, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22206648, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22206649, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22206650, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22206651, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22206652, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22206653, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22206654, '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 = 22207503 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2737672, 'mtr_portfolio_id': 22207503, 'created_at': datetime.datetime(2025, 4, 18, 17, 2, 29), 'result': '0.054612827444690905', 'result_long': None, 'result_double': None}] Qualite : 0.054612827444690905 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22207503 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22207503_18-04-2025_17_02_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22207503 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22207503_18-04-2025_17_02_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22207585, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22207586, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22207587, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22207588, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22207589, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22207590, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22207591, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22207592, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22207593, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22207594, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22207595, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22207596, 'pht': 3726}}" where mtr_portfolio_id = 22207503 and dashboard_run_id = 1737776 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22207503 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9999401, 0.054612827444690905, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22207503_18-04-2025_17_02_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22207585, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22207586, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22207587, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22207588, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22207589, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22207590, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22207591, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22207592, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22207593, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22207594, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22207595, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22207596, '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 = 22208392 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2737736, 'mtr_portfolio_id': 22208392, 'created_at': datetime.datetime(2025, 4, 18, 17, 18, 59), 'result': '0.05917896761445664', 'result_long': None, 'result_double': None}] Qualite : 0.05917896761445664 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22208392 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22208392_18-04-2025_17_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22208392 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22208392_18-04-2025_17_18_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22208398, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22208399, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22208400, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22208401, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22208402, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22208403, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22208404, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22208405, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22208406, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22208407, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22208408, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22208409, 'pht': 3726}}" where mtr_portfolio_id = 22208392 and dashboard_run_id = 1737776 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22208392 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9999402, 0.05917896761445664, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22208392_18-04-2025_17_18_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22208398, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22208399, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22208400, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22208401, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22208402, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22208403, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22208404, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22208405, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22208406, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22208407, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22208408, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22208409, '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 = 22209371 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2737796, 'mtr_portfolio_id': 22209371, 'created_at': datetime.datetime(2025, 4, 18, 18, 2, 58), 'result': '0.07782438873692392', 'result_long': None, 'result_double': None}] Qualite : 0.07782438873692392 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22209371 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22209371_18-04-2025_18_02_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22209371 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22209371_18-04-2025_18_02_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22209455, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22209456, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22209457, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22209458, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22209459, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22209460, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22209461, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22209462, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22209463, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22209464, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22209465, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22209466, 'pht': 3726}}" where mtr_portfolio_id = 22209371 and dashboard_run_id = 1737776 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22209371 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9999403, 0.07782438873692392, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22209371_18-04-2025_18_02_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22209455, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22209456, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22209457, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22209458, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22209459, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22209460, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22209461, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22209462, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22209463, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22209464, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22209465, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22209466, '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 = 22211758 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2737982, 'mtr_portfolio_id': 22211758, 'created_at': datetime.datetime(2025, 4, 18, 18, 18, 58), 'result': '0.0537094443027585', 'result_long': None, 'result_double': None}] Qualite : 0.0537094443027585 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22211758 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22211758_18-04-2025_18_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22211758 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22211758_18-04-2025_18_18_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22211764, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22211765, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22211766, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22211767, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22211768, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22211769, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22211770, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22211771, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22211772, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22211773, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22211774, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22211775, 'pht': 3726}}" where mtr_portfolio_id = 22211758 and dashboard_run_id = 1737776 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22211758 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9999404, 0.0537094443027585, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22211758_18-04-2025_18_18_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22211764, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22211765, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22211766, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22211767, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22211768, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22211769, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22211770, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22211771, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22211772, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22211773, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22211774, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22211775, '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 = 22212653 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2738038, 'mtr_portfolio_id': 22212653, 'created_at': datetime.datetime(2025, 4, 18, 18, 32, 57), 'result': '0.05196606881973272', 'result_long': None, 'result_double': None}] Qualite : 0.05196606881973272 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22212653 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22212653_18-04-2025_18_32_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22212653 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22212653_18-04-2025_18_32_57.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22212755, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22212756, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22212757, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22212758, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22212759, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22212760, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22212761, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22212762, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22212763, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22212764, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22212765, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22212766, 'pht': 3726}}" where mtr_portfolio_id = 22212653 and dashboard_run_id = 1737776 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22212653 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9999405, 0.05196606881973272, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22212653_18-04-2025_18_32_57.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22212755, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22212756, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22212757, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22212758, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22212759, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22212760, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22212761, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22212762, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22212763, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22212764, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22212765, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22212766, '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 = 22213700 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2738117, 'mtr_portfolio_id': 22213700, 'created_at': datetime.datetime(2025, 4, 18, 18, 51), 'result': '0.051330127360020225', 'result_long': None, 'result_double': None}] Qualite : 0.051330127360020225 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22213700 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22213700_18-04-2025_18_51_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22213700 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22213700_18-04-2025_18_51_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22213742, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22213743, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22213744, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22213745, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22213746, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22213747, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22213748, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22213749, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22213750, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22213751, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22213752, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22213753, 'pht': 3726}}" where mtr_portfolio_id = 22213700 and dashboard_run_id = 1737776 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22213700 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9999406, 0.051330127360020225, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22213700_18-04-2025_18_51_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22213742, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22213743, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22213744, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22213745, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22213746, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22213747, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22213748, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22213749, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22213750, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22213751, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22213752, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22213753, '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 = 22214541 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2738164, 'mtr_portfolio_id': 22214541, 'created_at': datetime.datetime(2025, 4, 18, 19, 3), 'result': '0.08054098621696892', 'result_long': None, 'result_double': None}] Qualite : 0.08054098621696892 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22214541 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22214541_18-04-2025_19_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22214541 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22214541_18-04-2025_19_03_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22214586, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22214587, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22214588, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22214589, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22214590, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22214591, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22214592, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22214593, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22214594, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22214595, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22214596, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22214597, 'pht': 3726}}" where mtr_portfolio_id = 22214541 and dashboard_run_id = 1737776 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22214541 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9999407, 0.08054098621696892, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22214541_18-04-2025_19_03_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22214586, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22214587, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22214588, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22214589, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22214590, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22214591, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22214592, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22214593, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22214594, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22214595, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22214596, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22214597, '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 = 22215466 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2738232, 'mtr_portfolio_id': 22215466, 'created_at': datetime.datetime(2025, 4, 18, 19, 18, 57), 'result': '0.0470651434728993', 'result_long': None, 'result_double': None}] Qualite : 0.0470651434728993 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22215466 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22215466_18-04-2025_19_18_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22215466 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22215466_18-04-2025_19_18_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22215489, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22215490, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22215491, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22215492, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22215493, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22215494, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22215495, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22215496, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22215497, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22215498, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22215499, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22215500, 'pht': 3726}}" where mtr_portfolio_id = 22215466 and dashboard_run_id = 1737776 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22215466 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9999408, 0.0470651434728993, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22215466_18-04-2025_19_18_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22215489, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22215490, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22215491, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22215492, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22215493, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22215494, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22215495, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22215496, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22215497, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22215498, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22215499, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22215500, '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 = 22216453 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2738280, 'mtr_portfolio_id': 22216453, 'created_at': datetime.datetime(2025, 4, 18, 19, 32, 58), 'result': '0.05639125259489681', 'result_long': None, 'result_double': None}] Qualite : 0.05639125259489681 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22216453 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22216453_18-04-2025_19_32_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22216453 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22216453_18-04-2025_19_32_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22216514, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22216515, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22216516, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22216517, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22216518, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22216519, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22216520, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22216521, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22216522, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22216523, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22216524, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22216525, 'pht': 3726}}" where mtr_portfolio_id = 22216453 and dashboard_run_id = 1737776 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22216453 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9999409, 0.05639125259489681, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22216453_18-04-2025_19_32_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22216514, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22216515, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22216516, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22216517, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22216518, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22216519, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22216520, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22216521, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22216522, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22216523, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22216524, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22216525, '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 = 22217260 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2738340, 'mtr_portfolio_id': 22217260, 'created_at': datetime.datetime(2025, 4, 18, 19, 48, 56), 'result': '0.04851196858311959', 'result_long': None, 'result_double': None}] Qualite : 0.04851196858311959 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22217260 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22217260_18-04-2025_19_48_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22217260 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22217260_18-04-2025_19_48_57.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22217324, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22217325, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22217326, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22217327, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22217328, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22217329, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22217330, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22217331, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22217332, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22217333, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22217334, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22217335, 'pht': 3726}}" where mtr_portfolio_id = 22217260 and dashboard_run_id = 1737776 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22217260 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9999410, 0.04851196858311959, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22217260_18-04-2025_19_48_57.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22217324, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22217325, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22217326, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22217327, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22217328, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22217329, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22217330, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22217331, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22217332, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22217333, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22217334, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22217335, '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 = 22218492 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2738409, 'mtr_portfolio_id': 22218492, 'created_at': datetime.datetime(2025, 4, 18, 20, 2, 59), 'result': '0.060365588792872474', 'result_long': None, 'result_double': None}] Qualite : 0.060365588792872474 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22218492 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22218492_18-04-2025_20_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22218492 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22218492_18-04-2025_20_03_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22218529, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22218530, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22218531, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22218532, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22218533, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22218534, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22218535, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22218536, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22218537, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22218538, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22218539, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22218540, 'pht': 3726}}" where mtr_portfolio_id = 22218492 and dashboard_run_id = 1737776 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22218492 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9999411, 0.060365588792872474, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22218492_18-04-2025_20_03_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22218529, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22218530, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22218531, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22218532, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22218533, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22218534, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22218535, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22218536, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22218537, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22218538, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22218539, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22218540, '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 = 22219511 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2738501, 'mtr_portfolio_id': 22219511, 'created_at': datetime.datetime(2025, 4, 18, 20, 16, 59), 'result': '0.07361303221721496', 'result_long': None, 'result_double': None}] Qualite : 0.07361303221721496 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22219511 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22219511_18-04-2025_20_17_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22219511 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22219511_18-04-2025_20_17_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22219570, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22219571, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22219573, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22219574, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22219575, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22219577, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22219578, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22219579, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22219581, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22219582, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22219583, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22219585, 'pht': 3726}}" where mtr_portfolio_id = 22219511 and dashboard_run_id = 1737776 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22219511 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9999412, 0.07361303221721496, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22219511_18-04-2025_20_17_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22219570, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22219571, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22219573, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22219574, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22219575, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22219577, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22219578, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22219579, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22219581, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22219582, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22219583, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22219585, '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 = 22220431 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2738539, 'mtr_portfolio_id': 22220431, 'created_at': datetime.datetime(2025, 4, 18, 20, 32, 59), 'result': '0.06285345098052599', 'result_long': None, 'result_double': None}] Qualite : 0.06285345098052599 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22220431 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22220431_18-04-2025_20_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22220431 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22220431_18-04-2025_20_32_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22220435, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22220436, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22220437, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22220438, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22220439, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22220440, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22220441, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22220442, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22220443, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22220444, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22220445, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22220446, 'pht': 3726}}" where mtr_portfolio_id = 22220431 and dashboard_run_id = 1737776 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22220431 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9999413, 0.06285345098052599, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22220431_18-04-2025_20_32_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22220435, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22220436, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22220437, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22220438, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22220439, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22220440, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22220441, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22220442, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22220443, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22220444, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22220445, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22220446, '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 = 22220923 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2738583, 'mtr_portfolio_id': 22220923, 'created_at': datetime.datetime(2025, 4, 18, 21, 4, 59), 'result': '0.04839277470887467', 'result_long': None, 'result_double': None}] Qualite : 0.04839277470887467 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22220923 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22220923_18-04-2025_21_05_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22220923 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22220923_18-04-2025_21_05_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22220952, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22220953, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22220954, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22220955, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22220956, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22220957, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22220958, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22220959, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22220960, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22220961, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22220962, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22220963, 'pht': 3726}}" where mtr_portfolio_id = 22220923 and dashboard_run_id = 1737776 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22220923 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9999414, 0.04839277470887467, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22220923_18-04-2025_21_05_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22220952, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22220953, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22220954, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22220955, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22220956, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22220957, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22220958, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22220959, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22220960, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22220961, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22220962, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22220963, '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 = 22223035 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2738730, 'mtr_portfolio_id': 22223035, 'created_at': datetime.datetime(2025, 4, 18, 21, 18, 30), 'result': '0.04340420192966468', 'result_long': None, 'result_double': None}] Qualite : 0.04340420192966468 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22223035 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22223035_18-04-2025_21_18_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22223035 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22223035_18-04-2025_21_18_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22223038, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22223039, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22223040, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22223041, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22223042, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22223043, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22223044, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22223045, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22223046, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22223047, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22223048, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22223049, 'pht': 3726}}" where mtr_portfolio_id = 22223035 and dashboard_run_id = 1737776 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22223035 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9999415, 0.04340420192966468, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22223035_18-04-2025_21_18_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22223038, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22223039, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22223040, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22223041, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22223042, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22223043, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22223044, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22223045, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22223046, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22223047, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22223048, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22223049, '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 = 22225216 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2738887, 'mtr_portfolio_id': 22225216, 'created_at': datetime.datetime(2025, 4, 18, 22, 4, 58), 'result': '0.06508563084216071', 'result_long': None, 'result_double': None}] Qualite : 0.06508563084216071 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22225216 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22225216_18-04-2025_22_04_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22225216 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22225216_18-04-2025_22_04_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22225217, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22225218, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22225219, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22225220, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22225221, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22225222, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22225223, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22225224, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22225225, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22225226, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22225227, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22225228, 'pht': 3726}}" where mtr_portfolio_id = 22225216 and dashboard_run_id = 1737776 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22225216 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9999416, 0.06508563084216071, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22225216_18-04-2025_22_04_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22225217, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22225218, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22225219, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22225220, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22225221, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22225222, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22225223, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22225224, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22225225, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22225226, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22225227, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22225228, '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 = 22228334 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2739090, 'mtr_portfolio_id': 22228334, 'created_at': datetime.datetime(2025, 4, 18, 23, 16, 59), 'result': '0.06344696534426678', 'result_long': None, 'result_double': None}] Qualite : 0.06344696534426678 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22228334 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22228334_18-04-2025_23_16_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22228334 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22228334_18-04-2025_23_16_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22228389, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22228390, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22228391, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22228392, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22228393, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22228394, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22228395, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22228396, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22228397, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22228398, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22228399, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22228400, 'pht': 3726}}" where mtr_portfolio_id = 22228334 and dashboard_run_id = 1737776 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22228334 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9999417, 0.06344696534426678, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22228334_18-04-2025_23_16_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22228389, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22228390, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22228391, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22228392, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22228393, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22228394, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22228395, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22228396, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22228397, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22228398, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22228399, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22228400, '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 (22162948,22163465,22163930,22164320,22165302,22165696,22166003,22166799,22167282,22167840,22168535,22168817,22169287,22169736,22170221,22171119,22171362,22171631,22172154,22172466,22173041,22173579,22173940,22174430,22175155,22175907,22176494,22177264,22178039,22178776,22181228,22181746,22182399,22182983,22183721,22185830,22187506,22188563,22189239,22190456,22191274,22195476,22195829,22196748,22197824,22198831,22199667,22200840,22201618,22202621,22203468,22204432,22205673,22206611,22207503,22208392,22209371,22211758,22212653,22213700,22214541,22215466,22216453,22217260,22218492,22219511,22220431,22220923,22223035,22225216,22228334) result : ((1350910820,), (1350910849,), (1350910875,), (1350910903,), (1350911027,), (1350911032,), (1350911035,), (1350911075,), (1350911081,), (1350911085,), (1350911087,), (1350911089,), (1350911113,), (1350911116,), (1350911117,), (1350911118,), (1350911119,), (1350911154,), (1350911159,), (1350911164,), (1350911167,), (1350911171,), (1350911206,), (1350911209,), (1350911212,), (1350911216,), (1350911218,), (1350911238,), (1350911242,), (1350911244,), (1350911248,), (1350911343,), (1350911353,), (1350911367,), (1350911370,), (1350911385,), (1350911405,), (1350911514,), (1350911518,), (1350911521,), (1350911524,), (1350911528,), (1350911570,), (1350911573,), (1350911576,), (1350911581,), (1350911588,), (1350911655,), (1350911662,), (1350911666,), (1350911670,), (1350911673,), (1350911677,), (1350911719,), (1350911721,), (1350911724,), (1350911944,), (1350911969,), (1350911993,), (1350912017,), (1350912043,), (1350912064,), (1350912175,), (1350912210,), (1350912239,), (1350912271,), (1350912294,), (1350912330,), (1350912439,), (1350912444,), (1350912447,), (1350912451,), (1350912509,), (1350912492,), (1350912496,), (1350912500,), (1350912504,), (1350912547,), (1350912549,), (1350912551,), (1350912553,), (1350912558,), (1350912562,), (1350912604,), (1350912608,), (1350912612,), (1350912703,), (1350912705,), (1350912716,), (1350912725,), (1350912768,), (1350912772,), (1350912776,), (1350912847,), (1350912850,), (1350912853,), (1350912855,), (1350912858,), (1350912870,), (1350912926,), (1350912930,), (1350912939,), (1350912978,), (1350912982,), (1350912986,), (1350912989,), (1350912993,), (1350913025,), (1350913027,), (1350913030,), (1350913033,), (1350913042,), (1350913072,), (1350913077,), (1350913080,), (1350913083,), (1350913232,), (1350913235,), (1350913238,), (1350913241,), (1350913277,), (1350913280,), (1350913283,), (1350913286,), (1350913580,), (1350913476,), (1350913521,), (1350913551,), (1350913875,), (1350913898,), (1350914521,), (1350914546,), (1350914570,), (1350914598,), (1350914899,), (1350914900,), (1350914903,), (1350914928,), (1350914955,), (1350914958,), (1350915019,), (1350915023,), (1350915031,), (1350915088,), (1350915094,), (1350915102,), (1350915105,), (1350915109,), (1350915128,), (1350915130,), (1350915133,), (1350915136,), (1350915140,), (1350915187,), (1350915193,), (1350915200,), (1350915203,), (1350915213,), (1350915296,), (1350915299,), (1350915317,), (1350915320,), (1350915327,), (1350915333,), (1350915336,), (1350915367,), (1350915369,), (1350915370,), (1350915371,), (1350915372,), (1350915376,), (1350915401,), (1350915404,), (1350915405,), (1350915408,), (1350915439,), (1350915441,), (1350915443,), (1350915489,), (1350915474,), (1350915478,), (1350915485,), (1350915486,), (1350915533,), (1350915538,), (1350915541,), (1350915570,), (1350915573,), (1350915626,), (1350915634,), (1350915638,), (1350915641,), (1350915668,), (1350915673,), (1350915683,), (1350915684,), (1350915716,), (1350915721,), (1350915725,), (1350915739,), (1350915755,), (1350915763,), (1350915805,), (1350915810,), (1350915813,), (1350915849,), (1350915852,), (1350915856,), (1350915860,), (1350915865,), (1350915902,), (1350915905,), (1350915907,), (1350915909,), (1350915912,), (1350915915,), (1350915954,), (1350915958,), (1350915959,), (1350916001,), (1350916011,), (1350916014,), (1350916016,), (1350916019,), (1350916027,), (1350916057,), (1350916059,), (1350916061,), (1350916065,), (1350916083,), (1350916087,), (1350916091,), (1350916096,), (1350916102,), (1350916107,), (1350916833,), (1350916865,), (1350916893,), (1350916924,), (1350916953,), (1350917046,), (1350917071,), (1350917095,), (1350917503,), (1350920744,), (1350920746,), (1350920747,), (1350920756,), (1350920760,), (1350920774,), (1350920786,), (1350920803,), (1350920806,), (1350920831,), (1350920832,), (1350920833,), (1350920834,), (1350920856,), (1350920858,), (1350920859,), (1350920860,), (1350920887,), (1350920890,), (1350920892,), (1350920894,), (1350920896,), (1350920911,), (1350920913,), (1350920916,), (1350920919,), (1350920922,), (1350920943,), (1350920945,), (1350920952,), (1350920956,), (1350920960,), (1350920963,), (1350920975,), (1350920977,), (1350920980,), (1350921009,), (1350921010,), (1350921011,), (1350921017,), (1350921024,), (1350921029,), (1350921057,), (1350921059,), (1350921098,), (1350921101,), (1350921145,), (1350921147,), (1350921150,), (1350921152,), (1350921184,), (1350921188,), (1350921190,), (1350921221,), (1350921225,), (1350921227,), (1350921230,), (1350921233,), (1350921269,), (1350921259,), (1350921263,), (1350921299,), (1350921303,), (1350921307,), (1350921310,), (1350921314,), (1350921318,), (1350921349,), (1350921353,), (1350921355,), (1350921356,), (1350921383,), (1350921387,), (1350921391,), (1350921394,), (1350921399,), (1350921402,), (1350921442,), (1350921444,), (1350921445,), (1350921446,), (1350921447,), (1350921479,), (1350921480,), (1350921481,), (1350921482,), (1350921502,), (1350921505,), (1350921508,), (1350921510,), (1350921513,), (1350921589,), (1350921613,), (1350921642,), (1350921668,), (1350921711,), (1350921738,), (1350921978,), (1350922003,), (1350922030,), (1350922057,), (1350922357,), (1350922384,), (1350922407,), (1350922440,), (1350922468,), (1350922493,), (1350922740,), (1350922766,), (1350922794,), (1350922821,), (1350922848,), (1350922876,), (1350922936,), (1350922940,), (1350922944,), (1350922948,), (1350922964,), (1350922965,), (1350922966,), (1350922967,), (1350922968,), (1350923429,), (1350923456,), (1350923483,), (1350923508,), (1350923531,), (1350923556,), (1350923813,), (1350923747,), (1350923790,), (1350923811,), (1350923910,), (1350923912,), (1350923913,), (1350923914,), (1350923916,), (1350923918,), (1350923941,), (1350923943,), (1350923945,), (1350923972,), (1350923974,), (1350923976,), (1350923978,), (1350923980,), (1350924009,), (1350924014,), (1350924016,), (1350924018,), (1350924044,), (1350924045,), (1350924046,), (1350924047,), (1350924049,), (1350924110,), (1350924120,), (1350924123,), (1350924402,), (1350924475,), (1350924518,), (1350924520,), (1350924524,), (1350924527,), (1350924918,), (1350924968,), (1350925016,), (1350925067,), (1350925116,), (1350925165,), (1350925407,), (1350925409,), (1350925426,), (1350925462,), (1350926032,), (1350926102,), (1350926177,), (1350926233,), (1350926649,), (1350926674,), (1350926706,), (1350926737,), (1350926755,), (1350926789,), (1350926791,), (1350926819,), (1350926848,), (1350926873,), (1350927103,), (1350927113,), (1350927128,), (1350927181,), (1350927183,), (1350927185,), (1350927187,), (1350927191,), (1350927868,), (1350927214,), (1350927216,), (1350927277,), (1350927517,), (1350927709,), (1350928273,), (1350928275,), (1350928277,), (1350928279,), (1350928316,), (1350928318,), (1350928319,), (1350928321,), (1350928325,), (1350928442,), (1350928874,), (1350928877,), (1350928880,), (1350928883,), (1350928885,), (1350928887,), (1350928906,), (1350928909,), (1350928914,), (1350928922,), (1350928926,), (1350928929,), (1350928931,), (1350928932,), (1350928933,), (1350929016,), (1350929029,), (1350929038,), (1350929044,), (1350929048,), (1350929052,), (1350929073,), (1350929074,), (1350929075,), (1350929096,), (1350929097,), (1350929117,), (1350929162,), (1350929167,), (1350929171,), (1350929175,), (1350929179,), (1350929201,), (1350929211,), (1350929213,), (1350929216,), (1350929235,), (1350929237,), (1350929241,), (1350929246,), (1350929251,), (1350929254,), (1350929270,), (1350929272,), (1350929274,), (1350929277,), (1350929280,), (1350929288,), (1350929298,), (1350929300,), (1350929302,), (1350929333,), (1350929338,), (1350929343,), (1350929347,), (1350929350,), (1350929427,), (1350929378,), (1350929379,), (1350929380,), (1350929403,), (1350929422,), (1350929450,), (1350929456,), (1350929458,), (1350929495,), (1350929501,), (1350929506,), (1350929509,), (1350929513,), (1350929515,), (1350929543,), (1350929546,), (1350929548,), (1350929551,), (1350929557,), (1350929593,), (1350929596,), (1350929598,), (1350929600,), (1350929634,), (1350929635,), (1350929636,), (1350929637,), (1350929639,), (1350929664,), (1350929667,), (1350929670,), (1350929673,), (1350929696,), (1350929702,), (1350929718,), (1350929724,), (1350929729,), (1350929758,), (1350929760,), (1350929762,), (1350929764,), (1350929802,), (1350929809,), (1350929811,), (1350929813,), (1350929817,), (1350929822,), (1350929880,), (1350929882,), (1350929884,), (1350929886,), (1350929925,), (1350929930,), (1350929933,), (1350929938,), (1350930056,), (1350930057,), (1350930109,), (1350930097,), (1350930105,), (1350930107,), (1350930139,), (1350930141,), (1350930143,), (1350930146,), (1350930148,), (1350930183,), (1350930192,), (1350930194,), (1350930197,), (1350930200,), (1350930209,), (1350930220,), (1350930224,), (1350930228,), (1350930258,), (1350930263,), (1350930270,), (1350930302,), (1350930304,), (1350930306,), (1350930307,), (1350930309,), (1350930342,), (1350930344,), (1350930345,), (1350930359,), (1350930361,), (1350930363,), (1350930364,), (1350930365,), (1350930398,), (1350930401,), (1350930403,), (1350930404,), (1350930407,), (1350930408,), (1350930411,), (1350930413,), (1350930415,), (1350930419,), (1350930422,), (1350930428,), (1350930439,), (1350930442,), (1350930445,), (1350930454,), (1350930456,), (1350930458,), (1350930473,), (1350930478,), (1350930479,), (1350930480,), (1350930482,), (1350930485,), (1350930625,), (1350930652,), (1350930681,), (1350930710,), (1350930732,), (1350930985,), (1350930992,), (1350931001,), (1350931020,), (1350931390,), (1350931268,), (1350931299,), (1350931329,), (1350931360,), (1350933846,), (1350933849,), (1350933852,), (1350933984,), (1350934011,), (1350934038,), (1350934064,), (1350934374,), (1350934376,), (1350934394,), (1350934411,), (1350934415,), (1350934420,), (1350934508,), (1350934512,), (1350934516,), (1350934519,), (1350934523,), (1350934592,), (1350934621,), (1350934625,), (1350934629,), (1350934636,), (1350934651,), (1350934689,), (1350934691,), (1350934692,), (1350934693,), (1350934735,), (1350934741,), (1350934745,), (1350934749,), (1350934755,), (1350934799,), (1350934801,), (1350934804,), (1350934864,), (1350934849,), (1350934853,), (1350934856,), (1350934860,), (1350934896,), (1350934899,), (1350934901,), (1350934903,), (1350934905,), (1350934908,), (1350934960,), (1350934962,), (1350934963,), (1350934965,), (1350935016,), (1350935020,), (1350935023,), (1350935027,), (1350935032,), (1350935074,), (1350935076,), (1350935084,), (1350935089,), (1350935094,), (1350935097,), (1350935134,), (1350935137,), (1350935139,), (1350935141,), (1350935184,), (1350935189,), (1350935193,), (1350935199,), (1350935211,), (1350935218,), (1350935254,), (1350935255,), (1350935256,), (1350935257,), (1350935259,), (1350935284,), (1350935286,), (1350935289,), (1350935319,), (1350935320,), (1350935321,), (1350935324,), (1350935327,), (1350935331,), (1350935353,), (1350935357,), (1350935364,), (1350935371,), (1350935397,), (1350935398,), (1350935399,), (1350935400,), (1350935428,), (1350935430,), (1350935435,), (1350935441,), (1350935444,), (1350935447,), (1350935471,), (1350935472,), (1350935473,), (1350935474,), (1350935476,), (1350935521,), (1350935524,), (1350935526,), (1350935530,), (1350935533,), (1350935566,), (1350935563,), (1350935565,), (1350935597,), (1350935599,), (1350935602,), (1350935603,), (1350935628,), (1350935629,), (1350935630,), (1350935631,), (1350935682,), (1350935687,), (1350935689,), (1350935729,), (1350935731,), (1350935767,), (1350935770,), (1350935774,), (1350935777,), (1350935810,), (1350935811,), (1350935812,), (1350935813,), (1350935816,), (1350935819,), (1350935858,), (1350935864,), (1350935865,), (1350935868,), (1350935906,), (1350935910,), (1350935911,), (1350935912,), (1350935914,), (1350935967,), (1350935969,), (1350935970,), (1350935971,), (1350935972,), (1350935974,), (1350936003,), (1350936006,), (1350936008,), (1350936009,), (1350936047,), (1350936051,), (1350936052,), (1350936053,), (1350936055,), (1350936093,), (1350936120,), (1350936122,), (1350936123,), (1350936125,), (1350936126,), (1350936161,), (1350936165,), (1350936200,), (1350936203,), (1350936204,), (1350936213,), (1350936220,), (1350936300,), (1350936280,), (1350936285,), (1350936286,), (1350936297,), (1350936349,), (1350936358,), (1350936363,), (1350936365,), (1350936368,), (1350936388,), (1350936420,), (1350936463,), (1350936498,), (1350936499,), (1350936500,), (1350936501,), (1350936503,), (1350936526,), (1350936530,), (1350936531,), (1350936533,), (1350936535,), (1350936565,), (1350936567,), (1350936568,), (1350936591,), (1350936593,), (1350936594,), (1350936609,), (1350936611,), (1350936612,), (1350936613,), (1350936614,), (1350936631,), (1350936633,), (1350936634,), (1350936635,), (1350936637,), (1350936649,), (1350936651,), (1350936652,), (1350936703,), (1350936710,), (1350936711,), (1350936712,), (1350936714,), (1350937518,), (1350937572,), (1350937626,), (1350937695,), (1350937747,), (1350937804,), (1350938112,), (1350938180,), (1350938628,), (1350938457,), (1350938536,), (1350938579,), (1350938603,), (1350939073,), (1350939104,), (1350939143,), (1350939204,), (1350939280,), (1350939322,), (1350939572,), (1350939585,), (1350939586,), (1350939603,), (1350939619,), (1350939915,), (1350939941,), (1350940361,), (1350940386,), (1350940413,), (1350940436,), (1350940754,), (1350940782,), (1350940807,), (1350940824,), (1350940828,), (1350940918,), (1350940943,), (1350940968,), (1350940990,), (1350941016,), (1350941120,), (1350941130,), (1350941170,), (1350941172,), (1350941173,), (1350941224,), (1350941227,), (1350941229,), (1350941231,), (1350941233,), (1350941236,), (1350941271,), (1350941273,), (1350941274,), (1350941275,), (1350941277,), (1350941322,), (1350944749,), (1350944722,), (1350945256,), (1350945281,), (1350945308,), (1350945309,), (1350945859,), (1350945860,), (1350945861,), (1350945863,), (1350945864,), (1350945883,), (1350945885,), (1350945887,), (1350945890,), (1350945893,), (1350945894,), (1350945912,), (1350945919,), (1350945922,), (1350945943,), (1350945973,), (1350945974,), (1350945980,), (1350945985,), (1350945986,), (1350946007,), (1350946008,), (1350946009,), (1350946010,), (1350946011,), (1350946013,), (1350946034,), (1350946037,), (1350946038,), (1350946039,), (1350946041,), (1350946043,), (1350946137,), (1350946134,), (1350946136,), (1350946153,), (1350946168,), (1350946170,), (1350946171,), (1350946219,), (1350946221,), (1350946222,), (1350946261,), (1350946264,), (1350946266,), (1350946287,), (1350946288,), (1350946289,), (1350946306,), (1350946307,), (1350946308,), (1350946309,), (1350946310,), (1350946334,), (1350946336,), (1350946337,), (1350946350,), (1350946351,), (1350946352,), (1350946353,), (1350946355,), (1350946377,), (1350946380,), (1350946384,), (1350946385,), (1350946387,), (1350946409,), (1350946411,), (1350946412,), (1350946445,), (1350946446,), (1350946447,), (1350946448,), (1350946449,), (1350946452,), (1350946484,), (1350946478,), (1350946480,), (1350946482,), (1350946509,), (1350946510,), (1350946516,), (1350946517,), (1350946520,), (1350946523,), (1350946547,), (1350946552,), (1350946554,), (1350946588,), (1350946591,), (1350946597,), (1350946602,), (1350946633,), (1350946635,), (1350946637,), (1350946639,), (1350946643,), (1350946645,), (1350946674,), (1350946677,), (1350946678,), (1350946679,), (1350946680,), (1350946700,), (1350946703,), (1350946734,), (1350946735,), (1350946736,), (1350946737,), (1350946775,), (1350946777,), (1350946780,), (1350946783,), (1350946818,), (1350946819,), (1350946821,), (1350946822,), (1350946823,), (1350946850,), (1350946852,), (1350946854,), (1350946887,), (1350946889,), (1350946890,), (1350946898,), (1350946903,), (1350946906,), (1350946936,), (1350946938,), (1350946940,), (1350946943,), (1350946976,), (1350946983,), (1350946988,), (1350946989,), (1350947015,), (1350947018,), (1350947020,), (1350947022,), (1350947025,), (1350947062,), (1350947053,), (1350947059,), (1350947060,), (1350947061,), (1350947086,), (1350947088,), (1350947090,), (1350947218,), (1350947219,), (1350947220,), (1350947221,), (1350947224,), (1350947249,), (1350947266,), (1350947268,), (1350947271,), (1350947273,), (1350947277,), (1350947297,), (1350947298,), (1350947299,), (1350947300,), (1350947330,), (1350947332,), (1350947334,), (1350947336,), (1350947338,), (1350947341,), (1350947368,), (1350947371,), (1350947372,), (1350947373,), (1350947418,), (1350947420,), (1350947422,), (1350947424,), (1350947426,), (1350947429,), (1350947457,), (1350947458,), (1350947459,), (1350947460,), (1350947461,), (1350947464,), (1350947502,), (1350947505,), (1350947507,), (1350947509,), (1350947547,), (1350947549,), (1350947550,), (1350947551,), (1350947553,), (1350948263,), (1350948313,), (1350948360,), (1350948805,), (1350949336,), (1350949399,), (1350950078,), (1350950445,), (1350950469,), (1350950496,), (1350950501,), (1350950503,), (1350950505,), (1350950554,), (1350950577,), (1350950600,), (1350950623,), (1350950646,), (1350950850,), (1350950868,), (1350950877,), (1350950891,), (1350950915,), (1350950916,), (1350950934,), (1350950936,), (1350950937,), (1350950938,), (1350950940,), (1350950959,), (1350950961,), (1350950962,), (1350950963,), (1350950964,), (1350951003,), (1350951015,), (1350951016,), (1350951018,), (1350951020,), (1350951042,), (1350951044,), (1350951046,), (1350951047,), (1350951077,), (1350951079,), (1350951080,), (1350951082,), (1350951121,), (1350951124,), (1350951126,), (1350951129,), (1350951132,), (1350951134,), (1350951174,), (1350951175,), (1350951176,), (1350951177,), (1350951180,), (1350951183,), (1350951213,), (1350951215,), (1350951218,), (1350951220,), (1350951223,), (1350951259,), (1350951254,), (1350951257,), (1350951297,), (1350951298,), (1350951299,), (1350951300,), (1350951302,), (1350951304,), (1350951344,), (1350951350,), (1350951358,), (1350951363,), (1350951365,), (1350951397,), (1350951398,), (1350951399,), (1350951400,), (1350951401,), (1350951445,), (1350951452,), (1350951458,), (1350951463,), (1350951508,), (1350951509,), (1350951510,), (1350951511,), (1350951514,), (1350951517,), (1350951553,), (1350951556,), (1350951558,), (1350951560,), (1350951572,), (1350951607,), (1350951703,), (1350951757,), (1350951796,), (1350951798,), (1350951801,), (1350951830,), (1350951832,), (1350951833,), (1350951834,), (1350951835,), (1350951838,), (1350951863,), (1350951865,), (1350951868,), (1350951870,), (1350951873,), (1350951898,), (1350951901,), (1350951902,), (1350951905,), (1350951907,), (1350951961,), (1350951948,), (1350951951,), (1350951952,), (1350951955,), (1350951988,), (1350951990,), (1350951992,), (1350952000,), (1350952004,), (1350952008,), (1350952039,), (1350952040,), (1350952041,), (1350952063,), (1350952065,), (1350952066,), (1350952067,), (1350952069,), (1350952071,), (1350952100,), (1350952102,), (1350952103,), (1350952104,), (1350952105,), (1350952139,), (1350952141,), (1350952167,), (1350952170,), (1350952173,), (1350952176,), (1350952180,), (1350952215,), (1350952216,), (1350952217,), (1350952218,), (1350952249,), (1350952250,), (1350952253,), (1350952254,), (1350952256,), (1350952258,), (1350952275,), (1350952277,), (1350952284,), (1350952285,), (1350952321,), (1350952323,), (1350952324,), (1350952325,), (1350952326,), (1350952328,), (1350952350,), (1350952353,), (1350952521,), (1350952468,), (1350952513,), (1350952515,), (1350952518,), (1350952519,), (1350952541,), (1350952543,), (1350952544,), (1350952567,), (1350952569,), (1350952570,), (1350952596,), (1350952601,), (1350952602,), (1350952605,), (1350952607,), (1350952628,), (1350952630,), (1350952631,), (1350952660,), (1350952663,), (1350952664,), (1350952665,), (1350952690,), (1350952693,), (1350952694,), (1350952695,), (1350952736,), (1350952741,), (1350952773,), (1350952812,), (1350952813,), (1350952870,), (1350952872,), (1350952873,), (1350952874,), (1350952876,), (1350953573,), (1350953627,), (1350953667,), (1350953697,), (1350953858,), (1350953906,), (1350953954,), (1350954009,), (1350954567,), (1350954467,), (1350955194,), (1350955230,), (1350955282,), (1350955875,), (1350955885,), (1350955889,), (1350955892,), (1350955899,), (1350955993,), (1350955995,), (1350955999,), (1350956002,), (1350956005,), (1350956007,), (1350956263,), (1350956288,), (1350956316,), (1350956543,), (1350956558,), (1350956576,), (1350956582,), (1350956584,), (1350956659,), (1350956662,), (1350956665,), (1350956668,), (1350956723,), (1350956724,), (1350956726,), (1350956786,), (1350956789,), (1350956795,), (1350956803,), (1350956808,), (1350956823,), (1350957116,), (1350957120,), (1350957126,), (1350957134,), (1350957141,), (1350957172,), (1350957174,), (1350957175,), (1350957247,), (1350957255,), (1350957263,), (1350957266,), (1350957268,), (1350957322,), (1350957340,), (1350957365,), (1350957391,), (1350957939,), (1350957952,), (1350957957,), (1350957979,), (1350958014,), (1350958285,), (1350958194,), (1350958231,), (1350958257,), (1350958280,), (1350958281,), (1350958303,), (1350958326,), (1350958337,), (1350958512,), (1350958539,), (1350958562,), (1350958565,), (1350958567,), (1350958771,), (1350958784,), (1350958790,), (1350958792,), (1350958828,), (1350958912,), (1350958923,), (1350958929,), (1350959108,), (1350959119,), (1350959135,), (1350959173,), (1350959194,), (1350959208,), (1350959418,), (1350959422,), (1350959432,), (1350959472,), (1350959477,), (1350959790,), (1350960226,), (1350960227,), (1350960382,), (1350960410,), (1350960414,), (1350960512,), (1350960523,), (1350960558,), (1350960585,), (1350960629,), (1350960653,), (1350960685,), (1350960687,), (1350960690,), (1350960693,), (1350960844,), (1350960857,), (1350960860,), (1350960862,), (1350960863,), (1350960866,), (1350960899,), (1350960904,), (1350960908,), (1350961109,), (1350960959,), (1350960985,), (1350961091,), (1350961100,), (1350961106,), (1350961136,), (1350961232,), (1350961257,), (1350961284,), (1350961300,), (1350961430,), (1350961432,), (1350961433,), (1350961434,), (1350961461,), (1350961487,), (1350961655,), (1350961700,), (1350961735,), (1350961982,), (1350962169,), (1350962171,), (1350962199,), (1350962200,), (1350962241,), (1350962244,), (1350962247,), (1350962250,), (1350962252,), (1350962289,), (1350962296,), (1350962298,), (1350962305,), (1350962314,), (1350962412,), (1350962415,), (1350962423,), (1350962443,), (1350962630,), (1350962631,), (1350962648,), (1350962676,), (1350962690,), (1350962693,), (1350962856,), (1350962869,), (1350962875,), (1350962897,), (1350962901,), (1350963111,), (1350963120,), (1350963152,), (1350963154,), (1350963156,), (1350963158,), (1350963261,), (1350963272,), (1350963276,), (1350963279,), (1350963375,), (1350963388,), (1350963389,), (1350963391,), (1350963535,), (1350963497,), (1350963503,), (1350963517,), (1350963528,), (1350963531,), (1350963610,), (1350963615,), (1350963617,), (1350963619,), (1350963652,), (1350963656,), (1350963661,), (1350963712,), (1350963731,), (1350963740,), (1350963851,), (1350963854,), (1350963856,), (1350963904,), (1350963912,), (1350963922,), (1350963955,), (1350964005,), (1350964047,), (1350964118,), (1350964148,), (1350964182,), (1350964201,), (1350964205,), (1350964208,), (1350964270,), (1350964281,), (1350964351,), (1350964353,), (1350964392,), (1350964399,), (1350964401,), (1350964403,), (1350964409,), (1350964417,), (1350964457,), (1350964459,), (1350964461,), (1350964493,), (1350964496,), (1350964499,), (1350964535,), (1350964536,), (1350964538,), (1350964540,), (1350964541,), (1350964569,), (1350964574,), (1350964583,), (1350964590,), (1350964601,), (1350964605,), (1350965289,), (1350965299,), (1350965310,), (1350965329,), (1350965872,), (1350965799,), (1350966391,), (1350966418,), (1350966915,), (1350966917,), (1350966919,), (1350966921,), (1350966924,), (1350967091,), (1350967120,), (1350967147,), (1350967174,), (1350967191,), (1350967455,), (1350967470,), (1350967478,), (1350967481,), (1350967509,), (1350967511,), (1350967524,), (1350967527,), (1350967530,), (1350967555,), (1350967640,), (1350967710,), (1350967886,), (1350967888,), (1350967943,), (1350967948,), (1350967953,), (1350967977,), (1350968100,), (1350968103,), (1350968162,), (1350968201,), (1350968278,), (1350968292,), (1350968307,), (1350968495,), (1350968508,), (1350968511,), (1350968519,), (1350968533,), (1350968541,), (1350968597,), (1350968600,), (1350968603,), (1350968605,), (1350968725,), (1350968726,), (1350968728,), (1350968730,), (1350968731,), (1350968784,), (1350968801,), (1350968827,), (1350968852,), (1350968871,), (1350969061,), (1350969091,), (1350969105,), (1350969107,), (1350969109,), (1350969552,), (1350969385,), (1350969402,), (1350969432,), (1350969477,), (1350969502,), (1350969604,), (1350969605,), (1350969607,), (1350969609,), (1350969648,), (1350969652,), (1350969655,), (1350969658,), (1350969663,), (1350969678,), (1350969827,), (1350969833,), (1350969836,), (1350969838,), (1350969839,), (1350970028,), (1350970031,), (1350970034,), (1350970037,), (1350970040,), (1350970042,), (1350970186,), (1350970202,), (1350970211,), (1350970214,), (1350970270,), (1350970437,), (1350970447,), (1350970455,), (1350970458,), (1350970462,), (1350970464,), (1350970497,), (1350970499,), (1350970501,), (1350970503,), (1350970506,), (1350970513,), (1350970575,), (1350970653,), (1350970684,), (1350970687,), (1350970691,), (1350970745,), (1350970747,), (1350970755,), (1350970768,), (1350970772,), (1350970776,), (1350970811,), (1350970814,), (1350970821,), (1350970852,), (1350970853,), (1350970857,), (1350970861,), (1350970868,), (1350970880,), (1350971368,), (1350971445,), (1350971479,), (1350971483,), (1350971494,), (1350971505,), (1350971597,), (1350971598,), (1350971600,), (1350971699,), (1350971703,), (1350971740,), (1350971802,), (1350971841,), (1350972031,), (1350972003,), (1350972005,), (1350972008,), (1350972013,), (1350972026,), (1350972090,), (1350972092,), (1350972095,), (1350972214,), (1350972227,), (1350972229,), (1350972230,), (1350972233,), (1350972279,), (1350972282,), (1350972285,), (1350972288,), (1350972290,), (1350972452,), (1350972454,), (1350972456,), (1350972460,), (1350972486,), (1350972502,), (1350972536,), (1350972548,), (1350972551,), (1350972582,), (1350972584,), (1350972586,), (1350972588,), (1350972589,), (1350972592,), (1350972636,), (1350972642,), (1350972652,), (1350972658,), (1350972660,), (1350972805,), (1350972807,), (1350972809,), (1350972811,), (1350972813,), (1350972862,), (1350972864,), (1350972866,), (1350972868,), (1350972871,), (1350972921,), (1350972943,), (1350972972,), (1350973146,), (1350973149,), (1350973151,), (1350973153,), (1350973155,), (1350973179,), (1350973373,), (1350973404,), (1350973423,), (1350973452,), (1350973466,), (1350973498,), (1350973877,), (1350973914,), (1350973937,), (1350974349,), (1350974363,), (1350974389,), (1350974413,), (1350974441,), (1350974682,), (1350986268,), (1350986718,), (1350986735,), (1350986843,), (1350986858,), (1350986870,), (1350987061,), (1350987065,), (1350987068,), (1350987071,), (1350987125,), (1350987129,), (1350987132,), (1350987136,), (1350987143,), (1350987179,), (1350987192,), (1350987204,), (1350987235,), (1350987242,), (1350987247,), (1350987404,), (1350987408,), (1350987413,), (1350987497,), (1350987503,), (1350987508,), (1350987513,), (1350987516,), (1350987530,), (1350987542,), (1350987561,), (1350987566,), (1350987570,), (1350987614,), (1350987647,), (1350987677,), (1350987682,), (1350987687,), (1350987754,), (1350987771,), (1350987801,), (1350987830,), (1350988018,), (1350988050,), (1350988111,), (1350988134,), (1350988146,), (1350988151,), (1350988411,), (1350988415,), (1350988420,), (1350988425,), (1350988430,), (1350988492,), (1350988494,), (1350988496,), (1350988501,), (1350988721,), (1350988728,), (1350988731,), (1350988736,), (1350988741,), (1350988745,), (1350988817,), (1350988810,), (1350988813,), (1350989188,), (1350989191,), (1350989193,), (1350989241,), (1350989277,), (1350989511,), (1350989515,), (1350989518,), (1350989522,), (1350989527,), (1350989529,), (1350989604,), (1350989633,), (1350989634,), (1350989636,), (1350989639,), (1350989779,), (1350989798,), (1350989839,), (1350989882,), (1350989919,), (1350989939,), (1350990226,), (1350990254,), (1350990276,), (1350990353,), (1350990356,), (1350990359,), (1350990362,), (1350990369,), (1350990377,), (1350990462,), (1350990464,), (1350990467,), (1350990470,), (1350990473,), (1350990477,), (1350990825,), (1350990904,), (1350991091,), (1350991094,), (1350991098,), (1350991102,), (1350991122,), (1350991173,), (1350991190,), (1350991192,), (1350991194,), (1350991195,), (1350991200,), (1350991243,), (1350991246,), (1350991249,), (1350991252,), (1350991259,), (1350991264,), (1350991624,), (1350991679,), (1350991713,), (1350991751,), (1350991785,), (1350991825,), (1350992002,), (1350992058,), (1350992110,), (1350992141,), (1350992164,), (1350992227,), (1350992208,), (1350992213,), (1350992217,), (1350992548,), (1350992608,), (1350992675,), (1350992702,), (1350992746,), (1350992807,), (1350993054,), (1350993107,), (1350993158,), (1350993183,), (1350993391,), (1350993410,), (1350993421,), (1350993426,), (1350993456,), (1350993461,), (1350993512,), (1350993515,), (1350993518,), (1350993755,), (1350993782,), (1350993802,), (1350993838,), (1350993866,), (1350993897,), (1350994032,), (1350994040,), (1350994050,), (1350994061,), (1350994202,), (1350994218,), (1350994340,), (1350994345,), (1350994349,), (1350994405,), (1350994409,), (1350994427,), (1350994430,), (1350994434,), (1350994441,), (1350994575,), (1350994603,), (1350994629,), (1350994641,), (1350994648,), (1350994758,), (1350994765,), (1350994776,), (1350994780,), (1350994784,), (1350994919,), (1350994920,), (1350994922,), (1350994924,), (1350995156,), (1350995167,), (1350995178,), (1350995183,), (1350995185,), (1350995283,), (1350995302,), (1350995315,), (1350995319,), (1350995574,), (1350995653,), (1350995727,), (1350995803,), (1350995997,), (1350995981,), (1350995984,), (1350995987,), (1350995990,), (1350995993,), (1350996038,), (1350996042,), (1350996046,), (1350996052,), (1350996057,), (1350996063,), (1350996102,), (1350996111,), (1350996180,), (1350996417,), (1350996444,), (1350996493,), (1350996525,), (1350996549,), (1350996580,), (1350996713,), (1350996743,), (1350996771,), (1350996795,), (1350996800,), (1350996805,), (1350996875,), (1350996881,), (1350996884,), (1350996889,), (1350996974,), (1350996980,), (1350996983,), (1350996985,), (1350996989,), (1350997011,), (1350997235,), (1350997255,), (1350997265,), (1350997428,), (1350997432,), (1350997442,), (1350997517,), (1350997521,), (1350997524,), (1350997577,), (1350997580,), (1350997585,), (1350997589,), (1350997886,), (1350997888,), (1350997941,), (1350997946,), (1350997951,), (1350997955,), (1350997960,), (1350997965,), (1350998029,), (1350998033,), (1350998053,), (1350998079,), (1350998276,), (1350998287,), (1350998295,), (1350998434,), (1350998609,), (1350998640,), (1350998643,), (1350998704,), (1350998716,), (1350998724,), (1350998728,), (1350998793,), (1350998797,), (1350998801,), (1350998810,), (1350998884,), (1350998889,), (1350998921,), (1350998934,), (1350998943,), (1350998953,), (1350999069,), (1350999073,), (1350999078,), (1350999081,), (1350999133,), (1350999136,), (1350999146,), (1350999161,), (1350999163,), (1350999167,), (1350999228,), (1350999238,), (1350999254,), (1350999265,), (1350999268,), (1350999304,), (1350999305,), (1350999307,), (1350999309,), (1350999312,), (1350999410,), (1350999447,), (1350999476,), (1350999502,), (1350999530,), (1350999930,), (1350999972,), (1350999993,), (1351000000,), (1351000018,), (1351000032,), (1351000236,), (1351000286,), (1351000322,), (1351000361,), (1351000400,), (1351000658,), (1351000667,), (1351000674,), (1351000676,), (1351000688,), (1351000691,), (1351000729,), (1351000734,), (1351000737,), (1351000740,), (1351000945,), (1351000948,), (1351000972,), (1351000994,), (1351001027,), (1351001056,), (1351001363,), (1351001252,), (1351001257,), (1351001264,), (1351001307,), (1351001336,), (1351001408,), (1351001410,), (1351001412,), (1351001414,), (1351001870,), (1351001876,), (1351001888,), (1351001898,), (1351001900,), (1351001959,), (1351002424,), (1351002474,), (1351002523,), (1351002611,), (1351002971,), (1351003025,), (1351003078,), (1351003132,), (1351003199,), (1351003620,), (1351003654,), (1351003673,), (1351003712,), (1351003766,), (1351004321,), (1351004397,), (1351004458,), (1351004540,), (1351004904,), (1351004932,), (1351004957,), (1351004985,), (1351005295,), (1351005372,), (1351005393,), (1351005406,), (1351005440,), (1351005492,), (1351005809,), (1351005847,), (1351005877,), (1351005902,), (1351006234,), (1351006237,), (1351006245,), (1351006250,), (1351006261,), (1351006676,), (1351006749,), (1351006884,), (1351006941,), (1351008009,), (1351008089,), (1351008155,), (1351008227,), (1351008301,), (1351008377,), (1351010086,), (1351010121,), (1351010167,), (1351010273,), (1351010315,), (1351010472,), (1351010476,), (1351010522,), (1351010543,), (1351010574,), (1351010591,), (1351010981,), (1351010812,), (1351010841,), (1351010870,), (1351010909,), (1351010956,), (1351011322,), (1351011470,), (1351011605,), (1351011633,), (1351011677,), (1351011711,), (1351012333,), (1351012447,), (1351012562,), (1351013278,), (1351013281,), (1351013289,), (1351013377,), (1351013458,), (1351013998,), (1351014026,), (1351014063,), (1351014093,), (1351014350,), (1351014403,), (1351014430,), (1351014497,), (1351014565,), (1351015171,), (1351015221,), (1351015931,), (1351016007,), (1351016088,), (1351016167,), (1351016266,), (1351016970,), (1351017096,), (1351017188,), (1351017225,), (1351017263,), (1351017279,), (1351017429,), (1351017433,), (1351017435,), (1351017445,), (1351017649,), (1351017650,), (1351017652,), (1351017838,), (1351017886,), (1351017922,), (1351017935,), (1351017942,), (1351017963,), (1351018205,), (1351018234,), (1351018265,), (1351018295,), (1351018324,), (1351018484,), (1351018492,), (1351018521,), (1351018563,), (1351018604,), (1351019084,), (1351019189,), (1351020275,), (1351020104,), (1351020179,), (1351020543,), (1351020658,), (1351020685,), (1351022396,), (1351022420,), (1351022961,), (1351023034,), (1351023482,), (1351023493,), (1351023531,), (1351024067,), (1351024093,), (1351024120,), (1351024148,), (1351024174,), (1351024205,), (1351024641,), (1351024671,), (1351024704,), (1351024734,), (1351024770,), (1351024793,), (1351024915,), (1351024942,), (1351024969,), (1351025332,), (1351025347,), (1351025351,), (1351025353,), (1351025629,), (1351025669,), (1351025698,), (1351025702,), (1351025707,), (1351025895,), (1351025915,), (1351025921,), (1351025923,), (1351026039,), (1351026066,), (1351026093,), (1351026097,), (1351026101,), (1351026306,), (1351026331,), (1351026353,), (1351026357,), (1351026381,), (1351026816,), (1351026604,), (1351026611,), (1351026627,), (1351026633,), (1351026799,), (1351027264,), (1351027291,), (1351027316,), (1351028629,), (1351028679,), (1351029157,), (1351030055,), (1351030077,), (1351030099,), (1351030109,), (1351030141,), (1351030169,), (1351030593,), (1351030643,), (1351030723,), (1351030872,), (1351030884,), (1351030911,), (1351030939,), (1351030969,), (1351031016,), (1351031493,), (1351031539,), (1351031565,), (1351031593,), (1351031622,), (1351031895,), (1351031922,), (1351031924,), (1351031927,), (1351032163,), (1351032191,), (1351032210,), (1351032236,), (1351032258,), (1351032264,), (1351032650,), (1351032659,), (1351032684,), (1351032729,), (1351033210,), (1351033221,), (1351033234,), (1351033368,), (1351033371,), (1351033374,), (1351033379,), (1351033407,), (1351033665,), (1351033668,), (1351033679,), (1351033853,), (1351033748,), (1351033851,), (1351034064,), (1351034089,), (1351034116,), (1351034135,), (1351034154,), (1351034518,), (1351034550,), (1351034581,), (1351034586,), (1351034589,), (1351034628,), (1351034632,), (1351034637,), (1351034641,), (1351034723,), (1351034757,), (1351034796,), (1351034812,), (1351034989,), (1351035036,), (1351035049,), (1351035065,), (1351035087,), (1351035089,), (1351035137,), (1351035142,), (1351035144,), (1351035147,), (1351035153,), (1351035212,), (1351035262,), (1351035264,), (1351035267,), (1351035274,), (1351035710,), (1351035736,), (1351035793,), (1351035897,), (1351035933,), (1351035960,), (1351036343,), (1351036398,), (1351036446,), (1351036504,), (1351036530,), (1351036624,), (1351036627,), (1351036656,), (1351036680,), (1351036896,), (1351036900,), (1351036938,), (1351036979,), (1351037016,), (1351037061,), (1351037435,), (1351037509,), (1351037585,), (1351037686,), (1351037781,), (1351039058,), (1351039133,), (1351039249,), (1351039315,), (1351039391,), (1351039456,), (1351039642,), (1351039670,), (1351039679,), (1351040096,), (1351039761,), (1351039794,), (1351039842,), (1351039937,), (1351040012,), (1351040842,), (1351040916,), (1351040998,), (1351041104,), (1351041363,), (1351042151,), (1351042249,), (1351042324,), (1351043300,), (1351043366,), (1351043432,), (1351043491,), (1351043550,), (1351043785,), (1351043789,), (1351043793,), (1351043798,), (1351043803,), (1351044354,), (1351044405,), (1351044437,), (1351044487,), (1351044885,), (1351044925,), (1351044938,), (1351044965,), (1351044968,), (1351044974,), (1351045058,), (1351045063,), (1351045068,), (1351045072,), (1351045076,), (1351045318,), (1351045344,), (1351045346,), (1351045414,), (1351045677,), (1351045688,), (1351045691,), (1351045696,), (1351045700,), (1351045707,), (1351045879,), (1351045883,), (1351045886,), (1351045891,), (1351047379,), (1351084937,), (1351084757,), (1351084818,), (1351084882,), (1351085486,), (1351085521,), (1351085553,), (1351085990,), (1351086873,), (1351086901,), (1351087240,), (1351087243,), (1351087253,), (1351087299,), (1351087369,), (1351087381,), (1351087470,), (1351087472,), (1351087474,), (1351087973,), (1351088064,), (1351088926,), (1351088999,), (1351089049,), (1351089078,), (1351089106,), (1351089137,), (1351089826,), (1351089532,), (1351089612,), (1351089683,), (1351089750,), (1351089821,), (1351090080,), (1351090094,), (1351090110,), (1351090125,), (1351090282,), (1351090327,), (1351090384,), (1351091201,), (1351091203,), (1351091206,), (1351091228,), (1351091255,), (1351091572,), (1351091575,), (1351091612,), (1351091778,), (1351091785,), (1351092060,), (1351092086,), (1351092104,), (1351092115,), (1351092416,), (1351092438,), (1351092443,), (1351092459,), (1351092480,), (1351092876,), (1351092878,), (1351092920,), (1351092960,), (1351092991,), (1351093022,), (1351093131,), (1351093159,), (1351093187,), (1351093191,), (1351093195,), (1351093198,), (1351093201,), (1351093206,), (1351093486,), (1351093513,), (1351093541,), (1351093569,), (1351093594,), (1351093622,), (1351093768,), (1351093793,), (1351093814,), (1351094031,), (1351094034,), (1351094037,), (1351094040,), (1351094044,), (1351094411,), (1351094472,), (1351094532,), (1351094605,), (1351095274,), (1351096250,), (1351096325,), (1351096397,), (1351097225,), (1351097300,), (1351097384,), (1351097471,), (1351097572,), (1351098424,), (1351098476,), (1351098546,), (1351099116,), (1351099145,), (1351099156,), (1351099162,), (1351099176,), (1351099185,), (1351099237,), (1351099261,), (1351099277,), (1351099287,), (1351099304,), (1351099609,), (1351099636,), (1351099658,), (1351099697,), (1351099726,), (1351100160,), (1351100212,), (1351101083,), (1351101176,), (1351101236,), (1351101266,), (1351101294,), (1351101795,), (1351101829,), (1351101858,), (1351101887,), (1351101919,), (1351101970,), (1351102318,), (1351102342,), (1351102371,), (1351102394,), (1351103347,), (1351103405,), (1351103436,), (1351103474,), (1351103539,), (1351104277,), (1351104377,), (1351104479,), (1351104556,), (1351104625,), (1351104692,), (1351105193,), (1351105357,), (1351105419,), (1351105464,), (1351107202,), (1351110189,), (1351110261,), (1351111362,), (1351111415,), (1351111463,), (1351111511,), (1351111549,), (1351111582,), (1351111874,), (1351111903,), (1351111949,), (1351112295,), (1351112300,), (1351112325,), (1351112529,), (1351112561,), (1351112590,), (1351112787,), (1351112792,), (1351112794,), (1351112821,), (1351112852,), (1351112987,), (1351113002,), (1351113010,), (1351113011,), (1351113013,), (1351114638,), (1351116862,), (1351116920,), (1351116980,), (1351117859,), (1351117571,), (1351117609,), (1351117650,), (1351117713,), (1351117787,), (1351118197,), (1351118246,), (1351118274,), (1351118313,), (1351118359,), (1351118408,), (1351119112,), (1351119209,), (1351119284,), (1351119391,), (1351119487,), (1351120323,), (1351120371,), (1351120435,), (1351120484,), (1351121294,), (1351121373,), (1351121424,), (1351121476,), (1351121563,), (1351121699,), (1351123086,), (1351123333,), (1351123585,), (1351123849,), (1351124786,), (1351124826,), (1351124849,), (1351124873,), (1351125000,), (1351125365,), (1351125394,), (1351125436,), (1351125514,), (1351125628,), (1351125728,), (1351126862,), (1351126936,), (1351126998,), (1351127039,), (1351127644,), (1351127690,), (1351127742,), (1351127784,), (1351128389,), (1351128447,), (1351128518,), (1351128569,), (1351129122,), (1351129211,), (1351129270,), (1351129717,), (1351129739,), (1351129749,), (1351129755,), (1351129759,), (1351129776,), (1351129904,), (1351129939,), (1351130262,), (1351130840,), (1351130651,), (1351130692,), (1351130736,), (1351131383,), (1351131437,), (1351131447,), (1351131450,), (1351131452,), (1351131457,), (1351131905,), (1351131940,), (1351131971,), (1351132001,), (1351132005,), (1351132165,), (1351132187,), (1351132216,), (1351132229,), (1351132279,), (1351132284,), (1351132288,), (1351133105,), (1351133374,), (1351133642,), (1351133680,), (1351133723,), (1351134571,), (1351134689,), (1351134849,), (1351134954,), (1351134984,), (1351135015,), (1351135499,), (1351135526,), (1351135557,), (1351135566,), (1351135971,), (1351136042,), (1351136098,), (1351136154,), (1351136211,), (1351136766,), (1351136849,), (1351136900,), (1351136953,), (1351137441,), (1351137497,), (1351137537,), (1351137563,), (1351137618,), (1351137719,), (1351138239,), (1351138291,), (1351138328,), (1351138361,), (1351138393,), (1351138400,), (1351138524,), (1351138585,), (1351138590,), (1351139151,), (1351139183,), (1351139215,), (1351139250,), (1351139298,), (1351139397,), (1351141474,), (1351141370,), (1351142534,), (1351142586,), (1351142620,), (1351142662,), (1351142695,), (1351143145,), (1351143150,), (1351143155,), (1351143160,), (1351143298,), (1351143302,), (1351143343,), (1351143379,), (1351143457,), (1351143533,), (1351144135,), (1351144222,), (1351144278,), (1351144338,), (1351144892,), (1351144920,), (1351144949,), (1351144974,), (1351144999,), (1351145026,), (1351145321,), (1351145324,), (1351145327,), (1351145330,), (1351145333,), (1351145811,), (1351146054,), (1351146100,), (1351146132,), (1351146146,), (1351146203,), (1351146214,), (1351146252,), (1351146285,), (1351146323,), (1351146665,), (1351146722,), (1351146768,), (1351146803,), (1351146838,), (1351147335,), (1351147364,), (1351147394,), (1351147869,), (1351147894,), (1351147920,), (1351147945,), (1351147970,), (1351148008,), (1351148717,), (1351148792,), (1351148882,), (1351148953,), (1351150060,), (1351150160,), (1351150228,), (1351150305,), (1351150364,), (1351150426,), (1351151509,), (1351151165,), (1351151212,), (1351151439,), (1351151483,), (1351151490,), (1351151673,), (1351151735,), (1351151814,), (1351152267,), (1351152325,), (1351152380,), (1351152411,), (1351152425,), (1351153023,), (1351153070,), (1351153117,), (1351153233,), (1351153237,), (1351153241,), (1351153244,), (1351153256,), (1351153286,), (1351153888,), (1351153983,), (1351154057,), (1351154124,), (1351154155,), (1351154186,), (1351154949,), (1351155149,), (1351155344,), (1351156396,), (1351156431,), (1351156627,), (1351156644,), (1351156650,), (1351156656,), (1351157104,), (1351157156,), (1351157222,), (1351157712,), (1351157812,), (1351157897,), (1351157983,), (1351158022,), (1351158119,), (1351158130,), (1351158133,), (1351158136,), (1351158454,), (1351159019,), (1351159047,), (1351160486,), (1351160478,), (1351160729,), (1351160758,), (1351160784,), (1351160813,), (1351161277,), (1351161281,), (1351161286,), (1351161313,), (1351161369,), (1351161545,), (1351161549,), (1351161574,), (1351161601,), (1351162075,), (1351162211,), (1351162247,), (1351162330,), (1351162774,), (1351162778,), (1351162782,), (1351162786,), (1351162791,), (1351162796,), (1351163074,), (1351163118,), (1351163160,), (1351163187,), (1351163238,), (1351163437,), (1351163488,), (1351163539,), (1351163566,), (1351164166,), (1351164221,), (1351164265,), (1351164298,), (1351164352,), (1351164404,), (1351165040,), (1351165113,), (1351165192,), (1351165796,), (1351165812,), (1351165816,), (1351165847,), (1351165886,), (1351165955,), (1351166540,), (1351166574,), (1351166628,), (1351166665,), (1351167296,), (1351167299,), (1351167340,), (1351167352,), (1351167407,), (1351167614,), (1351167701,), (1351167705,), (1351167709,), (1351167712,), (1351167717,), (1351168117,), (1351168015,), (1351168049,), (1351168548,), (1351168552,), (1351168556,), (1351168562,), (1351168601,), (1351168658,), (1351169168,), (1351169213,), (1351169310,), (1351169392,), (1351170227,), (1351170282,), (1351170336,), (1351170386,), (1351170437,), (1351170497,), (1351170934,), (1351171084,), (1351171152,), (1351171404,), (1351171716,), (1351172049,), (1351172652,), (1351172717,), (1351172849,), (1351172902,), (1351173974,), (1351173994,), (1351174016,), (1351174160,), (1351174343,), (1351174428,), (1351174829,), (1351174901,), (1351174980,), (1351175054,), (1351175144,), (1351175830,), (1351175872,), (1351175941,), (1351175963,), (1351175986,), (1351176014,), (1351176190,), (1351176219,), (1351176248,), (1351176275,), (1351176312,), (1351176342,), (1351176465,), (1351176467,), (1351176470,), (1351176473,), (1351176730,), (1351176762,), (1351176777,), (1351176784,), (1351176787,), (1351176987,), (1351177014,), (1351177041,), (1351177070,), (1351177102,), (1351177129,), (1351177877,), (1351177935,), (1351178268,), (1351178394,), (1351178508,), (1351178616,), (1351179478,), (1351179246,), (1351179324,), (1351179402,), (1351180699,), (1351180777,), (1351180853,), (1351180908,), (1351180965,), (1351181474,), (1351181493,), (1351181537,), (1351181583,), (1351181616,), (1351181670,), (1351182256,), (1351182372,), (1351182609,), (1351183867,), (1351183943,), (1351184017,), (1351184077,), (1351184125,), (1351184246,), (1351184933,), (1351184995,), (1351185075,), (1351185142,), (1351185227,), (1351186007,), (1351186047,), (1351186082,), (1351186115,), (1351186159,), (1351186524,), (1351186530,), (1351186569,), (1351186598,), (1351186625,), (1351186660,), (1351187047,), (1351187118,), (1351187186,), (1351187216,), (1351187240,), (1351187404,), (1351187433,), (1351187478,), (1351187529,), (1351187561,), (1351187591,), (1351187795,), (1351187828,), (1351187856,), (1351187902,), (1351188318,), (1351188382,), (1351188483,), (1351188557,), (1351188638,), (1351188697,), (1351189170,), (1351189195,), (1351189222,), (1351189251,), (1351189281,), (1351189647,), (1351189675,), (1351189705,), (1351189729,), (1351189757,), (1351189785,), (1351190173,), (1351190201,), (1351190250,), (1351190274,), (1351190853,), (1351190558,), (1351190611,), (1351190663,), (1351190711,), (1351190785,), (1351191229,), (1351191255,), (1351191285,), (1351191336,), (1351192154,), (1351192213,), (1351192275,), (1351192308,), (1351192337,), (1351192367,), (1351192762,), (1351192789,), (1351192824,), (1351192855,), (1351192903,), (1351192968,), (1351192994,), (1351193024,), (1351193076,), (1351193528,), (1351193556,), (1351193586,), (1351193613,), (1351193634,), (1351194228,), (1351194280,), (1351194331,), (1351194391,), (1351195087,), (1351195274,), (1351195478,), (1351195687,), (1351195990,), (1351196292,), (1351197230,), (1351197303,), (1351197384,), (1351197651,), (1351197772,), (1351198391,), (1351198502,), (1351198671,), (1351199107,), (1351199183,), (1351199384,), (1351199481,), (1351199575,), (1351199796,), (1351200435,), (1351200485,), (1351200535,), (1351200566,), (1351200602,), (1351201268,), (1351201344,), (1351201405,), (1351201808,), (1351201838,), (1351201884,), (1351201943,), (1351202003,), (1351202035,), (1351202245,), (1351202249,), (1351202255,), (1351202257,), (1351202258,), (1351203022,), (1351202442,), (1351202724,), (1351202787,), (1351202906,), (1351202967,), (1351203502,), (1351203558,), (1351203627,), (1351203691,), (1351203730,), (1351203820,), (1351204723,), (1351204766,), (1351205211,), (1351205240,), (1351205315,), (1351205390,), (1351205415,), (1351205696,), (1351205722,), (1351205729,), (1351205744,), (1351205754,), (1351205758,), (1351205991,), (1351206038,), (1351206086,), (1351206115,), (1351206476,), (1351206501,), (1351206529,), (1351206555,), (1351206583,), (1351206612,), (1351206873,), (1351206925,), (1351206984,), (1351207026,), (1351207055,), (1351207083,), (1351207199,), (1351207740,), (1351210334,), (1351210613,), (1351210409,), (1351210515,), (1351210527,), (1351210542,), (1351210561,), (1351210877,), (1351210934,), (1351210981,), (1351211015,), (1351211074,), (1351211103,), (1351211450,), (1351211464,), (1351211468,), (1351211603,), (1351211610,), (1351211618,), (1351211621,), (1351211641,), (1351211671,), (1351211805,), (1351211832,), (1351211835,), (1351211839,), (1351212021,), (1351212024,), (1351212028,), (1351212073,), (1351212076,), (1351212080,), (1351212177,), (1351212180,), (1351212188,), (1351212191,), (1351212194,), (1351212318,), (1351212427,), (1351212544,), (1351213064,), (1351213069,), (1351213089,), (1351213116,), (1351213150,), (1351213614,), (1351213640,), (1351213667,), (1351213695,), (1351213721,), (1351213749,), (1351214396,), (1351214507,), (1351214584,), (1351214653,), (1351214769,), (1351215479,), (1351215539,), (1351215592,), (1351215676,), (1351215742,), (1351215791,), (1351217289,), (1351217345,), (1351217401,), (1351217439,), (1351217475,), (1351217506,), (1351217718,), (1351217770,), (1351217805,), (1351217847,), (1351218141,), (1351218088,), (1351219053,), (1351219235,), (1351219417,), (1351219489,), (1351219605,), (1351219850,), (1351221203,), (1351221266,), (1351221313,), (1351221413,), (1351221458,), (1351221870,), (1351221923,), (1351221981,), (1351222033,), (1351222564,), (1351222599,), (1351222628,), (1351222655,), (1351223124,), (1351223132,), (1351223159,), (1351223170,), (1351223174,), (1351223693,), (1351223728,), (1351223760,), (1351224009,), (1351224012,), (1351224016,), (1351224019,), (1351224038,), (1351224069,), (1351224174,), (1351224179,), (1351224184,), (1351224188,), (1351224450,), (1351224479,), (1351224513,), (1351224557,), (1351224614,), (1351224650,), (1351225098,), (1351225192,), (1351225256,), (1351225265,), (1351225270,), (1351225275,), (1351225674,), (1351225701,), (1351225730,), (1351225761,), (1351226184,), (1351226281,), (1351226395,), (1351226447,), (1351226500,), (1351226549,), (1351226956,), (1351226995,), (1351227025,), (1351227055,), (1351227115,), (1351227721,), (1351227768,), (1351227804,), (1351229273,), (1351228940,), (1351229080,), (1351229118,), (1351229183,), (1351229791,), (1351229894,), (1351229973,), (1351230027,), (1351230079,), (1351230134,), (1351230665,), (1351230719,), (1351230753,), (1351231295,), (1351231329,), (1351231387,), (1351231486,), (1351231584,), (1351231705,), (1351231962,), (1351232037,), (1351232100,), (1351232132,), (1351232164,), (1351232468,), (1351232513,), (1351232541,), (1351232571,), (1351234375,), (1351234501,), (1351234633,), (1351235084,), (1351235112,), (1351235240,), (1351235357,), (1351235489,), (1351235744,), (1351235903,), (1351235937,), (1351236180,), (1351236212,), (1351236238,), (1351236355,), (1351236395,), (1351236422,), (1351236456,), (1351236521,), (1351236533,), (1351236642,), (1351236643,), (1351236646,), (1351236647,), (1351236649,), (1351236897,), (1351259579,), (1351259522,), (1351260788,), (1351261147,), (1351261242,), (1351261367,), (1351261479,), (1351262352,), (1351262489,), (1351262638,), (1351262713,), (1351263793,), (1351263865,), (1351263916,), (1351264523,), (1351264527,), (1351264550,), (1351264576,), (1351264602,), (1351264642,), (1351265140,), (1351265165,), (1351265210,), (1351265244,), (1351265276,), (1351265369,), (1351266067,), (1351266163,), (1351266274,), (1351266366,), (1351267271,), (1351267300,), (1351267352,), (1351267442,), (1351267477,), (1351267771,), (1351267777,), (1351267800,), (1351267817,), (1351267818,), (1351268118,), (1351268149,), (1351268182,), (1351268206,), (1351268592,), (1351268600,), (1351268603,), (1351268615,), (1351268620,), (1351269016,), (1351269064,), (1351269093,), (1351269123,), (1351269532,), (1351269551,), (1351269579,), (1351269956,), (1351269983,), (1351270011,), (1351270029,), (1351270031,), (1351270033,), (1351270079,), (1351270083,), (1351270088,), (1351270091,), (1351270094,), (1351270096,), (1351270162,), (1351270131,), (1351270139,), (1351270141,), (1351270337,), (1351270371,), (1351270373,), (1351270383,), (1351270418,), (1351270422,), (1351270475,), (1351270503,), (1351270587,), (1351270643,), (1351270685,), (1351270811,), (1351271018,), (1351271239,), (1351271430,), (1351271478,), (1351272156,), (1351272274,), (1351272303,), (1351272331,), (1351272358,), (1351272766,), (1351272803,), (1351272851,), (1351272907,), (1351273725,), (1351273759,), (1351273785,), (1351273826,), (1351273875,), (1351274485,), (1351274541,), (1351274613,), (1351274699,), (1351274798,), (1351274852,), (1351275565,), (1351275642,), (1351275719,), (1351276153,), (1351276182,), (1351276209,), (1351276857,), (1351276900,), (1351276932,), (1351277364,), (1351277527,), (1351277555,), (1351277580,), (1351277796,), (1351277798,), (1351277801,), (1351277803,), (1351278117,), (1351278155,), (1351278182,), (1351278208,), (1351278501,), (1351278663,), (1351278692,), (1351278718,), (1351278753,), (1351278831,), (1351279390,), (1351279425,), (1351279471,), (1351279524,), (1351280242,), (1351280293,), (1351280342,), (1351280369,), (1351280372,), (1351280375,), (1351280611,), (1351280674,), (1351280749,), (1351281754,), (1351282040,), (1351282137,), (1351282186,), (1351282219,), (1351282519,), (1351282588,), (1351282771,), (1351282867,), (1351282874,), (1351283058,), (1351283064,), (1351283071,), (1351283077,), (1351283629,), (1351283680,), (1351283713,), (1351283738,), (1351283781,), (1351283832,), (1351284081,), (1351284087,), (1351284307,), (1351284336,), (1351284363,), (1351284389,), (1351284416,), (1351284443,), (1351284626,), (1351284646,), (1351284650,), (1351284672,), (1351284699,), (1351285503,), (1351285508,), (1351285596,), (1351286806,), (1351286315,), (1351286570,), (1351286662,), (1351287120,), (1351287127,), (1351287131,), (1351287135,), (1351287138,), (1351287142,), (1351287584,), (1351287589,), (1351287599,), (1351287626,), (1351287638,), (1351287922,), (1351287974,), (1351288018,), (1351288042,), (1351288368,), (1351288380,), (1351288383,), (1351288386,), (1351288389,), (1351288393,), (1351288979,), (1351289084,), (1351289212,), (1351289330,), (1351290093,), (1351290159,), (1351290208,), (1351290271,), (1351290386,), (1351290497,), (1351291066,), (1351291092,), (1351291100,), (1351291102,), (1351291445,), (1351291474,), (1351291507,), (1351291547,), (1351291602,), (1351292174,), (1351292247,), (1351292298,), (1351292326,), (1351292370,), (1351292834,), (1351292863,), (1351292897,), (1351292947,), (1351293296,), (1351293299,), (1351293302,), (1351293305,), (1351293651,), (1351293714,), (1351293769,), (1351293814,), (1351293856,), (1351294745,), (1351294806,), (1351294866,), (1351294902,), (1351294938,), (1351295047,), (1351295357,), (1351295476,), (1351296589,), (1351296082,), (1351296164,), (1351296232,), (1351296314,), (1351296472,), (1351297042,), (1351297098,), (1351297125,), (1351297150,), (1351297187,), (1351297245,), (1351298254,), (1351298288,), (1351298315,), (1351298342,), (1351298383,), (1351298747,), (1351298754,), (1351298918,), (1351298963,), (1351298991,), (1351299019,), (1351299155,), (1351299159,), (1351299162,), (1351299166,), (1351299209,), (1351299371,), (1351299379,), (1351299393,), (1351299400,), (1351299436,), (1351299726,), (1351299755,), (1351299772,), (1351299778,), (1351299947,), (1351299957,), (1351299964,), (1351300026,), (1351300109,), (1351300744,), (1351300758,), (1351300762,), (1351300766,), (1351300769,), (1351300775,), (1351300971,), (1351300977,), (1351300988,), (1351300992,), (1351301007,), (1351301070,), (1351301072,), (1351301075,), (1351301099,), (1351301104,), (1351301319,), (1351301346,), (1351301392,), (1351301419,), (1351301425,), (1351301448,), (1351301758,), (1351301793,), (1351301822,), (1351301847,), (1351301880,), (1351302380,), (1351302419,), (1351302446,), (1351302975,), (1351303212,), (1351303240,), (1351303269,), (1351303977,), (1351303689,), (1351303761,), (1351303845,), (1351303895,), (1351303947,), (1351304037,), (1351304042,), (1351304045,), (1351304070,), (1351304147,), (1351304642,), (1351304775,), (1351304887,), (1351304948,), (1351305009,), (1351305061,), (1351305603,), (1351305633,), (1351305677,), (1351305681,), (1351305690,), (1351305936,), (1351305978,), (1351306019,), (1351306045,), (1351306072,), (1351306114,), (1351306293,), (1351306299,), (1351306302,), (1351306308,), (1351306313,), (1351306318,), (1351306578,), (1351306627,), (1351306679,), (1351307681,), (1351307685,), (1351307718,), (1351307768,), (1351307794,), (1351307844,), (1351308210,), (1351308251,), (1351308373,), (1351308456,), (1351308489,), (1351308501,), (1351308639,), (1351308643,), (1351308646,), (1351308650,), (1351308721,), (1351308726,), (1351308729,), (1351308732,), (1351308744,), (1351308771,), (1351308926,), (1351308959,), (1351308989,), (1351309027,), (1351309535,), (1351309608,), (1351309682,), (1351309732,), (1351310139,), (1351310166,), (1351310204,), (1351310230,), (1351310462,), (1351310474,), (1351310501,), (1351310529,), (1351310558,), (1351311050,), (1351310815,), (1351310846,), (1351310892,), (1351310944,), (1351310997,), (1351311694,), (1351311703,), (1351311707,), (1351311724,), (1351312131,), (1351312178,), (1351312181,), (1351312185,), (1351312189,), (1351312194,), (1351312405,), (1351312443,), (1351312496,), (1351312683,), (1351312688,), (1351312693,), (1351312699,), (1351312899,), (1351312915,), (1351312919,), (1351312923,), (1351313107,), (1351313122,), (1351313126,), (1351313400,), (1351313403,), (1351313407,), (1351313435,), (1351313464,), (1351313468,), (1351313635,), (1351313656,), (1351313660,), (1351313664,), (1351313711,), (1351313735,), (1351313745,), (1351313759,), (1351313784,), (1351313817,), (1351314245,), (1351314273,), (1351314294,), (1351314301,), (1351314338,), (1351314982,), (1351315031,), (1351315102,), (1351316013,), (1351316120,), (1351316234,), (1351316314,), (1351316418,), (1351316511,), (1351317124,), (1351317150,), (1351317177,), (1351318967,), (1351318912,), (1351318953,), (1351318960,), (1351319315,), (1351319369,), (1351319420,), (1351319843,), (1351319853,), (1351319884,), (1351319904,), (1351319908,), (1351319910,), (1351320300,), (1351320324,), (1351320375,), (1351320416,), (1351320429,), (1351320457,), (1351320619,), (1351320675,), (1351320726,), (1351320784,), (1351321343,), (1351321403,), (1351321454,), (1351321502,), (1351321778,), (1351321993,), (1351323527,), (1351323577,), (1351323604,), (1351323639,), (1351324032,), (1351324062,), (1351324086,), (1351324264,), (1351324451,), (1351324592,), (1351325007,), (1351325040,), (1351325083,), (1351325122,), (1351325625,), (1351325630,), (1351325635,), (1351325640,), (1351325645,), (1351325648,), (1351325684,), (1351325693,), (1351325700,), (1351325704,), (1351326664,), (1351326746,), (1351326827,), (1351326899,), (1351326964,), (1351328343,), (1351328104,), (1351328190,), (1351328277,), (1351329432,), (1351331665,), (1351331772,), (1351334244,), (1351335193,), (1351335229,), (1351335274,), (1351335390,), (1351335472,), (1351335531,), (1351336382,), (1351336421,), (1351336448,), (1351336483,), (1351337071,), (1351337139,), (1351337191,), (1351337243,), (1351337325,), (1351337381,), (1351337748,), (1351337776,), (1351337805,), (1351337836,), (1351337863,), (1351338112,), (1351338116,), (1351338120,), (1351338123,), (1351338126,), (1351338531,), (1351338590,), (1351338654,), (1351338703,), (1351338756,), (1351338802,), (1351339066,), (1351339094,), (1351339138,), (1351339187,), (1351339242,), (1351339246,), (1351339250,), (1351339262,), (1351339270,), (1351339285,), (1351339774,), (1351339997,), (1351340074,), (1351340113,), (1351340144,), (1351340290,), (1351340265,), (1351340778,), (1351340864,), (1351340867,), (1351341158,), (1351341166,), (1351341171,), (1351341175,), (1351341181,), (1351341185,), (1351341216,), (1351341226,), (1351341229,), (1351341236,), (1351341242,), (1351341245,), (1351341284,), (1351341289,), (1351341293,), (1351341297,), (1351341311,), (1351341320,), (1351341407,), (1351341410,), (1351341413,), (1351341416,), (1351341418,), (1351341423,), (1351341557,), (1351341586,), (1351341612,), (1351341637,), (1351342280,), (1351342341,), (1351342392,), (1351342444,), (1351342538,), (1351342636,), (1351343441,), (1351343519,), (1351343592,), (1351343663,), (1351343750,), (1351344736,), (1351344828,), (1351344911,), (1351344970,), (1351346005,), (1351346118,), (1351346229,), (1351346322,), (1351346380,), (1351346410,), (1351346809,), (1351346833,), (1351346860,), (1351346887,), (1351347224,), (1351347351,), (1351347473,), (1351347609,), (1351348136,), (1351348139,), (1351348142,), (1351348148,), (1351348173,), (1351348938,), (1351349061,), (1351349182,), (1351349284,), (1351350202,), (1351349774,), (1351349861,), (1351349949,), (1351350057,), (1351350749,), (1351350818,), (1351350859,), (1351350889,), (1351351445,), (1351351587,), (1351351705,), (1351351767,), (1351351817,), (1351352355,), (1351352512,), (1351352634,), (1351352787,), (1351352930,), (1351353081,), (1351354443,), (1351354702,), (1351354909,), (1351354990,), (1351356464,), (1351356547,), (1351356758,), (1351356861,), (1351356965,), (1351357045,), (1351357858,), (1351357885,), (1351357916,), (1351357965,), (1351358017,), (1351358084,), (1351358616,), (1351358637,), (1351358665,), (1351358691,), (1351359122,), (1351359177,), (1351359229,), (1351359279,), (1351359327,), (1351359379,), (1351359841,), (1351359864,), (1351359868,), (1351359881,), (1351359911,), (1351377485,), (1351377432,), (1351378330,), (1351378334,), (1351378573,), (1351380030,), (1351380061,), (1351380858,), (1351380920,), (1351380947,), (1351381588,), (1351382207,), (1351382235,), (1351382263,), (1351382479,), (1351382714,), (1351383063,), (1351383194,), (1351383533,), (1351385456,), (1351401329,), (1351401361,), (1351401365,), (1351401967,), (1351402497,), (1351402544,), (1351402546,), (1351402840,), (1351403167,), (1351405147,), (1351431452,), (1351432117,), (1351434405,), (1351436982,), (1351437017,), (1351438171,), (1351438601,), (1351449620,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'18042025': {'nb_upload': 41, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22168535]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1350934864, 1350934804, 1350934801, 1350934799, 1350934755, 1350934749, 1350934745, 1350934741, 1350934735, 1350934693, 1350934692, 1350934691, 1350934689, 1350934651, 1350934636, 1350934629, 1350934625, 1350934621, 1350934592, 1350934523, 1350934519, 1350934516, 1350934512, 1350934508, 1350934420, 1350934415, 1350934411, 1350934394, 1350934376, 1350934374, 1350934064, 1350934038, 1350934011, 1350933984, 1350933852, 1350933849, 1350933846, 1350931360, 1350931329, 1350931299, 1350931268] map_info['map_portfolio_photo'] : {22168535: [1350934864, 1350934804, 1350934801, 1350934799, 1350934755, 1350934749, 1350934745, 1350934741, 1350934735, 1350934693, 1350934692, 1350934691, 1350934689, 1350934651, 1350934636, 1350934629, 1350934625, 1350934621, 1350934592, 1350934523, 1350934519, 1350934516, 1350934512, 1350934508, 1350934420, 1350934415, 1350934411, 1350934394, 1350934376, 1350934374, 1350934064, 1350934038, 1350934011, 1350933984, 1350933852, 1350933849, 1350933846, 1350931360, 1350931329, 1350931299, 1350931268]} final : True mtd_id 4302 list_pids : [1350934864, 1350934804, 1350934801, 1350934799, 1350934755, 1350934749, 1350934745, 1350934741, 1350934735, 1350934693, 1350934692, 1350934691, 1350934689, 1350934651, 1350934636, 1350934629, 1350934625, 1350934621, 1350934592, 1350934523, 1350934519, 1350934516, 1350934512, 1350934508, 1350934420, 1350934415, 1350934411, 1350934394, 1350934376, 1350934374, 1350934064, 1350934038, 1350934011, 1350933984, 1350933852, 1350933849, 1350933846, 1350931360, 1350931329, 1350931299, 1350931268] Looping around the photos to save general results len do output : 1 /22168535Didn'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, '2739669') ('4302', '22168535', '1350934864', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934804', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934801', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934799', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934755', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934749', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934745', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934741', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934735', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934693', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934692', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934691', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934689', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934651', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934636', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934629', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934625', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934621', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934592', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934523', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934519', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934516', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934512', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934508', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934420', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934415', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934411', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934394', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934376', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934374', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934064', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934038', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350934011', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350933984', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350933852', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350933849', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350933846', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350931360', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350931329', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350931299', None, None, None, None, None, '2739669') ('4302', None, None, None, None, None, None, None, '2739669') ('4302', '22168535', '1350931268', None, None, None, None, None, '2739669') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 42 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '22168535', 'None', None, None, None, None, '2739669'), ('4302', '22168535', '1350934864', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350934804', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350934801', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350934799', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350934755', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350934749', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350934745', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350934741', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350934735', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350934693', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350934692', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350934691', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350934689', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350934651', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350934636', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350934629', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350934625', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350934621', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350934592', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350934523', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350934519', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350934516', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350934512', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350934508', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350934420', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350934415', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350934411', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350934394', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350934376', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350934374', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350934064', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350934038', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350934011', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350933984', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350933852', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350933849', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350933846', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350931360', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350931329', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350931299', None, None, None, None, None, '2739669'), ('4302', '22168535', '1350931268', None, None, None, None, None, '2739669')] time used for this insertion : 0.01858997344970703 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.0496296882629395 time spend to save output : 0.018964529037475586 total time spend for step 5 : 4.068594217300415 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 (2739669) 3.24user 2.55system 0:23.02elapsed 25%CPU (0avgtext+0avgdata 162688maxresident)k 360inputs+40120outputs (5major+88178minor)pagefaults 0swaps