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 : 1362567 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 (2931080) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2931080) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23197882 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2931080'] with mtr_portfolio_ids : ['23197882'] and first list_photo_ids : [] new path : /proc/1362567/ Name: python3 Umask: 0002 State: R (running) Tgid: 1362567 Ngid: 0 Pid: 1362567 PPid: 1362566 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 1362567 NSpid: 1362567 NSpgid: 1360780 NSsid: 1360780 VmPeak: 1107216 kB VmSize: 1107216 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 99948 kB VmRSS: 99948 kB RssAnon: 60216 kB RssFile: 39732 kB RssShmem: 0 kB VmData: 865964 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 608 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: 50 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '1362567', 'Ngid': '0', 'Pid': '1362567', 'PPid': '1362566', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '1362567', 'NSpid': '1362567', 'NSpgid': '1360780', 'NSsid': '1360780', 'VmPeak': '1107216 kB', 'VmSize': '1107216 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '99948 kB', 'VmRSS': '99948 kB', 'RssAnon': '60216 kB', 'RssFile': '39732 kB', 'RssShmem': '0 kB', 'VmData': '865964 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '608 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': '50'} ('datou_batch_current', '1362567', '1107216', '0', '1107216', '865964', '99948', b'', 'marlene', '2931080') 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 (23197882) 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 (2931080 ) ) 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 (23197882) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1359979232, 'portfolio_id': 23197882}, {'photo_id': 1359979176, 'portfolio_id': 23197882}, {'photo_id': 1359979168, 'portfolio_id': 23197882}, {'photo_id': 1359979160, 'portfolio_id': 23197882}, {'photo_id': 1359979154, 'portfolio_id': 23197882}, {'photo_id': 1359979148, 'portfolio_id': 23197882}, {'photo_id': 1359979087, 'portfolio_id': 23197882}, {'photo_id': 1359979078, 'portfolio_id': 23197882}, {'photo_id': 1359979075, 'portfolio_id': 23197882}, {'photo_id': 1359979073, 'portfolio_id': 23197882}, {'photo_id': 1359979069, 'portfolio_id': 23197882}, {'photo_id': 1359978973, 'portfolio_id': 23197882}, {'photo_id': 1359978932, 'portfolio_id': 23197882}, {'photo_id': 1359978918, 'portfolio_id': 23197882}, {'photo_id': 1359978905, 'portfolio_id': 23197882}, {'photo_id': 1359978797, 'portfolio_id': 23197882}, {'photo_id': 1359978551, 'portfolio_id': 23197882}, {'photo_id': 1359978524, 'portfolio_id': 23197882}, {'photo_id': 1359978496, 'portfolio_id': 23197882}, {'photo_id': 1359978469, 'portfolio_id': 23197882}, {'photo_id': 1359978416, 'portfolio_id': 23197882}, {'photo_id': 1359978411, 'portfolio_id': 23197882}, {'photo_id': 1359978407, 'portfolio_id': 23197882}, {'photo_id': 1359978398, 'portfolio_id': 23197882}, {'photo_id': 1359978379, 'portfolio_id': 23197882}, {'photo_id': 1359977952, 'portfolio_id': 23197882}, {'photo_id': 1359977937, 'portfolio_id': 23197882}, {'photo_id': 1359977907, 'portfolio_id': 23197882}, {'photo_id': 1359977758, 'portfolio_id': 23197882}, {'photo_id': 1359977753, 'portfolio_id': 23197882}, {'photo_id': 1359977749, 'portfolio_id': 23197882}, {'photo_id': 1359977688, 'portfolio_id': 23197882}, {'photo_id': 1359977673, 'portfolio_id': 23197882}, {'photo_id': 1359977656, 'portfolio_id': 23197882}, {'photo_id': 1359977648, 'portfolio_id': 23197882}, {'photo_id': 1359977623, 'portfolio_id': 23197882}, {'photo_id': 1359977421, 'portfolio_id': 23197882}, {'photo_id': 1359976955, 'portfolio_id': 23197882}] map_portfolio_id_photo_id: {23197882: [1359979232, 1359979176, 1359979168, 1359979160, 1359979154, 1359979148, 1359979087, 1359979078, 1359979075, 1359979073, 1359979069, 1359978973, 1359978932, 1359978918, 1359978905, 1359978797, 1359978551, 1359978524, 1359978496, 1359978469, 1359978416, 1359978411, 1359978407, 1359978398, 1359978379, 1359977952, 1359977937, 1359977907, 1359977758, 1359977753, 1359977749, 1359977688, 1359977673, 1359977656, 1359977648, 1359977623, 1359977421, 1359976955]} ##### 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.022417545318603516 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Thu May 22 05:44: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 (23197882) 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 : 23197882 get user id for portfolio 23197882 get sub ptf for main ptf 23197882, type 3726 and hashtags ['Carton_gris', 'Teint_Dans_La_Masse', 'autre_refus', 'environnement', 'papier', 'cartonnette', 'plastique', 'mal_croppe', 'flou', 'kraft', 'Carton_brun', 'metal'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23197882 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','Teint_Dans_La_Masse','autre_refus','environnement','papier','cartonnette','plastique','mal_croppe','flou','kraft','Carton_brun','metal')) 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`=23197882 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','Teint_Dans_La_Masse','autre_refus','environnement','papier','cartonnette','plastique','mal_croppe','flou','kraft','Carton_brun','metal')) AND mptpi.`min_score`=0.5 To do returned map {'metal': {'main_port_id': 23197882, 'sub_port_id': 23197961, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15474061, 'last_updated_at': datetime.datetime(2025, 5, 21, 9, 3), 'last_updated_at_desc': datetime.datetime(2025, 5, 21, 9, 3), 'last_updated_at_asc': datetime.datetime(2025, 5, 21, 8, 51, 28)}, 'papier': {'main_port_id': 23197882, 'sub_port_id': 23197962, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15474062, 'last_updated_at': datetime.datetime(2025, 5, 21, 9, 3), 'last_updated_at_desc': datetime.datetime(2025, 5, 21, 9, 3), 'last_updated_at_asc': datetime.datetime(2025, 5, 21, 8, 51, 28)}, 'kraft': {'main_port_id': 23197882, 'sub_port_id': 23197964, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15474063, 'last_updated_at': datetime.datetime(2025, 5, 21, 9, 3), 'last_updated_at_desc': datetime.datetime(2025, 5, 21, 9, 3), 'last_updated_at_asc': datetime.datetime(2025, 5, 21, 8, 51, 28)}, 'flou': {'main_port_id': 23197882, 'sub_port_id': 23197965, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15474064, 'last_updated_at': datetime.datetime(2025, 5, 21, 9, 3), 'last_updated_at_desc': datetime.datetime(2025, 5, 21, 9, 3), 'last_updated_at_asc': datetime.datetime(2025, 5, 21, 8, 51, 28)}, 'environnement': {'main_port_id': 23197882, 'sub_port_id': 23197966, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15474065, 'last_updated_at': datetime.datetime(2025, 5, 21, 9, 3), 'last_updated_at_desc': datetime.datetime(2025, 5, 21, 9, 3), 'last_updated_at_asc': datetime.datetime(2025, 5, 21, 8, 51, 28)}, 'Carton_gris': {'main_port_id': 23197882, 'sub_port_id': 23197968, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15474066, 'last_updated_at': datetime.datetime(2025, 5, 21, 9, 3), 'last_updated_at_desc': datetime.datetime(2025, 5, 21, 9, 3), 'last_updated_at_asc': datetime.datetime(2025, 5, 21, 8, 51, 28)}, 'plastique': {'main_port_id': 23197882, 'sub_port_id': 23197969, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15474067, 'last_updated_at': datetime.datetime(2025, 5, 21, 9, 3), 'last_updated_at_desc': datetime.datetime(2025, 5, 21, 9, 3), 'last_updated_at_asc': datetime.datetime(2025, 5, 21, 8, 51, 28)}, 'cartonnette': {'main_port_id': 23197882, 'sub_port_id': 23197970, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15474068, 'last_updated_at': datetime.datetime(2025, 5, 21, 9, 3), 'last_updated_at_desc': datetime.datetime(2025, 5, 21, 9, 3), 'last_updated_at_asc': datetime.datetime(2025, 5, 21, 8, 51, 28)}, 'Teint_Dans_La_Masse': {'main_port_id': 23197882, 'sub_port_id': 23197972, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15474069, 'last_updated_at': datetime.datetime(2025, 5, 21, 9, 3), 'last_updated_at_desc': datetime.datetime(2025, 5, 21, 9, 3), 'last_updated_at_asc': datetime.datetime(2025, 5, 21, 8, 51, 28)}, 'autre_refus': {'main_port_id': 23197882, 'sub_port_id': 23197973, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15474070, 'last_updated_at': datetime.datetime(2025, 5, 21, 9, 3), 'last_updated_at_desc': datetime.datetime(2025, 5, 21, 9, 3), 'last_updated_at_asc': datetime.datetime(2025, 5, 21, 8, 51, 28)}, 'Carton_brun': {'main_port_id': 23197882, 'sub_port_id': 23197974, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15474071, 'last_updated_at': datetime.datetime(2025, 5, 21, 9, 3), 'last_updated_at_desc': datetime.datetime(2025, 5, 21, 9, 3), 'last_updated_at_asc': datetime.datetime(2025, 5, 21, 8, 51, 28)}, 'mal_croppe': {'main_port_id': 23197882, 'sub_port_id': 23197976, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15474072, 'last_updated_at': datetime.datetime(2025, 5, 21, 9, 3), 'last_updated_at_desc': datetime.datetime(2025, 5, 21, 9, 3), 'last_updated_at_asc': datetime.datetime(2025, 5, 21, 8, 51, 28)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 23197961 , 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=23197882 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 (23197961) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23197882) result : ((1359976955,), (1359977421,), (1359977623,), (1359977648,), (1359977656,), (1359977673,), (1359977688,), (1359977749,), (1359977753,), (1359977758,), (1359977907,), (1359977937,), (1359977952,), (1359978379,), (1359978398,), (1359978407,), (1359978411,), (1359978416,), (1359978469,), (1359978496,), (1359978524,), (1359978551,), (1359978797,), (1359978905,), (1359978918,), (1359978932,), (1359978973,), (1359979069,), (1359979073,), (1359979075,), (1359979078,), (1359979087,), (1359979148,), (1359979154,), (1359979160,), (1359979168,), (1359979176,), (1359979232,)) 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 23197962 , 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=23197882 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 (23197962) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23197882) result : ((1359976955,), (1359977421,), (1359977623,), (1359977648,), (1359977656,), (1359977673,), (1359977688,), (1359977749,), (1359977753,), (1359977758,), (1359977907,), (1359977937,), (1359977952,), (1359978379,), (1359978398,), (1359978407,), (1359978411,), (1359978416,), (1359978469,), (1359978496,), (1359978524,), (1359978551,), (1359978797,), (1359978905,), (1359978918,), (1359978932,), (1359978973,), (1359979069,), (1359979073,), (1359979075,), (1359979078,), (1359979087,), (1359979148,), (1359979154,), (1359979160,), (1359979168,), (1359979176,), (1359979232,)) 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 23197964 , 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=23197882 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 (23197964) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23197882) result : ((1359976955,), (1359977421,), (1359977623,), (1359977648,), (1359977656,), (1359977673,), (1359977688,), (1359977749,), (1359977753,), (1359977758,), (1359977907,), (1359977937,), (1359977952,), (1359978379,), (1359978398,), (1359978407,), (1359978411,), (1359978416,), (1359978469,), (1359978496,), (1359978524,), (1359978551,), (1359978797,), (1359978905,), (1359978918,), (1359978932,), (1359978973,), (1359979069,), (1359979073,), (1359979075,), (1359979078,), (1359979087,), (1359979148,), (1359979154,), (1359979160,), (1359979168,), (1359979176,), (1359979232,)) 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 23197965 , 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=23197882 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 (23197965) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23197882) result : ((1359976955,), (1359977421,), (1359977623,), (1359977648,), (1359977656,), (1359977673,), (1359977688,), (1359977749,), (1359977753,), (1359977758,), (1359977907,), (1359977937,), (1359977952,), (1359978379,), (1359978398,), (1359978407,), (1359978411,), (1359978416,), (1359978469,), (1359978496,), (1359978524,), (1359978551,), (1359978797,), (1359978905,), (1359978918,), (1359978932,), (1359978973,), (1359979069,), (1359979073,), (1359979075,), (1359979078,), (1359979087,), (1359979148,), (1359979154,), (1359979160,), (1359979168,), (1359979176,), (1359979232,)) 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 23197966 , 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=23197882 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 (23197966) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23197882) result : ((1359976955,), (1359977421,), (1359977623,), (1359977648,), (1359977656,), (1359977673,), (1359977688,), (1359977749,), (1359977753,), (1359977758,), (1359977907,), (1359977937,), (1359977952,), (1359978379,), (1359978398,), (1359978407,), (1359978411,), (1359978416,), (1359978469,), (1359978496,), (1359978524,), (1359978551,), (1359978797,), (1359978905,), (1359978918,), (1359978932,), (1359978973,), (1359979069,), (1359979073,), (1359979075,), (1359979078,), (1359979087,), (1359979148,), (1359979154,), (1359979160,), (1359979168,), (1359979176,), (1359979232,)) 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 23197968 , 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=23197882 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 (23197968) result : ((1359979860,), (1359980376,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23197882) result : ((1359976955,), (1359977421,), (1359977623,), (1359977648,), (1359977656,), (1359977673,), (1359977688,), (1359977749,), (1359977753,), (1359977758,), (1359977907,), (1359977937,), (1359977952,), (1359978379,), (1359978398,), (1359978407,), (1359978411,), (1359978416,), (1359978469,), (1359978496,), (1359978524,), (1359978551,), (1359978797,), (1359978905,), (1359978918,), (1359978932,), (1359978973,), (1359979069,), (1359979073,), (1359979075,), (1359979078,), (1359979087,), (1359979148,), (1359979154,), (1359979160,), (1359979168,), (1359979176,), (1359979232,)) 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 23197969 , 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=23197882 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 (23197969) result : ((1359979870,), (1359981585,), (1359982481,), (1359982482,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23197882) result : ((1359976955,), (1359977421,), (1359977623,), (1359977648,), (1359977656,), (1359977673,), (1359977688,), (1359977749,), (1359977753,), (1359977758,), (1359977907,), (1359977937,), (1359977952,), (1359978379,), (1359978398,), (1359978407,), (1359978411,), (1359978416,), (1359978469,), (1359978496,), (1359978524,), (1359978551,), (1359978797,), (1359978905,), (1359978918,), (1359978932,), (1359978973,), (1359979069,), (1359979073,), (1359979075,), (1359979078,), (1359979087,), (1359979148,), (1359979154,), (1359979160,), (1359979168,), (1359979176,), (1359979232,)) 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 23197970 , 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=23197882 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 (23197970) result : ((1359979862,), (1359979864,), (1359979865,), (1359979866,), (1359980729,), (1359980733,), (1359981583,), (1359982364,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23197882) result : ((1359976955,), (1359977421,), (1359977623,), (1359977648,), (1359977656,), (1359977673,), (1359977688,), (1359977749,), (1359977753,), (1359977758,), (1359977907,), (1359977937,), (1359977952,), (1359978379,), (1359978398,), (1359978407,), (1359978411,), (1359978416,), (1359978469,), (1359978496,), (1359978524,), (1359978551,), (1359978797,), (1359978905,), (1359978918,), (1359978932,), (1359978973,), (1359979069,), (1359979073,), (1359979075,), (1359979078,), (1359979087,), (1359979148,), (1359979154,), (1359979160,), (1359979168,), (1359979176,), (1359979232,)) 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 23197972 , 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=23197882 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 (23197972) result : ((1359979855,), (1359980373,), (1359980374,), (1359980375,), (1359980697,), (1359981579,), (1359981581,), (1359981582,), (1359982358,), (1359982360,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23197882) result : ((1359976955,), (1359977421,), (1359977623,), (1359977648,), (1359977656,), (1359977673,), (1359977688,), (1359977749,), (1359977753,), (1359977758,), (1359977907,), (1359977937,), (1359977952,), (1359978379,), (1359978398,), (1359978407,), (1359978411,), (1359978416,), (1359978469,), (1359978496,), (1359978524,), (1359978551,), (1359978797,), (1359978905,), (1359978918,), (1359978932,), (1359978973,), (1359979069,), (1359979073,), (1359979075,), (1359979078,), (1359979087,), (1359979148,), (1359979154,), (1359979160,), (1359979168,), (1359979176,), (1359979232,)) 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 23197973 , 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=23197882 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 (23197973) result : ((1359982361,), (1359982362,), (1359983565,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23197882) result : ((1359976955,), (1359977421,), (1359977623,), (1359977648,), (1359977656,), (1359977673,), (1359977688,), (1359977749,), (1359977753,), (1359977758,), (1359977907,), (1359977937,), (1359977952,), (1359978379,), (1359978398,), (1359978407,), (1359978411,), (1359978416,), (1359978469,), (1359978496,), (1359978524,), (1359978551,), (1359978797,), (1359978905,), (1359978918,), (1359978932,), (1359978973,), (1359979069,), (1359979073,), (1359979075,), (1359979078,), (1359979087,), (1359979148,), (1359979154,), (1359979160,), (1359979168,), (1359979176,), (1359979232,)) 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 23197974 , 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=23197882 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 (23197974) result : ((1359979867,), (1359982171,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23197882) result : ((1359976955,), (1359977421,), (1359977623,), (1359977648,), (1359977656,), (1359977673,), (1359977688,), (1359977749,), (1359977753,), (1359977758,), (1359977907,), (1359977937,), (1359977952,), (1359978379,), (1359978398,), (1359978407,), (1359978411,), (1359978416,), (1359978469,), (1359978496,), (1359978524,), (1359978551,), (1359978797,), (1359978905,), (1359978918,), (1359978932,), (1359978973,), (1359979069,), (1359979073,), (1359979075,), (1359979078,), (1359979087,), (1359979148,), (1359979154,), (1359979160,), (1359979168,), (1359979176,), (1359979232,)) 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 23197976 , 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=23197882 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 (23197976) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23197882) result : ((1359976955,), (1359977421,), (1359977623,), (1359977648,), (1359977656,), (1359977673,), (1359977688,), (1359977749,), (1359977753,), (1359977758,), (1359977907,), (1359977937,), (1359977952,), (1359978379,), (1359978398,), (1359978407,), (1359978411,), (1359978416,), (1359978469,), (1359978496,), (1359978524,), (1359978551,), (1359978797,), (1359978905,), (1359978918,), (1359978932,), (1359978973,), (1359979069,), (1359979073,), (1359979075,), (1359979078,), (1359979087,), (1359979148,), (1359979154,), (1359979160,), (1359979168,), (1359979176,), (1359979232,)) 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`=23197882 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','Teint_Dans_La_Masse','autre_refus','environnement','papier','cartonnette','plastique','mal_croppe','flou','kraft','Carton_brun','metal')) 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`=23197882 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','Teint_Dans_La_Masse','autre_refus','environnement','papier','cartonnette','plastique','mal_croppe','flou','kraft','Carton_brun','metal')) AND mptpi.`min_score`=0.5 To do returned map {'metal': {'main_port_id': 23197882, 'sub_port_id': 23197977, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15474091, 'last_updated_at': datetime.datetime(2025, 5, 21, 8, 51, 29), 'last_updated_at_desc': datetime.datetime(2025, 5, 21, 8, 51, 29), 'last_updated_at_asc': datetime.datetime(2025, 5, 21, 8, 51, 29)}, 'papier': {'main_port_id': 23197882, 'sub_port_id': 23197978, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15474092, 'last_updated_at': datetime.datetime(2025, 5, 21, 8, 51, 29), 'last_updated_at_desc': datetime.datetime(2025, 5, 21, 8, 51, 29), 'last_updated_at_asc': datetime.datetime(2025, 5, 21, 8, 51, 29)}, 'kraft': {'main_port_id': 23197882, 'sub_port_id': 23197979, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15474093, 'last_updated_at': datetime.datetime(2025, 5, 21, 8, 51, 29), 'last_updated_at_desc': datetime.datetime(2025, 5, 21, 8, 51, 29), 'last_updated_at_asc': datetime.datetime(2025, 5, 21, 8, 51, 29)}, 'flou': {'main_port_id': 23197882, 'sub_port_id': 23197980, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15474094, 'last_updated_at': datetime.datetime(2025, 5, 21, 8, 51, 29), 'last_updated_at_desc': datetime.datetime(2025, 5, 21, 8, 51, 29), 'last_updated_at_asc': datetime.datetime(2025, 5, 21, 8, 51, 29)}, 'environnement': {'main_port_id': 23197882, 'sub_port_id': 23197981, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15474095, 'last_updated_at': datetime.datetime(2025, 5, 21, 8, 51, 29), 'last_updated_at_desc': datetime.datetime(2025, 5, 21, 8, 51, 29), 'last_updated_at_asc': datetime.datetime(2025, 5, 21, 8, 51, 29)}, 'Carton_gris': {'main_port_id': 23197882, 'sub_port_id': 23197982, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15474096, 'last_updated_at': datetime.datetime(2025, 5, 21, 8, 51, 29), 'last_updated_at_desc': datetime.datetime(2025, 5, 21, 8, 51, 29), 'last_updated_at_asc': datetime.datetime(2025, 5, 21, 8, 51, 29)}, 'plastique': {'main_port_id': 23197882, 'sub_port_id': 23197983, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15474097, 'last_updated_at': datetime.datetime(2025, 5, 21, 8, 51, 29), 'last_updated_at_desc': datetime.datetime(2025, 5, 21, 8, 51, 29), 'last_updated_at_asc': datetime.datetime(2025, 5, 21, 8, 51, 29)}, 'cartonnette': {'main_port_id': 23197882, 'sub_port_id': 23197984, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15474098, 'last_updated_at': datetime.datetime(2025, 5, 21, 8, 51, 29), 'last_updated_at_desc': datetime.datetime(2025, 5, 21, 8, 51, 29), 'last_updated_at_asc': datetime.datetime(2025, 5, 21, 8, 51, 29)}, 'Teint_Dans_La_Masse': {'main_port_id': 23197882, 'sub_port_id': 23197985, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15474099, 'last_updated_at': datetime.datetime(2025, 5, 21, 8, 51, 29), 'last_updated_at_desc': datetime.datetime(2025, 5, 21, 8, 51, 29), 'last_updated_at_asc': datetime.datetime(2025, 5, 21, 8, 51, 29)}, 'autre_refus': {'main_port_id': 23197882, 'sub_port_id': 23197986, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15474100, 'last_updated_at': datetime.datetime(2025, 5, 21, 8, 51, 29), 'last_updated_at_desc': datetime.datetime(2025, 5, 21, 8, 51, 29), 'last_updated_at_asc': datetime.datetime(2025, 5, 21, 8, 51, 29)}, 'Carton_brun': {'main_port_id': 23197882, 'sub_port_id': 23197987, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15474101, 'last_updated_at': datetime.datetime(2025, 5, 21, 8, 51, 29), 'last_updated_at_desc': datetime.datetime(2025, 5, 21, 8, 51, 29), 'last_updated_at_asc': datetime.datetime(2025, 5, 21, 8, 51, 29)}, 'mal_croppe': {'main_port_id': 23197882, 'sub_port_id': 23197988, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15474102, 'last_updated_at': datetime.datetime(2025, 5, 21, 9, 3), 'last_updated_at_desc': datetime.datetime(2025, 5, 21, 9, 3), 'last_updated_at_asc': datetime.datetime(2025, 5, 21, 8, 51, 29)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23197977,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23197961 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23197978,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23197962 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23197979,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23197964 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23197980,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23197965 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23197981,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23197966 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23197982,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23197968 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23197983,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23197969 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23197984,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23197970 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23197985,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23197972 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23197986,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23197973 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23197987,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23197974 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23197988,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23197976 lien utilise dans velours : https://www.fotonower.com/velours/23197977,23197978,23197979,23197980,23197981,23197982,23197983,23197984,23197985,23197986,23197987,23197988?tags=metal,papier,kraft,flou,environnement,Carton_gris,plastique,cartonnette,Teint_Dans_La_Masse,autre_refus,Carton_brun,mal_croppe After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([23197882]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1359979232, 1359979176, 1359979168, 1359979160, 1359979154, 1359979148, 1359979087, 1359979078, 1359979075, 1359979073, 1359979069, 1359978973, 1359978932, 1359978918, 1359978905, 1359978797, 1359978551, 1359978524, 1359978496, 1359978469, 1359978416, 1359978411, 1359978407, 1359978398, 1359978379, 1359977952, 1359977937, 1359977907, 1359977758, 1359977753, 1359977749, 1359977688, 1359977673, 1359977656, 1359977648, 1359977623, 1359977421, 1359976955] map_info['map_portfolio_photo'] : {23197882: [1359979232, 1359979176, 1359979168, 1359979160, 1359979154, 1359979148, 1359979087, 1359979078, 1359979075, 1359979073, 1359979069, 1359978973, 1359978932, 1359978918, 1359978905, 1359978797, 1359978551, 1359978524, 1359978496, 1359978469, 1359978416, 1359978411, 1359978407, 1359978398, 1359978379, 1359977952, 1359977937, 1359977907, 1359977758, 1359977753, 1359977749, 1359977688, 1359977673, 1359977656, 1359977648, 1359977623, 1359977421, 1359976955]} final : False mtd_id 4302 list_pids : [1359979232, 1359979176, 1359979168, 1359979160, 1359979154, 1359979148, 1359979087, 1359979078, 1359979075, 1359979073, 1359979069, 1359978973, 1359978932, 1359978918, 1359978905, 1359978797, 1359978551, 1359978524, 1359978496, 1359978469, 1359978416, 1359978411, 1359978407, 1359978398, 1359978379, 1359977952, 1359977937, 1359977907, 1359977758, 1359977753, 1359977749, 1359977688, 1359977673, 1359977656, 1359977648, 1359977623, 1359977421, 1359976955] Looping around the photos to save general results len do output : 1 /23197882. 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, '2931080') ('4302', '23197882', '1359979232', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359979176', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359979168', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359979160', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359979154', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359979148', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359979087', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359979078', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359979075', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359979073', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359979069', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359978973', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359978932', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359978918', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359978905', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359978797', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359978551', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359978524', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359978496', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359978469', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359978416', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359978411', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359978407', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359978398', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359978379', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359977952', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359977937', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359977907', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359977758', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359977753', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359977749', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359977688', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359977673', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359977656', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359977648', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359977623', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359977421', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359976955', None, None, None, None, None, '2931080') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 39 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, '23197882', "{'metal': 23197961, 'papier': 23197962, 'kraft': 23197964, 'flou': 23197965, 'environnement': 23197966, 'Carton_gris': 23197968, 'plastique': 23197969, 'cartonnette': 23197970, 'Teint_Dans_La_Masse': 23197972, 'autre_refus': 23197973, 'Carton_brun': 23197974, 'mal_croppe': 23197976}", None, None, None, None, '2931080'), ('4302', '23197882', '1359979232', None, None, None, None, None, '2931080'), ('4302', '23197882', '1359979176', None, None, None, None, None, '2931080'), ('4302', '23197882', '1359979168', None, None, None, None, None, '2931080'), ('4302', '23197882', '1359979160', None, None, None, None, None, '2931080'), ('4302', '23197882', '1359979154', None, None, None, None, None, '2931080'), ('4302', '23197882', '1359979148', None, None, None, None, None, '2931080'), ('4302', '23197882', '1359979087', None, None, None, None, None, '2931080'), ('4302', '23197882', '1359979078', None, None, None, None, None, '2931080'), ('4302', '23197882', '1359979075', None, None, None, None, None, '2931080'), ('4302', '23197882', '1359979073', None, None, None, None, None, '2931080'), ('4302', '23197882', '1359979069', None, None, None, None, None, '2931080'), ('4302', '23197882', '1359978973', None, None, None, None, None, '2931080'), ('4302', '23197882', '1359978932', None, None, None, None, None, '2931080'), ('4302', '23197882', '1359978918', None, None, None, None, None, '2931080'), ('4302', '23197882', '1359978905', None, None, None, None, None, '2931080'), ('4302', '23197882', '1359978797', None, None, None, None, None, '2931080'), ('4302', '23197882', '1359978551', None, None, None, None, None, '2931080'), ('4302', '23197882', '1359978524', None, None, None, None, None, '2931080'), ('4302', '23197882', '1359978496', None, None, None, None, None, '2931080'), ('4302', '23197882', '1359978469', None, None, None, None, None, '2931080'), ('4302', '23197882', '1359978416', None, None, None, None, None, '2931080'), ('4302', '23197882', '1359978411', None, None, None, None, None, '2931080'), ('4302', '23197882', '1359978407', None, None, None, None, None, '2931080'), ('4302', '23197882', '1359978398', None, None, None, None, None, '2931080'), ('4302', '23197882', '1359978379', None, None, None, None, None, '2931080'), ('4302', '23197882', '1359977952', None, None, None, None, None, '2931080'), ('4302', '23197882', '1359977937', None, None, None, None, None, '2931080'), ('4302', '23197882', '1359977907', None, None, None, None, None, '2931080'), ('4302', '23197882', '1359977758', None, None, None, None, None, '2931080'), ('4302', '23197882', '1359977753', None, None, None, None, None, '2931080'), ('4302', '23197882', '1359977749', None, None, None, None, None, '2931080'), ('4302', '23197882', '1359977688', None, None, None, None, None, '2931080'), ('4302', '23197882', '1359977673', None, None, None, None, None, '2931080'), ('4302', '23197882', '1359977656', None, None, None, None, None, '2931080'), ('4302', '23197882', '1359977648', None, None, None, None, None, '2931080'), ('4302', '23197882', '1359977623', None, None, None, None, None, '2931080'), ('4302', '23197882', '1359977421', None, None, None, None, None, '2931080'), ('4302', '23197882', '1359976955', None, None, None, None, None, '2931080')] time used for this insertion : 0.02693939208984375 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.5209555625915527 time spend to save output : 0.02739572525024414 total time spend for step 1 : 1.5483512878417969 step2:final Thu May 22 05:44:59 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :0, first value : [] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (23197882) 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 23197882 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1359976955,1359977421,1359977688,1359977673,1359977656,1359977648,1359977623,1359977758,1359977753,1359977749,1359977952,1359977937,1359977907,1359978416,1359978411,1359978407,1359978398,1359978379,1359978551,1359978524,1359978496,1359978469,1359978973,1359978932,1359978797,1359978918,1359978905,1359979087,1359979078,1359979075,1359979073,1359979069,1359979176,1359979168,1359979160,1359979154,1359979148,1359979232); 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([23197882]) Inside saveOutput : final : False verbose : True original output for save of step final : {1359979232: ('0.031237372148557086',), 1359979176: ('0.031237372148557086',), 1359979168: ('0.031237372148557086',), 1359979160: ('0.031237372148557086',), 1359979154: ('0.031237372148557086',), 1359979148: ('0.031237372148557086',), 1359979087: ('0.031237372148557086',), 1359979078: ('0.031237372148557086',), 1359979075: ('0.031237372148557086',), 1359979073: ('0.031237372148557086',), 1359979069: ('0.031237372148557086',), 1359978973: ('0.031237372148557086',), 1359978932: ('0.031237372148557086',), 1359978918: ('0.031237372148557086',), 1359978905: ('0.031237372148557086',), 1359978797: ('0.031237372148557086',), 1359978551: ('0.031237372148557086',), 1359978524: ('0.031237372148557086',), 1359978496: ('0.031237372148557086',), 1359978469: ('0.031237372148557086',), 1359978416: ('0.031237372148557086',), 1359978411: ('0.031237372148557086',), 1359978407: ('0.031237372148557086',), 1359978398: ('0.031237372148557086',), 1359978379: ('0.031237372148557086',), 1359977952: ('0.031237372148557086',), 1359977937: ('0.031237372148557086',), 1359977907: ('0.031237372148557086',), 1359977758: ('0.031237372148557086',), 1359977753: ('0.031237372148557086',), 1359977749: ('0.031237372148557086',), 1359977688: ('0.031237372148557086',), 1359977673: ('0.031237372148557086',), 1359977656: ('0.031237372148557086',), 1359977648: ('0.031237372148557086',), 1359977623: ('0.031237372148557086',), 1359977421: ('0.031237372148557086',), 1359976955: ('0.031237372148557086',)} new output for save of step final : {1359979232: ('0.031237372148557086',), 1359979176: ('0.031237372148557086',), 1359979168: ('0.031237372148557086',), 1359979160: ('0.031237372148557086',), 1359979154: ('0.031237372148557086',), 1359979148: ('0.031237372148557086',), 1359979087: ('0.031237372148557086',), 1359979078: ('0.031237372148557086',), 1359979075: ('0.031237372148557086',), 1359979073: ('0.031237372148557086',), 1359979069: ('0.031237372148557086',), 1359978973: ('0.031237372148557086',), 1359978932: ('0.031237372148557086',), 1359978918: ('0.031237372148557086',), 1359978905: ('0.031237372148557086',), 1359978797: ('0.031237372148557086',), 1359978551: ('0.031237372148557086',), 1359978524: ('0.031237372148557086',), 1359978496: ('0.031237372148557086',), 1359978469: ('0.031237372148557086',), 1359978416: ('0.031237372148557086',), 1359978411: ('0.031237372148557086',), 1359978407: ('0.031237372148557086',), 1359978398: ('0.031237372148557086',), 1359978379: ('0.031237372148557086',), 1359977952: ('0.031237372148557086',), 1359977937: ('0.031237372148557086',), 1359977907: ('0.031237372148557086',), 1359977758: ('0.031237372148557086',), 1359977753: ('0.031237372148557086',), 1359977749: ('0.031237372148557086',), 1359977688: ('0.031237372148557086',), 1359977673: ('0.031237372148557086',), 1359977656: ('0.031237372148557086',), 1359977648: ('0.031237372148557086',), 1359977623: ('0.031237372148557086',), 1359977421: ('0.031237372148557086',), 1359976955: ('0.031237372148557086',)} [1359979232, 1359979176, 1359979168, 1359979160, 1359979154, 1359979148, 1359979087, 1359979078, 1359979075, 1359979073, 1359979069, 1359978973, 1359978932, 1359978918, 1359978905, 1359978797, 1359978551, 1359978524, 1359978496, 1359978469, 1359978416, 1359978411, 1359978407, 1359978398, 1359978379, 1359977952, 1359977937, 1359977907, 1359977758, 1359977753, 1359977749, 1359977688, 1359977673, 1359977656, 1359977648, 1359977623, 1359977421, 1359976955] map_info['map_portfolio_photo'] : {23197882: [1359979232, 1359979176, 1359979168, 1359979160, 1359979154, 1359979148, 1359979087, 1359979078, 1359979075, 1359979073, 1359979069, 1359978973, 1359978932, 1359978918, 1359978905, 1359978797, 1359978551, 1359978524, 1359978496, 1359978469, 1359978416, 1359978411, 1359978407, 1359978398, 1359978379, 1359977952, 1359977937, 1359977907, 1359977758, 1359977753, 1359977749, 1359977688, 1359977673, 1359977656, 1359977648, 1359977623, 1359977421, 1359976955]} final : False mtd_id 4302 list_pids : [1359979232, 1359979176, 1359979168, 1359979160, 1359979154, 1359979148, 1359979087, 1359979078, 1359979075, 1359979073, 1359979069, 1359978973, 1359978932, 1359978918, 1359978905, 1359978797, 1359978551, 1359978524, 1359978496, 1359978469, 1359978416, 1359978411, 1359978407, 1359978398, 1359978379, 1359977952, 1359977937, 1359977907, 1359977758, 1359977753, 1359977749, 1359977688, 1359977673, 1359977656, 1359977648, 1359977623, 1359977421, 1359976955] Looping around the photos to save general results len do output : 38 /1359979232.Didn't retrieve data . /1359979176.Didn't retrieve data . /1359979168.Didn't retrieve data . /1359979160.Didn't retrieve data . /1359979154.Didn't retrieve data . /1359979148.Didn't retrieve data . /1359979087.Didn't retrieve data . /1359979078.Didn't retrieve data . /1359979075.Didn't retrieve data . /1359979073.Didn't retrieve data . /1359979069.Didn't retrieve data . /1359978973.Didn't retrieve data . /1359978932.Didn't retrieve data . /1359978918.Didn't retrieve data . /1359978905.Didn't retrieve data . /1359978797.Didn't retrieve data . /1359978551.Didn't retrieve data . /1359978524.Didn't retrieve data . /1359978496.Didn't retrieve data . /1359978469.Didn't retrieve data . /1359978416.Didn't retrieve data . /1359978411.Didn't retrieve data . /1359978407.Didn't retrieve data . /1359978398.Didn't retrieve data . /1359978379.Didn't retrieve data . /1359977952.Didn't retrieve data . /1359977937.Didn't retrieve data . /1359977907.Didn't retrieve data . /1359977758.Didn't retrieve data . /1359977753.Didn't retrieve data . /1359977749.Didn't retrieve data . /1359977688.Didn't retrieve data . /1359977673.Didn't retrieve data . /1359977656.Didn't retrieve data . /1359977648.Didn't retrieve data . /1359977623.Didn't retrieve data . /1359977421.Didn't retrieve data . /1359976955.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, '2931080') ('4302', '23197882', '1359979232', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359979176', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359979168', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359979160', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359979154', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359979148', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359979087', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359979078', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359979075', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359979073', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359979069', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359978973', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359978932', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359978918', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359978905', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359978797', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359978551', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359978524', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359978496', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359978469', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359978416', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359978411', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359978407', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359978398', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359978379', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359977952', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359977937', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359977907', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359977758', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359977753', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359977749', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359977688', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359977673', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359977656', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359977648', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359977623', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359977421', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359976955', None, None, None, None, None, '2931080') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 114 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', '23197882', '1359979232', '0.031237372148557086', None, None, None, None, '2931080'), ('4302', '23197882', '1359979176', '0.031237372148557086', None, None, None, None, '2931080'), ('4302', '23197882', '1359979168', '0.031237372148557086', None, None, None, None, '2931080'), ('4302', '23197882', '1359979160', '0.031237372148557086', None, None, None, None, '2931080'), ('4302', '23197882', '1359979154', '0.031237372148557086', None, None, None, None, '2931080'), ('4302', '23197882', '1359979148', '0.031237372148557086', None, None, None, None, '2931080'), ('4302', '23197882', '1359979087', '0.031237372148557086', None, None, None, None, '2931080'), ('4302', '23197882', '1359979078', '0.031237372148557086', None, None, None, None, '2931080'), ('4302', '23197882', '1359979075', '0.031237372148557086', None, None, None, None, '2931080'), ('4302', '23197882', '1359979073', '0.031237372148557086', None, None, None, None, '2931080'), ('4302', '23197882', '1359979069', '0.031237372148557086', None, None, None, None, '2931080'), ('4302', '23197882', '1359978973', '0.031237372148557086', None, None, None, None, '2931080'), ('4302', '23197882', '1359978932', '0.031237372148557086', None, None, None, None, '2931080'), ('4302', '23197882', '1359978918', '0.031237372148557086', None, None, None, None, '2931080'), ('4302', '23197882', '1359978905', '0.031237372148557086', None, None, None, None, '2931080'), ('4302', '23197882', '1359978797', '0.031237372148557086', None, None, None, None, '2931080'), ('4302', '23197882', '1359978551', '0.031237372148557086', None, None, None, None, '2931080'), ('4302', '23197882', '1359978524', '0.031237372148557086', None, None, None, None, '2931080'), ('4302', '23197882', '1359978496', '0.031237372148557086', None, None, None, None, '2931080'), ('4302', '23197882', '1359978469', '0.031237372148557086', None, None, None, None, '2931080'), ('4302', '23197882', '1359978416', '0.031237372148557086', None, None, None, None, '2931080'), ('4302', '23197882', '1359978411', '0.031237372148557086', None, None, None, None, '2931080'), ('4302', '23197882', '1359978407', '0.031237372148557086', None, None, None, None, '2931080'), ('4302', '23197882', '1359978398', '0.031237372148557086', None, None, None, None, '2931080'), ('4302', '23197882', '1359978379', '0.031237372148557086', None, None, None, None, '2931080'), ('4302', '23197882', '1359977952', '0.031237372148557086', None, None, None, None, '2931080'), ('4302', '23197882', '1359977937', '0.031237372148557086', None, None, None, None, '2931080'), ('4302', '23197882', '1359977907', '0.031237372148557086', None, None, None, None, '2931080'), ('4302', '23197882', '1359977758', '0.031237372148557086', None, None, None, None, '2931080'), ('4302', '23197882', '1359977753', '0.031237372148557086', None, None, None, None, '2931080'), ('4302', '23197882', '1359977749', '0.031237372148557086', None, None, None, None, '2931080'), ('4302', '23197882', '1359977688', '0.031237372148557086', None, None, None, None, '2931080'), ('4302', '23197882', '1359977673', '0.031237372148557086', None, None, None, None, '2931080'), ('4302', '23197882', '1359977656', '0.031237372148557086', None, None, None, None, '2931080'), ('4302', '23197882', '1359977648', '0.031237372148557086', None, None, None, None, '2931080'), ('4302', '23197882', '1359977623', '0.031237372148557086', None, None, None, None, '2931080'), ('4302', '23197882', '1359977421', '0.031237372148557086', None, None, None, None, '2931080'), ('4302', '23197882', '1359976955', '0.031237372148557086', None, None, None, None, '2931080')] time used for this insertion : 0.021584749221801758 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.07601165771484375 time spend to save output : 0.023102760314941406 total time spend for step 2 : 0.09911441802978516 step3:velours_tree Thu May 22 05:44:59 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : {23197882: [{'metal': 23197961, 'papier': 23197962, 'kraft': 23197964, 'flou': 23197965, 'environnement': 23197966, 'Carton_gris': 23197968, 'plastique': 23197969, 'cartonnette': 23197970, 'Teint_Dans_La_Masse': 23197972, 'autre_refus': 23197973, 'Carton_brun': 23197974, 'mal_croppe': 23197976}]} input_args_next_step : {23197882: ()} output_args : {23197882: [{'metal': 23197961, 'papier': 23197962, 'kraft': 23197964, 'flou': 23197965, 'environnement': 23197966, 'Carton_gris': 23197968, 'plastique': 23197969, 'cartonnette': 23197970, 'Teint_Dans_La_Masse': 23197972, 'autre_refus': 23197973, 'Carton_brun': 23197974, 'mal_croppe': 23197976}]} args : 23197882 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 : ({'metal': 23197961, 'papier': 23197962, 'kraft': 23197964, 'flou': 23197965, 'environnement': 23197966, 'Carton_gris': 23197968, 'plastique': 23197969, 'cartonnette': 23197970, 'Teint_Dans_La_Masse': 23197972, 'autre_refus': 23197973, 'Carton_brun': 23197974, 'mal_croppe': 23197976},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (23197882) 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([23197882]) 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.268765926361084 time spend to save output : 4.887580871582031e-05 total time spend for step 3 : 0.2688148021697998 step4:send_mail_cod Thu May 22 05:44: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 : {1359979232: ('0.031237372148557086',), 1359979176: ('0.031237372148557086',), 1359979168: ('0.031237372148557086',), 1359979160: ('0.031237372148557086',), 1359979154: ('0.031237372148557086',), 1359979148: ('0.031237372148557086',), 1359979087: ('0.031237372148557086',), 1359979078: ('0.031237372148557086',), 1359979075: ('0.031237372148557086',), 1359979073: ('0.031237372148557086',), 1359979069: ('0.031237372148557086',), 1359978973: ('0.031237372148557086',), 1359978932: ('0.031237372148557086',), 1359978918: ('0.031237372148557086',), 1359978905: ('0.031237372148557086',), 1359978797: ('0.031237372148557086',), 1359978551: ('0.031237372148557086',), 1359978524: ('0.031237372148557086',), 1359978496: ('0.031237372148557086',), 1359978469: ('0.031237372148557086',), 1359978416: ('0.031237372148557086',), 1359978411: ('0.031237372148557086',), 1359978407: ('0.031237372148557086',), 1359978398: ('0.031237372148557086',), 1359978379: ('0.031237372148557086',), 1359977952: ('0.031237372148557086',), 1359977937: ('0.031237372148557086',), 1359977907: ('0.031237372148557086',), 1359977758: ('0.031237372148557086',), 1359977753: ('0.031237372148557086',), 1359977749: ('0.031237372148557086',), 1359977688: ('0.031237372148557086',), 1359977673: ('0.031237372148557086',), 1359977656: ('0.031237372148557086',), 1359977648: ('0.031237372148557086',), 1359977623: ('0.031237372148557086',), 1359977421: ('0.031237372148557086',), 1359976955: ('0.031237372148557086',)} input_args_next_step : {1359979232: ()} output_args : {1359979232: ('0.031237372148557086',), 1359979176: ('0.031237372148557086',), 1359979168: ('0.031237372148557086',), 1359979160: ('0.031237372148557086',), 1359979154: ('0.031237372148557086',), 1359979148: ('0.031237372148557086',), 1359979087: ('0.031237372148557086',), 1359979078: ('0.031237372148557086',), 1359979075: ('0.031237372148557086',), 1359979073: ('0.031237372148557086',), 1359979069: ('0.031237372148557086',), 1359978973: ('0.031237372148557086',), 1359978932: ('0.031237372148557086',), 1359978918: ('0.031237372148557086',), 1359978905: ('0.031237372148557086',), 1359978797: ('0.031237372148557086',), 1359978551: ('0.031237372148557086',), 1359978524: ('0.031237372148557086',), 1359978496: ('0.031237372148557086',), 1359978469: ('0.031237372148557086',), 1359978416: ('0.031237372148557086',), 1359978411: ('0.031237372148557086',), 1359978407: ('0.031237372148557086',), 1359978398: ('0.031237372148557086',), 1359978379: ('0.031237372148557086',), 1359977952: ('0.031237372148557086',), 1359977937: ('0.031237372148557086',), 1359977907: ('0.031237372148557086',), 1359977758: ('0.031237372148557086',), 1359977753: ('0.031237372148557086',), 1359977749: ('0.031237372148557086',), 1359977688: ('0.031237372148557086',), 1359977673: ('0.031237372148557086',), 1359977656: ('0.031237372148557086',), 1359977648: ('0.031237372148557086',), 1359977623: ('0.031237372148557086',), 1359977421: ('0.031237372148557086',), 1359976955: ('0.031237372148557086',)} args : 1359979232 depend.output_id : 0 input_args_next_step : {1359979232: ('0.031237372148557086',), 1359979176: ()} output_args : {1359979232: ('0.031237372148557086',), 1359979176: ('0.031237372148557086',), 1359979168: ('0.031237372148557086',), 1359979160: ('0.031237372148557086',), 1359979154: ('0.031237372148557086',), 1359979148: ('0.031237372148557086',), 1359979087: ('0.031237372148557086',), 1359979078: ('0.031237372148557086',), 1359979075: ('0.031237372148557086',), 1359979073: ('0.031237372148557086',), 1359979069: ('0.031237372148557086',), 1359978973: ('0.031237372148557086',), 1359978932: ('0.031237372148557086',), 1359978918: ('0.031237372148557086',), 1359978905: ('0.031237372148557086',), 1359978797: ('0.031237372148557086',), 1359978551: ('0.031237372148557086',), 1359978524: ('0.031237372148557086',), 1359978496: ('0.031237372148557086',), 1359978469: ('0.031237372148557086',), 1359978416: ('0.031237372148557086',), 1359978411: ('0.031237372148557086',), 1359978407: ('0.031237372148557086',), 1359978398: ('0.031237372148557086',), 1359978379: ('0.031237372148557086',), 1359977952: ('0.031237372148557086',), 1359977937: ('0.031237372148557086',), 1359977907: ('0.031237372148557086',), 1359977758: ('0.031237372148557086',), 1359977753: ('0.031237372148557086',), 1359977749: ('0.031237372148557086',), 1359977688: ('0.031237372148557086',), 1359977673: ('0.031237372148557086',), 1359977656: ('0.031237372148557086',), 1359977648: ('0.031237372148557086',), 1359977623: ('0.031237372148557086',), 1359977421: ('0.031237372148557086',), 1359976955: ('0.031237372148557086',)} args : 1359979176 depend.output_id : 0 input_args_next_step : {1359979232: ('0.031237372148557086',), 1359979176: ('0.031237372148557086',), 1359979168: ()} output_args : {1359979232: ('0.031237372148557086',), 1359979176: ('0.031237372148557086',), 1359979168: ('0.031237372148557086',), 1359979160: ('0.031237372148557086',), 1359979154: ('0.031237372148557086',), 1359979148: ('0.031237372148557086',), 1359979087: ('0.031237372148557086',), 1359979078: ('0.031237372148557086',), 1359979075: ('0.031237372148557086',), 1359979073: ('0.031237372148557086',), 1359979069: ('0.031237372148557086',), 1359978973: ('0.031237372148557086',), 1359978932: ('0.031237372148557086',), 1359978918: ('0.031237372148557086',), 1359978905: ('0.031237372148557086',), 1359978797: ('0.031237372148557086',), 1359978551: ('0.031237372148557086',), 1359978524: ('0.031237372148557086',), 1359978496: ('0.031237372148557086',), 1359978469: ('0.031237372148557086',), 1359978416: ('0.031237372148557086',), 1359978411: ('0.031237372148557086',), 1359978407: ('0.031237372148557086',), 1359978398: ('0.031237372148557086',), 1359978379: ('0.031237372148557086',), 1359977952: ('0.031237372148557086',), 1359977937: ('0.031237372148557086',), 1359977907: ('0.031237372148557086',), 1359977758: ('0.031237372148557086',), 1359977753: ('0.031237372148557086',), 1359977749: ('0.031237372148557086',), 1359977688: ('0.031237372148557086',), 1359977673: ('0.031237372148557086',), 1359977656: ('0.031237372148557086',), 1359977648: ('0.031237372148557086',), 1359977623: ('0.031237372148557086',), 1359977421: ('0.031237372148557086',), 1359976955: ('0.031237372148557086',)} args : 1359979168 depend.output_id : 0 input_args_next_step : {1359979232: ('0.031237372148557086',), 1359979176: ('0.031237372148557086',), 1359979168: ('0.031237372148557086',), 1359979160: ()} output_args : {1359979232: ('0.031237372148557086',), 1359979176: ('0.031237372148557086',), 1359979168: ('0.031237372148557086',), 1359979160: ('0.031237372148557086',), 1359979154: ('0.031237372148557086',), 1359979148: ('0.031237372148557086',), 1359979087: ('0.031237372148557086',), 1359979078: ('0.031237372148557086',), 1359979075: ('0.031237372148557086',), 1359979073: ('0.031237372148557086',), 1359979069: ('0.031237372148557086',), 1359978973: ('0.031237372148557086',), 1359978932: ('0.031237372148557086',), 1359978918: ('0.031237372148557086',), 1359978905: ('0.031237372148557086',), 1359978797: ('0.031237372148557086',), 1359978551: ('0.031237372148557086',), 1359978524: ('0.031237372148557086',), 1359978496: ('0.031237372148557086',), 1359978469: ('0.031237372148557086',), 1359978416: ('0.031237372148557086',), 1359978411: ('0.031237372148557086',), 1359978407: ('0.031237372148557086',), 1359978398: ('0.031237372148557086',), 1359978379: ('0.031237372148557086',), 1359977952: ('0.031237372148557086',), 1359977937: ('0.031237372148557086',), 1359977907: ('0.031237372148557086',), 1359977758: ('0.031237372148557086',), 1359977753: ('0.031237372148557086',), 1359977749: ('0.031237372148557086',), 1359977688: ('0.031237372148557086',), 1359977673: ('0.031237372148557086',), 1359977656: ('0.031237372148557086',), 1359977648: ('0.031237372148557086',), 1359977623: ('0.031237372148557086',), 1359977421: ('0.031237372148557086',), 1359976955: ('0.031237372148557086',)} args : 1359979160 depend.output_id : 0 input_args_next_step : {1359979232: ('0.031237372148557086',), 1359979176: ('0.031237372148557086',), 1359979168: ('0.031237372148557086',), 1359979160: ('0.031237372148557086',), 1359979154: ()} output_args : {1359979232: ('0.031237372148557086',), 1359979176: ('0.031237372148557086',), 1359979168: ('0.031237372148557086',), 1359979160: ('0.031237372148557086',), 1359979154: ('0.031237372148557086',), 1359979148: ('0.031237372148557086',), 1359979087: ('0.031237372148557086',), 1359979078: ('0.031237372148557086',), 1359979075: ('0.031237372148557086',), 1359979073: ('0.031237372148557086',), 1359979069: ('0.031237372148557086',), 1359978973: ('0.031237372148557086',), 1359978932: ('0.031237372148557086',), 1359978918: ('0.031237372148557086',), 1359978905: ('0.031237372148557086',), 1359978797: ('0.031237372148557086',), 1359978551: ('0.031237372148557086',), 1359978524: ('0.031237372148557086',), 1359978496: ('0.031237372148557086',), 1359978469: ('0.031237372148557086',), 1359978416: ('0.031237372148557086',), 1359978411: ('0.031237372148557086',), 1359978407: ('0.031237372148557086',), 1359978398: ('0.031237372148557086',), 1359978379: ('0.031237372148557086',), 1359977952: ('0.031237372148557086',), 1359977937: ('0.031237372148557086',), 1359977907: ('0.031237372148557086',), 1359977758: ('0.031237372148557086',), 1359977753: ('0.031237372148557086',), 1359977749: ('0.031237372148557086',), 1359977688: ('0.031237372148557086',), 1359977673: ('0.031237372148557086',), 1359977656: ('0.031237372148557086',), 1359977648: ('0.031237372148557086',), 1359977623: ('0.031237372148557086',), 1359977421: ('0.031237372148557086',), 1359976955: ('0.031237372148557086',)} args : 1359979154 depend.output_id : 0 input_args_next_step : {1359979232: ('0.031237372148557086',), 1359979176: ('0.031237372148557086',), 1359979168: ('0.031237372148557086',), 1359979160: ('0.031237372148557086',), 1359979154: ('0.031237372148557086',), 1359979148: ()} output_args : {1359979232: ('0.031237372148557086',), 1359979176: ('0.031237372148557086',), 1359979168: ('0.031237372148557086',), 1359979160: ('0.031237372148557086',), 1359979154: ('0.031237372148557086',), 1359979148: ('0.031237372148557086',), 1359979087: ('0.031237372148557086',), 1359979078: ('0.031237372148557086',), 1359979075: ('0.031237372148557086',), 1359979073: ('0.031237372148557086',), 1359979069: ('0.031237372148557086',), 1359978973: ('0.031237372148557086',), 1359978932: ('0.031237372148557086',), 1359978918: ('0.031237372148557086',), 1359978905: ('0.031237372148557086',), 1359978797: ('0.031237372148557086',), 1359978551: ('0.031237372148557086',), 1359978524: ('0.031237372148557086',), 1359978496: ('0.031237372148557086',), 1359978469: ('0.031237372148557086',), 1359978416: ('0.031237372148557086',), 1359978411: ('0.031237372148557086',), 1359978407: ('0.031237372148557086',), 1359978398: ('0.031237372148557086',), 1359978379: ('0.031237372148557086',), 1359977952: ('0.031237372148557086',), 1359977937: ('0.031237372148557086',), 1359977907: ('0.031237372148557086',), 1359977758: ('0.031237372148557086',), 1359977753: ('0.031237372148557086',), 1359977749: ('0.031237372148557086',), 1359977688: ('0.031237372148557086',), 1359977673: ('0.031237372148557086',), 1359977656: ('0.031237372148557086',), 1359977648: ('0.031237372148557086',), 1359977623: ('0.031237372148557086',), 1359977421: ('0.031237372148557086',), 1359976955: ('0.031237372148557086',)} args : 1359979148 depend.output_id : 0 input_args_next_step : {1359979232: ('0.031237372148557086',), 1359979176: ('0.031237372148557086',), 1359979168: ('0.031237372148557086',), 1359979160: ('0.031237372148557086',), 1359979154: ('0.031237372148557086',), 1359979148: ('0.031237372148557086',), 1359979087: ()} output_args : {1359979232: ('0.031237372148557086',), 1359979176: ('0.031237372148557086',), 1359979168: ('0.031237372148557086',), 1359979160: ('0.031237372148557086',), 1359979154: ('0.031237372148557086',), 1359979148: ('0.031237372148557086',), 1359979087: ('0.031237372148557086',), 1359979078: ('0.031237372148557086',), 1359979075: ('0.031237372148557086',), 1359979073: ('0.031237372148557086',), 1359979069: ('0.031237372148557086',), 1359978973: ('0.031237372148557086',), 1359978932: ('0.031237372148557086',), 1359978918: ('0.031237372148557086',), 1359978905: ('0.031237372148557086',), 1359978797: ('0.031237372148557086',), 1359978551: ('0.031237372148557086',), 1359978524: ('0.031237372148557086',), 1359978496: ('0.031237372148557086',), 1359978469: ('0.031237372148557086',), 1359978416: ('0.031237372148557086',), 1359978411: ('0.031237372148557086',), 1359978407: ('0.031237372148557086',), 1359978398: ('0.031237372148557086',), 1359978379: ('0.031237372148557086',), 1359977952: ('0.031237372148557086',), 1359977937: ('0.031237372148557086',), 1359977907: ('0.031237372148557086',), 1359977758: ('0.031237372148557086',), 1359977753: ('0.031237372148557086',), 1359977749: ('0.031237372148557086',), 1359977688: ('0.031237372148557086',), 1359977673: ('0.031237372148557086',), 1359977656: ('0.031237372148557086',), 1359977648: ('0.031237372148557086',), 1359977623: ('0.031237372148557086',), 1359977421: ('0.031237372148557086',), 1359976955: ('0.031237372148557086',)} args : 1359979087 depend.output_id : 0 input_args_next_step : {1359979232: ('0.031237372148557086',), 1359979176: ('0.031237372148557086',), 1359979168: ('0.031237372148557086',), 1359979160: ('0.031237372148557086',), 1359979154: ('0.031237372148557086',), 1359979148: ('0.031237372148557086',), 1359979087: ('0.031237372148557086',), 1359979078: ()} output_args : {1359979232: ('0.031237372148557086',), 1359979176: ('0.031237372148557086',), 1359979168: ('0.031237372148557086',), 1359979160: ('0.031237372148557086',), 1359979154: ('0.031237372148557086',), 1359979148: ('0.031237372148557086',), 1359979087: ('0.031237372148557086',), 1359979078: ('0.031237372148557086',), 1359979075: ('0.031237372148557086',), 1359979073: ('0.031237372148557086',), 1359979069: ('0.031237372148557086',), 1359978973: ('0.031237372148557086',), 1359978932: ('0.031237372148557086',), 1359978918: ('0.031237372148557086',), 1359978905: ('0.031237372148557086',), 1359978797: ('0.031237372148557086',), 1359978551: ('0.031237372148557086',), 1359978524: ('0.031237372148557086',), 1359978496: ('0.031237372148557086',), 1359978469: ('0.031237372148557086',), 1359978416: ('0.031237372148557086',), 1359978411: ('0.031237372148557086',), 1359978407: ('0.031237372148557086',), 1359978398: ('0.031237372148557086',), 1359978379: ('0.031237372148557086',), 1359977952: ('0.031237372148557086',), 1359977937: ('0.031237372148557086',), 1359977907: ('0.031237372148557086',), 1359977758: ('0.031237372148557086',), 1359977753: ('0.031237372148557086',), 1359977749: ('0.031237372148557086',), 1359977688: ('0.031237372148557086',), 1359977673: ('0.031237372148557086',), 1359977656: ('0.031237372148557086',), 1359977648: ('0.031237372148557086',), 1359977623: ('0.031237372148557086',), 1359977421: ('0.031237372148557086',), 1359976955: ('0.031237372148557086',)} args : 1359979078 depend.output_id : 0 input_args_next_step : {1359979232: ('0.031237372148557086',), 1359979176: ('0.031237372148557086',), 1359979168: ('0.031237372148557086',), 1359979160: ('0.031237372148557086',), 1359979154: ('0.031237372148557086',), 1359979148: ('0.031237372148557086',), 1359979087: ('0.031237372148557086',), 1359979078: ('0.031237372148557086',), 1359979075: ()} output_args : {1359979232: ('0.031237372148557086',), 1359979176: ('0.031237372148557086',), 1359979168: ('0.031237372148557086',), 1359979160: ('0.031237372148557086',), 1359979154: ('0.031237372148557086',), 1359979148: ('0.031237372148557086',), 1359979087: ('0.031237372148557086',), 1359979078: ('0.031237372148557086',), 1359979075: ('0.031237372148557086',), 1359979073: ('0.031237372148557086',), 1359979069: ('0.031237372148557086',), 1359978973: ('0.031237372148557086',), 1359978932: ('0.031237372148557086',), 1359978918: ('0.031237372148557086',), 1359978905: ('0.031237372148557086',), 1359978797: ('0.031237372148557086',), 1359978551: ('0.031237372148557086',), 1359978524: ('0.031237372148557086',), 1359978496: ('0.031237372148557086',), 1359978469: ('0.031237372148557086',), 1359978416: ('0.031237372148557086',), 1359978411: ('0.031237372148557086',), 1359978407: ('0.031237372148557086',), 1359978398: ('0.031237372148557086',), 1359978379: ('0.031237372148557086',), 1359977952: ('0.031237372148557086',), 1359977937: ('0.031237372148557086',), 1359977907: ('0.031237372148557086',), 1359977758: ('0.031237372148557086',), 1359977753: ('0.031237372148557086',), 1359977749: ('0.031237372148557086',), 1359977688: ('0.031237372148557086',), 1359977673: ('0.031237372148557086',), 1359977656: ('0.031237372148557086',), 1359977648: ('0.031237372148557086',), 1359977623: ('0.031237372148557086',), 1359977421: ('0.031237372148557086',), 1359976955: ('0.031237372148557086',)} args : 1359979075 depend.output_id : 0 input_args_next_step : {1359979232: ('0.031237372148557086',), 1359979176: ('0.031237372148557086',), 1359979168: ('0.031237372148557086',), 1359979160: ('0.031237372148557086',), 1359979154: ('0.031237372148557086',), 1359979148: ('0.031237372148557086',), 1359979087: ('0.031237372148557086',), 1359979078: ('0.031237372148557086',), 1359979075: ('0.031237372148557086',), 1359979073: ()} output_args : {1359979232: ('0.031237372148557086',), 1359979176: ('0.031237372148557086',), 1359979168: ('0.031237372148557086',), 1359979160: ('0.031237372148557086',), 1359979154: ('0.031237372148557086',), 1359979148: ('0.031237372148557086',), 1359979087: ('0.031237372148557086',), 1359979078: ('0.031237372148557086',), 1359979075: ('0.031237372148557086',), 1359979073: ('0.031237372148557086',), 1359979069: ('0.031237372148557086',), 1359978973: ('0.031237372148557086',), 1359978932: ('0.031237372148557086',), 1359978918: ('0.031237372148557086',), 1359978905: ('0.031237372148557086',), 1359978797: ('0.031237372148557086',), 1359978551: ('0.031237372148557086',), 1359978524: ('0.031237372148557086',), 1359978496: ('0.031237372148557086',), 1359978469: ('0.031237372148557086',), 1359978416: ('0.031237372148557086',), 1359978411: ('0.031237372148557086',), 1359978407: ('0.031237372148557086',), 1359978398: ('0.031237372148557086',), 1359978379: ('0.031237372148557086',), 1359977952: ('0.031237372148557086',), 1359977937: ('0.031237372148557086',), 1359977907: ('0.031237372148557086',), 1359977758: ('0.031237372148557086',), 1359977753: ('0.031237372148557086',), 1359977749: ('0.031237372148557086',), 1359977688: ('0.031237372148557086',), 1359977673: ('0.031237372148557086',), 1359977656: ('0.031237372148557086',), 1359977648: ('0.031237372148557086',), 1359977623: ('0.031237372148557086',), 1359977421: ('0.031237372148557086',), 1359976955: ('0.031237372148557086',)} args : 1359979073 depend.output_id : 0 input_args_next_step : {1359979232: ('0.031237372148557086',), 1359979176: ('0.031237372148557086',), 1359979168: ('0.031237372148557086',), 1359979160: ('0.031237372148557086',), 1359979154: ('0.031237372148557086',), 1359979148: ('0.031237372148557086',), 1359979087: ('0.031237372148557086',), 1359979078: ('0.031237372148557086',), 1359979075: ('0.031237372148557086',), 1359979073: ('0.031237372148557086',), 1359979069: ()} output_args : {1359979232: ('0.031237372148557086',), 1359979176: ('0.031237372148557086',), 1359979168: ('0.031237372148557086',), 1359979160: ('0.031237372148557086',), 1359979154: ('0.031237372148557086',), 1359979148: ('0.031237372148557086',), 1359979087: ('0.031237372148557086',), 1359979078: ('0.031237372148557086',), 1359979075: ('0.031237372148557086',), 1359979073: ('0.031237372148557086',), 1359979069: ('0.031237372148557086',), 1359978973: ('0.031237372148557086',), 1359978932: ('0.031237372148557086',), 1359978918: ('0.031237372148557086',), 1359978905: ('0.031237372148557086',), 1359978797: ('0.031237372148557086',), 1359978551: ('0.031237372148557086',), 1359978524: ('0.031237372148557086',), 1359978496: ('0.031237372148557086',), 1359978469: ('0.031237372148557086',), 1359978416: ('0.031237372148557086',), 1359978411: ('0.031237372148557086',), 1359978407: ('0.031237372148557086',), 1359978398: ('0.031237372148557086',), 1359978379: ('0.031237372148557086',), 1359977952: ('0.031237372148557086',), 1359977937: ('0.031237372148557086',), 1359977907: ('0.031237372148557086',), 1359977758: ('0.031237372148557086',), 1359977753: ('0.031237372148557086',), 1359977749: ('0.031237372148557086',), 1359977688: ('0.031237372148557086',), 1359977673: ('0.031237372148557086',), 1359977656: ('0.031237372148557086',), 1359977648: ('0.031237372148557086',), 1359977623: ('0.031237372148557086',), 1359977421: ('0.031237372148557086',), 1359976955: ('0.031237372148557086',)} args : 1359979069 depend.output_id : 0 input_args_next_step : {1359979232: ('0.031237372148557086',), 1359979176: ('0.031237372148557086',), 1359979168: ('0.031237372148557086',), 1359979160: ('0.031237372148557086',), 1359979154: ('0.031237372148557086',), 1359979148: ('0.031237372148557086',), 1359979087: ('0.031237372148557086',), 1359979078: ('0.031237372148557086',), 1359979075: ('0.031237372148557086',), 1359979073: ('0.031237372148557086',), 1359979069: ('0.031237372148557086',), 1359978973: ()} output_args : {1359979232: ('0.031237372148557086',), 1359979176: ('0.031237372148557086',), 1359979168: ('0.031237372148557086',), 1359979160: ('0.031237372148557086',), 1359979154: ('0.031237372148557086',), 1359979148: ('0.031237372148557086',), 1359979087: ('0.031237372148557086',), 1359979078: ('0.031237372148557086',), 1359979075: ('0.031237372148557086',), 1359979073: ('0.031237372148557086',), 1359979069: ('0.031237372148557086',), 1359978973: ('0.031237372148557086',), 1359978932: ('0.031237372148557086',), 1359978918: ('0.031237372148557086',), 1359978905: ('0.031237372148557086',), 1359978797: ('0.031237372148557086',), 1359978551: ('0.031237372148557086',), 1359978524: ('0.031237372148557086',), 1359978496: ('0.031237372148557086',), 1359978469: ('0.031237372148557086',), 1359978416: ('0.031237372148557086',), 1359978411: ('0.031237372148557086',), 1359978407: ('0.031237372148557086',), 1359978398: ('0.031237372148557086',), 1359978379: ('0.031237372148557086',), 1359977952: ('0.031237372148557086',), 1359977937: ('0.031237372148557086',), 1359977907: ('0.031237372148557086',), 1359977758: ('0.031237372148557086',), 1359977753: ('0.031237372148557086',), 1359977749: ('0.031237372148557086',), 1359977688: ('0.031237372148557086',), 1359977673: ('0.031237372148557086',), 1359977656: ('0.031237372148557086',), 1359977648: ('0.031237372148557086',), 1359977623: ('0.031237372148557086',), 1359977421: ('0.031237372148557086',), 1359976955: ('0.031237372148557086',)} args : 1359978973 depend.output_id : 0 input_args_next_step : {1359979232: ('0.031237372148557086',), 1359979176: ('0.031237372148557086',), 1359979168: ('0.031237372148557086',), 1359979160: ('0.031237372148557086',), 1359979154: ('0.031237372148557086',), 1359979148: ('0.031237372148557086',), 1359979087: ('0.031237372148557086',), 1359979078: ('0.031237372148557086',), 1359979075: ('0.031237372148557086',), 1359979073: ('0.031237372148557086',), 1359979069: ('0.031237372148557086',), 1359978973: ('0.031237372148557086',), 1359978932: ()} output_args : {1359979232: ('0.031237372148557086',), 1359979176: ('0.031237372148557086',), 1359979168: ('0.031237372148557086',), 1359979160: ('0.031237372148557086',), 1359979154: ('0.031237372148557086',), 1359979148: ('0.031237372148557086',), 1359979087: ('0.031237372148557086',), 1359979078: ('0.031237372148557086',), 1359979075: ('0.031237372148557086',), 1359979073: ('0.031237372148557086',), 1359979069: ('0.031237372148557086',), 1359978973: ('0.031237372148557086',), 1359978932: ('0.031237372148557086',), 1359978918: ('0.031237372148557086',), 1359978905: ('0.031237372148557086',), 1359978797: ('0.031237372148557086',), 1359978551: ('0.031237372148557086',), 1359978524: ('0.031237372148557086',), 1359978496: ('0.031237372148557086',), 1359978469: ('0.031237372148557086',), 1359978416: ('0.031237372148557086',), 1359978411: ('0.031237372148557086',), 1359978407: ('0.031237372148557086',), 1359978398: ('0.031237372148557086',), 1359978379: ('0.031237372148557086',), 1359977952: ('0.031237372148557086',), 1359977937: ('0.031237372148557086',), 1359977907: ('0.031237372148557086',), 1359977758: ('0.031237372148557086',), 1359977753: ('0.031237372148557086',), 1359977749: ('0.031237372148557086',), 1359977688: ('0.031237372148557086',), 1359977673: ('0.031237372148557086',), 1359977656: ('0.031237372148557086',), 1359977648: ('0.031237372148557086',), 1359977623: ('0.031237372148557086',), 1359977421: ('0.031237372148557086',), 1359976955: ('0.031237372148557086',)} args : 1359978932 depend.output_id : 0 input_args_next_step : {1359979232: ('0.031237372148557086',), 1359979176: ('0.031237372148557086',), 1359979168: ('0.031237372148557086',), 1359979160: ('0.031237372148557086',), 1359979154: ('0.031237372148557086',), 1359979148: ('0.031237372148557086',), 1359979087: ('0.031237372148557086',), 1359979078: ('0.031237372148557086',), 1359979075: ('0.031237372148557086',), 1359979073: ('0.031237372148557086',), 1359979069: ('0.031237372148557086',), 1359978973: ('0.031237372148557086',), 1359978932: ('0.031237372148557086',), 1359978918: ()} output_args : {1359979232: ('0.031237372148557086',), 1359979176: ('0.031237372148557086',), 1359979168: ('0.031237372148557086',), 1359979160: ('0.031237372148557086',), 1359979154: ('0.031237372148557086',), 1359979148: ('0.031237372148557086',), 1359979087: ('0.031237372148557086',), 1359979078: ('0.031237372148557086',), 1359979075: ('0.031237372148557086',), 1359979073: ('0.031237372148557086',), 1359979069: ('0.031237372148557086',), 1359978973: ('0.031237372148557086',), 1359978932: ('0.031237372148557086',), 1359978918: ('0.031237372148557086',), 1359978905: ('0.031237372148557086',), 1359978797: ('0.031237372148557086',), 1359978551: ('0.031237372148557086',), 1359978524: ('0.031237372148557086',), 1359978496: ('0.031237372148557086',), 1359978469: ('0.031237372148557086',), 1359978416: ('0.031237372148557086',), 1359978411: ('0.031237372148557086',), 1359978407: ('0.031237372148557086',), 1359978398: ('0.031237372148557086',), 1359978379: ('0.031237372148557086',), 1359977952: ('0.031237372148557086',), 1359977937: ('0.031237372148557086',), 1359977907: ('0.031237372148557086',), 1359977758: ('0.031237372148557086',), 1359977753: ('0.031237372148557086',), 1359977749: ('0.031237372148557086',), 1359977688: ('0.031237372148557086',), 1359977673: ('0.031237372148557086',), 1359977656: ('0.031237372148557086',), 1359977648: ('0.031237372148557086',), 1359977623: ('0.031237372148557086',), 1359977421: ('0.031237372148557086',), 1359976955: ('0.031237372148557086',)} args : 1359978918 depend.output_id : 0 input_args_next_step : {1359979232: ('0.031237372148557086',), 1359979176: ('0.031237372148557086',), 1359979168: ('0.031237372148557086',), 1359979160: ('0.031237372148557086',), 1359979154: ('0.031237372148557086',), 1359979148: ('0.031237372148557086',), 1359979087: ('0.031237372148557086',), 1359979078: ('0.031237372148557086',), 1359979075: ('0.031237372148557086',), 1359979073: ('0.031237372148557086',), 1359979069: ('0.031237372148557086',), 1359978973: ('0.031237372148557086',), 1359978932: ('0.031237372148557086',), 1359978918: ('0.031237372148557086',), 1359978905: ()} output_args : {1359979232: ('0.031237372148557086',), 1359979176: ('0.031237372148557086',), 1359979168: ('0.031237372148557086',), 1359979160: ('0.031237372148557086',), 1359979154: ('0.031237372148557086',), 1359979148: ('0.031237372148557086',), 1359979087: ('0.031237372148557086',), 1359979078: ('0.031237372148557086',), 1359979075: ('0.031237372148557086',), 1359979073: ('0.031237372148557086',), 1359979069: ('0.031237372148557086',), 1359978973: ('0.031237372148557086',), 1359978932: ('0.031237372148557086',), 1359978918: ('0.031237372148557086',), 1359978905: ('0.031237372148557086',), 1359978797: ('0.031237372148557086',), 1359978551: ('0.031237372148557086',), 1359978524: ('0.031237372148557086',), 1359978496: ('0.031237372148557086',), 1359978469: ('0.031237372148557086',), 1359978416: ('0.031237372148557086',), 1359978411: ('0.031237372148557086',), 1359978407: ('0.031237372148557086',), 1359978398: ('0.031237372148557086',), 1359978379: ('0.031237372148557086',), 1359977952: ('0.031237372148557086',), 1359977937: ('0.031237372148557086',), 1359977907: ('0.031237372148557086',), 1359977758: ('0.031237372148557086',), 1359977753: ('0.031237372148557086',), 1359977749: ('0.031237372148557086',), 1359977688: ('0.031237372148557086',), 1359977673: ('0.031237372148557086',), 1359977656: ('0.031237372148557086',), 1359977648: ('0.031237372148557086',), 1359977623: ('0.031237372148557086',), 1359977421: ('0.031237372148557086',), 1359976955: ('0.031237372148557086',)} args : 1359978905 depend.output_id : 0 input_args_next_step : {1359979232: ('0.031237372148557086',), 1359979176: ('0.031237372148557086',), 1359979168: ('0.031237372148557086',), 1359979160: ('0.031237372148557086',), 1359979154: ('0.031237372148557086',), 1359979148: ('0.031237372148557086',), 1359979087: ('0.031237372148557086',), 1359979078: ('0.031237372148557086',), 1359979075: ('0.031237372148557086',), 1359979073: ('0.031237372148557086',), 1359979069: ('0.031237372148557086',), 1359978973: ('0.031237372148557086',), 1359978932: ('0.031237372148557086',), 1359978918: ('0.031237372148557086',), 1359978905: ('0.031237372148557086',), 1359978797: ()} output_args : {1359979232: ('0.031237372148557086',), 1359979176: ('0.031237372148557086',), 1359979168: ('0.031237372148557086',), 1359979160: ('0.031237372148557086',), 1359979154: ('0.031237372148557086',), 1359979148: ('0.031237372148557086',), 1359979087: ('0.031237372148557086',), 1359979078: ('0.031237372148557086',), 1359979075: ('0.031237372148557086',), 1359979073: ('0.031237372148557086',), 1359979069: ('0.031237372148557086',), 1359978973: ('0.031237372148557086',), 1359978932: ('0.031237372148557086',), 1359978918: ('0.031237372148557086',), 1359978905: ('0.031237372148557086',), 1359978797: ('0.031237372148557086',), 1359978551: ('0.031237372148557086',), 1359978524: ('0.031237372148557086',), 1359978496: ('0.031237372148557086',), 1359978469: ('0.031237372148557086',), 1359978416: ('0.031237372148557086',), 1359978411: ('0.031237372148557086',), 1359978407: ('0.031237372148557086',), 1359978398: ('0.031237372148557086',), 1359978379: ('0.031237372148557086',), 1359977952: ('0.031237372148557086',), 1359977937: ('0.031237372148557086',), 1359977907: ('0.031237372148557086',), 1359977758: ('0.031237372148557086',), 1359977753: ('0.031237372148557086',), 1359977749: ('0.031237372148557086',), 1359977688: ('0.031237372148557086',), 1359977673: ('0.031237372148557086',), 1359977656: ('0.031237372148557086',), 1359977648: ('0.031237372148557086',), 1359977623: ('0.031237372148557086',), 1359977421: ('0.031237372148557086',), 1359976955: ('0.031237372148557086',)} args : 1359978797 depend.output_id : 0 input_args_next_step : {1359979232: ('0.031237372148557086',), 1359979176: ('0.031237372148557086',), 1359979168: ('0.031237372148557086',), 1359979160: ('0.031237372148557086',), 1359979154: ('0.031237372148557086',), 1359979148: ('0.031237372148557086',), 1359979087: ('0.031237372148557086',), 1359979078: ('0.031237372148557086',), 1359979075: ('0.031237372148557086',), 1359979073: ('0.031237372148557086',), 1359979069: ('0.031237372148557086',), 1359978973: ('0.031237372148557086',), 1359978932: ('0.031237372148557086',), 1359978918: ('0.031237372148557086',), 1359978905: ('0.031237372148557086',), 1359978797: ('0.031237372148557086',), 1359978551: ()} output_args : {1359979232: ('0.031237372148557086',), 1359979176: ('0.031237372148557086',), 1359979168: ('0.031237372148557086',), 1359979160: ('0.031237372148557086',), 1359979154: ('0.031237372148557086',), 1359979148: ('0.031237372148557086',), 1359979087: ('0.031237372148557086',), 1359979078: ('0.031237372148557086',), 1359979075: ('0.031237372148557086',), 1359979073: ('0.031237372148557086',), 1359979069: ('0.031237372148557086',), 1359978973: ('0.031237372148557086',), 1359978932: ('0.031237372148557086',), 1359978918: ('0.031237372148557086',), 1359978905: ('0.031237372148557086',), 1359978797: ('0.031237372148557086',), 1359978551: ('0.031237372148557086',), 1359978524: ('0.031237372148557086',), 1359978496: ('0.031237372148557086',), 1359978469: ('0.031237372148557086',), 1359978416: ('0.031237372148557086',), 1359978411: ('0.031237372148557086',), 1359978407: ('0.031237372148557086',), 1359978398: ('0.031237372148557086',), 1359978379: ('0.031237372148557086',), 1359977952: ('0.031237372148557086',), 1359977937: ('0.031237372148557086',), 1359977907: ('0.031237372148557086',), 1359977758: ('0.031237372148557086',), 1359977753: ('0.031237372148557086',), 1359977749: ('0.031237372148557086',), 1359977688: ('0.031237372148557086',), 1359977673: ('0.031237372148557086',), 1359977656: ('0.031237372148557086',), 1359977648: ('0.031237372148557086',), 1359977623: ('0.031237372148557086',), 1359977421: ('0.031237372148557086',), 1359976955: ('0.031237372148557086',)} args : 1359978551 depend.output_id : 0 input_args_next_step : {1359979232: ('0.031237372148557086',), 1359979176: ('0.031237372148557086',), 1359979168: ('0.031237372148557086',), 1359979160: ('0.031237372148557086',), 1359979154: ('0.031237372148557086',), 1359979148: ('0.031237372148557086',), 1359979087: ('0.031237372148557086',), 1359979078: ('0.031237372148557086',), 1359979075: ('0.031237372148557086',), 1359979073: ('0.031237372148557086',), 1359979069: ('0.031237372148557086',), 1359978973: ('0.031237372148557086',), 1359978932: ('0.031237372148557086',), 1359978918: ('0.031237372148557086',), 1359978905: ('0.031237372148557086',), 1359978797: ('0.031237372148557086',), 1359978551: ('0.031237372148557086',), 1359978524: ()} output_args : {1359979232: ('0.031237372148557086',), 1359979176: ('0.031237372148557086',), 1359979168: ('0.031237372148557086',), 1359979160: ('0.031237372148557086',), 1359979154: ('0.031237372148557086',), 1359979148: ('0.031237372148557086',), 1359979087: ('0.031237372148557086',), 1359979078: ('0.031237372148557086',), 1359979075: ('0.031237372148557086',), 1359979073: ('0.031237372148557086',), 1359979069: ('0.031237372148557086',), 1359978973: ('0.031237372148557086',), 1359978932: ('0.031237372148557086',), 1359978918: ('0.031237372148557086',), 1359978905: ('0.031237372148557086',), 1359978797: ('0.031237372148557086',), 1359978551: ('0.031237372148557086',), 1359978524: ('0.031237372148557086',), 1359978496: ('0.031237372148557086',), 1359978469: ('0.031237372148557086',), 1359978416: ('0.031237372148557086',), 1359978411: ('0.031237372148557086',), 1359978407: ('0.031237372148557086',), 1359978398: ('0.031237372148557086',), 1359978379: ('0.031237372148557086',), 1359977952: ('0.031237372148557086',), 1359977937: ('0.031237372148557086',), 1359977907: ('0.031237372148557086',), 1359977758: ('0.031237372148557086',), 1359977753: ('0.031237372148557086',), 1359977749: ('0.031237372148557086',), 1359977688: ('0.031237372148557086',), 1359977673: ('0.031237372148557086',), 1359977656: ('0.031237372148557086',), 1359977648: ('0.031237372148557086',), 1359977623: ('0.031237372148557086',), 1359977421: ('0.031237372148557086',), 1359976955: ('0.031237372148557086',)} args : 1359978524 depend.output_id : 0 input_args_next_step : {1359979232: ('0.031237372148557086',), 1359979176: ('0.031237372148557086',), 1359979168: ('0.031237372148557086',), 1359979160: ('0.031237372148557086',), 1359979154: ('0.031237372148557086',), 1359979148: ('0.031237372148557086',), 1359979087: ('0.031237372148557086',), 1359979078: ('0.031237372148557086',), 1359979075: ('0.031237372148557086',), 1359979073: ('0.031237372148557086',), 1359979069: ('0.031237372148557086',), 1359978973: ('0.031237372148557086',), 1359978932: ('0.031237372148557086',), 1359978918: ('0.031237372148557086',), 1359978905: ('0.031237372148557086',), 1359978797: ('0.031237372148557086',), 1359978551: ('0.031237372148557086',), 1359978524: ('0.031237372148557086',), 1359978496: ()} output_args : {1359979232: ('0.031237372148557086',), 1359979176: ('0.031237372148557086',), 1359979168: ('0.031237372148557086',), 1359979160: ('0.031237372148557086',), 1359979154: ('0.031237372148557086',), 1359979148: ('0.031237372148557086',), 1359979087: ('0.031237372148557086',), 1359979078: ('0.031237372148557086',), 1359979075: ('0.031237372148557086',), 1359979073: ('0.031237372148557086',), 1359979069: ('0.031237372148557086',), 1359978973: ('0.031237372148557086',), 1359978932: ('0.031237372148557086',), 1359978918: ('0.031237372148557086',), 1359978905: ('0.031237372148557086',), 1359978797: ('0.031237372148557086',), 1359978551: ('0.031237372148557086',), 1359978524: ('0.031237372148557086',), 1359978496: ('0.031237372148557086',), 1359978469: ('0.031237372148557086',), 1359978416: ('0.031237372148557086',), 1359978411: ('0.031237372148557086',), 1359978407: ('0.031237372148557086',), 1359978398: ('0.031237372148557086',), 1359978379: ('0.031237372148557086',), 1359977952: ('0.031237372148557086',), 1359977937: ('0.031237372148557086',), 1359977907: ('0.031237372148557086',), 1359977758: ('0.031237372148557086',), 1359977753: ('0.031237372148557086',), 1359977749: ('0.031237372148557086',), 1359977688: ('0.031237372148557086',), 1359977673: ('0.031237372148557086',), 1359977656: ('0.031237372148557086',), 1359977648: ('0.031237372148557086',), 1359977623: ('0.031237372148557086',), 1359977421: ('0.031237372148557086',), 1359976955: ('0.031237372148557086',)} args : 1359978496 depend.output_id : 0 input_args_next_step : {1359979232: ('0.031237372148557086',), 1359979176: ('0.031237372148557086',), 1359979168: ('0.031237372148557086',), 1359979160: ('0.031237372148557086',), 1359979154: ('0.031237372148557086',), 1359979148: ('0.031237372148557086',), 1359979087: ('0.031237372148557086',), 1359979078: ('0.031237372148557086',), 1359979075: ('0.031237372148557086',), 1359979073: ('0.031237372148557086',), 1359979069: ('0.031237372148557086',), 1359978973: ('0.031237372148557086',), 1359978932: ('0.031237372148557086',), 1359978918: ('0.031237372148557086',), 1359978905: ('0.031237372148557086',), 1359978797: ('0.031237372148557086',), 1359978551: ('0.031237372148557086',), 1359978524: ('0.031237372148557086',), 1359978496: ('0.031237372148557086',), 1359978469: ()} output_args : {1359979232: ('0.031237372148557086',), 1359979176: ('0.031237372148557086',), 1359979168: ('0.031237372148557086',), 1359979160: ('0.031237372148557086',), 1359979154: ('0.031237372148557086',), 1359979148: ('0.031237372148557086',), 1359979087: ('0.031237372148557086',), 1359979078: ('0.031237372148557086',), 1359979075: ('0.031237372148557086',), 1359979073: ('0.031237372148557086',), 1359979069: ('0.031237372148557086',), 1359978973: ('0.031237372148557086',), 1359978932: ('0.031237372148557086',), 1359978918: ('0.031237372148557086',), 1359978905: ('0.031237372148557086',), 1359978797: ('0.031237372148557086',), 1359978551: ('0.031237372148557086',), 1359978524: ('0.031237372148557086',), 1359978496: ('0.031237372148557086',), 1359978469: ('0.031237372148557086',), 1359978416: ('0.031237372148557086',), 1359978411: ('0.031237372148557086',), 1359978407: ('0.031237372148557086',), 1359978398: ('0.031237372148557086',), 1359978379: ('0.031237372148557086',), 1359977952: ('0.031237372148557086',), 1359977937: ('0.031237372148557086',), 1359977907: ('0.031237372148557086',), 1359977758: ('0.031237372148557086',), 1359977753: ('0.031237372148557086',), 1359977749: ('0.031237372148557086',), 1359977688: ('0.031237372148557086',), 1359977673: ('0.031237372148557086',), 1359977656: ('0.031237372148557086',), 1359977648: ('0.031237372148557086',), 1359977623: ('0.031237372148557086',), 1359977421: ('0.031237372148557086',), 1359976955: ('0.031237372148557086',)} args : 1359978469 depend.output_id : 0 input_args_next_step : {1359979232: ('0.031237372148557086',), 1359979176: ('0.031237372148557086',), 1359979168: ('0.031237372148557086',), 1359979160: ('0.031237372148557086',), 1359979154: ('0.031237372148557086',), 1359979148: ('0.031237372148557086',), 1359979087: ('0.031237372148557086',), 1359979078: ('0.031237372148557086',), 1359979075: ('0.031237372148557086',), 1359979073: ('0.031237372148557086',), 1359979069: ('0.031237372148557086',), 1359978973: ('0.031237372148557086',), 1359978932: ('0.031237372148557086',), 1359978918: ('0.031237372148557086',), 1359978905: ('0.031237372148557086',), 1359978797: ('0.031237372148557086',), 1359978551: ('0.031237372148557086',), 1359978524: ('0.031237372148557086',), 1359978496: ('0.031237372148557086',), 1359978469: ('0.031237372148557086',), 1359978416: ()} output_args : {1359979232: ('0.031237372148557086',), 1359979176: ('0.031237372148557086',), 1359979168: ('0.031237372148557086',), 1359979160: ('0.031237372148557086',), 1359979154: ('0.031237372148557086',), 1359979148: ('0.031237372148557086',), 1359979087: ('0.031237372148557086',), 1359979078: ('0.031237372148557086',), 1359979075: ('0.031237372148557086',), 1359979073: ('0.031237372148557086',), 1359979069: ('0.031237372148557086',), 1359978973: ('0.031237372148557086',), 1359978932: ('0.031237372148557086',), 1359978918: ('0.031237372148557086',), 1359978905: ('0.031237372148557086',), 1359978797: ('0.031237372148557086',), 1359978551: ('0.031237372148557086',), 1359978524: ('0.031237372148557086',), 1359978496: ('0.031237372148557086',), 1359978469: ('0.031237372148557086',), 1359978416: ('0.031237372148557086',), 1359978411: ('0.031237372148557086',), 1359978407: ('0.031237372148557086',), 1359978398: ('0.031237372148557086',), 1359978379: ('0.031237372148557086',), 1359977952: ('0.031237372148557086',), 1359977937: ('0.031237372148557086',), 1359977907: ('0.031237372148557086',), 1359977758: ('0.031237372148557086',), 1359977753: ('0.031237372148557086',), 1359977749: ('0.031237372148557086',), 1359977688: ('0.031237372148557086',), 1359977673: ('0.031237372148557086',), 1359977656: ('0.031237372148557086',), 1359977648: ('0.031237372148557086',), 1359977623: ('0.031237372148557086',), 1359977421: ('0.031237372148557086',), 1359976955: ('0.031237372148557086',)} args : 1359978416 depend.output_id : 0 input_args_next_step : {1359979232: ('0.031237372148557086',), 1359979176: ('0.031237372148557086',), 1359979168: ('0.031237372148557086',), 1359979160: ('0.031237372148557086',), 1359979154: ('0.031237372148557086',), 1359979148: ('0.031237372148557086',), 1359979087: ('0.031237372148557086',), 1359979078: ('0.031237372148557086',), 1359979075: ('0.031237372148557086',), 1359979073: ('0.031237372148557086',), 1359979069: ('0.031237372148557086',), 1359978973: ('0.031237372148557086',), 1359978932: ('0.031237372148557086',), 1359978918: ('0.031237372148557086',), 1359978905: ('0.031237372148557086',), 1359978797: ('0.031237372148557086',), 1359978551: ('0.031237372148557086',), 1359978524: ('0.031237372148557086',), 1359978496: ('0.031237372148557086',), 1359978469: ('0.031237372148557086',), 1359978416: ('0.031237372148557086',), 1359978411: ()} output_args : {1359979232: ('0.031237372148557086',), 1359979176: ('0.031237372148557086',), 1359979168: ('0.031237372148557086',), 1359979160: ('0.031237372148557086',), 1359979154: ('0.031237372148557086',), 1359979148: ('0.031237372148557086',), 1359979087: ('0.031237372148557086',), 1359979078: ('0.031237372148557086',), 1359979075: ('0.031237372148557086',), 1359979073: ('0.031237372148557086',), 1359979069: ('0.031237372148557086',), 1359978973: ('0.031237372148557086',), 1359978932: ('0.031237372148557086',), 1359978918: ('0.031237372148557086',), 1359978905: ('0.031237372148557086',), 1359978797: ('0.031237372148557086',), 1359978551: ('0.031237372148557086',), 1359978524: ('0.031237372148557086',), 1359978496: ('0.031237372148557086',), 1359978469: ('0.031237372148557086',), 1359978416: ('0.031237372148557086',), 1359978411: ('0.031237372148557086',), 1359978407: ('0.031237372148557086',), 1359978398: ('0.031237372148557086',), 1359978379: ('0.031237372148557086',), 1359977952: ('0.031237372148557086',), 1359977937: ('0.031237372148557086',), 1359977907: ('0.031237372148557086',), 1359977758: ('0.031237372148557086',), 1359977753: ('0.031237372148557086',), 1359977749: ('0.031237372148557086',), 1359977688: ('0.031237372148557086',), 1359977673: ('0.031237372148557086',), 1359977656: ('0.031237372148557086',), 1359977648: ('0.031237372148557086',), 1359977623: ('0.031237372148557086',), 1359977421: ('0.031237372148557086',), 1359976955: ('0.031237372148557086',)} args : 1359978411 depend.output_id : 0 input_args_next_step : {1359979232: ('0.031237372148557086',), 1359979176: ('0.031237372148557086',), 1359979168: ('0.031237372148557086',), 1359979160: ('0.031237372148557086',), 1359979154: ('0.031237372148557086',), 1359979148: ('0.031237372148557086',), 1359979087: ('0.031237372148557086',), 1359979078: ('0.031237372148557086',), 1359979075: ('0.031237372148557086',), 1359979073: ('0.031237372148557086',), 1359979069: ('0.031237372148557086',), 1359978973: ('0.031237372148557086',), 1359978932: ('0.031237372148557086',), 1359978918: ('0.031237372148557086',), 1359978905: ('0.031237372148557086',), 1359978797: ('0.031237372148557086',), 1359978551: ('0.031237372148557086',), 1359978524: ('0.031237372148557086',), 1359978496: ('0.031237372148557086',), 1359978469: ('0.031237372148557086',), 1359978416: ('0.031237372148557086',), 1359978411: ('0.031237372148557086',), 1359978407: ()} output_args : {1359979232: ('0.031237372148557086',), 1359979176: ('0.031237372148557086',), 1359979168: ('0.031237372148557086',), 1359979160: ('0.031237372148557086',), 1359979154: ('0.031237372148557086',), 1359979148: ('0.031237372148557086',), 1359979087: ('0.031237372148557086',), 1359979078: ('0.031237372148557086',), 1359979075: ('0.031237372148557086',), 1359979073: ('0.031237372148557086',), 1359979069: ('0.031237372148557086',), 1359978973: ('0.031237372148557086',), 1359978932: ('0.031237372148557086',), 1359978918: ('0.031237372148557086',), 1359978905: ('0.031237372148557086',), 1359978797: ('0.031237372148557086',), 1359978551: ('0.031237372148557086',), 1359978524: ('0.031237372148557086',), 1359978496: ('0.031237372148557086',), 1359978469: ('0.031237372148557086',), 1359978416: ('0.031237372148557086',), 1359978411: ('0.031237372148557086',), 1359978407: ('0.031237372148557086',), 1359978398: ('0.031237372148557086',), 1359978379: ('0.031237372148557086',), 1359977952: ('0.031237372148557086',), 1359977937: ('0.031237372148557086',), 1359977907: ('0.031237372148557086',), 1359977758: ('0.031237372148557086',), 1359977753: ('0.031237372148557086',), 1359977749: ('0.031237372148557086',), 1359977688: ('0.031237372148557086',), 1359977673: ('0.031237372148557086',), 1359977656: ('0.031237372148557086',), 1359977648: ('0.031237372148557086',), 1359977623: ('0.031237372148557086',), 1359977421: ('0.031237372148557086',), 1359976955: ('0.031237372148557086',)} args : 1359978407 depend.output_id : 0 input_args_next_step : {1359979232: ('0.031237372148557086',), 1359979176: ('0.031237372148557086',), 1359979168: ('0.031237372148557086',), 1359979160: ('0.031237372148557086',), 1359979154: ('0.031237372148557086',), 1359979148: ('0.031237372148557086',), 1359979087: ('0.031237372148557086',), 1359979078: ('0.031237372148557086',), 1359979075: ('0.031237372148557086',), 1359979073: ('0.031237372148557086',), 1359979069: ('0.031237372148557086',), 1359978973: ('0.031237372148557086',), 1359978932: ('0.031237372148557086',), 1359978918: ('0.031237372148557086',), 1359978905: ('0.031237372148557086',), 1359978797: ('0.031237372148557086',), 1359978551: ('0.031237372148557086',), 1359978524: ('0.031237372148557086',), 1359978496: ('0.031237372148557086',), 1359978469: ('0.031237372148557086',), 1359978416: ('0.031237372148557086',), 1359978411: ('0.031237372148557086',), 1359978407: ('0.031237372148557086',), 1359978398: ()} output_args : {1359979232: ('0.031237372148557086',), 1359979176: ('0.031237372148557086',), 1359979168: ('0.031237372148557086',), 1359979160: ('0.031237372148557086',), 1359979154: ('0.031237372148557086',), 1359979148: ('0.031237372148557086',), 1359979087: ('0.031237372148557086',), 1359979078: ('0.031237372148557086',), 1359979075: ('0.031237372148557086',), 1359979073: ('0.031237372148557086',), 1359979069: ('0.031237372148557086',), 1359978973: ('0.031237372148557086',), 1359978932: ('0.031237372148557086',), 1359978918: ('0.031237372148557086',), 1359978905: ('0.031237372148557086',), 1359978797: ('0.031237372148557086',), 1359978551: ('0.031237372148557086',), 1359978524: ('0.031237372148557086',), 1359978496: ('0.031237372148557086',), 1359978469: ('0.031237372148557086',), 1359978416: ('0.031237372148557086',), 1359978411: ('0.031237372148557086',), 1359978407: ('0.031237372148557086',), 1359978398: ('0.031237372148557086',), 1359978379: ('0.031237372148557086',), 1359977952: ('0.031237372148557086',), 1359977937: ('0.031237372148557086',), 1359977907: ('0.031237372148557086',), 1359977758: ('0.031237372148557086',), 1359977753: ('0.031237372148557086',), 1359977749: ('0.031237372148557086',), 1359977688: ('0.031237372148557086',), 1359977673: ('0.031237372148557086',), 1359977656: ('0.031237372148557086',), 1359977648: ('0.031237372148557086',), 1359977623: ('0.031237372148557086',), 1359977421: ('0.031237372148557086',), 1359976955: ('0.031237372148557086',)} args : 1359978398 depend.output_id : 0 input_args_next_step : {1359979232: ('0.031237372148557086',), 1359979176: ('0.031237372148557086',), 1359979168: ('0.031237372148557086',), 1359979160: ('0.031237372148557086',), 1359979154: ('0.031237372148557086',), 1359979148: ('0.031237372148557086',), 1359979087: ('0.031237372148557086',), 1359979078: ('0.031237372148557086',), 1359979075: ('0.031237372148557086',), 1359979073: ('0.031237372148557086',), 1359979069: ('0.031237372148557086',), 1359978973: ('0.031237372148557086',), 1359978932: ('0.031237372148557086',), 1359978918: ('0.031237372148557086',), 1359978905: ('0.031237372148557086',), 1359978797: ('0.031237372148557086',), 1359978551: ('0.031237372148557086',), 1359978524: ('0.031237372148557086',), 1359978496: ('0.031237372148557086',), 1359978469: ('0.031237372148557086',), 1359978416: ('0.031237372148557086',), 1359978411: ('0.031237372148557086',), 1359978407: ('0.031237372148557086',), 1359978398: ('0.031237372148557086',), 1359978379: ()} output_args : {1359979232: ('0.031237372148557086',), 1359979176: ('0.031237372148557086',), 1359979168: ('0.031237372148557086',), 1359979160: ('0.031237372148557086',), 1359979154: ('0.031237372148557086',), 1359979148: ('0.031237372148557086',), 1359979087: ('0.031237372148557086',), 1359979078: ('0.031237372148557086',), 1359979075: ('0.031237372148557086',), 1359979073: ('0.031237372148557086',), 1359979069: ('0.031237372148557086',), 1359978973: ('0.031237372148557086',), 1359978932: ('0.031237372148557086',), 1359978918: ('0.031237372148557086',), 1359978905: ('0.031237372148557086',), 1359978797: ('0.031237372148557086',), 1359978551: ('0.031237372148557086',), 1359978524: ('0.031237372148557086',), 1359978496: ('0.031237372148557086',), 1359978469: ('0.031237372148557086',), 1359978416: ('0.031237372148557086',), 1359978411: ('0.031237372148557086',), 1359978407: ('0.031237372148557086',), 1359978398: ('0.031237372148557086',), 1359978379: ('0.031237372148557086',), 1359977952: ('0.031237372148557086',), 1359977937: ('0.031237372148557086',), 1359977907: ('0.031237372148557086',), 1359977758: ('0.031237372148557086',), 1359977753: ('0.031237372148557086',), 1359977749: ('0.031237372148557086',), 1359977688: ('0.031237372148557086',), 1359977673: ('0.031237372148557086',), 1359977656: ('0.031237372148557086',), 1359977648: ('0.031237372148557086',), 1359977623: ('0.031237372148557086',), 1359977421: ('0.031237372148557086',), 1359976955: ('0.031237372148557086',)} args : 1359978379 depend.output_id : 0 input_args_next_step : {1359979232: ('0.031237372148557086',), 1359979176: ('0.031237372148557086',), 1359979168: ('0.031237372148557086',), 1359979160: ('0.031237372148557086',), 1359979154: ('0.031237372148557086',), 1359979148: ('0.031237372148557086',), 1359979087: ('0.031237372148557086',), 1359979078: ('0.031237372148557086',), 1359979075: ('0.031237372148557086',), 1359979073: ('0.031237372148557086',), 1359979069: ('0.031237372148557086',), 1359978973: ('0.031237372148557086',), 1359978932: ('0.031237372148557086',), 1359978918: ('0.031237372148557086',), 1359978905: ('0.031237372148557086',), 1359978797: ('0.031237372148557086',), 1359978551: ('0.031237372148557086',), 1359978524: ('0.031237372148557086',), 1359978496: ('0.031237372148557086',), 1359978469: ('0.031237372148557086',), 1359978416: ('0.031237372148557086',), 1359978411: ('0.031237372148557086',), 1359978407: ('0.031237372148557086',), 1359978398: ('0.031237372148557086',), 1359978379: ('0.031237372148557086',), 1359977952: ()} output_args : {1359979232: ('0.031237372148557086',), 1359979176: ('0.031237372148557086',), 1359979168: ('0.031237372148557086',), 1359979160: ('0.031237372148557086',), 1359979154: ('0.031237372148557086',), 1359979148: ('0.031237372148557086',), 1359979087: ('0.031237372148557086',), 1359979078: ('0.031237372148557086',), 1359979075: ('0.031237372148557086',), 1359979073: ('0.031237372148557086',), 1359979069: ('0.031237372148557086',), 1359978973: ('0.031237372148557086',), 1359978932: ('0.031237372148557086',), 1359978918: ('0.031237372148557086',), 1359978905: ('0.031237372148557086',), 1359978797: ('0.031237372148557086',), 1359978551: ('0.031237372148557086',), 1359978524: ('0.031237372148557086',), 1359978496: ('0.031237372148557086',), 1359978469: ('0.031237372148557086',), 1359978416: ('0.031237372148557086',), 1359978411: ('0.031237372148557086',), 1359978407: ('0.031237372148557086',), 1359978398: ('0.031237372148557086',), 1359978379: ('0.031237372148557086',), 1359977952: ('0.031237372148557086',), 1359977937: ('0.031237372148557086',), 1359977907: ('0.031237372148557086',), 1359977758: ('0.031237372148557086',), 1359977753: ('0.031237372148557086',), 1359977749: ('0.031237372148557086',), 1359977688: ('0.031237372148557086',), 1359977673: ('0.031237372148557086',), 1359977656: ('0.031237372148557086',), 1359977648: ('0.031237372148557086',), 1359977623: ('0.031237372148557086',), 1359977421: ('0.031237372148557086',), 1359976955: ('0.031237372148557086',)} args : 1359977952 depend.output_id : 0 input_args_next_step : {1359979232: ('0.031237372148557086',), 1359979176: ('0.031237372148557086',), 1359979168: ('0.031237372148557086',), 1359979160: ('0.031237372148557086',), 1359979154: ('0.031237372148557086',), 1359979148: ('0.031237372148557086',), 1359979087: ('0.031237372148557086',), 1359979078: ('0.031237372148557086',), 1359979075: ('0.031237372148557086',), 1359979073: ('0.031237372148557086',), 1359979069: ('0.031237372148557086',), 1359978973: ('0.031237372148557086',), 1359978932: ('0.031237372148557086',), 1359978918: ('0.031237372148557086',), 1359978905: ('0.031237372148557086',), 1359978797: ('0.031237372148557086',), 1359978551: ('0.031237372148557086',), 1359978524: ('0.031237372148557086',), 1359978496: ('0.031237372148557086',), 1359978469: ('0.031237372148557086',), 1359978416: ('0.031237372148557086',), 1359978411: ('0.031237372148557086',), 1359978407: ('0.031237372148557086',), 1359978398: ('0.031237372148557086',), 1359978379: ('0.031237372148557086',), 1359977952: ('0.031237372148557086',), 1359977937: ()} output_args : {1359979232: ('0.031237372148557086',), 1359979176: ('0.031237372148557086',), 1359979168: ('0.031237372148557086',), 1359979160: ('0.031237372148557086',), 1359979154: ('0.031237372148557086',), 1359979148: ('0.031237372148557086',), 1359979087: ('0.031237372148557086',), 1359979078: ('0.031237372148557086',), 1359979075: ('0.031237372148557086',), 1359979073: ('0.031237372148557086',), 1359979069: ('0.031237372148557086',), 1359978973: ('0.031237372148557086',), 1359978932: ('0.031237372148557086',), 1359978918: ('0.031237372148557086',), 1359978905: ('0.031237372148557086',), 1359978797: ('0.031237372148557086',), 1359978551: ('0.031237372148557086',), 1359978524: ('0.031237372148557086',), 1359978496: ('0.031237372148557086',), 1359978469: ('0.031237372148557086',), 1359978416: ('0.031237372148557086',), 1359978411: ('0.031237372148557086',), 1359978407: ('0.031237372148557086',), 1359978398: ('0.031237372148557086',), 1359978379: ('0.031237372148557086',), 1359977952: ('0.031237372148557086',), 1359977937: ('0.031237372148557086',), 1359977907: ('0.031237372148557086',), 1359977758: ('0.031237372148557086',), 1359977753: ('0.031237372148557086',), 1359977749: ('0.031237372148557086',), 1359977688: ('0.031237372148557086',), 1359977673: ('0.031237372148557086',), 1359977656: ('0.031237372148557086',), 1359977648: ('0.031237372148557086',), 1359977623: ('0.031237372148557086',), 1359977421: ('0.031237372148557086',), 1359976955: ('0.031237372148557086',)} args : 1359977937 depend.output_id : 0 input_args_next_step : {1359979232: ('0.031237372148557086',), 1359979176: ('0.031237372148557086',), 1359979168: ('0.031237372148557086',), 1359979160: ('0.031237372148557086',), 1359979154: ('0.031237372148557086',), 1359979148: ('0.031237372148557086',), 1359979087: ('0.031237372148557086',), 1359979078: ('0.031237372148557086',), 1359979075: ('0.031237372148557086',), 1359979073: ('0.031237372148557086',), 1359979069: ('0.031237372148557086',), 1359978973: ('0.031237372148557086',), 1359978932: ('0.031237372148557086',), 1359978918: ('0.031237372148557086',), 1359978905: ('0.031237372148557086',), 1359978797: ('0.031237372148557086',), 1359978551: ('0.031237372148557086',), 1359978524: ('0.031237372148557086',), 1359978496: ('0.031237372148557086',), 1359978469: ('0.031237372148557086',), 1359978416: ('0.031237372148557086',), 1359978411: ('0.031237372148557086',), 1359978407: ('0.031237372148557086',), 1359978398: ('0.031237372148557086',), 1359978379: ('0.031237372148557086',), 1359977952: ('0.031237372148557086',), 1359977937: ('0.031237372148557086',), 1359977907: ()} output_args : {1359979232: ('0.031237372148557086',), 1359979176: ('0.031237372148557086',), 1359979168: ('0.031237372148557086',), 1359979160: ('0.031237372148557086',), 1359979154: ('0.031237372148557086',), 1359979148: ('0.031237372148557086',), 1359979087: ('0.031237372148557086',), 1359979078: ('0.031237372148557086',), 1359979075: ('0.031237372148557086',), 1359979073: ('0.031237372148557086',), 1359979069: ('0.031237372148557086',), 1359978973: ('0.031237372148557086',), 1359978932: ('0.031237372148557086',), 1359978918: ('0.031237372148557086',), 1359978905: ('0.031237372148557086',), 1359978797: ('0.031237372148557086',), 1359978551: ('0.031237372148557086',), 1359978524: ('0.031237372148557086',), 1359978496: ('0.031237372148557086',), 1359978469: ('0.031237372148557086',), 1359978416: ('0.031237372148557086',), 1359978411: ('0.031237372148557086',), 1359978407: ('0.031237372148557086',), 1359978398: ('0.031237372148557086',), 1359978379: ('0.031237372148557086',), 1359977952: ('0.031237372148557086',), 1359977937: ('0.031237372148557086',), 1359977907: ('0.031237372148557086',), 1359977758: ('0.031237372148557086',), 1359977753: ('0.031237372148557086',), 1359977749: ('0.031237372148557086',), 1359977688: ('0.031237372148557086',), 1359977673: ('0.031237372148557086',), 1359977656: ('0.031237372148557086',), 1359977648: ('0.031237372148557086',), 1359977623: ('0.031237372148557086',), 1359977421: ('0.031237372148557086',), 1359976955: ('0.031237372148557086',)} args : 1359977907 depend.output_id : 0 input_args_next_step : {1359979232: ('0.031237372148557086',), 1359979176: ('0.031237372148557086',), 1359979168: ('0.031237372148557086',), 1359979160: ('0.031237372148557086',), 1359979154: ('0.031237372148557086',), 1359979148: ('0.031237372148557086',), 1359979087: ('0.031237372148557086',), 1359979078: ('0.031237372148557086',), 1359979075: ('0.031237372148557086',), 1359979073: ('0.031237372148557086',), 1359979069: ('0.031237372148557086',), 1359978973: ('0.031237372148557086',), 1359978932: ('0.031237372148557086',), 1359978918: ('0.031237372148557086',), 1359978905: ('0.031237372148557086',), 1359978797: ('0.031237372148557086',), 1359978551: ('0.031237372148557086',), 1359978524: ('0.031237372148557086',), 1359978496: ('0.031237372148557086',), 1359978469: ('0.031237372148557086',), 1359978416: ('0.031237372148557086',), 1359978411: ('0.031237372148557086',), 1359978407: ('0.031237372148557086',), 1359978398: ('0.031237372148557086',), 1359978379: ('0.031237372148557086',), 1359977952: ('0.031237372148557086',), 1359977937: ('0.031237372148557086',), 1359977907: ('0.031237372148557086',), 1359977758: ()} output_args : {1359979232: ('0.031237372148557086',), 1359979176: ('0.031237372148557086',), 1359979168: ('0.031237372148557086',), 1359979160: ('0.031237372148557086',), 1359979154: ('0.031237372148557086',), 1359979148: ('0.031237372148557086',), 1359979087: ('0.031237372148557086',), 1359979078: ('0.031237372148557086',), 1359979075: ('0.031237372148557086',), 1359979073: ('0.031237372148557086',), 1359979069: ('0.031237372148557086',), 1359978973: ('0.031237372148557086',), 1359978932: ('0.031237372148557086',), 1359978918: ('0.031237372148557086',), 1359978905: ('0.031237372148557086',), 1359978797: ('0.031237372148557086',), 1359978551: ('0.031237372148557086',), 1359978524: ('0.031237372148557086',), 1359978496: ('0.031237372148557086',), 1359978469: ('0.031237372148557086',), 1359978416: ('0.031237372148557086',), 1359978411: ('0.031237372148557086',), 1359978407: ('0.031237372148557086',), 1359978398: ('0.031237372148557086',), 1359978379: ('0.031237372148557086',), 1359977952: ('0.031237372148557086',), 1359977937: ('0.031237372148557086',), 1359977907: ('0.031237372148557086',), 1359977758: ('0.031237372148557086',), 1359977753: ('0.031237372148557086',), 1359977749: ('0.031237372148557086',), 1359977688: ('0.031237372148557086',), 1359977673: ('0.031237372148557086',), 1359977656: ('0.031237372148557086',), 1359977648: ('0.031237372148557086',), 1359977623: ('0.031237372148557086',), 1359977421: ('0.031237372148557086',), 1359976955: ('0.031237372148557086',)} args : 1359977758 depend.output_id : 0 input_args_next_step : {1359979232: ('0.031237372148557086',), 1359979176: ('0.031237372148557086',), 1359979168: ('0.031237372148557086',), 1359979160: ('0.031237372148557086',), 1359979154: ('0.031237372148557086',), 1359979148: ('0.031237372148557086',), 1359979087: ('0.031237372148557086',), 1359979078: ('0.031237372148557086',), 1359979075: ('0.031237372148557086',), 1359979073: ('0.031237372148557086',), 1359979069: ('0.031237372148557086',), 1359978973: ('0.031237372148557086',), 1359978932: ('0.031237372148557086',), 1359978918: ('0.031237372148557086',), 1359978905: ('0.031237372148557086',), 1359978797: ('0.031237372148557086',), 1359978551: ('0.031237372148557086',), 1359978524: ('0.031237372148557086',), 1359978496: ('0.031237372148557086',), 1359978469: ('0.031237372148557086',), 1359978416: ('0.031237372148557086',), 1359978411: ('0.031237372148557086',), 1359978407: ('0.031237372148557086',), 1359978398: ('0.031237372148557086',), 1359978379: ('0.031237372148557086',), 1359977952: ('0.031237372148557086',), 1359977937: ('0.031237372148557086',), 1359977907: ('0.031237372148557086',), 1359977758: ('0.031237372148557086',), 1359977753: ()} output_args : {1359979232: ('0.031237372148557086',), 1359979176: ('0.031237372148557086',), 1359979168: ('0.031237372148557086',), 1359979160: ('0.031237372148557086',), 1359979154: ('0.031237372148557086',), 1359979148: ('0.031237372148557086',), 1359979087: ('0.031237372148557086',), 1359979078: ('0.031237372148557086',), 1359979075: ('0.031237372148557086',), 1359979073: ('0.031237372148557086',), 1359979069: ('0.031237372148557086',), 1359978973: ('0.031237372148557086',), 1359978932: ('0.031237372148557086',), 1359978918: ('0.031237372148557086',), 1359978905: ('0.031237372148557086',), 1359978797: ('0.031237372148557086',), 1359978551: ('0.031237372148557086',), 1359978524: ('0.031237372148557086',), 1359978496: ('0.031237372148557086',), 1359978469: ('0.031237372148557086',), 1359978416: ('0.031237372148557086',), 1359978411: ('0.031237372148557086',), 1359978407: ('0.031237372148557086',), 1359978398: ('0.031237372148557086',), 1359978379: ('0.031237372148557086',), 1359977952: ('0.031237372148557086',), 1359977937: ('0.031237372148557086',), 1359977907: ('0.031237372148557086',), 1359977758: ('0.031237372148557086',), 1359977753: ('0.031237372148557086',), 1359977749: ('0.031237372148557086',), 1359977688: ('0.031237372148557086',), 1359977673: ('0.031237372148557086',), 1359977656: ('0.031237372148557086',), 1359977648: ('0.031237372148557086',), 1359977623: ('0.031237372148557086',), 1359977421: ('0.031237372148557086',), 1359976955: ('0.031237372148557086',)} args : 1359977753 depend.output_id : 0 input_args_next_step : {1359979232: ('0.031237372148557086',), 1359979176: ('0.031237372148557086',), 1359979168: ('0.031237372148557086',), 1359979160: ('0.031237372148557086',), 1359979154: ('0.031237372148557086',), 1359979148: ('0.031237372148557086',), 1359979087: ('0.031237372148557086',), 1359979078: ('0.031237372148557086',), 1359979075: ('0.031237372148557086',), 1359979073: ('0.031237372148557086',), 1359979069: ('0.031237372148557086',), 1359978973: ('0.031237372148557086',), 1359978932: ('0.031237372148557086',), 1359978918: ('0.031237372148557086',), 1359978905: ('0.031237372148557086',), 1359978797: ('0.031237372148557086',), 1359978551: ('0.031237372148557086',), 1359978524: ('0.031237372148557086',), 1359978496: ('0.031237372148557086',), 1359978469: ('0.031237372148557086',), 1359978416: ('0.031237372148557086',), 1359978411: ('0.031237372148557086',), 1359978407: ('0.031237372148557086',), 1359978398: ('0.031237372148557086',), 1359978379: ('0.031237372148557086',), 1359977952: ('0.031237372148557086',), 1359977937: ('0.031237372148557086',), 1359977907: ('0.031237372148557086',), 1359977758: ('0.031237372148557086',), 1359977753: ('0.031237372148557086',), 1359977749: ()} output_args : {1359979232: ('0.031237372148557086',), 1359979176: ('0.031237372148557086',), 1359979168: ('0.031237372148557086',), 1359979160: ('0.031237372148557086',), 1359979154: ('0.031237372148557086',), 1359979148: ('0.031237372148557086',), 1359979087: ('0.031237372148557086',), 1359979078: ('0.031237372148557086',), 1359979075: ('0.031237372148557086',), 1359979073: ('0.031237372148557086',), 1359979069: ('0.031237372148557086',), 1359978973: ('0.031237372148557086',), 1359978932: ('0.031237372148557086',), 1359978918: ('0.031237372148557086',), 1359978905: ('0.031237372148557086',), 1359978797: ('0.031237372148557086',), 1359978551: ('0.031237372148557086',), 1359978524: ('0.031237372148557086',), 1359978496: ('0.031237372148557086',), 1359978469: ('0.031237372148557086',), 1359978416: ('0.031237372148557086',), 1359978411: ('0.031237372148557086',), 1359978407: ('0.031237372148557086',), 1359978398: ('0.031237372148557086',), 1359978379: ('0.031237372148557086',), 1359977952: ('0.031237372148557086',), 1359977937: ('0.031237372148557086',), 1359977907: ('0.031237372148557086',), 1359977758: ('0.031237372148557086',), 1359977753: ('0.031237372148557086',), 1359977749: ('0.031237372148557086',), 1359977688: ('0.031237372148557086',), 1359977673: ('0.031237372148557086',), 1359977656: ('0.031237372148557086',), 1359977648: ('0.031237372148557086',), 1359977623: ('0.031237372148557086',), 1359977421: ('0.031237372148557086',), 1359976955: ('0.031237372148557086',)} args : 1359977749 depend.output_id : 0 input_args_next_step : {1359979232: ('0.031237372148557086',), 1359979176: ('0.031237372148557086',), 1359979168: ('0.031237372148557086',), 1359979160: ('0.031237372148557086',), 1359979154: ('0.031237372148557086',), 1359979148: ('0.031237372148557086',), 1359979087: ('0.031237372148557086',), 1359979078: ('0.031237372148557086',), 1359979075: ('0.031237372148557086',), 1359979073: ('0.031237372148557086',), 1359979069: ('0.031237372148557086',), 1359978973: ('0.031237372148557086',), 1359978932: ('0.031237372148557086',), 1359978918: ('0.031237372148557086',), 1359978905: ('0.031237372148557086',), 1359978797: ('0.031237372148557086',), 1359978551: ('0.031237372148557086',), 1359978524: ('0.031237372148557086',), 1359978496: ('0.031237372148557086',), 1359978469: ('0.031237372148557086',), 1359978416: ('0.031237372148557086',), 1359978411: ('0.031237372148557086',), 1359978407: ('0.031237372148557086',), 1359978398: ('0.031237372148557086',), 1359978379: ('0.031237372148557086',), 1359977952: ('0.031237372148557086',), 1359977937: ('0.031237372148557086',), 1359977907: ('0.031237372148557086',), 1359977758: ('0.031237372148557086',), 1359977753: ('0.031237372148557086',), 1359977749: ('0.031237372148557086',), 1359977688: ()} output_args : {1359979232: ('0.031237372148557086',), 1359979176: ('0.031237372148557086',), 1359979168: ('0.031237372148557086',), 1359979160: ('0.031237372148557086',), 1359979154: ('0.031237372148557086',), 1359979148: ('0.031237372148557086',), 1359979087: ('0.031237372148557086',), 1359979078: ('0.031237372148557086',), 1359979075: ('0.031237372148557086',), 1359979073: ('0.031237372148557086',), 1359979069: ('0.031237372148557086',), 1359978973: ('0.031237372148557086',), 1359978932: ('0.031237372148557086',), 1359978918: ('0.031237372148557086',), 1359978905: ('0.031237372148557086',), 1359978797: ('0.031237372148557086',), 1359978551: ('0.031237372148557086',), 1359978524: ('0.031237372148557086',), 1359978496: ('0.031237372148557086',), 1359978469: ('0.031237372148557086',), 1359978416: ('0.031237372148557086',), 1359978411: ('0.031237372148557086',), 1359978407: ('0.031237372148557086',), 1359978398: ('0.031237372148557086',), 1359978379: ('0.031237372148557086',), 1359977952: ('0.031237372148557086',), 1359977937: ('0.031237372148557086',), 1359977907: ('0.031237372148557086',), 1359977758: ('0.031237372148557086',), 1359977753: ('0.031237372148557086',), 1359977749: ('0.031237372148557086',), 1359977688: ('0.031237372148557086',), 1359977673: ('0.031237372148557086',), 1359977656: ('0.031237372148557086',), 1359977648: ('0.031237372148557086',), 1359977623: ('0.031237372148557086',), 1359977421: ('0.031237372148557086',), 1359976955: ('0.031237372148557086',)} args : 1359977688 depend.output_id : 0 input_args_next_step : {1359979232: ('0.031237372148557086',), 1359979176: ('0.031237372148557086',), 1359979168: ('0.031237372148557086',), 1359979160: ('0.031237372148557086',), 1359979154: ('0.031237372148557086',), 1359979148: ('0.031237372148557086',), 1359979087: ('0.031237372148557086',), 1359979078: ('0.031237372148557086',), 1359979075: ('0.031237372148557086',), 1359979073: ('0.031237372148557086',), 1359979069: ('0.031237372148557086',), 1359978973: ('0.031237372148557086',), 1359978932: ('0.031237372148557086',), 1359978918: ('0.031237372148557086',), 1359978905: ('0.031237372148557086',), 1359978797: ('0.031237372148557086',), 1359978551: ('0.031237372148557086',), 1359978524: ('0.031237372148557086',), 1359978496: ('0.031237372148557086',), 1359978469: ('0.031237372148557086',), 1359978416: ('0.031237372148557086',), 1359978411: ('0.031237372148557086',), 1359978407: ('0.031237372148557086',), 1359978398: ('0.031237372148557086',), 1359978379: ('0.031237372148557086',), 1359977952: ('0.031237372148557086',), 1359977937: ('0.031237372148557086',), 1359977907: ('0.031237372148557086',), 1359977758: ('0.031237372148557086',), 1359977753: ('0.031237372148557086',), 1359977749: ('0.031237372148557086',), 1359977688: ('0.031237372148557086',), 1359977673: ()} output_args : {1359979232: ('0.031237372148557086',), 1359979176: ('0.031237372148557086',), 1359979168: ('0.031237372148557086',), 1359979160: ('0.031237372148557086',), 1359979154: ('0.031237372148557086',), 1359979148: ('0.031237372148557086',), 1359979087: ('0.031237372148557086',), 1359979078: ('0.031237372148557086',), 1359979075: ('0.031237372148557086',), 1359979073: ('0.031237372148557086',), 1359979069: ('0.031237372148557086',), 1359978973: ('0.031237372148557086',), 1359978932: ('0.031237372148557086',), 1359978918: ('0.031237372148557086',), 1359978905: ('0.031237372148557086',), 1359978797: ('0.031237372148557086',), 1359978551: ('0.031237372148557086',), 1359978524: ('0.031237372148557086',), 1359978496: ('0.031237372148557086',), 1359978469: ('0.031237372148557086',), 1359978416: ('0.031237372148557086',), 1359978411: ('0.031237372148557086',), 1359978407: ('0.031237372148557086',), 1359978398: ('0.031237372148557086',), 1359978379: ('0.031237372148557086',), 1359977952: ('0.031237372148557086',), 1359977937: ('0.031237372148557086',), 1359977907: ('0.031237372148557086',), 1359977758: ('0.031237372148557086',), 1359977753: ('0.031237372148557086',), 1359977749: ('0.031237372148557086',), 1359977688: ('0.031237372148557086',), 1359977673: ('0.031237372148557086',), 1359977656: ('0.031237372148557086',), 1359977648: ('0.031237372148557086',), 1359977623: ('0.031237372148557086',), 1359977421: ('0.031237372148557086',), 1359976955: ('0.031237372148557086',)} args : 1359977673 depend.output_id : 0 input_args_next_step : {1359979232: ('0.031237372148557086',), 1359979176: ('0.031237372148557086',), 1359979168: ('0.031237372148557086',), 1359979160: ('0.031237372148557086',), 1359979154: ('0.031237372148557086',), 1359979148: ('0.031237372148557086',), 1359979087: ('0.031237372148557086',), 1359979078: ('0.031237372148557086',), 1359979075: ('0.031237372148557086',), 1359979073: ('0.031237372148557086',), 1359979069: ('0.031237372148557086',), 1359978973: ('0.031237372148557086',), 1359978932: ('0.031237372148557086',), 1359978918: ('0.031237372148557086',), 1359978905: ('0.031237372148557086',), 1359978797: ('0.031237372148557086',), 1359978551: ('0.031237372148557086',), 1359978524: ('0.031237372148557086',), 1359978496: ('0.031237372148557086',), 1359978469: ('0.031237372148557086',), 1359978416: ('0.031237372148557086',), 1359978411: ('0.031237372148557086',), 1359978407: ('0.031237372148557086',), 1359978398: ('0.031237372148557086',), 1359978379: ('0.031237372148557086',), 1359977952: ('0.031237372148557086',), 1359977937: ('0.031237372148557086',), 1359977907: ('0.031237372148557086',), 1359977758: ('0.031237372148557086',), 1359977753: ('0.031237372148557086',), 1359977749: ('0.031237372148557086',), 1359977688: ('0.031237372148557086',), 1359977673: ('0.031237372148557086',), 1359977656: ()} output_args : {1359979232: ('0.031237372148557086',), 1359979176: ('0.031237372148557086',), 1359979168: ('0.031237372148557086',), 1359979160: ('0.031237372148557086',), 1359979154: ('0.031237372148557086',), 1359979148: ('0.031237372148557086',), 1359979087: ('0.031237372148557086',), 1359979078: ('0.031237372148557086',), 1359979075: ('0.031237372148557086',), 1359979073: ('0.031237372148557086',), 1359979069: ('0.031237372148557086',), 1359978973: ('0.031237372148557086',), 1359978932: ('0.031237372148557086',), 1359978918: ('0.031237372148557086',), 1359978905: ('0.031237372148557086',), 1359978797: ('0.031237372148557086',), 1359978551: ('0.031237372148557086',), 1359978524: ('0.031237372148557086',), 1359978496: ('0.031237372148557086',), 1359978469: ('0.031237372148557086',), 1359978416: ('0.031237372148557086',), 1359978411: ('0.031237372148557086',), 1359978407: ('0.031237372148557086',), 1359978398: ('0.031237372148557086',), 1359978379: ('0.031237372148557086',), 1359977952: ('0.031237372148557086',), 1359977937: ('0.031237372148557086',), 1359977907: ('0.031237372148557086',), 1359977758: ('0.031237372148557086',), 1359977753: ('0.031237372148557086',), 1359977749: ('0.031237372148557086',), 1359977688: ('0.031237372148557086',), 1359977673: ('0.031237372148557086',), 1359977656: ('0.031237372148557086',), 1359977648: ('0.031237372148557086',), 1359977623: ('0.031237372148557086',), 1359977421: ('0.031237372148557086',), 1359976955: ('0.031237372148557086',)} args : 1359977656 depend.output_id : 0 input_args_next_step : {1359979232: ('0.031237372148557086',), 1359979176: ('0.031237372148557086',), 1359979168: ('0.031237372148557086',), 1359979160: ('0.031237372148557086',), 1359979154: ('0.031237372148557086',), 1359979148: ('0.031237372148557086',), 1359979087: ('0.031237372148557086',), 1359979078: ('0.031237372148557086',), 1359979075: ('0.031237372148557086',), 1359979073: ('0.031237372148557086',), 1359979069: ('0.031237372148557086',), 1359978973: ('0.031237372148557086',), 1359978932: ('0.031237372148557086',), 1359978918: ('0.031237372148557086',), 1359978905: ('0.031237372148557086',), 1359978797: ('0.031237372148557086',), 1359978551: ('0.031237372148557086',), 1359978524: ('0.031237372148557086',), 1359978496: ('0.031237372148557086',), 1359978469: ('0.031237372148557086',), 1359978416: ('0.031237372148557086',), 1359978411: ('0.031237372148557086',), 1359978407: ('0.031237372148557086',), 1359978398: ('0.031237372148557086',), 1359978379: ('0.031237372148557086',), 1359977952: ('0.031237372148557086',), 1359977937: ('0.031237372148557086',), 1359977907: ('0.031237372148557086',), 1359977758: ('0.031237372148557086',), 1359977753: ('0.031237372148557086',), 1359977749: ('0.031237372148557086',), 1359977688: ('0.031237372148557086',), 1359977673: ('0.031237372148557086',), 1359977656: ('0.031237372148557086',), 1359977648: ()} output_args : {1359979232: ('0.031237372148557086',), 1359979176: ('0.031237372148557086',), 1359979168: ('0.031237372148557086',), 1359979160: ('0.031237372148557086',), 1359979154: ('0.031237372148557086',), 1359979148: ('0.031237372148557086',), 1359979087: ('0.031237372148557086',), 1359979078: ('0.031237372148557086',), 1359979075: ('0.031237372148557086',), 1359979073: ('0.031237372148557086',), 1359979069: ('0.031237372148557086',), 1359978973: ('0.031237372148557086',), 1359978932: ('0.031237372148557086',), 1359978918: ('0.031237372148557086',), 1359978905: ('0.031237372148557086',), 1359978797: ('0.031237372148557086',), 1359978551: ('0.031237372148557086',), 1359978524: ('0.031237372148557086',), 1359978496: ('0.031237372148557086',), 1359978469: ('0.031237372148557086',), 1359978416: ('0.031237372148557086',), 1359978411: ('0.031237372148557086',), 1359978407: ('0.031237372148557086',), 1359978398: ('0.031237372148557086',), 1359978379: ('0.031237372148557086',), 1359977952: ('0.031237372148557086',), 1359977937: ('0.031237372148557086',), 1359977907: ('0.031237372148557086',), 1359977758: ('0.031237372148557086',), 1359977753: ('0.031237372148557086',), 1359977749: ('0.031237372148557086',), 1359977688: ('0.031237372148557086',), 1359977673: ('0.031237372148557086',), 1359977656: ('0.031237372148557086',), 1359977648: ('0.031237372148557086',), 1359977623: ('0.031237372148557086',), 1359977421: ('0.031237372148557086',), 1359976955: ('0.031237372148557086',)} args : 1359977648 depend.output_id : 0 input_args_next_step : {1359979232: ('0.031237372148557086',), 1359979176: ('0.031237372148557086',), 1359979168: ('0.031237372148557086',), 1359979160: ('0.031237372148557086',), 1359979154: ('0.031237372148557086',), 1359979148: ('0.031237372148557086',), 1359979087: ('0.031237372148557086',), 1359979078: ('0.031237372148557086',), 1359979075: ('0.031237372148557086',), 1359979073: ('0.031237372148557086',), 1359979069: ('0.031237372148557086',), 1359978973: ('0.031237372148557086',), 1359978932: ('0.031237372148557086',), 1359978918: ('0.031237372148557086',), 1359978905: ('0.031237372148557086',), 1359978797: ('0.031237372148557086',), 1359978551: ('0.031237372148557086',), 1359978524: ('0.031237372148557086',), 1359978496: ('0.031237372148557086',), 1359978469: ('0.031237372148557086',), 1359978416: ('0.031237372148557086',), 1359978411: ('0.031237372148557086',), 1359978407: ('0.031237372148557086',), 1359978398: ('0.031237372148557086',), 1359978379: ('0.031237372148557086',), 1359977952: ('0.031237372148557086',), 1359977937: ('0.031237372148557086',), 1359977907: ('0.031237372148557086',), 1359977758: ('0.031237372148557086',), 1359977753: ('0.031237372148557086',), 1359977749: ('0.031237372148557086',), 1359977688: ('0.031237372148557086',), 1359977673: ('0.031237372148557086',), 1359977656: ('0.031237372148557086',), 1359977648: ('0.031237372148557086',), 1359977623: ()} output_args : {1359979232: ('0.031237372148557086',), 1359979176: ('0.031237372148557086',), 1359979168: ('0.031237372148557086',), 1359979160: ('0.031237372148557086',), 1359979154: ('0.031237372148557086',), 1359979148: ('0.031237372148557086',), 1359979087: ('0.031237372148557086',), 1359979078: ('0.031237372148557086',), 1359979075: ('0.031237372148557086',), 1359979073: ('0.031237372148557086',), 1359979069: ('0.031237372148557086',), 1359978973: ('0.031237372148557086',), 1359978932: ('0.031237372148557086',), 1359978918: ('0.031237372148557086',), 1359978905: ('0.031237372148557086',), 1359978797: ('0.031237372148557086',), 1359978551: ('0.031237372148557086',), 1359978524: ('0.031237372148557086',), 1359978496: ('0.031237372148557086',), 1359978469: ('0.031237372148557086',), 1359978416: ('0.031237372148557086',), 1359978411: ('0.031237372148557086',), 1359978407: ('0.031237372148557086',), 1359978398: ('0.031237372148557086',), 1359978379: ('0.031237372148557086',), 1359977952: ('0.031237372148557086',), 1359977937: ('0.031237372148557086',), 1359977907: ('0.031237372148557086',), 1359977758: ('0.031237372148557086',), 1359977753: ('0.031237372148557086',), 1359977749: ('0.031237372148557086',), 1359977688: ('0.031237372148557086',), 1359977673: ('0.031237372148557086',), 1359977656: ('0.031237372148557086',), 1359977648: ('0.031237372148557086',), 1359977623: ('0.031237372148557086',), 1359977421: ('0.031237372148557086',), 1359976955: ('0.031237372148557086',)} args : 1359977623 depend.output_id : 0 input_args_next_step : {1359979232: ('0.031237372148557086',), 1359979176: ('0.031237372148557086',), 1359979168: ('0.031237372148557086',), 1359979160: ('0.031237372148557086',), 1359979154: ('0.031237372148557086',), 1359979148: ('0.031237372148557086',), 1359979087: ('0.031237372148557086',), 1359979078: ('0.031237372148557086',), 1359979075: ('0.031237372148557086',), 1359979073: ('0.031237372148557086',), 1359979069: ('0.031237372148557086',), 1359978973: ('0.031237372148557086',), 1359978932: ('0.031237372148557086',), 1359978918: ('0.031237372148557086',), 1359978905: ('0.031237372148557086',), 1359978797: ('0.031237372148557086',), 1359978551: ('0.031237372148557086',), 1359978524: ('0.031237372148557086',), 1359978496: ('0.031237372148557086',), 1359978469: ('0.031237372148557086',), 1359978416: ('0.031237372148557086',), 1359978411: ('0.031237372148557086',), 1359978407: ('0.031237372148557086',), 1359978398: ('0.031237372148557086',), 1359978379: ('0.031237372148557086',), 1359977952: ('0.031237372148557086',), 1359977937: ('0.031237372148557086',), 1359977907: ('0.031237372148557086',), 1359977758: ('0.031237372148557086',), 1359977753: ('0.031237372148557086',), 1359977749: ('0.031237372148557086',), 1359977688: ('0.031237372148557086',), 1359977673: ('0.031237372148557086',), 1359977656: ('0.031237372148557086',), 1359977648: ('0.031237372148557086',), 1359977623: ('0.031237372148557086',), 1359977421: ()} output_args : {1359979232: ('0.031237372148557086',), 1359979176: ('0.031237372148557086',), 1359979168: ('0.031237372148557086',), 1359979160: ('0.031237372148557086',), 1359979154: ('0.031237372148557086',), 1359979148: ('0.031237372148557086',), 1359979087: ('0.031237372148557086',), 1359979078: ('0.031237372148557086',), 1359979075: ('0.031237372148557086',), 1359979073: ('0.031237372148557086',), 1359979069: ('0.031237372148557086',), 1359978973: ('0.031237372148557086',), 1359978932: ('0.031237372148557086',), 1359978918: ('0.031237372148557086',), 1359978905: ('0.031237372148557086',), 1359978797: ('0.031237372148557086',), 1359978551: ('0.031237372148557086',), 1359978524: ('0.031237372148557086',), 1359978496: ('0.031237372148557086',), 1359978469: ('0.031237372148557086',), 1359978416: ('0.031237372148557086',), 1359978411: ('0.031237372148557086',), 1359978407: ('0.031237372148557086',), 1359978398: ('0.031237372148557086',), 1359978379: ('0.031237372148557086',), 1359977952: ('0.031237372148557086',), 1359977937: ('0.031237372148557086',), 1359977907: ('0.031237372148557086',), 1359977758: ('0.031237372148557086',), 1359977753: ('0.031237372148557086',), 1359977749: ('0.031237372148557086',), 1359977688: ('0.031237372148557086',), 1359977673: ('0.031237372148557086',), 1359977656: ('0.031237372148557086',), 1359977648: ('0.031237372148557086',), 1359977623: ('0.031237372148557086',), 1359977421: ('0.031237372148557086',), 1359976955: ('0.031237372148557086',)} args : 1359977421 depend.output_id : 0 input_args_next_step : {1359979232: ('0.031237372148557086',), 1359979176: ('0.031237372148557086',), 1359979168: ('0.031237372148557086',), 1359979160: ('0.031237372148557086',), 1359979154: ('0.031237372148557086',), 1359979148: ('0.031237372148557086',), 1359979087: ('0.031237372148557086',), 1359979078: ('0.031237372148557086',), 1359979075: ('0.031237372148557086',), 1359979073: ('0.031237372148557086',), 1359979069: ('0.031237372148557086',), 1359978973: ('0.031237372148557086',), 1359978932: ('0.031237372148557086',), 1359978918: ('0.031237372148557086',), 1359978905: ('0.031237372148557086',), 1359978797: ('0.031237372148557086',), 1359978551: ('0.031237372148557086',), 1359978524: ('0.031237372148557086',), 1359978496: ('0.031237372148557086',), 1359978469: ('0.031237372148557086',), 1359978416: ('0.031237372148557086',), 1359978411: ('0.031237372148557086',), 1359978407: ('0.031237372148557086',), 1359978398: ('0.031237372148557086',), 1359978379: ('0.031237372148557086',), 1359977952: ('0.031237372148557086',), 1359977937: ('0.031237372148557086',), 1359977907: ('0.031237372148557086',), 1359977758: ('0.031237372148557086',), 1359977753: ('0.031237372148557086',), 1359977749: ('0.031237372148557086',), 1359977688: ('0.031237372148557086',), 1359977673: ('0.031237372148557086',), 1359977656: ('0.031237372148557086',), 1359977648: ('0.031237372148557086',), 1359977623: ('0.031237372148557086',), 1359977421: ('0.031237372148557086',), 1359976955: ()} output_args : {1359979232: ('0.031237372148557086',), 1359979176: ('0.031237372148557086',), 1359979168: ('0.031237372148557086',), 1359979160: ('0.031237372148557086',), 1359979154: ('0.031237372148557086',), 1359979148: ('0.031237372148557086',), 1359979087: ('0.031237372148557086',), 1359979078: ('0.031237372148557086',), 1359979075: ('0.031237372148557086',), 1359979073: ('0.031237372148557086',), 1359979069: ('0.031237372148557086',), 1359978973: ('0.031237372148557086',), 1359978932: ('0.031237372148557086',), 1359978918: ('0.031237372148557086',), 1359978905: ('0.031237372148557086',), 1359978797: ('0.031237372148557086',), 1359978551: ('0.031237372148557086',), 1359978524: ('0.031237372148557086',), 1359978496: ('0.031237372148557086',), 1359978469: ('0.031237372148557086',), 1359978416: ('0.031237372148557086',), 1359978411: ('0.031237372148557086',), 1359978407: ('0.031237372148557086',), 1359978398: ('0.031237372148557086',), 1359978379: ('0.031237372148557086',), 1359977952: ('0.031237372148557086',), 1359977937: ('0.031237372148557086',), 1359977907: ('0.031237372148557086',), 1359977758: ('0.031237372148557086',), 1359977753: ('0.031237372148557086',), 1359977749: ('0.031237372148557086',), 1359977688: ('0.031237372148557086',), 1359977673: ('0.031237372148557086',), 1359977656: ('0.031237372148557086',), 1359977648: ('0.031237372148557086',), 1359977623: ('0.031237372148557086',), 1359977421: ('0.031237372148557086',), 1359976955: ('0.031237372148557086',)} args : 1359976955 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 : {23197882: [{'metal': 23197961, 'papier': 23197962, 'kraft': 23197964, 'flou': 23197965, 'environnement': 23197966, 'Carton_gris': 23197968, 'plastique': 23197969, 'cartonnette': 23197970, 'Teint_Dans_La_Masse': 23197972, 'autre_refus': 23197973, 'Carton_brun': 23197974, 'mal_croppe': 23197976}]} input_args_next_step : {1359979232: ('0.031237372148557086',), 1359979176: ('0.031237372148557086',), 1359979168: ('0.031237372148557086',), 1359979160: ('0.031237372148557086',), 1359979154: ('0.031237372148557086',), 1359979148: ('0.031237372148557086',), 1359979087: ('0.031237372148557086',), 1359979078: ('0.031237372148557086',), 1359979075: ('0.031237372148557086',), 1359979073: ('0.031237372148557086',), 1359979069: ('0.031237372148557086',), 1359978973: ('0.031237372148557086',), 1359978932: ('0.031237372148557086',), 1359978918: ('0.031237372148557086',), 1359978905: ('0.031237372148557086',), 1359978797: ('0.031237372148557086',), 1359978551: ('0.031237372148557086',), 1359978524: ('0.031237372148557086',), 1359978496: ('0.031237372148557086',), 1359978469: ('0.031237372148557086',), 1359978416: ('0.031237372148557086',), 1359978411: ('0.031237372148557086',), 1359978407: ('0.031237372148557086',), 1359978398: ('0.031237372148557086',), 1359978379: ('0.031237372148557086',), 1359977952: ('0.031237372148557086',), 1359977937: ('0.031237372148557086',), 1359977907: ('0.031237372148557086',), 1359977758: ('0.031237372148557086',), 1359977753: ('0.031237372148557086',), 1359977749: ('0.031237372148557086',), 1359977688: ('0.031237372148557086',), 1359977673: ('0.031237372148557086',), 1359977656: ('0.031237372148557086',), 1359977648: ('0.031237372148557086',), 1359977623: ('0.031237372148557086',), 1359977421: ('0.031237372148557086',), 1359976955: ('0.031237372148557086',), 23197882: ()} output_args : {23197882: [{'metal': 23197961, 'papier': 23197962, 'kraft': 23197964, 'flou': 23197965, 'environnement': 23197966, 'Carton_gris': 23197968, 'plastique': 23197969, 'cartonnette': 23197970, 'Teint_Dans_La_Masse': 23197972, 'autre_refus': 23197973, 'Carton_brun': 23197974, 'mal_croppe': 23197976}]} args : 23197882 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 :39, first value : ('0.031237372148557086',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (23197882) 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 (1359979232,1359979176,1359979168,1359979160,1359979154,1359979148,1359979087,1359979078,1359979075,1359979073,1359979069,1359978973,1359978932,1359978918,1359978905,1359978797,1359978551,1359978524,1359978496,1359978469,1359978416,1359978411,1359978407,1359978398,1359978379,1359977952,1359977937,1359977907,1359977758,1359977753,1359977749,1359977688,1359977673,1359977656,1359977648,1359977623,1359977421,1359976955) Found this number of photos: 38 ##### Call download_photos : nb_thread : 5 begin to download photo : 1359976955 begin to download photo : 1359977753 begin to download photo : 1359978411 begin to download photo : 1359978918 begin to download photo : 1359979148 download finish for photo 1359979148 begin to download photo : 1359979154 download finish for photo 1359978918 begin to download photo : 1359978932 download finish for photo 1359976955 begin to download photo : 1359977421 download finish for photo 1359977753 begin to download photo : 1359977758 download finish for photo 1359978411 begin to download photo : 1359978416 download finish for photo 1359979154 begin to download photo : 1359979160 download finish for photo 1359977421 begin to download photo : 1359977623 download finish for photo 1359978932 begin to download photo : 1359978973 download finish for photo 1359978416 begin to download photo : 1359978469 download finish for photo 1359977758 begin to download photo : 1359977907 download finish for photo 1359979160 begin to download photo : 1359979168 download finish for photo 1359978973 begin to download photo : 1359979069 download finish for photo 1359977623 begin to download photo : 1359977648 download finish for photo 1359978469 begin to download photo : 1359978496 download finish for photo 1359977907 begin to download photo : 1359977937 download finish for photo 1359979168 begin to download photo : 1359979176 download finish for photo 1359978496 begin to download photo : 1359978524 download finish for photo 1359977648 begin to download photo : 1359977656 download finish for photo 1359979069 begin to download photo : 1359979073 download finish for photo 1359977937 begin to download photo : 1359977952 download finish for photo 1359978524 begin to download photo : 1359978551 download finish for photo 1359979176 begin to download photo : 1359979232 download finish for photo 1359977656 begin to download photo : 1359977673 download finish for photo 1359979073 begin to download photo : 1359979075 download finish for photo 1359977952 begin to download photo : 1359978379 download finish for photo 1359979232 download finish for photo 1359977673 begin to download photo : 1359977688 download finish for photo 1359978551 begin to download photo : 1359978797 download finish for photo 1359978379 begin to download photo : 1359978398 download finish for photo 1359979075 begin to download photo : 1359979078 download finish for photo 1359977688 begin to download photo : 1359977749 download finish for photo 1359978797 begin to download photo : 1359978905 download finish for photo 1359979078 begin to download photo : 1359979087 download finish for photo 1359978398 begin to download photo : 1359978407 download finish for photo 1359978905 download finish for photo 1359977749 download finish for photo 1359978407 download finish for photo 1359979087 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette231979611747885500/ imagette231979641747885500/ imagette231979651747885500/ length of list_filenames : 38 ; length of list_pids : 38 ; length of list_args : 38 results_Auto_P23197882_22-05-2025_05_45_00.pdf 23197961 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=23197961 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette231979611747885500 23197964 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=23197964 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette231979641747885500 23197965 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=23197965 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette231979651747885500 23197969 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=23197969 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1359979870: '1747811087_3939362_1359979232_6c10262f811ce3d125e5f2ef43a30621_rle_crop_3807369933_0.png', 1359981585: '1747811742_3949481_1359978398_bb6b0f1e8d48e81762976a87c08746c1_rle_crop_3807376566_0.png', 1359982481: '1747811987_3954102_1359977656_096f251e9ea225181153cb019fc451af_rle_crop_3807377663_0.png', 1359982482: '1747811987_3954102_1359977648_1523fbda6739b88c384739e83c79d448_rle_crop_3807377681_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/21/bfcfeda96b2b5e7f6be35744f83ac0c2_66663375.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/21/6a83adf5bea25104fa78242345ff0816_79787553.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/21/6cef599fa045d791c58dcf2b52b0905e_62304092.png change filename to text .imagette231979691747885500/ imagette231979691747885500/1747811087_3939362_1359979232_6c10262f811ce3d125e5f2ef43a30621_rle_crop_3807369933_0.png.png imagette231979691747885500/1747811987_3954102_1359977656_096f251e9ea225181153cb019fc451af_rle_crop_3807377663_0.png.png imagette231979691747885500/1747811742_3949481_1359978398_bb6b0f1e8d48e81762976a87c08746c1_rle_crop_3807376566_0.png.png imagette231979691747885500/1747811987_3954102_1359977648_1523fbda6739b88c384739e83c79d448_rle_crop_3807377681_0.png.png wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/21/bbfe50c0b8a09b088e05cce988c4a011_11990918.png imagette231979691747885500 23197970 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=23197970 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1359979862: '1747811087_3939362_1359979232_6c10262f811ce3d125e5f2ef43a30621_rle_crop_3807369929_0.png', 1359979864: '1747811087_3939362_1359979154_405a9a6dcf2cc879258ea6049425c538_rle_crop_3807369289_0.png', 1359979865: '1747811087_3939362_1359979154_405a9a6dcf2cc879258ea6049425c538_rle_crop_3807369291_0.png', 1359979866: '1747811087_3939362_1359979154_405a9a6dcf2cc879258ea6049425c538_rle_crop_3807369293_0.png', 1359980729: '1747811383_3944929_1359978469_18c22d91c56df6403911da663052fb68_rle_crop_3807371882_0.png', 1359980733: '1747811383_3944929_1359978469_18c22d91c56df6403911da663052fb68_rle_crop_3807371881_0.png', 1359981583: '1747811742_3949481_1359978551_29b8010b39c26dff3f5a0d1c0c03f937_rle_crop_3807376290_0.png', 1359982364: '1747811964_81883_1359977753_731913fa5e0a24c736d7569d499041a4_rle_crop_3807377236_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/21/a724313155a95d676b830b2226a84259_7209440.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/21/5d9c5713d148be859b9e150b7dae0699_34364983.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/21/f31ab6bc17e80495661d2ccb77c1eb11_59545291.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/21/0e0a516dc5439607488d067806c884f1_91944562.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/21/f9f5c05e07be42a71e5a5465ef21dfc9_13447709.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/21/79bb9965e7c7b0b391a3db59fff96002_18738152.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/21/03ccc14f4afb7e30ccc710c3a5023cfa_51522978.png change filename to text .imagette231979701747885501/ imagette231979701747885501/1747811383_3944929_1359978469_18c22d91c56df6403911da663052fb68_rle_crop_3807371882_0.png.png imagette231979701747885501/1747811742_3949481_1359978551_29b8010b39c26dff3f5a0d1c0c03f937_rle_crop_3807376290_0.png.png imagette231979701747885501/1747811964_81883_1359977753_731913fa5e0a24c736d7569d499041a4_rle_crop_3807377236_0.png.png imagette231979701747885501/1747811087_3939362_1359979154_405a9a6dcf2cc879258ea6049425c538_rle_crop_3807369291_0.png.png imagette231979701747885501/1747811383_3944929_1359978469_18c22d91c56df6403911da663052fb68_rle_crop_3807371881_0.png.png imagette231979701747885501/1747811087_3939362_1359979154_405a9a6dcf2cc879258ea6049425c538_rle_crop_3807369289_0.png.png imagette231979701747885501/1747811087_3939362_1359979154_405a9a6dcf2cc879258ea6049425c538_rle_crop_3807369293_0.png.png imagette231979701747885501/1747811087_3939362_1359979232_6c10262f811ce3d125e5f2ef43a30621_rle_crop_3807369929_0.png.png wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/21/95a125ce59934ba4029207c010ce8c02_6079562.png imagette231979701747885501 23197973 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=23197973 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1359982361: '1747811964_81883_1359977952_3e7c91a04ee2d3c5cf7cb672345792b2_rle_crop_3807377227_0.png', 1359982362: '1747811964_81883_1359977749_2c0bb1dd32cdbb487513d2b60bd164a7_rle_crop_3807377247_0.png', 1359983565: '1747812583_3963685_1359977421_b82bcae63d134deca570e706deb9f10c_rle_crop_3807381328_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/21/1f716dec7bc3063eb8d953eab86e81e6_22016624.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/21/d40fe82b3a7c3f7e7f5329a9c072d954_13040159.png change filename to text .imagette231979731747885502/ imagette231979731747885502/1747811964_81883_1359977749_2c0bb1dd32cdbb487513d2b60bd164a7_rle_crop_3807377247_0.png.png imagette231979731747885502/1747811964_81883_1359977952_3e7c91a04ee2d3c5cf7cb672345792b2_rle_crop_3807377227_0.png.png imagette231979731747885502/1747812583_3963685_1359977421_b82bcae63d134deca570e706deb9f10c_rle_crop_3807381328_0.png.png imagette231979761747885502/ wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/21/515c2311b003ed11fd51bb7821eedf70_54669496.png imagette231979731747885502 23197976 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=23197976 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette231979761747885502 23197968 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=23197968 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1359979860: '1747811087_3939362_1359979168_306986f64d0b649e1d696c7060187775_rle_crop_3807369225_0.png', 1359980376: '1747811322_3944309_1359979087_02bc42977b78b8aaa5d8a0211ea5c876_rle_crop_3807371782_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/21/462b833c9afada3a8a82c6173aa750a4_40724836.png change filename to text .imagette231979681747885502/ imagette231979681747885502/1747811087_3939362_1359979168_306986f64d0b649e1d696c7060187775_rle_crop_3807369225_0.png.png imagette231979681747885502/1747811322_3944309_1359979087_02bc42977b78b8aaa5d8a0211ea5c876_rle_crop_3807371782_0.png.png wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/21/35cf31781ad4b15dafa144d73305354d_43348054.png imagette231979681747885502 23197972 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=23197972 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1359979855: '1747811087_3939362_1359979148_a48a79153337b300e80ecdca6013c869_rle_crop_3807369799_0.png', 1359980373: '1747811322_3944309_1359979087_02bc42977b78b8aaa5d8a0211ea5c876_rle_crop_3807371785_0.png', 1359980374: '1747811322_3944309_1359979087_02bc42977b78b8aaa5d8a0211ea5c876_rle_crop_3807371779_0.png', 1359980375: '1747811322_3944309_1359978905_43fd9b018e14363e063bac1f0813f23a_rle_crop_3807371812_0.png', 1359980697: '1747811383_3944929_1359978469_18c22d91c56df6403911da663052fb68_rle_crop_3807371889_0.png', 1359981579: '1747811742_3949481_1359978551_29b8010b39c26dff3f5a0d1c0c03f937_rle_crop_3807376291_0.png', 1359981581: '1747811742_3949481_1359978407_b0c4a12ab3cceeefd2077859ee4c085a_rle_crop_3807376435_0.png', 1359981582: '1747811742_3949481_1359978379_11e980be93fdbc9695993e59770efa48_rle_crop_3807376779_0.png', 1359982358: '1747811964_81883_1359977952_3e7c91a04ee2d3c5cf7cb672345792b2_rle_crop_3807377229_0.png', 1359982360: '1747811964_81883_1359977749_2c0bb1dd32cdbb487513d2b60bd164a7_rle_crop_3807377253_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/21/98ecda23f49f7b307cf93119d01a69bb_34828760.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/21/0bd782d1673c4b5155478bb191ad2f67_3646826.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/21/71fe61f4e400ce220db8638517d15473_26913381.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/21/26130185f5f8cc2d9e6bedc68b284098_23372627.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/21/0947da78bc0227429a3504dbe7b257a2_7995389.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/21/156c567a7282b31e3b2303981a91b5c1_26358975.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/21/e8d294d2052565aa620eea16b349c88c_72196414.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/21/3921a495abf7de6f4ada30e4e89fd037_61539415.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/21/f2ac958a2708e535ec80b9bdc8db153e_97565335.png change filename to text .imagette231979721747885502/ imagette231979721747885502/1747811322_3944309_1359979087_02bc42977b78b8aaa5d8a0211ea5c876_rle_crop_3807371779_0.png.png imagette231979721747885502/1747811383_3944929_1359978469_18c22d91c56df6403911da663052fb68_rle_crop_3807371889_0.png.png imagette231979721747885502/1747811742_3949481_1359978551_29b8010b39c26dff3f5a0d1c0c03f937_rle_crop_3807376291_0.png.png imagette231979721747885502/1747811964_81883_1359977952_3e7c91a04ee2d3c5cf7cb672345792b2_rle_crop_3807377229_0.png.png imagette231979721747885502/1747811322_3944309_1359978905_43fd9b018e14363e063bac1f0813f23a_rle_crop_3807371812_0.png.png imagette231979721747885502/1747811742_3949481_1359978379_11e980be93fdbc9695993e59770efa48_rle_crop_3807376779_0.png.png imagette231979721747885502/1747811964_81883_1359977749_2c0bb1dd32cdbb487513d2b60bd164a7_rle_crop_3807377253_0.png.png imagette231979721747885502/1747811742_3949481_1359978407_b0c4a12ab3cceeefd2077859ee4c085a_rle_crop_3807376435_0.png.png imagette231979721747885502/1747811322_3944309_1359979087_02bc42977b78b8aaa5d8a0211ea5c876_rle_crop_3807371785_0.png.png imagette231979721747885502/1747811087_3939362_1359979148_a48a79153337b300e80ecdca6013c869_rle_crop_3807369799_0.png.png wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/21/dfc0f0fb23ef3fdd0d1796df58ba2f9a_70949193.png imagette231979721747885502 23197974 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=23197974 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1359979867: '1747811087_3939362_1359979168_306986f64d0b649e1d696c7060187775_rle_crop_3807369226_0.png', 1359982171: '1747811860_3951359_1359978416_2b1b8b58f143bfcd320d605fa9e9673e_rle_crop_3807377076_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/21/1e10f6efd459eb1dd0e48f6565b6c05d_49260067.png change filename to text .imagette231979741747885503/ imagette231979741747885503/1747811860_3951359_1359978416_2b1b8b58f143bfcd320d605fa9e9673e_rle_crop_3807377076_0.png.png imagette231979741747885503/1747811087_3939362_1359979168_306986f64d0b649e1d696c7060187775_rle_crop_3807369226_0.png.png wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/21/8e240a1338c0d214ec435107090a8a12_84646247.png imagette231979741747885503 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=23197882 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/23197977,23197978,23197979,23197980,23197981,23197982,23197983,23197984,23197985,23197986,23197987,23197988?tags=metal,papier,kraft,flou,environnement,Carton_gris,plastique,cartonnette,Teint_Dans_La_Masse,autre_refus,Carton_brun,mal_croppe your option no_mail is active, we will not send the real mail to your client args[1359979232] : ('0.031237372148557086',) no score found for photo 1359979232 We are sending mail with results at report@fotonower.com args[1359979176] : ('0.031237372148557086',) no score found for photo 1359979176 We are sending mail with results at report@fotonower.com args[1359979168] : ('0.031237372148557086',) no score found for photo 1359979168 We are sending mail with results at report@fotonower.com args[1359979160] : ('0.031237372148557086',) no score found for photo 1359979160 We are sending mail with results at report@fotonower.com args[1359979154] : ('0.031237372148557086',) no score found for photo 1359979154 We are sending mail with results at report@fotonower.com args[1359979148] : ('0.031237372148557086',) no score found for photo 1359979148 We are sending mail with results at report@fotonower.com args[1359979087] : ('0.031237372148557086',) no score found for photo 1359979087 We are sending mail with results at report@fotonower.com args[1359979078] : ('0.031237372148557086',) no score found for photo 1359979078 We are sending mail with results at report@fotonower.com args[1359979075] : ('0.031237372148557086',) no score found for photo 1359979075 We are sending mail with results at report@fotonower.com args[1359979073] : ('0.031237372148557086',) no score found for photo 1359979073 We are sending mail with results at report@fotonower.com args[1359979069] : ('0.031237372148557086',) no score found for photo 1359979069 We are sending mail with results at report@fotonower.com args[1359978973] : ('0.031237372148557086',) no score found for photo 1359978973 We are sending mail with results at report@fotonower.com args[1359978932] : ('0.031237372148557086',) no score found for photo 1359978932 We are sending mail with results at report@fotonower.com args[1359978918] : ('0.031237372148557086',) no score found for photo 1359978918 We are sending mail with results at report@fotonower.com args[1359978905] : ('0.031237372148557086',) no score found for photo 1359978905 We are sending mail with results at report@fotonower.com args[1359978797] : ('0.031237372148557086',) no score found for photo 1359978797 We are sending mail with results at report@fotonower.com args[1359978551] : ('0.031237372148557086',) no score found for photo 1359978551 We are sending mail with results at report@fotonower.com args[1359978524] : ('0.031237372148557086',) no score found for photo 1359978524 We are sending mail with results at report@fotonower.com args[1359978496] : ('0.031237372148557086',) no score found for photo 1359978496 We are sending mail with results at report@fotonower.com args[1359978469] : ('0.031237372148557086',) no score found for photo 1359978469 We are sending mail with results at report@fotonower.com args[1359978416] : ('0.031237372148557086',) no score found for photo 1359978416 We are sending mail with results at report@fotonower.com args[1359978411] : ('0.031237372148557086',) no score found for photo 1359978411 We are sending mail with results at report@fotonower.com args[1359978407] : ('0.031237372148557086',) no score found for photo 1359978407 We are sending mail with results at report@fotonower.com args[1359978398] : ('0.031237372148557086',) no score found for photo 1359978398 We are sending mail with results at report@fotonower.com args[1359978379] : ('0.031237372148557086',) no score found for photo 1359978379 We are sending mail with results at report@fotonower.com args[1359977952] : ('0.031237372148557086',) no score found for photo 1359977952 We are sending mail with results at report@fotonower.com args[1359977937] : ('0.031237372148557086',) no score found for photo 1359977937 We are sending mail with results at report@fotonower.com args[1359977907] : ('0.031237372148557086',) no score found for photo 1359977907 We are sending mail with results at report@fotonower.com args[1359977758] : ('0.031237372148557086',) no score found for photo 1359977758 We are sending mail with results at report@fotonower.com args[1359977753] : ('0.031237372148557086',) no score found for photo 1359977753 We are sending mail with results at report@fotonower.com args[1359977749] : ('0.031237372148557086',) no score found for photo 1359977749 We are sending mail with results at report@fotonower.com args[1359977688] : ('0.031237372148557086',) no score found for photo 1359977688 We are sending mail with results at report@fotonower.com args[1359977673] : ('0.031237372148557086',) no score found for photo 1359977673 We are sending mail with results at report@fotonower.com args[1359977656] : ('0.031237372148557086',) no score found for photo 1359977656 We are sending mail with results at report@fotonower.com args[1359977648] : ('0.031237372148557086',) no score found for photo 1359977648 We are sending mail with results at report@fotonower.com args[1359977623] : ('0.031237372148557086',) no score found for photo 1359977623 We are sending mail with results at report@fotonower.com args[1359977421] : ('0.031237372148557086',) no score found for photo 1359977421 We are sending mail with results at report@fotonower.com args[1359976955] : ('0.031237372148557086',) no score found for photo 1359976955 We are sending mail with results at report@fotonower.com refus_total : 0.031237372148557086 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=23197882 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_P23197882_22-05-2025_05_45_00.pdf results_Auto_P23197882_22-05-2025_05_45_00.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23197882_22-05-2025_05_45_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','23197882','results_Auto_P23197882_22-05-2025_05_45_00.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23197882_22-05-2025_05_45_00.pdf','pdf','','0.36','0.031237372148557086') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([23197882]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1359979232, 1359979176, 1359979168, 1359979160, 1359979154, 1359979148, 1359979087, 1359979078, 1359979075, 1359979073, 1359979069, 1359978973, 1359978932, 1359978918, 1359978905, 1359978797, 1359978551, 1359978524, 1359978496, 1359978469, 1359978416, 1359978411, 1359978407, 1359978398, 1359978379, 1359977952, 1359977937, 1359977907, 1359977758, 1359977753, 1359977749, 1359977688, 1359977673, 1359977656, 1359977648, 1359977623, 1359977421, 1359976955] map_info['map_portfolio_photo'] : {23197882: [1359979232, 1359979176, 1359979168, 1359979160, 1359979154, 1359979148, 1359979087, 1359979078, 1359979075, 1359979073, 1359979069, 1359978973, 1359978932, 1359978918, 1359978905, 1359978797, 1359978551, 1359978524, 1359978496, 1359978469, 1359978416, 1359978411, 1359978407, 1359978398, 1359978379, 1359977952, 1359977937, 1359977907, 1359977758, 1359977753, 1359977749, 1359977688, 1359977673, 1359977656, 1359977648, 1359977623, 1359977421, 1359976955]} final : False mtd_id 4302 list_pids : [1359979232, 1359979176, 1359979168, 1359979160, 1359979154, 1359979148, 1359979087, 1359979078, 1359979075, 1359979073, 1359979069, 1359978973, 1359978932, 1359978918, 1359978905, 1359978797, 1359978551, 1359978524, 1359978496, 1359978469, 1359978416, 1359978411, 1359978407, 1359978398, 1359978379, 1359977952, 1359977937, 1359977907, 1359977758, 1359977753, 1359977749, 1359977688, 1359977673, 1359977656, 1359977648, 1359977623, 1359977421, 1359976955] 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, '2931080') ('4302', '23197882', '1359979232', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359979176', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359979168', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359979160', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359979154', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359979148', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359979087', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359979078', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359979075', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359979073', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359979069', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359978973', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359978932', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359978918', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359978905', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359978797', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359978551', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359978524', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359978496', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359978469', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359978416', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359978411', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359978407', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359978398', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359978379', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359977952', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359977937', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359977907', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359977758', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359977753', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359977749', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359977688', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359977673', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359977656', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359977648', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359977623', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359977421', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359976955', None, None, None, None, None, '2931080') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 38 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '23197882', '1359979232', None, None, None, None, None, '2931080'), ('4302', '23197882', '1359979176', None, None, None, None, None, '2931080'), ('4302', '23197882', '1359979168', None, None, None, None, None, '2931080'), ('4302', '23197882', '1359979160', None, None, None, None, None, '2931080'), ('4302', '23197882', '1359979154', None, None, None, None, None, '2931080'), ('4302', '23197882', '1359979148', None, None, None, None, None, '2931080'), ('4302', '23197882', '1359979087', None, None, None, None, None, '2931080'), ('4302', '23197882', '1359979078', None, None, None, None, None, '2931080'), ('4302', '23197882', '1359979075', None, None, None, None, None, '2931080'), ('4302', '23197882', '1359979073', None, None, None, None, None, '2931080'), ('4302', '23197882', '1359979069', None, None, None, None, None, '2931080'), ('4302', '23197882', '1359978973', None, None, None, None, None, '2931080'), ('4302', '23197882', '1359978932', None, None, None, None, None, '2931080'), ('4302', '23197882', '1359978918', None, None, None, None, None, '2931080'), ('4302', '23197882', '1359978905', None, None, None, None, None, '2931080'), ('4302', '23197882', '1359978797', None, None, None, None, None, '2931080'), ('4302', '23197882', '1359978551', None, None, None, None, None, '2931080'), ('4302', '23197882', '1359978524', None, None, None, None, None, '2931080'), ('4302', '23197882', '1359978496', None, None, None, None, None, '2931080'), ('4302', '23197882', '1359978469', None, None, None, None, None, '2931080'), ('4302', '23197882', '1359978416', None, None, None, None, None, '2931080'), ('4302', '23197882', '1359978411', None, None, None, None, None, '2931080'), ('4302', '23197882', '1359978407', None, None, None, None, None, '2931080'), ('4302', '23197882', '1359978398', None, None, None, None, None, '2931080'), ('4302', '23197882', '1359978379', None, None, None, None, None, '2931080'), ('4302', '23197882', '1359977952', None, None, None, None, None, '2931080'), ('4302', '23197882', '1359977937', None, None, None, None, None, '2931080'), ('4302', '23197882', '1359977907', None, None, None, None, None, '2931080'), ('4302', '23197882', '1359977758', None, None, None, None, None, '2931080'), ('4302', '23197882', '1359977753', None, None, None, None, None, '2931080'), ('4302', '23197882', '1359977749', None, None, None, None, None, '2931080'), ('4302', '23197882', '1359977688', None, None, None, None, None, '2931080'), ('4302', '23197882', '1359977673', None, None, None, None, None, '2931080'), ('4302', '23197882', '1359977656', None, None, None, None, None, '2931080'), ('4302', '23197882', '1359977648', None, None, None, None, None, '2931080'), ('4302', '23197882', '1359977623', None, None, None, None, None, '2931080'), ('4302', '23197882', '1359977421', None, None, None, None, None, '2931080'), ('4302', '23197882', '1359976955', None, None, None, None, None, '2931080')] time used for this insertion : 0.019314050674438477 save_final save missing photos in datou_result : time spend for datou_step_exec : 6.86216926574707 time spend to save output : 0.01978611946105957 total time spend for step 4 : 6.88195538520813 step5:split_time_score Thu May 22 05:45:06 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 : ['23197882'] 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 : [('23197882',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (23197882) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1359979148: {'path': 'temp/1747885499_1362567_1359979148_a48a79153337b300e80ecdca6013c869.jpg', 'extension': 'jpg'}, 1359979154: {'path': 'temp/1747885499_1362567_1359979154_405a9a6dcf2cc879258ea6049425c538.jpg', 'extension': 'jpg'}, 1359979160: {'path': 'temp/1747885499_1362567_1359979160_3d17169a013e1711b161838bbf7aaa8f.jpg', 'extension': 'jpg'}, 1359979168: {'path': 'temp/1747885499_1362567_1359979168_306986f64d0b649e1d696c7060187775.jpg', 'extension': 'jpg'}, 1359979176: {'path': 'temp/1747885499_1362567_1359979176_ef05e2700e731181ee9ccd1ed9810233.jpg', 'extension': 'jpg'}, 1359979232: {'path': 'temp/1747885499_1362567_1359979232_6c10262f811ce3d125e5f2ef43a30621.jpg', 'extension': 'jpg'}, 1359978411: {'path': 'temp/1747885499_1362567_1359978411_09ab6f44de38bdaa3d96e74db29c2907.jpg', 'extension': 'jpg'}, 1359978416: {'path': 'temp/1747885499_1362567_1359978416_2b1b8b58f143bfcd320d605fa9e9673e.jpg', 'extension': 'jpg'}, 1359978469: {'path': 'temp/1747885499_1362567_1359978469_18c22d91c56df6403911da663052fb68.jpg', 'extension': 'jpg'}, 1359978496: {'path': 'temp/1747885499_1362567_1359978496_51ea92a67fe16f23efaf86d6c60a279f.jpg', 'extension': 'jpg'}, 1359978524: {'path': 'temp/1747885499_1362567_1359978524_a2f428e279052c159976090375d2e302.jpg', 'extension': 'jpg'}, 1359978551: {'path': 'temp/1747885499_1362567_1359978551_29b8010b39c26dff3f5a0d1c0c03f937.jpg', 'extension': 'jpg'}, 1359978797: {'path': 'temp/1747885499_1362567_1359978797_7966c35fa31d2467eec8b20eee193456.jpg', 'extension': 'jpg'}, 1359978905: {'path': 'temp/1747885499_1362567_1359978905_43fd9b018e14363e063bac1f0813f23a.jpg', 'extension': 'jpg'}, 1359976955: {'path': 'temp/1747885499_1362567_1359976955_60f3ab29599bbb825308e2b42819ba3a.jpg', 'extension': 'jpg'}, 1359977421: {'path': 'temp/1747885499_1362567_1359977421_b82bcae63d134deca570e706deb9f10c.jpg', 'extension': 'jpg'}, 1359977623: {'path': 'temp/1747885499_1362567_1359977623_704d60d331aac1efa8e5500f9f409b6e.jpg', 'extension': 'jpg'}, 1359977648: {'path': 'temp/1747885499_1362567_1359977648_1523fbda6739b88c384739e83c79d448.jpg', 'extension': 'jpg'}, 1359977656: {'path': 'temp/1747885499_1362567_1359977656_096f251e9ea225181153cb019fc451af.jpg', 'extension': 'jpg'}, 1359977673: {'path': 'temp/1747885499_1362567_1359977673_3e208b9e6e01f4cb697163b1ee7204f4.jpg', 'extension': 'jpg'}, 1359977688: {'path': 'temp/1747885499_1362567_1359977688_ec4a88d2cebf23a214b69adb2260cb37.jpg', 'extension': 'jpg'}, 1359977749: {'path': 'temp/1747885499_1362567_1359977749_2c0bb1dd32cdbb487513d2b60bd164a7.jpg', 'extension': 'jpg'}, 1359977753: {'path': 'temp/1747885499_1362567_1359977753_731913fa5e0a24c736d7569d499041a4.jpg', 'extension': 'jpg'}, 1359977758: {'path': 'temp/1747885499_1362567_1359977758_ce25418fff2fed3b5f99eff5375c6f19.jpg', 'extension': 'jpg'}, 1359977907: {'path': 'temp/1747885499_1362567_1359977907_93a0949557d827fd25d58ce95bd4c227.jpg', 'extension': 'jpg'}, 1359977937: {'path': 'temp/1747885499_1362567_1359977937_cd747a1f4145725aa7525e0b6e08775e.jpg', 'extension': 'jpg'}, 1359977952: {'path': 'temp/1747885499_1362567_1359977952_3e7c91a04ee2d3c5cf7cb672345792b2.jpg', 'extension': 'jpg'}, 1359978379: {'path': 'temp/1747885499_1362567_1359978379_11e980be93fdbc9695993e59770efa48.jpg', 'extension': 'jpg'}, 1359978398: {'path': 'temp/1747885499_1362567_1359978398_bb6b0f1e8d48e81762976a87c08746c1.jpg', 'extension': 'jpg'}, 1359978407: {'path': 'temp/1747885499_1362567_1359978407_b0c4a12ab3cceeefd2077859ee4c085a.jpg', 'extension': 'jpg'}, 1359978918: {'path': 'temp/1747885499_1362567_1359978918_d42014fde45e84d6ffed9247e1833063.jpg', 'extension': 'jpg'}, 1359978932: {'path': 'temp/1747885499_1362567_1359978932_825986dc502232b961bfa9b8ca0f9b28.jpg', 'extension': 'jpg'}, 1359978973: {'path': 'temp/1747885499_1362567_1359978973_bde98603e659b92b175a4c0f177522b2.jpg', 'extension': 'jpg'}, 1359979069: {'path': 'temp/1747885499_1362567_1359979069_4fe63812f32d8bdb3ecae4e45fd4204e.jpg', 'extension': 'jpg'}, 1359979073: {'path': 'temp/1747885499_1362567_1359979073_9cef3292e1d4a485f5c3e4010e4bbee9.jpg', 'extension': 'jpg'}, 1359979075: {'path': 'temp/1747885499_1362567_1359979075_dc4f86998f8509b13768cacf50037e77.jpg', 'extension': 'jpg'}, 1359979078: {'path': 'temp/1747885499_1362567_1359979078_a4ba7ca3c8983cbecd04fbcf8185fb05.jpg', 'extension': 'jpg'}, 1359979087: {'path': 'temp/1747885499_1362567_1359979087_02bc42977b78b8aaa5d8a0211ea5c876.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 = 23197882; (('arc_en_ciel_jrm',), ('arc_en_ciel_jrm_bis',)) 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 = 23197882 group by h (('08', 38),) 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=23197882 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 (23197882) 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 (23197882) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 21052025 23197882 Nombre de photos uploadées : 38 / 23040 (0%) 21052025 23197882 Nombre de photos taguées (types de déchets): 0 / 38 (0%) 21052025 23197882 Nombre de photos taguées (volume) : 0 / 38 (0%) [{'photo_id': 1359976955, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/21/60f3ab29599bbb825308e2b42819ba3a.jpg', 'username': None, 'uploaded_at': 1747810087, 'text': 'image_21052025_08_47_04_10153.jpg'}, {'photo_id': 1359977421, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/21/b82bcae63d134deca570e706deb9f10c.jpg', 'username': None, 'uploaded_at': 1747810207, 'text': 'image_21052025_08_49_25_009665m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1359977688, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/21/ec4a88d2cebf23a214b69adb2260cb37.jpg', 'username': None, 'uploaded_at': 1747810268, 'text': 'image_21052025_08_49_35_010140m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1359977673, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/21/3e208b9e6e01f4cb697163b1ee7204f4.jpg', 'username': None, 'uploaded_at': 1747810268, 'text': 'image_21052025_08_50_14_010136m0.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 2.384185791015625e-06 elapsed_time : order_list_meta_photo_and_scores 7.152557373046875e-06 ?????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0017697811126708984 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 23197882, '2025-05-21' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1824382,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.02735137939453125 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= 1824382 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1824382, 'dashboard_run_id': 1836771, 'mtr_portfolio_id': 23186642, 'dashboard_result_id': 10822872, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23186642_22-05-2025_05_34_30.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23186644, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23186645, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23186646, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23186647, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23186648, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23186649, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23186650, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23186651, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23186652, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23186653, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23186654, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23186655, 'pht': 3726}}"}, {'dashboat_entry_day': 1824382, 'dashboard_run_id': 1836771, 'mtr_portfolio_id': 23187474, 'dashboard_result_id': 10822873, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23187474_22-05-2025_05_35_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23187477, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23187478, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23187479, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23187480, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23187481, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23187482, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23187483, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23187484, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23187485, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23187486, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23187487, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23187488, 'pht': 3726}}"}, {'dashboat_entry_day': 1824382, 'dashboard_run_id': 1836771, 'mtr_portfolio_id': 23188819, 'dashboard_result_id': 10822874, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23188819_22-05-2025_05_36_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23188835, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23188836, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23188837, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23188838, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23188839, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23188840, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23188841, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23188842, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23188843, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23188844, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23188845, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23188846, 'pht': 3726}}"}, {'dashboat_entry_day': 1824382, 'dashboard_run_id': 1836771, 'mtr_portfolio_id': 23189190, 'dashboard_result_id': 10822875, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23189190_22-05-2025_05_36_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23189215, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23189216, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23189217, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23189218, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23189219, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23189220, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23189221, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23189222, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23189223, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23189224, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23189225, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23189226, 'pht': 3726}}"}, {'dashboat_entry_day': 1824382, 'dashboard_run_id': 1836771, 'mtr_portfolio_id': 23189732, 'dashboard_result_id': 10822876, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23189732_22-05-2025_05_37_30.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23189755, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23189756, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23189757, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23189758, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23189759, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23189760, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23189761, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23189762, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23189763, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23189764, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23189765, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23189766, 'pht': 3726}}"}, {'dashboat_entry_day': 1824382, 'dashboard_run_id': 1836771, 'mtr_portfolio_id': 23190355, 'dashboard_result_id': 10822877, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23190355_22-05-2025_05_38_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23190358, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23190359, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23190360, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23190362, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23190363, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23190364, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23190365, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23190366, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23190367, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23190368, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23190369, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23190370, 'pht': 3726}}"}, {'dashboat_entry_day': 1824382, 'dashboard_run_id': 1836771, 'mtr_portfolio_id': 23190647, 'dashboard_result_id': 10822878, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23190647_22-05-2025_05_38_37.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23190653, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23190654, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23190655, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23190656, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23190657, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23190658, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23190659, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23190660, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23190661, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23190662, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23190663, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23190664, 'pht': 3726}}"}, {'dashboat_entry_day': 1824382, 'dashboard_run_id': 1836771, 'mtr_portfolio_id': 23191339, 'dashboard_result_id': 10822879, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23191339_22-05-2025_05_39_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23191350, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23191351, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23191352, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23191353, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23191354, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23191355, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23191356, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23191357, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23191358, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23191359, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23191360, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23191361, 'pht': 3726}}"}, {'dashboat_entry_day': 1824382, 'dashboard_run_id': 1836771, 'mtr_portfolio_id': 23191752, 'dashboard_result_id': 10822880, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23191752_22-05-2025_05_40_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23191764, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23191765, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23191766, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23191767, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23191768, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23191769, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23191770, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23191771, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23191772, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23191773, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23191774, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23191775, 'pht': 3726}}"}, {'dashboat_entry_day': 1824382, 'dashboard_run_id': 1836771, 'mtr_portfolio_id': 23192216, 'dashboard_result_id': 10822881, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23192216_22-05-2025_05_40_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23192228, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23192229, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23192230, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23192231, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23192232, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23192233, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23192234, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23192235, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23192236, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23192237, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23192238, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23192239, 'pht': 3726}}"}, {'dashboat_entry_day': 1824382, 'dashboard_run_id': 1836771, 'mtr_portfolio_id': 23192562, 'dashboard_result_id': 10822882, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23192562_22-05-2025_05_41_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23192589, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23192590, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23192591, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23192592, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23192593, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23192594, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23192595, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23192596, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23192597, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23192598, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23192599, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23192600, 'pht': 3726}}"}, {'dashboat_entry_day': 1824382, 'dashboard_run_id': 1836771, 'mtr_portfolio_id': 23193125, 'dashboard_result_id': 10822883, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23193125_22-05-2025_05_41_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23193195, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23193196, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23193197, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23193198, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23193199, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23193200, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23193202, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23193203, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23193204, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23193205, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23193206, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23193207, 'pht': 3726}}"}, {'dashboat_entry_day': 1824382, 'dashboard_run_id': 1836771, 'mtr_portfolio_id': 23193909, 'dashboard_result_id': 10822884, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23193909_22-05-2025_05_42_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23193958, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23193959, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23193960, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23193961, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23193962, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23193963, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23193964, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23193965, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23193966, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23193967, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23193968, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23193969, 'pht': 3726}}"}, {'dashboat_entry_day': 1824382, 'dashboard_run_id': 1836771, 'mtr_portfolio_id': 23194440, 'dashboard_result_id': 10822885, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23194440_22-05-2025_05_42_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23194460, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23194461, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23194462, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23194463, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23194464, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23194465, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23194466, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23194467, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23194468, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23194469, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23194470, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23194471, 'pht': 3726}}"}, {'dashboat_entry_day': 1824382, 'dashboard_run_id': 1836771, 'mtr_portfolio_id': 23195014, 'dashboard_result_id': 10822886, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23195014_22-05-2025_05_43_30.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23195039, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23195040, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23195041, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23195042, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23195043, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23195044, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23195045, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23195046, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23195047, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23195048, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23195049, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23195050, 'pht': 3726}}"}, {'dashboat_entry_day': 1824382, 'dashboard_run_id': 1836771, 'mtr_portfolio_id': 23195643, 'dashboard_result_id': 10822887, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23195643_22-05-2025_05_44_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23195669, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23195670, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23195671, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23195672, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23195673, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23195674, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23195675, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23195676, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23195677, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23195678, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23195679, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23195680, 'pht': 3726}}"}, {'dashboat_entry_day': 1824382, 'dashboard_run_id': 1836771, 'mtr_portfolio_id': 23197882, 'dashboard_result_id': 10822888, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23197882_21-05-2025_09_03_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23197961, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23197962, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23197964, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23197965, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23197966, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23197968, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23197969, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23197970, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23197972, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23197973, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23197974, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23197976, 'pht': 3726}}"}, {'dashboat_entry_day': 1824382, 'dashboard_run_id': 1836771, 'mtr_portfolio_id': 23200082, 'dashboard_result_id': 10822889, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23200082_21-05-2025_09_46_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23200084, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23200085, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23200086, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23200087, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23200088, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23200089, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23200090, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23200091, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23200092, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23200093, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23200094, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23200095, 'pht': 3726}}"}, {'dashboat_entry_day': 1824382, 'dashboard_run_id': 1836771, 'mtr_portfolio_id': 23200459, 'dashboard_result_id': 10822890, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23200459_21-05-2025_10_03_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23200514, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23200515, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23200516, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23200517, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23200518, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23200519, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23200520, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23200521, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23200522, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23200523, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23200524, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23200526, 'pht': 3726}}"}, {'dashboat_entry_day': 1824382, 'dashboard_run_id': 1836771, 'mtr_portfolio_id': 23201055, 'dashboard_result_id': 10822891, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23201055_21-05-2025_10_16_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23201110, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23201111, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23201112, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23201113, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23201114, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23201115, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23201116, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23201117, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23201118, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23201119, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23201120, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23201121, 'pht': 3726}}"}, {'dashboat_entry_day': 1824382, 'dashboard_run_id': 1836771, 'mtr_portfolio_id': 23201666, 'dashboard_result_id': 10822892, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23201666_21-05-2025_10_32_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23201696, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23201697, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23201698, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23201699, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23201700, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23201701, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23201702, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23201703, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23201704, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23201705, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23201706, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23201707, 'pht': 3726}}"}, {'dashboat_entry_day': 1824382, 'dashboard_run_id': 1836771, 'mtr_portfolio_id': 23202329, 'dashboard_result_id': 10822893, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23202329_21-05-2025_10_47_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23202389, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23202390, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23202391, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23202392, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23202393, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23202394, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23202395, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23202396, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23202397, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23202398, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23202399, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23202400, 'pht': 3726}}"}, {'dashboat_entry_day': 1824382, 'dashboard_run_id': 1836771, 'mtr_portfolio_id': 23203134, 'dashboard_result_id': 10822894, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23203134_21-05-2025_11_03_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23203180, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23203181, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23203182, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23203183, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23203184, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23203185, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23203186, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23203187, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23203188, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23203189, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23203190, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23203191, 'pht': 3726}}"}, {'dashboat_entry_day': 1824382, 'dashboard_run_id': 1836771, 'mtr_portfolio_id': 23204071, 'dashboard_result_id': 10822895, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23204071_21-05-2025_11_18_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23204089, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23204090, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23204091, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23204092, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23204094, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23204095, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23204096, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23204098, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23204099, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23204100, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23204102, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23204103, 'pht': 3726}}"}, {'dashboat_entry_day': 1824382, 'dashboard_run_id': 1836771, 'mtr_portfolio_id': 23204793, 'dashboard_result_id': 10822896, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23204793_21-05-2025_11_32_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23204845, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23204846, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23204847, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23204848, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23204849, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23204851, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23204852, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23204853, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23204855, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23204856, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23204857, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23204859, 'pht': 3726}}"}, {'dashboat_entry_day': 1824382, 'dashboard_run_id': 1836771, 'mtr_portfolio_id': 23205442, 'dashboard_result_id': 10822897, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23205442_21-05-2025_11_47_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23205526, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23205527, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23205528, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23205530, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23205531, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23205532, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23205534, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23205535, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23205536, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23205538, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23205539, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23205540, 'pht': 3726}}"}, {'dashboat_entry_day': 1824382, 'dashboard_run_id': 1836771, 'mtr_portfolio_id': 23206193, 'dashboard_result_id': 10822898, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23206193_21-05-2025_12_02_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23206236, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23206237, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23206238, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23206239, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23206240, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23206241, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23206242, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23206243, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23206244, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23206245, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23206246, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23206247, 'pht': 3726}}"}, {'dashboat_entry_day': 1824382, 'dashboard_run_id': 1836771, 'mtr_portfolio_id': 23206879, 'dashboard_result_id': 10822899, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23206879_21-05-2025_12_20_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23206889, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23206890, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23206891, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23206892, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23206893, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23206894, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23206895, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23206896, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23206897, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23206898, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23206899, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23206900, 'pht': 3726}}"}, {'dashboat_entry_day': 1824382, 'dashboard_run_id': 1836771, 'mtr_portfolio_id': 23208818, 'dashboard_result_id': 10822900, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23208818_21-05-2025_13_47_04.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23208825, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23208826, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23208827, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23208828, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23208829, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23208830, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23208831, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23208832, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23208833, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23208834, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23208835, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23208837, 'pht': 3726}}"}, {'dashboat_entry_day': 1824382, 'dashboard_run_id': 1836771, 'mtr_portfolio_id': 23208957, 'dashboard_result_id': 10822901, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23208957_21-05-2025_14_02_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23208970, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23208971, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23208972, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23208973, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23208974, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23208975, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23208976, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23208977, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23208978, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23208979, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23208980, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23208981, 'pht': 3726}}"}, {'dashboat_entry_day': 1824382, 'dashboard_run_id': 1836771, 'mtr_portfolio_id': 23209265, 'dashboard_result_id': 10822902, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23209265_21-05-2025_14_18_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23209290, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23209291, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23209292, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23209293, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23209294, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23209295, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23209296, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23209297, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23209298, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23209299, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23209300, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23209301, 'pht': 3726}}"}, {'dashboat_entry_day': 1824382, 'dashboard_run_id': 1836771, 'mtr_portfolio_id': 23209638, 'dashboard_result_id': 10822903, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23209638_21-05-2025_14_32_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23209660, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23209661, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23209662, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23209663, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23209664, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23209665, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23209666, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23209667, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23209668, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23209669, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23209670, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23209671, 'pht': 3726}}"}, {'dashboat_entry_day': 1824382, 'dashboard_run_id': 1836771, 'mtr_portfolio_id': 23210066, 'dashboard_result_id': 10822904, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23210066_21-05-2025_14_50_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23210089, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23210090, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23210091, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23210092, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23210094, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23210095, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23210096, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23210097, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23210098, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23210099, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23210100, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23210101, 'pht': 3726}}"}, {'dashboat_entry_day': 1824382, 'dashboard_run_id': 1836771, 'mtr_portfolio_id': 23210652, 'dashboard_result_id': 10822905, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23210652_21-05-2025_15_03_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23210668, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23210670, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23210671, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23210672, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23210673, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23210674, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23210675, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23210676, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23210677, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23210678, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23210679, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23210680, 'pht': 3726}}"}, {'dashboat_entry_day': 1824382, 'dashboard_run_id': 1836771, 'mtr_portfolio_id': 23211024, 'dashboard_result_id': 10822906, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23211024_21-05-2025_15_16_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23211053, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23211054, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23211055, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23211056, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23211057, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23211058, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23211059, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23211060, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23211061, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23211062, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23211063, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23211064, 'pht': 3726}}"}, {'dashboat_entry_day': 1824382, 'dashboard_run_id': 1836771, 'mtr_portfolio_id': 23211539, 'dashboard_result_id': 10822907, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23211539_21-05-2025_15_33_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23211568, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23211569, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23211570, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23211571, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23211572, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23211573, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23211574, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23211575, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23211576, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23211577, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23211578, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23211579, 'pht': 3726}}"}, {'dashboat_entry_day': 1824382, 'dashboard_run_id': 1836771, 'mtr_portfolio_id': 23212078, 'dashboard_result_id': 10822908, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23212078_21-05-2025_15_48_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23212099, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23212100, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23212101, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23212102, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23212103, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23212104, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23212105, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23212106, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23212107, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23212108, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23212109, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23212110, 'pht': 3726}}"}, {'dashboat_entry_day': 1824382, 'dashboard_run_id': 1836771, 'mtr_portfolio_id': 23212818, 'dashboard_result_id': 10822909, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23212818_21-05-2025_16_03_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23212849, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23212850, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23212851, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23212852, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23212853, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23212854, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23212856, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23212857, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23212858, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23212859, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23212860, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23212861, 'pht': 3726}}"}, {'dashboat_entry_day': 1824382, 'dashboard_run_id': 1836771, 'mtr_portfolio_id': 23213478, 'dashboard_result_id': 10822910, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23213478_21-05-2025_16_18_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23213520, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23213521, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23213522, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23213523, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23213524, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23213525, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23213526, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23213527, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23213528, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23213529, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23213530, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23213531, 'pht': 3726}}"}, {'dashboat_entry_day': 1824382, 'dashboard_run_id': 1836771, 'mtr_portfolio_id': 23214366, 'dashboard_result_id': 10822911, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23214366_21-05-2025_16_33_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23214379, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23214380, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23214381, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23214382, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23214383, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23214384, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23214385, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23214386, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23214387, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23214388, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23214389, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23214390, 'pht': 3726}}"}, {'dashboat_entry_day': 1824382, 'dashboard_run_id': 1836771, 'mtr_portfolio_id': 23214787, 'dashboard_result_id': 10822912, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23214787_21-05-2025_16_48_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23214869, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23214871, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23214873, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23214874, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23214875, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23214876, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23214877, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23214878, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23214879, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23214880, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23214881, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23214882, 'pht': 3726}}"}, {'dashboat_entry_day': 1824382, 'dashboard_run_id': 1836771, 'mtr_portfolio_id': 23215351, 'dashboard_result_id': 10822913, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23215351_21-05-2025_17_02_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23215419, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23215420, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23215421, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23215422, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23215423, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23215424, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23215425, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23215426, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23215427, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23215428, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23215429, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23215430, 'pht': 3726}}"}, {'dashboat_entry_day': 1824382, 'dashboard_run_id': 1836771, 'mtr_portfolio_id': 23215953, 'dashboard_result_id': 10822914, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23215953_21-05-2025_17_16_57.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23216037, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23216038, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23216039, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23216040, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23216041, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23216042, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23216043, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23216044, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23216045, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23216046, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23216047, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23216048, 'pht': 3726}}"}, {'dashboat_entry_day': 1824382, 'dashboard_run_id': 1836771, 'mtr_portfolio_id': 23217019, 'dashboard_result_id': 10822915, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23217019_21-05-2025_17_33_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23217063, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23217064, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23217066, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23217067, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23217068, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23217069, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23217070, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23217071, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23217072, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23217073, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23217074, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23217075, 'pht': 3726}}"}, {'dashboat_entry_day': 1824382, 'dashboard_run_id': 1836771, 'mtr_portfolio_id': 23219787, 'dashboard_result_id': 10822916, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23219787_21-05-2025_18_19_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23219810, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23219811, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23219812, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23219813, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23219814, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23219815, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23219816, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23219817, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23219818, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23219819, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23219820, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23219821, 'pht': 3726}}"}, {'dashboat_entry_day': 1824382, 'dashboard_run_id': 1836771, 'mtr_portfolio_id': 23220391, 'dashboard_result_id': 10822917, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23220391_21-05-2025_18_52_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23220413, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23220414, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23220415, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23220416, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23220417, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23220418, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23220419, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23220420, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23220421, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23220422, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23220423, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23220424, 'pht': 3726}}"}, {'dashboat_entry_day': 1824382, 'dashboard_run_id': 1836771, 'mtr_portfolio_id': 23223095, 'dashboard_result_id': 10822918, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23223095_21-05-2025_19_16_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23223098, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23223099, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23223100, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23223101, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23223102, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23223103, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23223104, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23223105, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23223106, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23223107, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23223108, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23223109, 'pht': 3726}}"}, {'dashboat_entry_day': 1824382, 'dashboard_run_id': 1836771, 'mtr_portfolio_id': 23223293, 'dashboard_result_id': 10822919, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23223293_21-05-2025_19_33_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23223301, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23223302, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23223303, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23223304, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23223305, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23223306, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23223307, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23223308, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23223309, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23223310, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23223311, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23223312, 'pht': 3726}}"}, {'dashboat_entry_day': 1824382, 'dashboard_run_id': 1836771, 'mtr_portfolio_id': 23223875, 'dashboard_result_id': 10822920, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23223875_21-05-2025_19_46_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23223957, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23223958, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23223959, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23223960, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23223961, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23223962, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23223963, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23223964, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23223965, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23223966, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23223967, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23223968, 'pht': 3726}}"}, {'dashboat_entry_day': 1824382, 'dashboard_run_id': 1836771, 'mtr_portfolio_id': 23224717, 'dashboard_result_id': 10822921, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23224717_21-05-2025_20_03_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23224773, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23224774, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23224775, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23224777, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23224778, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23224779, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23224780, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23224781, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23224782, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23224783, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23224784, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23224785, 'pht': 3726}}"}, {'dashboat_entry_day': 1824382, 'dashboard_run_id': 1836771, 'mtr_portfolio_id': 23225632, 'dashboard_result_id': 10822922, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23225632_21-05-2025_20_36_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23225645, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23225646, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23225647, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23225648, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23225649, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23225650, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23225651, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23225652, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23225653, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23225654, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23225655, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23225656, 'pht': 3726}}"}, {'dashboat_entry_day': 1824382, 'dashboard_run_id': 1836771, 'mtr_portfolio_id': 23227415, 'dashboard_result_id': 10822923, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23227415_21-05-2025_21_08_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23227472, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23227474, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23227475, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23227476, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23227477, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23227478, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23227479, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23227480, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23227481, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23227482, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23227483, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23227484, 'pht': 3726}}"}, {'dashboat_entry_day': 1824382, 'dashboard_run_id': 1836771, 'mtr_portfolio_id': 23229322, 'dashboard_result_id': 10822924, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23229322_21-05-2025_21_33_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23229323, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23229324, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23229325, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23229326, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23229327, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23229328, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23229329, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23229330, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23229331, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23229332, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23229333, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23229334, 'pht': 3726}}"}, {'dashboat_entry_day': 1824382, 'dashboard_run_id': 1836771, 'mtr_portfolio_id': 23229926, 'dashboard_result_id': 10822925, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23229926_21-05-2025_21_51_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23229928, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23229929, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23229930, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23229931, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23229932, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23229933, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23229934, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23229935, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23229936, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23229937, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23229938, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23229939, 'pht': 3726}}"}, {'dashboat_entry_day': 1824382, 'dashboard_run_id': 1836771, 'mtr_portfolio_id': 23233025, 'dashboard_result_id': 10822926, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23233025_21-05-2025_23_02_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23233027, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23233028, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23233029, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23233030, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23233031, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23233032, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23233033, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23233034, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23233035, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23233036, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23233037, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23233038, '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 = 23186642 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2931064, 'mtr_portfolio_id': 23186642, 'created_at': datetime.datetime(2025, 5, 22, 5, 34, 30), 'result': '0.05952991725520187', 'result_long': None, 'result_double': None}] Qualite : 0.05952991725520187 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23186642 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23186642_22-05-2025_05_34_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23186642 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23186642_22-05-2025_05_34_30.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23186644, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23186645, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23186646, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23186647, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23186648, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23186649, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23186650, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23186651, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23186652, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23186653, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23186654, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23186655, 'pht': 3726}}" where mtr_portfolio_id = 23186642 and dashboard_run_id = 1836771 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23186642 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10822872, 0.05952991725520187, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23186642_22-05-2025_05_34_30.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23186644, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23186645, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23186646, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23186647, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23186648, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23186649, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23186650, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23186651, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23186652, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23186653, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23186654, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23186655, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23187474 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2931065, 'mtr_portfolio_id': 23187474, 'created_at': datetime.datetime(2025, 5, 22, 5, 35, 31), 'result': '0.0074541485314885605', 'result_long': None, 'result_double': None}] Qualite : 0.0074541485314885605 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23187474 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23187474_22-05-2025_05_35_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23187474 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23187474_22-05-2025_05_35_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23187477, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23187478, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23187479, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23187480, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23187481, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23187482, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23187483, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23187484, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23187485, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23187486, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23187487, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23187488, 'pht': 3726}}" where mtr_portfolio_id = 23187474 and dashboard_run_id = 1836771 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23187474 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10822873, 0.0074541485314885605, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23187474_22-05-2025_05_35_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23187477, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23187478, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23187479, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23187480, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23187481, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23187482, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23187483, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23187484, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23187485, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23187486, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23187487, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23187488, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23188819 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2931066, 'mtr_portfolio_id': 23188819, 'created_at': datetime.datetime(2025, 5, 22, 5, 36, 1), 'result': '0.05321047919108487', 'result_long': None, 'result_double': None}] Qualite : 0.05321047919108487 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23188819 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23188819_22-05-2025_05_36_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23188819 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23188819_22-05-2025_05_36_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23188835, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23188836, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23188837, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23188838, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23188839, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23188840, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23188841, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23188842, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23188843, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23188844, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23188845, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23188846, 'pht': 3726}}" where mtr_portfolio_id = 23188819 and dashboard_run_id = 1836771 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23188819 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10822874, 0.05321047919108487, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23188819_22-05-2025_05_36_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23188835, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23188836, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23188837, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23188838, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23188839, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23188840, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23188841, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23188842, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23188843, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23188844, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23188845, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23188846, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23189190 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2931067, 'mtr_portfolio_id': 23189190, 'created_at': datetime.datetime(2025, 5, 22, 5, 36, 30), 'result': '0.04476924172280995', 'result_long': None, 'result_double': None}] Qualite : 0.04476924172280995 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23189190 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23189190_22-05-2025_05_36_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23189190 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23189190_22-05-2025_05_36_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23189215, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23189216, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23189217, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23189218, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23189219, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23189220, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23189221, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23189222, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23189223, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23189224, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23189225, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23189226, 'pht': 3726}}" where mtr_portfolio_id = 23189190 and dashboard_run_id = 1836771 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23189190 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10822875, 0.04476924172280995, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23189190_22-05-2025_05_36_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23189215, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23189216, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23189217, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23189218, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23189219, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23189220, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23189221, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23189222, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23189223, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23189224, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23189225, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23189226, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23189732 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2931068, 'mtr_portfolio_id': 23189732, 'created_at': datetime.datetime(2025, 5, 22, 5, 37, 28), 'result': '0.04209296075188841', 'result_long': None, 'result_double': None}] Qualite : 0.04209296075188841 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23189732 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23189732_22-05-2025_05_37_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23189732 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23189732_22-05-2025_05_37_30.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23189755, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23189756, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23189757, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23189758, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23189759, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23189760, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23189761, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23189762, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23189763, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23189764, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23189765, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23189766, 'pht': 3726}}" where mtr_portfolio_id = 23189732 and dashboard_run_id = 1836771 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23189732 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10822876, 0.04209296075188841, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23189732_22-05-2025_05_37_30.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23189755, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23189756, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23189757, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23189758, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23189759, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23189760, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23189761, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23189762, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23189763, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23189764, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23189765, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23189766, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23190355 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2931069, 'mtr_portfolio_id': 23190355, 'created_at': datetime.datetime(2025, 5, 22, 5, 38), 'result': '0.05879071366185805', 'result_long': None, 'result_double': None}] Qualite : 0.05879071366185805 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23190355 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23190355_22-05-2025_05_38_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23190355 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23190355_22-05-2025_05_38_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23190358, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23190359, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23190360, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23190362, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23190363, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23190364, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23190365, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23190366, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23190367, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23190368, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23190369, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23190370, 'pht': 3726}}" where mtr_portfolio_id = 23190355 and dashboard_run_id = 1836771 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23190355 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10822877, 0.05879071366185805, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23190355_22-05-2025_05_38_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23190358, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23190359, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23190360, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23190362, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23190363, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23190364, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23190365, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23190366, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23190367, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23190368, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23190369, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23190370, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23190647 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2931070, 'mtr_portfolio_id': 23190647, 'created_at': datetime.datetime(2025, 5, 22, 5, 38, 30), 'result': '0.03949313037020639', 'result_long': None, 'result_double': None}] Qualite : 0.03949313037020639 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23190647 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23190647_22-05-2025_05_38_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23190647 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23190647_22-05-2025_05_38_37.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23190653, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23190654, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23190655, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23190656, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23190657, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23190658, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23190659, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23190660, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23190661, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23190662, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23190663, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23190664, 'pht': 3726}}" where mtr_portfolio_id = 23190647 and dashboard_run_id = 1836771 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23190647 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10822878, 0.03949313037020639, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23190647_22-05-2025_05_38_37.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23190653, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23190654, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23190655, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23190656, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23190657, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23190658, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23190659, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23190660, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23190661, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23190662, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23190663, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23190664, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23191339 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2931071, 'mtr_portfolio_id': 23191339, 'created_at': datetime.datetime(2025, 5, 22, 5, 39, 29), 'result': '0.0524459110468105', 'result_long': None, 'result_double': None}] Qualite : 0.0524459110468105 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23191339 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23191339_22-05-2025_05_39_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23191339 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23191339_22-05-2025_05_39_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23191350, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23191351, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23191352, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23191353, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23191354, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23191355, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23191356, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23191357, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23191358, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23191359, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23191360, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23191361, 'pht': 3726}}" where mtr_portfolio_id = 23191339 and dashboard_run_id = 1836771 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23191339 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10822879, 0.0524459110468105, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23191339_22-05-2025_05_39_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23191350, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23191351, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23191352, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23191353, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23191354, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23191355, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23191356, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23191357, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23191358, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23191359, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23191360, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23191361, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23191752 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2931072, 'mtr_portfolio_id': 23191752, 'created_at': datetime.datetime(2025, 5, 22, 5, 39, 57), 'result': '0.04330235451964589', 'result_long': None, 'result_double': None}] Qualite : 0.04330235451964589 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23191752 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23191752_22-05-2025_05_40_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23191752 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23191752_22-05-2025_05_40_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23191764, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23191765, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23191766, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23191767, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23191768, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23191769, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23191770, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23191771, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23191772, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23191773, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23191774, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23191775, 'pht': 3726}}" where mtr_portfolio_id = 23191752 and dashboard_run_id = 1836771 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23191752 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10822880, 0.04330235451964589, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23191752_22-05-2025_05_40_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23191764, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23191765, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23191766, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23191767, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23191768, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23191769, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23191770, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23191771, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23191772, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23191773, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23191774, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23191775, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23192216 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2931073, 'mtr_portfolio_id': 23192216, 'created_at': datetime.datetime(2025, 5, 22, 5, 40, 28), 'result': '0.06775251381314526', 'result_long': None, 'result_double': None}] Qualite : 0.06775251381314526 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23192216 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23192216_22-05-2025_05_40_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23192216 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23192216_22-05-2025_05_40_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23192228, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23192229, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23192230, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23192231, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23192232, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23192233, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23192234, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23192235, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23192236, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23192237, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23192238, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23192239, 'pht': 3726}}" where mtr_portfolio_id = 23192216 and dashboard_run_id = 1836771 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23192216 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10822881, 0.06775251381314526, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23192216_22-05-2025_05_40_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23192228, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23192229, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23192230, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23192231, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23192232, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23192233, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23192234, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23192235, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23192236, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23192237, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23192238, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23192239, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23192562 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2931074, 'mtr_portfolio_id': 23192562, 'created_at': datetime.datetime(2025, 5, 22, 5, 40, 58), 'result': '0.04604246027163594', 'result_long': None, 'result_double': None}] Qualite : 0.04604246027163594 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23192562 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23192562_22-05-2025_05_41_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23192562 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23192562_22-05-2025_05_41_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23192589, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23192590, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23192591, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23192592, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23192593, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23192594, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23192595, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23192596, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23192597, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23192598, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23192599, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23192600, 'pht': 3726}}" where mtr_portfolio_id = 23192562 and dashboard_run_id = 1836771 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23192562 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10822882, 0.04604246027163594, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23192562_22-05-2025_05_41_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23192589, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23192590, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23192591, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23192592, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23192593, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23192594, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23192595, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23192596, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23192597, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23192598, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23192599, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23192600, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23193125 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2931075, 'mtr_portfolio_id': 23193125, 'created_at': datetime.datetime(2025, 5, 22, 5, 41, 29), 'result': '0.05574812550563076', 'result_long': None, 'result_double': None}] Qualite : 0.05574812550563076 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23193125 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23193125_22-05-2025_05_41_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23193125 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23193125_22-05-2025_05_41_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23193195, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23193196, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23193197, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23193198, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23193199, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23193200, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23193202, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23193203, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23193204, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23193205, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23193206, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23193207, 'pht': 3726}}" where mtr_portfolio_id = 23193125 and dashboard_run_id = 1836771 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23193125 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10822883, 0.05574812550563076, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23193125_22-05-2025_05_41_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23193195, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23193196, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23193197, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23193198, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23193199, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23193200, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23193202, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23193203, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23193204, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23193205, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23193206, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23193207, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23193909 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2931076, 'mtr_portfolio_id': 23193909, 'created_at': datetime.datetime(2025, 5, 22, 5, 41, 59), 'result': '0.041243640276922885', 'result_long': None, 'result_double': None}] Qualite : 0.041243640276922885 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23193909 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23193909_22-05-2025_05_42_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23193909 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23193909_22-05-2025_05_42_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23193958, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23193959, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23193960, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23193961, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23193962, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23193963, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23193964, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23193965, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23193966, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23193967, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23193968, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23193969, 'pht': 3726}}" where mtr_portfolio_id = 23193909 and dashboard_run_id = 1836771 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23193909 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10822884, 0.041243640276922885, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23193909_22-05-2025_05_42_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23193958, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23193959, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23193960, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23193961, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23193962, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23193963, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23193964, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23193965, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23193966, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23193967, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23193968, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23193969, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23194440 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2931077, 'mtr_portfolio_id': 23194440, 'created_at': datetime.datetime(2025, 5, 22, 5, 42, 28), 'result': '0.0653790405940994', 'result_long': None, 'result_double': None}] Qualite : 0.0653790405940994 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23194440 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23194440_22-05-2025_05_42_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23194440 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23194440_22-05-2025_05_42_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23194460, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23194461, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23194462, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23194463, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23194464, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23194465, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23194466, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23194467, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23194468, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23194469, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23194470, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23194471, 'pht': 3726}}" where mtr_portfolio_id = 23194440 and dashboard_run_id = 1836771 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23194440 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10822885, 0.0653790405940994, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23194440_22-05-2025_05_42_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23194460, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23194461, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23194462, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23194463, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23194464, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23194465, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23194466, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23194467, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23194468, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23194469, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23194470, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23194471, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23195014 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2931078, 'mtr_portfolio_id': 23195014, 'created_at': datetime.datetime(2025, 5, 22, 5, 43, 28), 'result': '0.041615862874434424', 'result_long': None, 'result_double': None}] Qualite : 0.041615862874434424 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23195014 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23195014_22-05-2025_05_43_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23195014 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23195014_22-05-2025_05_43_30.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23195039, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23195040, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23195041, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23195042, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23195043, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23195044, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23195045, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23195046, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23195047, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23195048, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23195049, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23195050, 'pht': 3726}}" where mtr_portfolio_id = 23195014 and dashboard_run_id = 1836771 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23195014 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10822886, 0.041615862874434424, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23195014_22-05-2025_05_43_30.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23195039, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23195040, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23195041, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23195042, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23195043, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23195044, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23195045, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23195046, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23195047, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23195048, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23195049, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23195050, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23195643 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2931079, 'mtr_portfolio_id': 23195643, 'created_at': datetime.datetime(2025, 5, 22, 5, 44), 'result': '0.03399019077006776', 'result_long': None, 'result_double': None}] Qualite : 0.03399019077006776 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23195643 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23195643_22-05-2025_05_44_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23195643 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23195643_22-05-2025_05_44_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23195669, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23195670, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23195671, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23195672, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23195673, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23195674, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23195675, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23195676, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23195677, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23195678, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23195679, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23195680, 'pht': 3726}}" where mtr_portfolio_id = 23195643 and dashboard_run_id = 1836771 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23195643 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10822887, 0.03399019077006776, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23195643_22-05-2025_05_44_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23195669, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23195670, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23195671, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23195672, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23195673, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23195674, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23195675, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23195676, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23195677, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23195678, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23195679, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23195680, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23197882 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2931080, 'mtr_portfolio_id': 23197882, 'created_at': datetime.datetime(2025, 5, 22, 5, 44, 59), 'result': '0.031237372148557086', 'result_long': None, 'result_double': None}] Qualite : 0.031237372148557086 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23197882 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23197882_22-05-2025_05_45_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23197882 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23197882_22-05-2025_05_45_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23197961, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23197962, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23197964, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23197965, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23197966, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23197968, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23197969, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23197970, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23197972, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23197973, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23197974, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23197976, 'pht': 3726}}" where mtr_portfolio_id = 23197882 and dashboard_run_id = 1836771 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23197882 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10822888, 0.031237372148557086, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23197882_22-05-2025_05_45_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23197961, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23197962, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23197964, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23197965, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23197966, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23197968, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23197969, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23197970, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23197972, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23197973, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23197974, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23197976, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23200082 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2919470, 'mtr_portfolio_id': 23200082, 'created_at': datetime.datetime(2025, 5, 21, 9, 46, 58), 'result': '0.016096568187864382', 'result_long': None, 'result_double': None}] Qualite : 0.016096568187864382 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23200082 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23200082_21-05-2025_09_46_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23200082 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23200082_21-05-2025_09_46_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23200084, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23200085, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23200086, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23200087, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23200088, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23200089, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23200090, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23200091, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23200092, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23200093, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23200094, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23200095, 'pht': 3726}}" where mtr_portfolio_id = 23200082 and dashboard_run_id = 1836771 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23200082 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10822889, 0.016096568187864382, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23200082_21-05-2025_09_46_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23200084, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23200085, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23200086, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23200087, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23200088, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23200089, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23200090, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23200091, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23200092, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23200093, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23200094, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23200095, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23200459 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2919529, 'mtr_portfolio_id': 23200459, 'created_at': datetime.datetime(2025, 5, 21, 10, 3, 1), 'result': '0.1053129621044867', 'result_long': None, 'result_double': None}] Qualite : 0.1053129621044867 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23200459 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23200459_21-05-2025_10_03_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23200459 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23200459_21-05-2025_10_03_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23200514, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23200515, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23200516, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23200517, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23200518, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23200519, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23200520, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23200521, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23200522, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23200523, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23200524, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23200526, 'pht': 3726}}" where mtr_portfolio_id = 23200459 and dashboard_run_id = 1836771 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23200459 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10822890, 0.1053129621044867, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23200459_21-05-2025_10_03_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23200514, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23200515, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23200516, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23200517, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23200518, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23200519, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23200520, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23200521, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23200522, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23200523, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23200524, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23200526, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23201055 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2919695, 'mtr_portfolio_id': 23201055, 'created_at': datetime.datetime(2025, 5, 21, 10, 16, 57), 'result': '0.1266597855156641', 'result_long': None, 'result_double': None}] Qualite : 0.1266597855156641 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23201055 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23201055_21-05-2025_10_16_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23201055 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23201055_21-05-2025_10_16_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23201110, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23201111, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23201112, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23201113, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23201114, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23201115, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23201116, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23201117, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23201118, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23201119, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23201120, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23201121, 'pht': 3726}}" where mtr_portfolio_id = 23201055 and dashboard_run_id = 1836771 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23201055 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10822891, 0.1266597855156641, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23201055_21-05-2025_10_16_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23201110, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23201111, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23201112, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23201113, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23201114, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23201115, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23201116, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23201117, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23201118, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23201119, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23201120, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23201121, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23201666 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2919816, 'mtr_portfolio_id': 23201666, 'created_at': datetime.datetime(2025, 5, 21, 10, 32, 58), 'result': '0.03794241794697007', 'result_long': None, 'result_double': None}] Qualite : 0.03794241794697007 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23201666 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23201666_21-05-2025_10_32_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23201666 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23201666_21-05-2025_10_32_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23201696, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23201697, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23201698, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23201699, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23201700, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23201701, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23201702, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23201703, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23201704, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23201705, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23201706, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23201707, 'pht': 3726}}" where mtr_portfolio_id = 23201666 and dashboard_run_id = 1836771 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23201666 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10822892, 0.03794241794697007, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23201666_21-05-2025_10_32_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23201696, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23201697, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23201698, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23201699, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23201700, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23201701, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23201702, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23201703, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23201704, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23201705, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23201706, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23201707, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23202329 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23202329 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 23202329 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23202329 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23202329 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23202329 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23202329_21-05-2025_10_47_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23202329 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23202329_21-05-2025_10_47_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23202389, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23202390, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23202391, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23202392, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23202393, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23202394, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23202395, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23202396, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23202397, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23202398, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23202399, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23202400, 'pht': 3726}}" where mtr_portfolio_id = 23202329 and dashboard_run_id = 1836771 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23203134 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2920284, 'mtr_portfolio_id': 23203134, 'created_at': datetime.datetime(2025, 5, 21, 11, 3), 'result': '0.0247913180605025', 'result_long': None, 'result_double': None}] Qualite : 0.0247913180605025 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23203134 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23203134_21-05-2025_11_03_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23203134 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23203134_21-05-2025_11_03_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23203180, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23203181, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23203182, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23203183, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23203184, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23203185, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23203186, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23203187, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23203188, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23203189, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23203190, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23203191, 'pht': 3726}}" where mtr_portfolio_id = 23203134 and dashboard_run_id = 1836771 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23203134 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10822894, 0.0247913180605025, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23203134_21-05-2025_11_03_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23203180, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23203181, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23203182, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23203183, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23203184, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23203185, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23203186, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23203187, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23203188, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23203189, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23203190, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23203191, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23204071 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2920609, 'mtr_portfolio_id': 23204071, 'created_at': datetime.datetime(2025, 5, 21, 11, 18, 59), 'result': '0.03484244967240193', 'result_long': None, 'result_double': None}] Qualite : 0.03484244967240193 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23204071 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23204071_21-05-2025_11_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23204071 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23204071_21-05-2025_11_18_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23204089, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23204090, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23204091, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23204092, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23204094, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23204095, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23204096, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23204098, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23204099, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23204100, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23204102, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23204103, 'pht': 3726}}" where mtr_portfolio_id = 23204071 and dashboard_run_id = 1836771 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23204071 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10822895, 0.03484244967240193, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23204071_21-05-2025_11_18_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23204089, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23204090, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23204091, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23204092, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23204094, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23204095, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23204096, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23204098, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23204099, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23204100, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23204102, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23204103, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23204793 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2920864, 'mtr_portfolio_id': 23204793, 'created_at': datetime.datetime(2025, 5, 21, 11, 32, 59), 'result': '0.05896370316621495', 'result_long': None, 'result_double': None}] Qualite : 0.05896370316621495 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23204793 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23204793_21-05-2025_11_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23204793 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23204793_21-05-2025_11_32_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23204845, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23204846, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23204847, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23204848, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23204849, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23204851, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23204852, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23204853, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23204855, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23204856, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23204857, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23204859, 'pht': 3726}}" where mtr_portfolio_id = 23204793 and dashboard_run_id = 1836771 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23204793 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10822896, 0.05896370316621495, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23204793_21-05-2025_11_32_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23204845, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23204846, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23204847, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23204848, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23204849, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23204851, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23204852, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23204853, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23204855, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23204856, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23204857, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23204859, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23205442 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2921135, 'mtr_portfolio_id': 23205442, 'created_at': datetime.datetime(2025, 5, 21, 11, 47), 'result': '0.03256142190177005', 'result_long': None, 'result_double': None}] Qualite : 0.03256142190177005 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23205442 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23205442_21-05-2025_11_47_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23205442 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23205442_21-05-2025_11_47_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23205526, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23205527, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23205528, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23205530, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23205531, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23205532, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23205534, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23205535, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23205536, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23205538, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23205539, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23205540, 'pht': 3726}}" where mtr_portfolio_id = 23205442 and dashboard_run_id = 1836771 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23205442 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10822897, 0.03256142190177005, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23205442_21-05-2025_11_47_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23205526, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23205527, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23205528, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23205530, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23205531, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23205532, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23205534, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23205535, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23205536, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23205538, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23205539, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23205540, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23206193 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2921369, 'mtr_portfolio_id': 23206193, 'created_at': datetime.datetime(2025, 5, 21, 12, 2, 58), 'result': '0.05885362327996915', 'result_long': None, 'result_double': None}] Qualite : 0.05885362327996915 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23206193 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23206193_21-05-2025_12_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23206193 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23206193_21-05-2025_12_02_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23206236, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23206237, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23206238, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23206239, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23206240, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23206241, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23206242, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23206243, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23206244, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23206245, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23206246, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23206247, 'pht': 3726}}" where mtr_portfolio_id = 23206193 and dashboard_run_id = 1836771 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23206193 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10822898, 0.05885362327996915, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23206193_21-05-2025_12_02_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23206236, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23206237, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23206238, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23206239, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23206240, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23206241, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23206242, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23206243, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23206244, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23206245, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23206246, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23206247, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23206879 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2921604, 'mtr_portfolio_id': 23206879, 'created_at': datetime.datetime(2025, 5, 21, 12, 20, 59), 'result': '0.03954125960535968', 'result_long': None, 'result_double': None}] Qualite : 0.03954125960535968 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23206879 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23206879_21-05-2025_12_20_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23206879 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23206879_21-05-2025_12_20_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23206889, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23206890, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23206891, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23206892, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23206893, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23206894, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23206895, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23206896, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23206897, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23206898, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23206899, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23206900, 'pht': 3726}}" where mtr_portfolio_id = 23206879 and dashboard_run_id = 1836771 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23206879 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10822899, 0.03954125960535968, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23206879_21-05-2025_12_20_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23206889, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23206890, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23206891, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23206892, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23206893, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23206894, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23206895, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23206896, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23206897, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23206898, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23206899, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23206900, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23208818 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23208818 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 23208818 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23208818 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23208818 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23208818 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23208818_21-05-2025_13_47_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23208818 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23208818_21-05-2025_13_47_04.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23208825, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23208826, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23208827, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23208828, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23208829, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23208830, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23208831, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23208832, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23208833, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23208834, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23208835, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23208837, 'pht': 3726}}" where mtr_portfolio_id = 23208818 and dashboard_run_id = 1836771 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23208957 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23208957 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 23208957 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23208957 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23208957 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23208957 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23208957_21-05-2025_14_02_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23208957 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23208957_21-05-2025_14_02_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23208970, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23208971, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23208972, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23208973, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23208974, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23208975, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23208976, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23208977, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23208978, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23208979, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23208980, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23208981, 'pht': 3726}}" where mtr_portfolio_id = 23208957 and dashboard_run_id = 1836771 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23209265 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23209265 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 23209265 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23209265 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23209265 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23209265 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23209265_21-05-2025_14_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23209265 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23209265_21-05-2025_14_18_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23209290, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23209291, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23209292, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23209293, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23209294, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23209295, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23209296, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23209297, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23209298, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23209299, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23209300, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23209301, 'pht': 3726}}" where mtr_portfolio_id = 23209265 and dashboard_run_id = 1836771 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23209638 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23209638 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 23209638 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23209638 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23209638 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23209638 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23209638_21-05-2025_14_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23209638 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23209638_21-05-2025_14_32_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23209660, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23209661, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23209662, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23209663, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23209664, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23209665, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23209666, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23209667, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23209668, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23209669, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23209670, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23209671, 'pht': 3726}}" where mtr_portfolio_id = 23209638 and dashboard_run_id = 1836771 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23210066 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23210066 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 23210066 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23210066 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23210066 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23210066 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23210066_21-05-2025_14_50_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23210066 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23210066_21-05-2025_14_50_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23210089, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23210090, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23210091, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23210092, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23210094, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23210095, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23210096, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23210097, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23210098, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23210099, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23210100, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23210101, 'pht': 3726}}" where mtr_portfolio_id = 23210066 and dashboard_run_id = 1836771 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23210652 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23210652 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 23210652 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23210652 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23210652 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23210652 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23210652_21-05-2025_15_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23210652 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23210652_21-05-2025_15_03_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23210668, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23210670, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23210671, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23210672, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23210673, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23210674, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23210675, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23210676, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23210677, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23210678, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23210679, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23210680, 'pht': 3726}}" where mtr_portfolio_id = 23210652 and dashboard_run_id = 1836771 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23211024 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23211024 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 23211024 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23211024 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23211024 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23211024 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23211024_21-05-2025_15_16_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23211024 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23211024_21-05-2025_15_16_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23211053, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23211054, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23211055, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23211056, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23211057, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23211058, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23211059, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23211060, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23211061, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23211062, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23211063, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23211064, 'pht': 3726}}" where mtr_portfolio_id = 23211024 and dashboard_run_id = 1836771 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23211539 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23211539 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 23211539 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23211539 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23211539 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23211539 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23211539_21-05-2025_15_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23211539 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23211539_21-05-2025_15_33_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23211568, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23211569, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23211570, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23211571, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23211572, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23211573, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23211574, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23211575, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23211576, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23211577, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23211578, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23211579, 'pht': 3726}}" where mtr_portfolio_id = 23211539 and dashboard_run_id = 1836771 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23212078 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23212078 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 23212078 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23212078 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23212078 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23212078 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23212078_21-05-2025_15_48_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23212078 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23212078_21-05-2025_15_48_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23212099, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23212100, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23212101, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23212102, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23212103, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23212104, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23212105, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23212106, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23212107, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23212108, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23212109, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23212110, 'pht': 3726}}" where mtr_portfolio_id = 23212078 and dashboard_run_id = 1836771 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23212818 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2924897, 'mtr_portfolio_id': 23212818, 'created_at': datetime.datetime(2025, 5, 21, 16, 3, 1), 'result': '0.02987022029004902', 'result_long': None, 'result_double': None}] Qualite : 0.02987022029004902 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23212818 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23212818_21-05-2025_16_03_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23212818 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23212818_21-05-2025_16_03_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23212849, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23212850, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23212851, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23212852, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23212853, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23212854, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23212856, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23212857, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23212858, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23212859, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23212860, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23212861, 'pht': 3726}}" where mtr_portfolio_id = 23212818 and dashboard_run_id = 1836771 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23212818 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10822909, 0.02987022029004902, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23212818_21-05-2025_16_03_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23212849, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23212850, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23212851, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23212852, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23212853, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23212854, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23212856, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23212857, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23212858, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23212859, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23212860, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23212861, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23213478 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23213478 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 23213478 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23213478 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23213478 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23213478 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23213478_21-05-2025_16_18_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23213478 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23213478_21-05-2025_16_18_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23213520, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23213521, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23213522, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23213523, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23213524, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23213525, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23213526, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23213527, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23213528, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23213529, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23213530, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23213531, 'pht': 3726}}" where mtr_portfolio_id = 23213478 and dashboard_run_id = 1836771 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23214366 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23214366 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 23214366 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23214366 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23214366 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23214366 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23214366_21-05-2025_16_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23214366 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23214366_21-05-2025_16_33_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23214379, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23214380, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23214381, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23214382, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23214383, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23214384, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23214385, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23214386, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23214387, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23214388, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23214389, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23214390, 'pht': 3726}}" where mtr_portfolio_id = 23214366 and dashboard_run_id = 1836771 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23214787 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23214787 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 23214787 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23214787 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23214787 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23214787 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23214787_21-05-2025_16_48_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23214787 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23214787_21-05-2025_16_48_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23214869, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23214871, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23214873, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23214874, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23214875, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23214876, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23214877, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23214878, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23214879, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23214880, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23214881, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23214882, 'pht': 3726}}" where mtr_portfolio_id = 23214787 and dashboard_run_id = 1836771 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23215351 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2926510, 'mtr_portfolio_id': 23215351, 'created_at': datetime.datetime(2025, 5, 21, 17, 2, 57), 'result': '0.04503414442571324', 'result_long': None, 'result_double': None}] Qualite : 0.04503414442571324 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23215351 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23215351_21-05-2025_17_02_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23215351 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23215351_21-05-2025_17_02_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23215419, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23215420, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23215421, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23215422, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23215423, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23215424, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23215425, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23215426, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23215427, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23215428, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23215429, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23215430, 'pht': 3726}}" where mtr_portfolio_id = 23215351 and dashboard_run_id = 1836771 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23215351 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10822913, 0.04503414442571324, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23215351_21-05-2025_17_02_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23215419, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23215420, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23215421, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23215422, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23215423, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23215424, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23215425, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23215426, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23215427, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23215428, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23215429, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23215430, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23215953 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2926851, 'mtr_portfolio_id': 23215953, 'created_at': datetime.datetime(2025, 5, 21, 17, 16, 57), 'result': '0.08119148037874757', 'result_long': None, 'result_double': None}] Qualite : 0.08119148037874757 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23215953 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23215953_21-05-2025_17_16_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23215953 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23215953_21-05-2025_17_16_57.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23216037, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23216038, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23216039, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23216040, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23216041, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23216042, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23216043, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23216044, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23216045, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23216046, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23216047, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23216048, 'pht': 3726}}" where mtr_portfolio_id = 23215953 and dashboard_run_id = 1836771 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23215953 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10822914, 0.08119148037874757, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23215953_21-05-2025_17_16_57.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23216037, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23216038, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23216039, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23216040, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23216041, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23216042, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23216043, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23216044, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23216045, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23216046, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23216047, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23216048, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23217019 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2927170, 'mtr_portfolio_id': 23217019, 'created_at': datetime.datetime(2025, 5, 21, 17, 33), 'result': '0.07044332417291893', 'result_long': None, 'result_double': None}] Qualite : 0.07044332417291893 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23217019 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23217019_21-05-2025_17_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23217019 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23217019_21-05-2025_17_33_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23217063, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23217064, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23217066, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23217067, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23217068, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23217069, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23217070, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23217071, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23217072, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23217073, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23217074, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23217075, 'pht': 3726}}" where mtr_portfolio_id = 23217019 and dashboard_run_id = 1836771 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23217019 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10822915, 0.07044332417291893, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23217019_21-05-2025_17_33_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23217063, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23217064, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23217066, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23217067, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23217068, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23217069, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23217070, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23217071, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23217072, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23217073, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23217074, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23217075, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23219787 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2927931, 'mtr_portfolio_id': 23219787, 'created_at': datetime.datetime(2025, 5, 21, 18, 18, 59), 'result': '0.0320189300324414', 'result_long': None, 'result_double': None}] Qualite : 0.0320189300324414 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23219787 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23219787_21-05-2025_18_19_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23219787 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23219787_21-05-2025_18_19_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23219810, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23219811, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23219812, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23219813, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23219814, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23219815, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23219816, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23219817, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23219818, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23219819, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23219820, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23219821, 'pht': 3726}}" where mtr_portfolio_id = 23219787 and dashboard_run_id = 1836771 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23219787 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10822916, 0.0320189300324414, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23219787_21-05-2025_18_19_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23219810, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23219811, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23219812, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23219813, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23219814, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23219815, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23219816, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23219817, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23219818, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23219819, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23219820, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23219821, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23220391 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2928042, 'mtr_portfolio_id': 23220391, 'created_at': datetime.datetime(2025, 5, 21, 18, 52, 57), 'result': '0.03805382497646054', 'result_long': None, 'result_double': None}] Qualite : 0.03805382497646054 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23220391 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23220391_21-05-2025_18_52_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23220391 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23220391_21-05-2025_18_52_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23220413, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23220414, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23220415, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23220416, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23220417, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23220418, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23220419, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23220420, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23220421, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23220422, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23220423, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23220424, 'pht': 3726}}" where mtr_portfolio_id = 23220391 and dashboard_run_id = 1836771 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23220391 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10822917, 0.03805382497646054, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23220391_21-05-2025_18_52_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23220413, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23220414, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23220415, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23220416, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23220417, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23220418, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23220419, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23220420, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23220421, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23220422, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23220423, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23220424, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23223095 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2928450, 'mtr_portfolio_id': 23223095, 'created_at': datetime.datetime(2025, 5, 21, 19, 16, 58), 'result': '0.129100390583427', 'result_long': None, 'result_double': None}] Qualite : 0.129100390583427 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23223095 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23223095_21-05-2025_19_16_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23223095 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23223095_21-05-2025_19_16_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23223098, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23223099, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23223100, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23223101, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23223102, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23223103, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23223104, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23223105, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23223106, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23223107, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23223108, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23223109, 'pht': 3726}}" where mtr_portfolio_id = 23223095 and dashboard_run_id = 1836771 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23223095 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10822918, 0.129100390583427, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23223095_21-05-2025_19_16_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23223098, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23223099, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23223100, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23223101, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23223102, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23223103, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23223104, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23223105, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23223106, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23223107, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23223108, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23223109, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23223293 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2928477, 'mtr_portfolio_id': 23223293, 'created_at': datetime.datetime(2025, 5, 21, 19, 32, 59), 'result': '0.03733811688264968', 'result_long': None, 'result_double': None}] Qualite : 0.03733811688264968 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23223293 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23223293_21-05-2025_19_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23223293 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23223293_21-05-2025_19_33_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23223301, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23223302, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23223303, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23223304, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23223305, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23223306, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23223307, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23223308, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23223309, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23223310, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23223311, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23223312, 'pht': 3726}}" where mtr_portfolio_id = 23223293 and dashboard_run_id = 1836771 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23223293 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10822919, 0.03733811688264968, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23223293_21-05-2025_19_33_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23223301, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23223302, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23223303, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23223304, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23223305, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23223306, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23223307, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23223308, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23223309, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23223310, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23223311, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23223312, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23223875 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2928607, 'mtr_portfolio_id': 23223875, 'created_at': datetime.datetime(2025, 5, 21, 19, 46, 58), 'result': '0.04626171974376889', 'result_long': None, 'result_double': None}] Qualite : 0.04626171974376889 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23223875 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23223875_21-05-2025_19_46_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23223875 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23223875_21-05-2025_19_46_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23223957, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23223958, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23223959, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23223960, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23223961, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23223962, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23223963, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23223964, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23223965, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23223966, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23223967, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23223968, 'pht': 3726}}" where mtr_portfolio_id = 23223875 and dashboard_run_id = 1836771 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23223875 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10822920, 0.04626171974376889, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23223875_21-05-2025_19_46_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23223957, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23223958, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23223959, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23223960, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23223961, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23223962, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23223963, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23223964, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23223965, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23223966, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23223967, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23223968, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23224717 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2928760, 'mtr_portfolio_id': 23224717, 'created_at': datetime.datetime(2025, 5, 21, 20, 3), 'result': '0.029392526800833683', 'result_long': None, 'result_double': None}] Qualite : 0.029392526800833683 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23224717 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23224717_21-05-2025_20_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23224717 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23224717_21-05-2025_20_03_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23224773, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23224774, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23224775, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23224777, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23224778, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23224779, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23224780, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23224781, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23224782, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23224783, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23224784, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23224785, 'pht': 3726}}" where mtr_portfolio_id = 23224717 and dashboard_run_id = 1836771 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23224717 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10822921, 0.029392526800833683, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23224717_21-05-2025_20_03_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23224773, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23224774, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23224775, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23224777, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23224778, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23224779, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23224780, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23224781, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23224782, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23224783, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23224784, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23224785, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23225632 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2929005, 'mtr_portfolio_id': 23225632, 'created_at': datetime.datetime(2025, 5, 21, 20, 36, 59), 'result': '0.049293678253178506', 'result_long': None, 'result_double': None}] Qualite : 0.049293678253178506 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23225632 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23225632_21-05-2025_20_36_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23225632 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23225632_21-05-2025_20_36_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23225645, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23225646, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23225647, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23225648, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23225649, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23225650, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23225651, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23225652, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23225653, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23225654, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23225655, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23225656, 'pht': 3726}}" where mtr_portfolio_id = 23225632 and dashboard_run_id = 1836771 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23225632 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10822922, 0.049293678253178506, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23225632_21-05-2025_20_36_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23225645, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23225646, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23225647, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23225648, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23225649, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23225650, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23225651, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23225652, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23225653, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23225654, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23225655, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23225656, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23227415 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2929518, 'mtr_portfolio_id': 23227415, 'created_at': datetime.datetime(2025, 5, 21, 21, 8, 58), 'result': '0.09946025714602008', 'result_long': None, 'result_double': None}] Qualite : 0.09946025714602008 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23227415 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23227415_21-05-2025_21_08_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23227415 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23227415_21-05-2025_21_08_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23227472, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23227474, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23227475, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23227476, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23227477, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23227478, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23227479, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23227480, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23227481, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23227482, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23227483, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23227484, 'pht': 3726}}" where mtr_portfolio_id = 23227415 and dashboard_run_id = 1836771 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23227415 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10822923, 0.09946025714602008, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23227415_21-05-2025_21_08_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23227472, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23227474, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23227475, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23227476, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23227477, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23227478, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23227479, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23227480, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23227481, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23227482, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23227483, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23227484, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23229322 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2929768, 'mtr_portfolio_id': 23229322, 'created_at': datetime.datetime(2025, 5, 21, 21, 33), 'result': '0.03670434240540687', 'result_long': None, 'result_double': None}] Qualite : 0.03670434240540687 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23229322 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23229322_21-05-2025_21_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23229322 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23229322_21-05-2025_21_33_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23229323, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23229324, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23229325, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23229326, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23229327, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23229328, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23229329, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23229330, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23229331, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23229332, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23229333, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23229334, 'pht': 3726}}" where mtr_portfolio_id = 23229322 and dashboard_run_id = 1836771 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23229322 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10822924, 0.03670434240540687, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23229322_21-05-2025_21_33_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23229323, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23229324, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23229325, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23229326, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23229327, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23229328, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23229329, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23229330, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23229331, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23229332, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23229333, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23229334, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23229926 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2929833, 'mtr_portfolio_id': 23229926, 'created_at': datetime.datetime(2025, 5, 21, 21, 51), 'result': '0.07389883606956447', 'result_long': None, 'result_double': None}] Qualite : 0.07389883606956447 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23229926 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23229926_21-05-2025_21_51_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23229926 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23229926_21-05-2025_21_51_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23229928, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23229929, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23229930, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23229931, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23229932, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23229933, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23229934, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23229935, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23229936, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23229937, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23229938, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23229939, 'pht': 3726}}" where mtr_portfolio_id = 23229926 and dashboard_run_id = 1836771 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23229926 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10822925, 0.07389883606956447, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23229926_21-05-2025_21_51_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23229928, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23229929, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23229930, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23229931, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23229932, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23229933, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23229934, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23229935, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23229936, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23229937, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23229938, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23229939, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23233025 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2930056, 'mtr_portfolio_id': 23233025, 'created_at': datetime.datetime(2025, 5, 21, 23, 2, 30), 'result': '0.1195228415014214', 'result_long': None, 'result_double': None}] Qualite : 0.1195228415014214 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23233025 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23233025_21-05-2025_23_02_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23233025 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23233025_21-05-2025_23_02_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23233027, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23233028, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23233029, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23233030, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23233031, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23233032, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23233033, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23233034, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23233035, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23233036, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23233037, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23233038, 'pht': 3726}}" where mtr_portfolio_id = 23233025 and dashboard_run_id = 1836771 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23233025 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10822926, 0.1195228415014214, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23233025_21-05-2025_23_02_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23233027, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23233028, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23233029, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23233030, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23233031, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23233032, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23233033, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23233034, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23233035, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23233036, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23233037, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23233038, '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 (23186642,23187474,23188819,23189190,23189732,23190355,23190647,23191339,23191752,23192216,23192562,23193125,23193909,23194440,23195014,23195643,23197882,23200082,23200459,23201055,23201666,23202329,23203134,23204071,23204793,23205442,23206193,23206879,23208818,23208957,23209265,23209638,23210066,23210652,23211024,23211539,23212078,23212818,23213478,23214366,23214787,23215351,23215953,23217019,23219787,23220391,23223095,23223293,23223875,23224717,23225632,23227415,23229322,23229926,23233025) result : ((1359928302,), (1359928420,), (1359930048,), (1359930058,), (1359930625,), (1359932674,), (1359932678,), (1359932682,), (1359932728,), (1359941096,), (1359943647,), (1359943706,), (1359944234,), (1359944896,), (1359945243,), (1359945432,), (1359946107,), (1359954058,), (1359954108,), (1359954111,), (1359954112,), (1359954132,), (1359954270,), (1359954287,), (1359954623,), (1359954626,), (1359954741,), (1359954768,), (1359954792,), (1359954815,), (1359954840,), (1359954847,), (1359955073,), (1359955086,), (1359955528,), (1359955556,), (1359955581,), (1359955596,), (1359955598,), (1359955681,), (1359955705,), (1359955715,), (1359955721,), (1359955802,), (1359955804,), (1359955806,), (1359955807,), (1359955809,), (1359955810,), (1359955827,), (1359955829,), (1359955831,), (1359955833,), (1359955850,), (1359955854,), (1359955864,), (1359955891,), (1359956150,), (1359956114,), (1359956117,), (1359956134,), (1359956145,), (1359956147,), (1359956214,), (1359956217,), (1359956220,), (1359956420,), (1359956423,), (1359956435,), (1359956467,), (1359956498,), (1359956748,), (1359956758,), (1359956761,), (1359956764,), (1359956766,), (1359956768,), (1359956784,), (1359956789,), (1359956919,), (1359956947,), (1359956958,), (1359956959,), (1359956966,), (1359956993,), (1359957096,), (1359957099,), (1359957102,), (1359957105,), (1359957107,), (1359957111,), (1359957268,), (1359957281,), (1359957290,), (1359957313,), (1359957546,), (1359957550,), (1359957569,), (1359957572,), (1359957576,), (1359957588,), (1359957625,), (1359957628,), (1359957630,), (1359957632,), (1359957648,), (1359957657,), (1359957660,), (1359957662,), (1359957663,), (1359957679,), (1359957683,), (1359957685,), (1359957689,), (1359957691,), (1359957692,), (1359957897,), (1359957925,), (1359957952,), (1359957980,), (1359958007,), (1359958038,), (1359958136,), (1359958140,), (1359958159,), (1359958186,), (1359958283,), (1359958287,), (1359958294,), (1359958297,), (1359958310,), (1359958335,), (1359958722,), (1359958615,), (1359958669,), (1359959258,), (1359959306,), (1359959336,), (1359959377,), (1359959760,), (1359959784,), (1359959814,), (1359959855,), (1359960060,), (1359960085,), (1359960090,), (1359960093,), (1359960094,), (1359960095,), (1359960115,), (1359960186,), (1359960211,), (1359960236,), (1359960260,), (1359960362,), (1359960368,), (1359960371,), (1359960374,), (1359960377,), (1359960392,), (1359960396,), (1359960413,), (1359960438,), (1359960480,), (1359960527,), (1359960949,), (1359960977,), (1359961016,), (1359961310,), (1359961362,), (1359961409,), (1359961442,), (1359961474,), (1359961622,), (1359961625,), (1359961628,), (1359961631,), (1359961652,), (1359961680,), (1359961794,), (1359961798,), (1359961800,), (1359961803,), (1359961805,), (1359961820,), (1359961824,), (1359961827,), (1359961830,), (1359961833,), (1359961841,), (1359961856,), (1359961859,), (1359961877,), (1359961880,), (1359961904,), (1359961960,), (1359961958,), (1359961986,), (1359961989,), (1359961991,), (1359962011,), (1359962014,), (1359962017,), (1359962019,), (1359962022,), (1359962036,), (1359962037,), (1359962041,), (1359962044,), (1359962062,), (1359962064,), (1359962067,), (1359962069,), (1359962071,), (1359962077,), (1359962103,), (1359962112,), (1359962118,), (1359962121,), (1359962122,), (1359962138,), (1359962141,), (1359962143,), (1359962146,), (1359962148,), (1359962163,), (1359962166,), (1359962168,), (1359962173,), (1359962174,), (1359962175,), (1359962192,), (1359962193,), (1359962196,), (1359962228,), (1359962230,), (1359962232,), (1359962234,), (1359962235,), (1359962236,), (1359962264,), (1359962267,), (1359962270,), (1359962272,), (1359962288,), (1359962291,), (1359962294,), (1359962296,), (1359962298,), (1359962908,), (1359962936,), (1359962962,), (1359962990,), (1359963020,), (1359963048,), (1359963110,), (1359963105,), (1359963107,), (1359963449,), (1359963491,), (1359963517,), (1359963545,), (1359963572,), (1359963598,), (1359963828,), (1359963858,), (1359963888,), (1359963913,), (1359963939,), (1359963965,), (1359964155,), (1359964159,), (1359964162,), (1359964296,), (1359964324,), (1359964354,), (1359964379,), (1359964405,), (1359964422,), (1359964537,), (1359964544,), (1359964546,), (1359964548,), (1359964549,), (1359964873,), (1359964915,), (1359964940,), (1359964945,), (1359964946,), (1359965212,), (1359965215,), (1359965244,), (1359965251,), (1359965350,), (1359965353,), (1359965357,), (1359965360,), (1359965381,), (1359965385,), (1359965401,), (1359965740,), (1359965767,), (1359965792,), (1359965816,), (1359965841,), (1359965938,), (1359965986,), (1359966042,), (1359966097,), (1359966160,), (1359966187,), (1359966364,), (1359966391,), (1359966396,), (1359966409,), (1359966603,), (1359966605,), (1359966606,), (1359966609,), (1359966610,), (1359966626,), (1359966628,), (1359966630,), (1359966631,), (1359966634,), (1359966660,), (1359966647,), (1359966649,), (1359966651,), (1359966658,), (1359966659,), (1359966677,), (1359966678,), (1359966681,), (1359966708,), (1359966711,), (1359966714,), (1359966716,), (1359966734,), (1359966736,), (1359966738,), (1359966740,), (1359966742,), (1359966762,), (1359966766,), (1359966767,), (1359966769,), (1359966773,), (1359966792,), (1359966794,), (1359966796,), (1359966798,), (1359966818,), (1359966821,), (1359966823,), (1359966825,), (1359966828,), (1359966849,), (1359966852,), (1359966855,), (1359966859,), (1359966861,), (1359966881,), (1359966883,), (1359966885,), (1359966887,), (1359966924,), (1359966926,), (1359966928,), (1359966930,), (1359966955,), (1359966959,), (1359966962,), (1359966966,), (1359966969,), (1359966993,), (1359966995,), (1359966997,), (1359966999,), (1359967003,), (1359967042,), (1359967044,), (1359967046,), (1359967051,), (1359967057,), (1359967059,), (1359967085,), (1359967089,), (1359967092,), (1359967095,), (1359967097,), (1359967119,), (1359967121,), (1359967124,), (1359967126,), (1359967131,), (1359967134,), (1359967174,), (1359967161,), (1359967164,), (1359967166,), (1359967168,), (1359967171,), (1359967198,), (1359967200,), (1359967203,), (1359967205,), (1359967240,), (1359967243,), (1359967247,), (1359967251,), (1359967254,), (1359967258,), (1359967318,), (1359967321,), (1359967326,), (1359967331,), (1359967357,), (1359967359,), (1359967361,), (1359967391,), (1359967393,), (1359967395,), (1359967397,), (1359967429,), (1359967432,), (1359967435,), (1359967438,), (1359967475,), (1359967479,), (1359967481,), (1359967485,), (1359967490,), (1359967493,), (1359967515,), (1359967517,), (1359967525,), (1359967529,), (1359967554,), (1359967556,), (1359967558,), (1359967562,), (1359967564,), (1359967567,), (1359967585,), (1359967589,), (1359967592,), (1359967622,), (1359967624,), (1359967626,), (1359967628,), (1359967630,), (1359967633,), (1359967656,), (1359967659,), (1359967673,), (1359967680,), (1359967688,), (1359967701,), (1359967726,), (1359967730,), (1359967733,), (1359967734,), (1359967738,), (1359967762,), (1359967766,), (1359967768,), (1359967771,), (1359967819,), (1359967799,), (1359967803,), (1359967805,), (1359967807,), (1359967813,), (1359967833,), (1359967836,), (1359967840,), (1359967885,), (1359967893,), (1359967895,), (1359967897,), (1359967899,), (1359967902,), (1359967919,), (1359967922,), (1359967925,), (1359967928,), (1359967930,), (1359967951,), (1359967953,), (1359967954,), (1359967980,), (1359967988,), (1359967991,), (1359967994,), (1359967997,), (1359967999,), (1359968020,), (1359968022,), (1359968024,), (1359968055,), (1359968058,), (1359968061,), (1359968064,), (1359968067,), (1359968069,), (1359968089,), (1359968091,), (1359968093,), (1359968097,), (1359968125,), (1359968132,), (1359968136,), (1359968137,), (1359968140,), (1359968161,), (1359968163,), (1359968186,), (1359968189,), (1359968192,), (1359968256,), (1359968259,), (1359968261,), (1359968264,), (1359968267,), (1359968270,), (1359968507,), (1359968537,), (1359968567,), (1359968594,), (1359968623,), (1359968937,), (1359968921,), (1359968924,), (1359968929,), (1359968932,), (1359969068,), (1359969094,), (1359969131,), (1359969175,), (1359969572,), (1359969600,), (1359969630,), (1359969658,), (1359969690,), (1359969838,), (1359969841,), (1359969845,), (1359969849,), (1359970076,), (1359970088,), (1359970093,), (1359970095,), (1359970100,), (1359970105,), (1359970143,), (1359970151,), (1359970169,), (1359970177,), (1359970187,), (1359970212,), (1359970224,), (1359970229,), (1359970234,), (1359970258,), (1359970384,), (1359970409,), (1359970417,), (1359970419,), (1359970423,), (1359970449,), (1359970452,), (1359970456,), (1359970459,), (1359970494,), (1359970495,), (1359970497,), (1359970499,), (1359970500,), (1359970503,), (1359970531,), (1359970533,), (1359970535,), (1359970538,), (1359970572,), (1359970578,), (1359970581,), (1359970592,), (1359970611,), (1359970613,), (1359970617,), (1359970620,), (1359970623,), (1359970689,), (1359970649,), (1359970651,), (1359970655,), (1359970669,), (1359970788,), (1359970791,), (1359970794,), (1359970842,), (1359970845,), (1359970862,), (1359970865,), (1359970869,), (1359970902,), (1359970904,), (1359970908,), (1359970911,), (1359970963,), (1359970964,), (1359970967,), (1359970995,), (1359971010,), (1359971036,), (1359971110,), (1359971112,), (1359971114,), (1359971145,), (1359971148,), (1359971155,), (1359971157,), (1359971171,), (1359971180,), (1359971219,), (1359971224,), (1359971226,), (1359971229,), (1359971300,), (1359971310,), (1359971322,), (1359971331,), (1359971483,), (1359971489,), (1359971493,), (1359971498,), (1359971502,), (1359971518,), (1359971612,), (1359971614,), (1359971633,), (1359971643,), (1359971647,), (1359971764,), (1359971768,), (1359971774,), (1359971805,), (1359971808,), (1359971812,), (1359971816,), (1359971845,), (1359971849,), (1359971854,), (1359971858,), (1359971862,), (1359971865,), (1359971899,), (1359971902,), (1359971906,), (1359971909,), (1359971913,), (1359971915,), (1359971975,), (1359971967,), (1359971969,), (1359971972,), (1359972009,), (1359972012,), (1359972017,), (1359972019,), (1359972022,), (1359972061,), (1359972064,), (1359972067,), (1359972070,), (1359972101,), (1359972104,), (1359972106,), (1359972110,), (1359972112,), (1359972118,), (1359972226,), (1359972240,), (1359972247,), (1359972249,), (1359972255,), (1359972258,), (1359972285,), (1359972288,), (1359972293,), (1359972297,), (1359972326,), (1359972330,), (1359972333,), (1359972336,), (1359972338,), (1359972343,), (1359972374,), (1359972378,), (1359972382,), (1359972386,), (1359972418,), (1359972423,), (1359972426,), (1359972432,), (1359972436,), (1359972442,), (1359972483,), (1359972492,), (1359972497,), (1359972500,), (1359972546,), (1359972549,), (1359972552,), (1359972556,), (1359972562,), (1359972566,), (1359972593,), (1359972598,), (1359972602,), (1359972610,), (1359972628,), (1359972664,), (1359972668,), (1359972671,), (1359972675,), (1359972678,), (1359972772,), (1359972783,), (1359972788,), (1359972792,), (1359972797,), (1359972798,), (1359972821,), (1359972825,), (1359972829,), (1359972833,), (1359972919,), (1359972892,), (1359972905,), (1359972910,), (1359972915,), (1359972944,), (1359972948,), (1359972952,), (1359972957,), (1359972962,), (1359972966,), (1359972991,), (1359972996,), (1359973001,), (1359973007,), (1359973011,), (1359973059,), (1359973065,), (1359973070,), (1359973075,), (1359973079,), (1359973119,), (1359973125,), (1359973133,), (1359973142,), (1359973146,), (1359973149,), (1359973179,), (1359973183,), (1359973187,), (1359973191,), (1359973234,), (1359973239,), (1359973243,), (1359973247,), (1359973291,), (1359973295,), (1359973300,), (1359973304,), (1359973306,), (1359973310,), (1359973338,), (1359973342,), (1359973346,), (1359973352,), (1359973664,), (1359973713,), (1359973750,), (1359973818,), (1359973955,), (1359973960,), (1359973964,), (1359973974,), (1359974002,), (1359974033,), (1359974199,), (1359974228,), (1359974234,), (1359974417,), (1359974437,), (1359974447,), (1359974452,), (1359974462,), (1359974496,), (1359974505,), (1359974511,), (1359974518,), (1359974524,), (1359974617,), (1359974596,), (1359974601,), (1359974606,), (1359974612,), (1359974695,), (1359974699,), (1359974703,), (1359974707,), (1359974735,), (1359974740,), (1359974745,), (1359974785,), (1359974790,), (1359974794,), (1359974796,), (1359974799,), (1359974804,), (1359974825,), (1359974830,), (1359974835,), (1359974842,), (1359974848,), (1359974857,), (1359974887,), (1359974892,), (1359974896,), (1359974903,), (1359974939,), (1359974945,), (1359974955,), (1359974984,), (1359974990,), (1359974995,), (1359974999,), (1359975003,), (1359975032,), (1359975037,), (1359975042,), (1359975045,), (1359975050,), (1359975072,), (1359975078,), (1359975129,), (1359975133,), (1359975137,), (1359975142,), (1359975149,), (1359975183,), (1359975187,), (1359975190,), (1359975195,), (1359975200,), (1359975205,), (1359975226,), (1359975230,), (1359975234,), (1359975237,), (1359975276,), (1359975281,), (1359975285,), (1359975320,), (1359975327,), (1359975338,), (1359975345,), (1359975352,), (1359975398,), (1359975385,), (1359975388,), (1359975393,), (1359975433,), (1359975440,), (1359975446,), (1359975451,), (1359975462,), (1359975501,), (1359975506,), (1359975511,), (1359975560,), (1359975566,), (1359975572,), (1359975624,), (1359975630,), (1359975637,), (1359975642,), (1359975646,), (1359975648,), (1359975685,), (1359975688,), (1359975692,), (1359975697,), (1359975701,), (1359975704,), (1359975733,), (1359975736,), (1359975739,), (1359975743,), (1359975772,), (1359975776,), (1359975780,), (1359975821,), (1359975825,), (1359975830,), (1359975834,), (1359975877,), (1359975882,), (1359975889,), (1359975895,), (1359975902,), (1359975930,), (1359975933,), (1359975937,), (1359975940,), (1359975944,), (1359975971,), (1359975975,), (1359975980,), (1359975985,), (1359977455,), (1359976955,), (1359977421,), (1359977623,), (1359977648,), (1359977656,), (1359977673,), (1359977688,), (1359977749,), (1359977753,), (1359977758,), (1359977907,), (1359977937,), (1359977952,), (1359978379,), (1359978398,), (1359978407,), (1359978411,), (1359978416,), (1359978469,), (1359978496,), (1359978524,), (1359978551,), (1359978797,), (1359978905,), (1359978918,), (1359978932,), (1359978973,), (1359979069,), (1359979073,), (1359979075,), (1359979078,), (1359979087,), (1359979148,), (1359979154,), (1359979160,), (1359979168,), (1359979176,), (1359979232,), (1359983801,), (1359983812,), (1359983853,), (1359983858,), (1359983862,), (1359983865,), (1359983867,), (1359983871,), (1359983911,), (1359983938,), (1359984302,), (1359984332,), (1359984337,), (1359984342,), (1359984497,), (1359984525,), (1359984536,), (1359984821,), (1359984825,), (1359984830,), (1359984845,), (1359984878,), (1359984963,), (1359984965,), (1359984969,), (1359984974,), (1359984979,), (1359985004,), (1359985007,), (1359985017,), (1359985085,), (1359985094,), (1359985102,), (1359985139,), (1359985177,), (1359985204,), (1359985213,), (1359985230,), (1359985290,), (1359985298,), (1359985303,), (1359985308,), (1359985311,), (1359985334,), (1359985339,), (1359985344,), (1359985349,), (1359985437,), (1359985442,), (1359985446,), (1359985450,), (1359985511,), (1359985493,), (1359985497,), (1359985503,), (1359985508,), (1359985607,), (1359985612,), (1359985614,), (1359985617,), (1359985621,), (1359985623,), (1359985782,), (1359985786,), (1359985807,), (1359985811,), (1359985845,), (1359985846,), (1359985848,), (1359985853,), (1359985856,), (1359985860,), (1359985921,), (1359985924,), (1359985927,), (1359985930,), (1359985932,), (1359986081,), (1359986122,), (1359986124,), (1359986268,), (1359986285,), (1359986289,), (1359986293,), (1359986321,), (1359986324,), (1359986327,), (1359986330,), (1359986334,), (1359986338,), (1359986366,), (1359986368,), (1359986371,), (1359986374,), (1359986376,), (1359986381,), (1359986464,), (1359986482,), (1359986492,), (1359986534,), (1359986536,), (1359986539,), (1359986542,), (1359986543,), (1359986716,), (1359986722,), (1359986728,), (1359986735,), (1359986742,), (1359986811,), (1359986802,), (1359986805,), (1359986852,), (1359986868,), (1359986873,), (1359987288,), (1359987472,), (1359987488,), (1359987492,), (1359987513,), (1359987683,), (1359987686,), (1359987690,), (1359987695,), (1359987699,), (1359987701,), (1359987719,), (1359987723,), (1359987726,), (1359987729,), (1359987734,), (1359987761,), (1359987821,), (1359987826,), (1359987830,), (1359987833,), (1359987838,), (1359987854,), (1359987858,), (1359987863,), (1359987900,), (1359987903,), (1359987908,), (1359987914,), (1359987923,), (1359987946,), (1359987953,), (1359987965,), (1359987970,), (1359987974,), (1359987979,), (1359988187,), (1359988214,), (1359988242,), (1359988444,), (1359988459,), (1359988472,), (1359988477,), (1359988481,), (1359988596,), (1359988607,), (1359988612,), (1359988618,), (1359988642,), (1359988750,), (1359988740,), (1359988745,), (1359988776,), (1359988780,), (1359988784,), (1359988816,), (1359988819,), (1359988823,), (1359988827,), (1359988832,), (1359988882,), (1359988888,), (1359988893,), (1359988898,), (1359988915,), (1359988940,), (1359989297,), (1359989336,), (1359989390,), (1359989425,), (1359989457,), (1359989806,), (1359989811,), (1359989819,), (1359989850,), (1359989876,), (1359989994,), (1359989997,), (1359990002,), (1359990006,), (1359990011,), (1359990028,), (1359990032,), (1359990037,), (1359990072,), (1359990076,), (1359990081,), (1359990086,), (1359990088,), (1359990182,), (1359990214,), (1359990244,), (1359990271,), (1359990296,), (1359990322,), (1359990925,), (1359990962,), (1359990986,), (1359991214,), (1359991257,), (1359991274,), (1359991288,), (1359991295,), (1359991316,), (1359991494,), (1359991502,), (1359991514,), (1359991533,), (1359991559,), (1359991582,), (1359991674,), (1359991677,), (1359991705,), (1359991731,), (1359991887,), (1359991926,), (1359991960,), (1359991966,), (1359991970,), (1359992012,), (1359992000,), (1359992004,), (1359992009,), (1359992297,), (1359992315,), (1359992320,), (1359992324,), (1359992525,), (1359992529,), (1359992533,), (1359992566,), (1359992919,), (1359992956,), (1359993212,), (1359993246,), (1359993274,), (1359993291,), (1359993295,), (1359993298,), (1359993656,), (1359993683,), (1359993706,), (1359993731,), (1359994124,), (1359994150,), (1359994176,), (1359994349,), (1359994353,), (1359994383,), (1359994394,), (1359994396,), (1359994404,), (1359994477,), (1359994482,), (1359994485,), (1359994488,), (1359994490,), (1359994491,), (1359994517,), (1359994522,), (1359994525,), (1359994750,), (1359994773,), (1359994800,), (1359994824,), (1359994857,), (1359994880,), (1359995188,), (1359995240,), (1359995290,), (1359995630,), (1359995631,), (1359995633,), (1359995657,), (1359995681,), (1359995709,), (1359995858,), (1359995859,), (1359995863,), (1359995865,), (1359995868,), (1359995909,), (1359995901,), (1359995905,), (1359996034,), (1359996628,), (1359996741,), (1359996769,), (1359996805,), (1359996857,), (1359996910,), (1359997120,), (1359997208,), (1359997349,), (1359997353,), (1359997358,), (1359997362,), (1359997365,), (1359997367,), (1359997384,), (1359997385,), (1359997388,), (1359997391,), (1359997409,), (1359997430,), (1359997456,), (1359997478,), (1359997506,), (1359997529,), (1359997643,), (1359997645,), (1359997648,), (1359997651,), (1359997654,), (1359997821,), (1359997853,), (1359997887,), (1359998267,), (1359998488,), (1359998770,), (1359998774,), (1359998811,), (1359998815,), (1359998824,), (1359998909,), (1359998935,), (1359998964,), (1359998995,), (1359999021,), (1359999048,), (1359999320,), (1359999348,), (1359999377,), (1359999406,), (1359999435,), (1359999697,), (1359999729,), (1359999748,), (1359999935,), (1359999978,), (1360000006,), (1360000014,), (1360000019,), (1360000039,), (1360000044,), (1360000049,), (1360000128,), (1360000180,), (1360000440,), (1360000952,), (1360000966,), (1360001136,), (1360001157,), (1360001183,), (1360001213,), (1360001560,), (1360001611,), (1360001667,), (1360001723,), (1360001752,), (1360002057,), (1360002040,), (1360002044,), (1360002048,), (1360002051,), (1360002054,), (1360002267,), (1360002323,), (1360002375,), (1360002429,), (1360002712,), (1360002715,), (1360002718,), (1360002724,), (1360002749,), (1360002780,), (1360002908,), (1360002937,), (1360002969,), (1360002978,), (1360003165,), (1360003169,), (1360003190,), (1360003218,), (1360003248,), (1360003276,), (1360003341,), (1360003346,), (1360003350,), (1360003353,), (1360003355,), (1360003370,), (1360003372,), (1360003376,), (1360003379,), (1360003420,), (1360003423,), (1360003425,), (1360003429,), (1360003435,), (1360003477,), (1360003482,), (1360003489,), (1360003515,), (1360003519,), (1360003562,), (1360003566,), (1360003568,), (1360003578,), (1360003583,), (1360003914,), (1360003944,), (1360003971,), (1360003999,), (1360004025,), (1360004050,), (1360004216,), (1360004233,), (1360004247,), (1360004250,), (1360004539,), (1360004566,), (1360004606,), (1360004634,), (1360004662,), (1360004713,), (1360004844,), (1360004848,), (1360004851,), (1360004854,), (1360004857,), (1360004953,), (1360004983,), (1360005016,), (1360005457,), (1360005372,), (1360005402,), (1360005436,), (1360005445,), (1360005453,), (1360005669,), (1360005704,), (1360005710,), (1360005936,), (1360006041,), (1360006067,), (1360006074,), (1360006078,), (1360006098,), (1360006102,), (1360006105,), (1360006108,), (1360006111,), (1360006115,), (1360006191,), (1360006196,), (1360006202,), (1360006232,), (1360006237,), (1360006241,), (1360006244,), (1360006245,), (1360006248,), (1360006348,), (1360006628,), (1360006634,), (1360006639,), (1360006650,), (1360006656,), (1360006677,), (1360006681,), (1360006686,), (1360006731,), (1360007429,), (1360007433,), (1360007442,), (1360007446,), (1360007449,), (1360007469,), (1360007698,), (1360007724,), (1360007761,), (1360007782,), (1360007786,), (1360007934,), (1360007941,), (1360007945,), (1360008116,), (1360008132,), (1360008155,), (1360008168,), (1360008175,), (1360008180,), (1360008207,), (1360008197,), (1360008202,), (1360008241,), (1360008247,), (1360008252,), (1360008268,), (1360008278,), (1360008284,), (1360008310,), (1360008313,), (1360008318,), (1360008322,), (1360008326,), (1360008329,), (1360008359,), (1360008362,), (1360008368,), (1360008373,), (1360008403,), (1360008409,), (1360008444,), (1360008800,), (1360010549,), (1360010728,), (1360010751,), (1360010779,), (1360010803,), (1360010916,), (1360010943,), (1360010958,), (1360010960,), (1360011127,), (1360011132,), (1360011138,), (1360011145,), (1360011221,), (1360011222,), (1360011248,), (1360011250,), (1360011275,), (1360011278,), (1360011592,), (1360011457,), (1360011508,), (1360011536,), (1360011565,), (1360011751,), (1360011755,), (1360011759,), (1360011783,), (1360012121,), (1360012125,), (1360012128,), (1360012134,), (1360012138,), (1360012263,), (1360012267,), (1360012270,), (1360012274,), (1360012277,), (1360012279,), (1360012298,), (1360012302,), (1360012306,), (1360012310,), (1360012339,), (1360012345,), (1360012349,), (1360012353,), (1360012508,), (1360012511,), (1360012526,), (1360012541,), (1360012544,), (1360012548,), (1360012593,), (1360012597,), (1360012605,), (1360012610,), (1360012714,), (1360012720,), (1360012725,), (1360012731,), (1360012736,), (1360012763,), (1360012767,), (1360012772,), (1360012778,), (1360012783,), (1360012789,), (1360012862,), (1360012872,), (1360015519,), (1360027125,), (1360027719,), (1360027747,), (1360027753,), (1360027779,), (1360028386,), (1360028411,), (1360028817,), (1360029261,), (1360029426,), (1360029459,), (1360029462,), (1360029467,), (1360029469,), (1360029490,), (1360029608,), (1360029612,), (1360029615,), (1360029752,), (1360029755,), (1360029760,), (1360029765,), (1360029768,), (1360029770,), (1360029833,), (1360029861,), (1360029890,), (1360030190,), (1360030194,), (1360030199,), (1360030227,), (1360030375,), (1360030350,), (1360030355,), (1360030359,), (1360030543,), (1360030587,), (1360030616,), (1360030662,), (1360030690,), (1360030708,), (1360030711,), (1360030716,), (1360030747,), (1360030750,), (1360030755,), (1360030758,), (1360030761,), (1360031004,), (1360031105,), (1360031131,), (1360031162,), (1360031322,), (1360031326,), (1360031332,), (1360031351,), (1360031384,), (1360031554,), (1360031582,), (1360031606,), (1360031764,), (1360031766,), (1360031771,), (1360031775,), (1360031777,), (1360031807,), (1360031810,), (1360031813,), (1360031834,), (1360031863,), (1360031893,), (1360032157,), (1360032190,), (1360032222,), (1360032255,), (1360032416,), (1360032443,), (1360032619,), (1360032770,), (1360032773,), (1360032776,), (1360032827,), (1360032836,), (1360032842,), (1360032849,), (1360032867,), (1360033256,), (1360033202,), (1360033228,), (1360033609,), (1360033610,), (1360033615,), (1360033618,), (1360033631,), (1360033661,), (1360033802,), (1360033808,), (1360033813,), (1360033831,), (1360033859,), (1360033885,), (1360033948,), (1360033952,), (1360033956,), (1360033959,), (1360034009,), (1360034165,), (1360034195,), (1360034224,), (1360034422,), (1360034428,), (1360034432,), (1360034439,), (1360034468,), (1360034497,), (1360034607,), (1360034610,), (1360034626,), (1360034787,), (1360034817,), (1360034846,), (1360034880,), (1360034914,), (1360034920,), (1360034935,), (1360034948,), (1360034952,), (1360034956,), (1360034988,), (1360034994,), (1360034999,), (1360035004,), (1360035009,), (1360035013,), (1360035038,), (1360035043,), (1360035046,), (1360035052,), (1360035083,), (1360035092,), (1360035099,), (1360035102,), (1360035108,), (1360035122,), (1360035125,), (1360035130,), (1360035133,), (1360035136,), (1360035138,), (1360035162,), (1360035164,), (1360035167,), (1360035340,), (1360035368,), (1360035398,), (1360035425,), (1360035460,), (1360035841,), (1360035725,), (1360035731,), (1360035747,), (1360035781,), (1360035813,), (1360035926,), (1360035930,), (1360036185,), (1360036247,), (1360036306,), (1360036342,), (1360036373,), (1360036398,), (1360036558,), (1360036560,), (1360036580,), (1360036612,), (1360036625,), (1360036626,), (1360036651,), (1360036654,), (1360036658,), (1360036662,), (1360036688,), (1360036693,), (1360036695,), (1360036705,), (1360036736,), (1360036739,), (1360036741,), (1360036744,), (1360036746,), (1360036750,), (1360036783,), (1360036787,), (1360036792,), (1360036794,), (1360036797,), (1360036801,), (1360036821,), (1360036823,), (1360036825,), (1360036851,), (1360036873,), (1360036935,), (1360036994,), (1360037054,), (1360037222,), (1360037250,), (1360037280,), (1360037469,), (1360037532,), (1360037564,), (1360037598,), (1360037941,), (1360037969,), (1360037989,), (1360037996,), (1360038010,), (1360038020,), (1360038215,), (1360038219,), (1360038223,), (1360038227,), (1360038230,), (1360038299,), (1360038301,), (1360038305,), (1360038476,), (1360038466,), (1360038469,), (1360038472,), (1360038512,), (1360038514,), (1360038522,), (1360038579,), (1360038581,), (1360038591,), (1360038619,), (1360038621,), (1360038624,), (1360038699,), (1360038702,), (1360038709,), (1360038771,), (1360038838,), (1360038895,), (1360038982,), (1360039050,), (1360039090,), (1360039114,), (1360039134,), (1360039139,), (1360039226,), (1360039266,), (1360039307,), (1360039312,), (1360039319,), (1360039344,), (1360039354,), (1360039357,), (1360039359,), (1360039363,), (1360039375,), (1360039400,), (1360039431,), (1360039458,), (1360039485,), (1360039503,), (1360039517,), (1360039542,), (1360039571,), (1360039599,), (1360039628,), (1360039679,), (1360039682,), (1360039687,), (1360039965,), (1360039991,), (1360040020,), (1360040049,), (1360040079,), (1360040111,), (1360040181,), (1360040205,), (1360040236,), (1360040267,), (1360040300,), (1360040457,), (1360040461,), (1360040465,), (1360040470,), (1360040474,), (1360040478,), (1360040630,), (1360040634,), (1360040640,), (1360040668,), (1360040695,), (1360040721,), (1360040954,), (1360040956,), (1360040961,), (1360040984,), (1360041079,), (1360041543,), (1360041533,), (1360041537,), (1360041539,), (1360041572,), (1360041575,), (1360041578,), (1360041582,), (1360041586,), (1360041590,), (1360041609,), (1360041640,), (1360041644,), (1360041652,), (1360041656,), (1360041663,), (1360041673,), (1360041676,), (1360041681,), (1360041687,), (1360041694,), (1360041697,), (1360041721,), (1360041723,), (1360041726,), (1360041933,), (1360041960,), (1360041987,), (1360042015,), (1360042041,), (1360042073,), (1360042266,), (1360042269,), (1360042273,), (1360042287,), (1360042314,), (1360042473,), (1360042476,), (1360042858,), (1360042887,), (1360042919,), (1360042951,), (1360043070,), (1360043075,), (1360043089,), (1360043090,), (1360043093,), (1360043094,), (1360043210,), (1360043155,), (1360043183,), (1360043455,), (1360043474,), (1360043479,), (1360043484,), (1360043608,), (1360043611,), (1360043626,), (1360043632,), (1360043636,), (1360043640,), (1360043653,), (1360043656,), (1360043660,), (1360043690,), (1360043694,), (1360043701,), (1360043706,), (1360043709,), (1360043712,), (1360043736,), (1360043741,), (1360043747,), (1360043751,), (1360043810,), (1360043815,), (1360043823,), (1360043829,), (1360043833,), (1360043866,), (1360043871,), (1360043874,), (1360043879,), (1360043883,), (1360043885,), (1360043908,), (1360043912,), (1360043916,), (1360043950,), (1360043958,), (1360043962,), (1360043967,), (1360043973,), (1360043981,), (1360044069,), (1360044074,), (1360044079,), (1360044084,), (1360044088,), (1360044100,), (1360044111,), (1360044159,), (1360044205,), (1360044323,), (1360044337,), (1360044371,), (1360044382,), (1360044385,), (1360044389,), (1360044405,), (1360044408,), (1360044413,), (1360044415,), (1360044446,), (1360044449,), (1360044453,), (1360044456,), (1360044459,), (1360044462,), (1360044496,), (1360044487,), (1360044489,), (1360044492,), (1360044532,), (1360044536,), (1360044541,), (1360044546,), (1360044549,), (1360044572,), (1360044576,), (1360044581,), (1360044585,), (1360044589,), (1360044592,), (1360044777,), (1360044802,), (1360044838,), (1360044866,), (1360045103,), (1360045106,), (1360045109,), (1360045113,), (1360045117,), (1360045120,), (1360045220,), (1360045223,), (1360045236,), (1360045264,), (1360045354,), (1360045362,), (1360045364,), (1360045368,), (1360045371,), (1360045376,), (1360045399,), (1360045403,), (1360045407,), (1360045411,), (1360045414,), (1360045435,), (1360045437,), (1360045439,), (1360045441,), (1360045442,), (1360045792,), (1360045895,), (1360045961,), (1360045994,), (1360046244,), (1360046249,), (1360046251,), (1360046254,), (1360046278,), (1360046305,), (1360046662,), (1360046676,), (1360046703,), (1360046733,), (1360046885,), (1360046911,), (1360046915,), (1360046919,), (1360046922,), (1360046925,), (1360046949,), (1360046953,), (1360046958,), (1360046961,), (1360046964,), (1360047175,), (1360047208,), (1360047234,), (1360047262,), (1360047580,), (1360047487,), (1360047491,), (1360047494,), (1360047519,), (1360047550,), (1360047759,), (1360047798,), (1360047832,), (1360047867,), (1360047882,), (1360048088,), (1360048089,), (1360048092,), (1360048095,), (1360048098,), (1360048100,), (1360048130,), (1360048132,), (1360048134,), (1360048136,), (1360048140,), (1360048199,), (1360048204,), (1360048210,), (1360048215,), (1360048221,), (1360048244,), (1360048248,), (1360048252,), (1360048272,), (1360048277,), (1360048283,), (1360048290,), (1360048296,), (1360048299,), (1360048310,), (1360048316,), (1360048321,), (1360048327,), (1360048333,), (1360048357,), (1360048363,), (1360048367,), (1360048371,), (1360048373,), (1360048377,), (1360048391,), (1360048500,), (1360048531,), (1360048558,), (1360048588,), (1360048820,), (1360048848,), (1360048886,), (1360048917,), (1360048947,), (1360048976,), (1360049098,), (1360049102,), (1360049108,), (1360049110,), (1360049113,), (1360049229,), (1360049232,), (1360049256,), (1360049285,), (1360049314,), (1360049341,), (1360049413,), (1360049419,), (1360049424,), (1360049429,), (1360049695,), (1360049725,), (1360049757,), (1360049786,), (1360049824,), (1360049855,), (1360050146,), (1360049967,), (1360049990,), (1360050022,), (1360050054,), (1360050092,), (1360050418,), (1360050424,), (1360050452,), (1360050458,), (1360050626,), (1360050631,), (1360050636,), (1360050639,), (1360050642,), (1360050647,), (1360050670,), (1360050674,), (1360050678,), (1360050682,), (1360050687,), (1360050691,), (1360050714,), (1360050720,), (1360050727,), (1360050732,), (1360050763,), (1360050769,), (1360050774,), (1360050780,), (1360050784,), (1360050788,), (1360050918,), (1360050942,), (1360050949,), (1360051013,), (1360051018,), (1360051022,), (1360051024,), (1360051028,), (1360051031,), (1360051050,), (1360051054,), (1360051057,), (1360051061,), (1360051067,), (1360051089,), (1360051092,), (1360051097,), (1360051127,), (1360051131,), (1360051134,), (1360051137,), (1360051141,), (1360051160,), (1360051163,), (1360051168,), (1360051174,), (1360051179,), (1360051183,), (1360051396,), (1360051421,), (1360051450,), (1360051470,), (1360051473,), (1360051701,), (1360051705,), (1360051711,), (1360051718,), (1360051726,), (1360051796,), (1360051777,), (1360051781,), (1360051786,), (1360051791,), (1360051824,), (1360051843,), (1360051947,), (1360052054,), (1360052071,), (1360052077,), (1360052083,), (1360052091,), (1360052118,), (1360052174,), (1360052178,), (1360052182,), (1360052186,), (1360052188,), (1360052210,), (1360052216,), (1360052222,), (1360052227,), (1360052253,), (1360052258,), (1360052263,), (1360052268,), (1360052271,), (1360052396,), (1360052401,), (1360052417,), (1360052445,), (1360052499,), (1360052504,), (1360052508,), (1360052514,), (1360052520,), (1360052522,), (1360052542,), (1360052546,), (1360052551,), (1360052556,), (1360052560,), (1360052578,), (1360052580,), (1360053316,), (1360053481,), (1360053580,), (1360053595,), (1360053631,), (1360053635,), (1360053966,), (1360054141,), (1360054455,), (1360054444,), (1360054607,), (1360054654,), (1360055279,), (1360055286,), (1360055360,), (1360055363,), (1360055368,), (1360055605,), (1360055632,), (1360055645,), (1360055650,), (1360055767,), (1360055770,), (1360055940,), (1360055947,), (1360055952,), (1360055973,), (1360056018,), (1360056021,), (1360056176,), (1360056156,), (1360056159,), (1360056164,), (1360056169,), (1360056173,), (1360056191,), (1360056252,), (1360056326,), (1360056337,), (1360056346,), (1360056377,), (1360056392,), (1360056429,), (1360056453,), (1360056459,), (1360056463,), (1360056468,), (1360056472,), (1360056491,), (1360056495,), (1360056500,), (1360056504,), (1360056507,), (1360056532,), (1360056535,), (1360056539,), (1360056561,), (1360056589,), (1360056615,), (1360056886,), (1360056914,), (1360056942,), (1360056972,), (1360056999,), (1360057027,), (1360057312,), (1360057339,), (1360057367,), (1360057395,), (1360057424,), (1360057429,), (1360057454,), (1360057484,), (1360057513,), (1360057541,), (1360057917,), (1360057948,), (1360057980,), (1360058025,), (1360058550,), (1360058619,), (1360058676,), (1360059337,), (1360059432,), (1360059487,), (1360059537,), (1360059587,), (1360059646,), (1360060015,), (1360060019,), (1360060024,), (1360060053,), (1360060282,), (1360060386,), (1360060422,), (1360060451,), (1360060477,), (1360060862,), (1360060894,), (1360060927,), (1360060955,), (1360060989,), (1360061016,), (1360061225,), (1360061205,), (1360061210,), (1360061214,), (1360061221,), (1360061406,), (1360061436,), (1360061449,), (1360061453,), (1360061471,), (1360061498,), (1360061523,), (1360061527,), (1360061558,), (1360061561,), (1360061565,), (1360061569,), (1360061816,), (1360061847,), (1360061880,), (1360061908,), (1360061938,), (1360062304,), (1360062335,), (1360062365,), (1360062410,), (1360062594,), (1360062602,), (1360062607,), (1360062746,), (1360062749,), (1360062753,), (1360062757,), (1360062759,), (1360062780,), (1360062786,), (1360062790,), (1360062793,), (1360062795,), (1360062818,), (1360062822,), (1360062827,), (1360062838,), (1360062867,), (1360063146,), (1360063175,), (1360063205,), (1360063233,), (1360063540,), (1360063570,), (1360063598,), (1360063626,), (1360063657,), (1360063681,), (1360063861,), (1360063865,), (1360063870,), (1360063877,), (1360063896,), (1360063923,), (1360064759,), (1360064813,), (1360064843,), (1360065165,), (1360065045,), (1360065075,), (1360065106,), (1360065135,), (1360065671,), (1360065711,), (1360065747,), (1360066013,), (1360066019,), (1360066024,), (1360066029,), (1360066037,), (1360066040,), (1360066209,), (1360066241,), (1360066271,), (1360066299,), (1360066325,), (1360066685,), (1360066759,), (1360066819,), (1360067443,), (1360067520,), (1360067575,), (1360067628,), (1360067659,), (1360067705,), (1360068212,), (1360068242,), (1360068286,), (1360068350,), (1360068430,), (1360068513,), (1360069102,), (1360069136,), (1360069182,), (1360069218,), (1360069398,), (1360069429,), (1360069455,), (1360069484,), (1360069505,), (1360069506,), (1360069735,), (1360069785,), (1360069836,), (1360069890,), (1360069942,), (1360070637,), (1360070688,), (1360070742,), (1360070782,), (1360070814,), (1360070840,), (1360071034,), (1360071209,), (1360071255,), (1360071292,), (1360071368,), (1360072260,), (1360072265,), (1360072270,), (1360072276,), (1360072279,), (1360072416,), (1360072457,), (1360072494,), (1360072524,), (1360072907,), (1360072941,), (1360072973,), (1360073012,), (1360073045,), (1360073075,), (1360073433,), (1360073421,), (1360073430,), (1360073834,), (1360073895,), (1360073941,), (1360073999,), (1360074028,), (1360074035,), (1360074259,), (1360074294,), (1360074320,), (1360074352,), (1360074787,), (1360074826,), (1360074847,), (1360074857,), (1360074860,), (1360074913,), (1360074957,), (1360074988,), (1360075021,), (1360075036,), (1360075040,), (1360075277,), (1360075282,), (1360075294,), (1360075306,), (1360075336,), (1360075687,), (1360075730,), (1360075737,), (1360075876,), (1360075880,), (1360075890,), (1360075894,), (1360075899,), (1360076004,), (1360076010,), (1360076028,), (1360076056,), (1360076083,), (1360076252,), (1360076258,), (1360076263,), (1360076284,), (1360076502,), (1360076544,), (1360076579,), (1360076608,), (1360076640,), (1360076672,), (1360077129,), (1360077183,), (1360077945,), (1360077975,), (1360078011,), (1360078053,), (1360078084,), (1360078413,), (1360078429,), (1360078458,), (1360078470,), (1360078543,), (1360078650,), (1360078857,), (1360078890,), (1360078936,), (1360079339,), (1360092818,), (1360092860,), (1360092890,), (1360092930,), (1360092955,), (1360093278,), (1360093281,), (1360093286,), (1360093295,), (1360093307,), (1360093314,), (1360093497,), (1360093530,), (1360093697,), (1360093703,), (1360093706,), (1360093711,), (1360093714,), (1360093717,), (1360094007,), (1360094058,), (1360094137,), (1360094141,), (1360094162,), (1360094167,), (1360094283,), (1360094306,), (1360094319,), (1360094325,), (1360094348,), (1360094423,), (1360094428,), (1360094440,), (1360094446,), (1360094505,), (1360094510,), (1360094514,), (1360094517,), (1360094630,), (1360094634,), (1360094640,), (1360094646,), (1360094656,), (1360094908,), (1360094912,), (1360095159,), (1360095190,), (1360095245,), (1360095261,), (1360095265,), (1360095434,), (1360095445,), (1360095460,), (1360095464,), (1360095467,), (1360095594,), (1360095598,), (1360095604,), (1360095651,), (1360095629,), (1360095633,), (1360095639,), (1360095645,), (1360095648,), (1360095699,), (1360095709,), (1360095716,), (1360095732,), (1360095767,), (1360095897,), (1360096103,), (1360096199,), (1360096264,), (1360096317,), (1360096705,), (1360096712,), (1360096718,), (1360096726,), (1360096741,), (1360096751,), (1360097281,), (1360097336,), (1360097366,), (1360097394,), (1360097423,), (1360097448,), (1360098082,), (1360098153,), (1360098243,), (1360098345,), (1360098931,), (1360099077,), (1360099126,), (1360099215,), (1360099262,), (1360099714,), (1360099779,), (1360099863,), (1360099915,), (1360099973,), (1360100034,), (1360100292,), (1360100325,), (1360100445,), (1360100612,), (1360100702,), (1360101093,), (1360101265,), (1360101273,), (1360101293,), (1360101300,), (1360101312,), (1360101321,), (1360101715,), (1360101767,), (1360101822,), (1360102564,), (1360110726,), (1360116357,), (1360116539,), (1360116544,), (1360116658,), (1360116670,), (1360116675,), (1360116678,), (1360116682,), (1360116686,), (1360117033,), (1360117064,), (1360117758,), (1360117784,), (1360117810,), (1360118296,), (1360118345,), (1360118377,), (1360118403,), (1360118967,), (1360118971,), (1360118975,), (1360118980,), (1360119199,), (1360119085,), (1360119112,), (1360119145,), (1360119172,), (1360119347,), (1360119350,), (1360119353,), (1360119362,), (1360119385,), (1360119411,), (1360119574,), (1360119578,), (1360119582,), (1360120014,), (1360120065,), (1360120119,), (1360120172,), (1360120222,), (1360120720,), (1360120745,), (1360120781,), (1360120832,), (1360120886,), (1360121318,), (1360121364,), (1360121396,), (1360121423,), (1360121447,), (1360121569,), (1360121572,), (1360121576,), (1360121580,), (1360122031,), (1360122083,), (1360122131,), (1360122193,), (1360122243,), (1360122650,), (1360122675,), (1360122702,), (1360122713,), (1360122960,), (1360123006,), (1360123053,), (1360123105,), (1360123664,), (1360123691,), (1360123722,), (1360123757,), (1360123810,), (1360124201,), (1360124251,), (1360124330,), (1360124417,), (1360124497,), (1360125230,), (1360125283,), (1360125354,), (1360125964,), (1360126000,), (1360126046,), (1360126095,), (1360126148,), (1360126865,), (1360126932,), (1360126985,), (1360127037,), (1360127090,), (1360127138,), (1360127602,), (1360127539,), (1360127571,), (1360128151,), (1360128207,), (1360128262,), (1360128296,), (1360128341,), (1360128742,), (1360128773,), (1360128803,), (1360128830,), (1360128857,), (1360129174,), (1360129201,), (1360129217,), (1360129524,), (1360129592,), (1360129660,), (1360129743,), (1360129802,), (1360129876,), (1360130387,), (1360130420,), (1360130471,), (1360130520,), (1360130556,), (1360130921,), (1360130926,), (1360130937,), (1360130949,), (1360131238,), (1360131272,), (1360131323,), (1360131370,), (1360131829,), (1360131877,), (1360131953,), (1360132013,), (1360132052,), (1360132080,), (1360132186,), (1360132189,), (1360132194,), (1360132198,), (1360132201,), (1360132278,), (1360132313,), (1360132341,), (1360132369,), (1360132400,), (1360132616,), (1360132669,), (1360132698,), (1360132726,), (1360132767,), (1360132850,), (1360133084,), (1360133112,), (1360133139,), (1360133168,), (1360133203,), (1360133206,), (1360133209,), (1360133216,), (1360133221,), (1360133223,), (1360133244,), (1360133246,), (1360133248,), (1360133250,), (1360133252,), (1360133780,), (1360133624,), (1360133674,), (1360133725,), (1360134435,), (1360134468,), (1360134529,), (1360134577,), (1360134603,), (1360135117,), (1360135145,), (1360135211,), (1360135281,), (1360135306,), (1360135352,), (1360135671,), (1360135688,), (1360135692,), (1360135695,), (1360136203,), (1360136268,), (1360136317,), (1360136385,), (1360137013,), (1360137077,), (1360137128,), (1360137181,), (1360137250,), (1360137665,), (1360137691,), (1360137716,), (1360137720,), (1360138175,), (1360138228,), (1360138280,), (1360138329,), (1360138380,), (1360138431,), (1360138839,), (1360138899,), (1360138956,), (1360138990,), (1360139007,), (1360139226,), (1360139254,), (1360139283,), (1360139695,), (1360139750,), (1360139797,), (1360139831,), (1360139860,), (1360140456,), (1360140524,), (1360140604,), (1360140678,), (1360140746,), (1360140820,), (1360141591,), (1360141630,), (1360141662,), (1360141713,), (1360142539,), (1360142616,), (1360142692,), (1360142775,), (1360142854,), (1360142940,), (1360143773,), (1360143727,), (1360144827,), (1360144892,), (1360144965,), (1360145018,), (1360145061,), (1360145099,), (1360145686,), (1360145739,), (1360145798,), (1360145852,), (1360145881,), (1360146379,), (1360146430,), (1360146480,), (1360146510,), (1360146766,), (1360146799,), (1360146828,), (1360146858,), (1360147122,), (1360147125,), (1360147129,), (1360147133,), (1360147136,), (1360147139,), (1360147154,), (1360147157,), (1360147160,), (1360147165,), (1360147170,), (1360147200,), (1360147203,), (1360147210,), (1360147239,), (1360147266,), (1360147299,), (1360147598,), (1360147637,), (1360147665,), (1360147693,), (1360147714,), (1360147781,), (1360147830,), (1360147913,), (1360147970,), (1360148047,), (1360148490,), (1360148519,), (1360148568,), (1360148600,), (1360148883,), (1360148918,), (1360158218,), (1360157407,), (1360158170,), (1360158199,), (1360158673,), (1360158729,), (1360159219,), (1360159240,), (1360159244,), (1360159277,), (1360159631,), (1360159672,), (1360159726,), (1360159784,), (1360160292,), (1360160315,), (1360160318,), (1360160321,), (1360160352,), (1360160380,), (1360160485,), (1360161281,), (1360170379,), (1360172891,), (1360173432,), (1360173458,), (1360173634,), (1360173673,), (1360173752,), (1360173756,), (1360173959,), (1360175492,), (1360175542,), (1360176724,), (1360177134,), (1360177171,), (1360178339,), (1360178852,), (1360178925,), (1360179776,), (1360180610,), (1360180912,), (1360181572,), (1360184683,), (1360185370,), (1360185413,), (1360187275,), (1360190185,), (1360214764,), (1360217035,), (1360217135,), (1360217214,), (1360219820,), (1360219855,), (1360221377,), (1360221390,), (1360221416,), (1360221699,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'21052025': {'nb_upload': 38, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([23197882]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1359979232, 1359979176, 1359979168, 1359979160, 1359979154, 1359979148, 1359979087, 1359979078, 1359979075, 1359979073, 1359979069, 1359978973, 1359978932, 1359978918, 1359978905, 1359978797, 1359978551, 1359978524, 1359978496, 1359978469, 1359978416, 1359978411, 1359978407, 1359978398, 1359978379, 1359977952, 1359977937, 1359977907, 1359977758, 1359977753, 1359977749, 1359977688, 1359977673, 1359977656, 1359977648, 1359977623, 1359977421, 1359976955] map_info['map_portfolio_photo'] : {23197882: [1359979232, 1359979176, 1359979168, 1359979160, 1359979154, 1359979148, 1359979087, 1359979078, 1359979075, 1359979073, 1359979069, 1359978973, 1359978932, 1359978918, 1359978905, 1359978797, 1359978551, 1359978524, 1359978496, 1359978469, 1359978416, 1359978411, 1359978407, 1359978398, 1359978379, 1359977952, 1359977937, 1359977907, 1359977758, 1359977753, 1359977749, 1359977688, 1359977673, 1359977656, 1359977648, 1359977623, 1359977421, 1359976955]} final : True mtd_id 4302 list_pids : [1359979232, 1359979176, 1359979168, 1359979160, 1359979154, 1359979148, 1359979087, 1359979078, 1359979075, 1359979073, 1359979069, 1359978973, 1359978932, 1359978918, 1359978905, 1359978797, 1359978551, 1359978524, 1359978496, 1359978469, 1359978416, 1359978411, 1359978407, 1359978398, 1359978379, 1359977952, 1359977937, 1359977907, 1359977758, 1359977753, 1359977749, 1359977688, 1359977673, 1359977656, 1359977648, 1359977623, 1359977421, 1359976955] Looping around the photos to save general results len do output : 1 /23197882Didn'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, '2931080') ('4302', '23197882', '1359979232', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359979176', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359979168', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359979160', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359979154', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359979148', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359979087', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359979078', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359979075', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359979073', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359979069', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359978973', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359978932', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359978918', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359978905', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359978797', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359978551', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359978524', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359978496', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359978469', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359978416', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359978411', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359978407', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359978398', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359978379', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359977952', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359977937', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359977907', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359977758', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359977753', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359977749', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359977688', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359977673', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359977656', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359977648', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359977623', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359977421', None, None, None, None, None, '2931080') ('4302', None, None, None, None, None, None, None, '2931080') ('4302', '23197882', '1359976955', None, None, None, None, None, '2931080') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 39 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, '23197882', 'None', None, None, None, None, '2931080'), ('4302', '23197882', '1359979232', None, None, None, None, None, '2931080'), ('4302', '23197882', '1359979176', None, None, None, None, None, '2931080'), ('4302', '23197882', '1359979168', None, None, None, None, None, '2931080'), ('4302', '23197882', '1359979160', None, None, None, None, None, '2931080'), ('4302', '23197882', '1359979154', None, None, None, None, None, '2931080'), ('4302', '23197882', '1359979148', None, None, None, None, None, '2931080'), ('4302', '23197882', '1359979087', None, None, None, None, None, '2931080'), ('4302', '23197882', '1359979078', None, None, None, None, None, '2931080'), ('4302', '23197882', '1359979075', None, None, None, None, None, '2931080'), ('4302', '23197882', '1359979073', None, None, None, None, None, '2931080'), ('4302', '23197882', '1359979069', None, None, None, None, None, '2931080'), ('4302', '23197882', '1359978973', None, None, None, None, None, '2931080'), ('4302', '23197882', '1359978932', None, None, None, None, None, '2931080'), ('4302', '23197882', '1359978918', None, None, None, None, None, '2931080'), ('4302', '23197882', '1359978905', None, None, None, None, None, '2931080'), ('4302', '23197882', '1359978797', None, None, None, None, None, '2931080'), ('4302', '23197882', '1359978551', None, None, None, None, None, '2931080'), ('4302', '23197882', '1359978524', None, None, None, None, None, '2931080'), ('4302', '23197882', '1359978496', None, None, None, None, None, '2931080'), ('4302', '23197882', '1359978469', None, None, None, None, None, '2931080'), ('4302', '23197882', '1359978416', None, None, None, None, None, '2931080'), ('4302', '23197882', '1359978411', None, None, None, None, None, '2931080'), ('4302', '23197882', '1359978407', None, None, None, None, None, '2931080'), ('4302', '23197882', '1359978398', None, None, None, None, None, '2931080'), ('4302', '23197882', '1359978379', None, None, None, None, None, '2931080'), ('4302', '23197882', '1359977952', None, None, None, None, None, '2931080'), ('4302', '23197882', '1359977937', None, None, None, None, None, '2931080'), ('4302', '23197882', '1359977907', None, None, None, None, None, '2931080'), ('4302', '23197882', '1359977758', None, None, None, None, None, '2931080'), ('4302', '23197882', '1359977753', None, None, None, None, None, '2931080'), ('4302', '23197882', '1359977749', None, None, None, None, None, '2931080'), ('4302', '23197882', '1359977688', None, None, None, None, None, '2931080'), ('4302', '23197882', '1359977673', None, None, None, None, None, '2931080'), ('4302', '23197882', '1359977656', None, None, None, None, None, '2931080'), ('4302', '23197882', '1359977648', None, None, None, None, None, '2931080'), ('4302', '23197882', '1359977623', None, None, None, None, None, '2931080'), ('4302', '23197882', '1359977421', None, None, None, None, None, '2931080'), ('4302', '23197882', '1359976955', None, None, None, None, None, '2931080')] time used for this insertion : 0.022496461868286133 save_final save missing photos in datou_result : time spend for datou_step_exec : 7.198414087295532 time spend to save output : 0.02283334732055664 total time spend for step 5 : 7.221247434616089 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 (2931080) 2.96user 2.54system 0:19.00elapsed 28%CPU (0avgtext+0avgdata 163200maxresident)k 312inputs+25048outputs (0major+78401minor)pagefaults 0swaps