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 : 3403572 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 (2536676) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2536676) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20113571 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2536676'] with mtr_portfolio_ids : ['20113571'] and first list_photo_ids : [] new path : /proc/3403572/ Name: python3 Umask: 0002 State: R (running) Tgid: 3403572 Ngid: 0 Pid: 3403572 PPid: 3403571 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 3403572 NSpid: 3403572 NSpgid: 3402633 NSsid: 3402633 VmPeak: 1106840 kB VmSize: 1106840 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 98848 kB VmRSS: 98848 kB RssAnon: 59752 kB RssFile: 39096 kB RssShmem: 0 kB VmData: 865592 kB VmStk: 132 kB VmExe: 2640 kB VmLib: 130468 kB VmPTE: 600 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: 77 nonvoluntary_ctxt_switches: 143 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '3403572', 'Ngid': '0', 'Pid': '3403572', 'PPid': '3403571', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '3403572', 'NSpid': '3403572', 'NSpgid': '3402633', 'NSsid': '3402633', 'VmPeak': '1106840 kB', 'VmSize': '1106840 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '98848 kB', 'VmRSS': '98848 kB', 'RssAnon': '59752 kB', 'RssFile': '39096 kB', 'RssShmem': '0 kB', 'VmData': '865592 kB', 'VmStk': '132 kB', 'VmExe': '2640 kB', 'VmLib': '130468 kB', 'VmPTE': '600 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': '77', 'nonvoluntary_ctxt_switches': '143'} ('datou_batch_current', '3403572', '1106840', '0', '1106840', '865592', '98848', b'', 'marlene', '2536676') 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 (20113571) 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 (2536676 ) ) 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 (20113571) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1333300842, 'portfolio_id': 20113571}, {'photo_id': 1333298485, 'portfolio_id': 20113571}, {'photo_id': 1333298337, 'portfolio_id': 20113571}, {'photo_id': 1333298329, 'portfolio_id': 20113571}, {'photo_id': 1333298241, 'portfolio_id': 20113571}, {'photo_id': 1333298236, 'portfolio_id': 20113571}, {'photo_id': 1333298205, 'portfolio_id': 20113571}, {'photo_id': 1333298203, 'portfolio_id': 20113571}, {'photo_id': 1333298196, 'portfolio_id': 20113571}, {'photo_id': 1333298102, 'portfolio_id': 20113571}, {'photo_id': 1333297995, 'portfolio_id': 20113571}, {'photo_id': 1333297992, 'portfolio_id': 20113571}, {'photo_id': 1333297989, 'portfolio_id': 20113571}, {'photo_id': 1333297984, 'portfolio_id': 20113571}, {'photo_id': 1333297959, 'portfolio_id': 20113571}, {'photo_id': 1333297956, 'portfolio_id': 20113571}, {'photo_id': 1333297921, 'portfolio_id': 20113571}, {'photo_id': 1333297917, 'portfolio_id': 20113571}, {'photo_id': 1333297915, 'portfolio_id': 20113571}, {'photo_id': 1333297910, 'portfolio_id': 20113571}, {'photo_id': 1333297872, 'portfolio_id': 20113571}, {'photo_id': 1333297867, 'portfolio_id': 20113571}, {'photo_id': 1333297862, 'portfolio_id': 20113571}, {'photo_id': 1333297858, 'portfolio_id': 20113571}, {'photo_id': 1333297800, 'portfolio_id': 20113571}, {'photo_id': 1333297795, 'portfolio_id': 20113571}, {'photo_id': 1333297791, 'portfolio_id': 20113571}, {'photo_id': 1333297789, 'portfolio_id': 20113571}, {'photo_id': 1333297785, 'portfolio_id': 20113571}, {'photo_id': 1333297779, 'portfolio_id': 20113571}, {'photo_id': 1333297603, 'portfolio_id': 20113571}, {'photo_id': 1333297598, 'portfolio_id': 20113571}, {'photo_id': 1333297593, 'portfolio_id': 20113571}] map_portfolio_id_photo_id: {20113571: [1333300842, 1333298485, 1333298337, 1333298329, 1333298241, 1333298236, 1333298205, 1333298203, 1333298196, 1333298102, 1333297995, 1333297992, 1333297989, 1333297984, 1333297959, 1333297956, 1333297921, 1333297917, 1333297915, 1333297910, 1333297872, 1333297867, 1333297862, 1333297858, 1333297800, 1333297795, 1333297791, 1333297789, 1333297785, 1333297779, 1333297603, 1333297598, 1333297593]} ##### 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 : 2.7338151931762695 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Sat Feb 1 05:56:30 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20113571) 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 : 20113571 get user id for portfolio 20113571 get sub ptf for main ptf 20113571, type 3726 and hashtags ['plastique', 'kraft', 'cartonnette', 'Carton_gris', 'papier', 'mal_croppe', 'environnement', 'metal', 'flou', 'Teint_Dans_La_Masse', 'autre_refus', 'Carton_brun'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20113571 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('plastique','kraft','cartonnette','Carton_gris','papier','mal_croppe','environnement','metal','flou','Teint_Dans_La_Masse','autre_refus','Carton_brun')) 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`=20113571 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('plastique','kraft','cartonnette','Carton_gris','papier','mal_croppe','environnement','metal','flou','Teint_Dans_La_Masse','autre_refus','Carton_brun')) AND mptpi.`min_score`=0.5 To do returned map {'cartonnette': {'main_port_id': 20113571, 'sub_port_id': 20113580, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12830294, 'last_updated_at': datetime.datetime(2025, 1, 31, 12, 18, 58), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 12, 18, 58), 'last_updated_at_asc': datetime.datetime(2025, 1, 31, 12, 4, 58)}, 'environnement': {'main_port_id': 20113571, 'sub_port_id': 20113581, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12830295, 'last_updated_at': datetime.datetime(2025, 1, 31, 12, 18, 58), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 12, 18, 58), 'last_updated_at_asc': datetime.datetime(2025, 1, 31, 12, 4, 58)}, 'mal_croppe': {'main_port_id': 20113571, 'sub_port_id': 20113582, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12830296, 'last_updated_at': datetime.datetime(2025, 1, 31, 12, 18, 58), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 12, 18, 58), 'last_updated_at_asc': datetime.datetime(2025, 1, 31, 12, 4, 58)}, 'autre_refus': {'main_port_id': 20113571, 'sub_port_id': 20113583, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12830297, 'last_updated_at': datetime.datetime(2025, 1, 31, 12, 18, 58), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 12, 18, 58), 'last_updated_at_asc': datetime.datetime(2025, 1, 31, 12, 4, 58)}, 'papier': {'main_port_id': 20113571, 'sub_port_id': 20113584, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12830298, 'last_updated_at': datetime.datetime(2025, 1, 31, 12, 18, 58), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 12, 18, 58), 'last_updated_at_asc': datetime.datetime(2025, 1, 31, 12, 4, 58)}, 'Carton_gris': {'main_port_id': 20113571, 'sub_port_id': 20113585, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12830299, 'last_updated_at': datetime.datetime(2025, 1, 31, 12, 18, 58), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 12, 18, 58), 'last_updated_at_asc': datetime.datetime(2025, 1, 31, 12, 4, 58)}, 'metal': {'main_port_id': 20113571, 'sub_port_id': 20113586, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12830300, 'last_updated_at': datetime.datetime(2025, 1, 31, 12, 18, 58), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 12, 18, 58), 'last_updated_at_asc': datetime.datetime(2025, 1, 31, 12, 4, 58)}, 'plastique': {'main_port_id': 20113571, 'sub_port_id': 20113587, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12830301, 'last_updated_at': datetime.datetime(2025, 1, 31, 12, 18, 58), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 12, 18, 58), 'last_updated_at_asc': datetime.datetime(2025, 1, 31, 12, 4, 58)}, 'kraft': {'main_port_id': 20113571, 'sub_port_id': 20113588, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12830302, 'last_updated_at': datetime.datetime(2025, 1, 31, 12, 18, 58), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 12, 18, 58), 'last_updated_at_asc': datetime.datetime(2025, 1, 31, 12, 4, 58)}, 'flou': {'main_port_id': 20113571, 'sub_port_id': 20113589, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12830303, 'last_updated_at': datetime.datetime(2025, 1, 31, 12, 18, 58), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 12, 18, 58), 'last_updated_at_asc': datetime.datetime(2025, 1, 31, 12, 4, 58)}, 'Carton_brun': {'main_port_id': 20113571, 'sub_port_id': 20113590, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12830304, 'last_updated_at': datetime.datetime(2025, 1, 31, 12, 18, 58), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 12, 18, 58), 'last_updated_at_asc': datetime.datetime(2025, 1, 31, 12, 4, 58)}, 'Teint_Dans_La_Masse': {'main_port_id': 20113571, 'sub_port_id': 20113591, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12830305, 'last_updated_at': datetime.datetime(2025, 1, 31, 12, 18, 58), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 12, 18, 58), 'last_updated_at_asc': datetime.datetime(2025, 1, 31, 12, 4, 58)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20113580 , 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=20113571 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 (20113580) result : ((1333299512,), (1333299513,), (1333299514,), (1333299515,), (1333299818,), (1333299819,), (1333299820,), (1333299821,), (1333300419,), (1333300597,), (1333300599,), (1333301450,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20113571) result : ((1333297593,), (1333297598,), (1333297603,), (1333297779,), (1333297785,), (1333297789,), (1333297791,), (1333297795,), (1333297800,), (1333297858,), (1333297862,), (1333297867,), (1333297872,), (1333297910,), (1333297915,), (1333297917,), (1333297921,), (1333297956,), (1333297959,), (1333297984,), (1333297989,), (1333297992,), (1333297995,), (1333298102,), (1333298196,), (1333298203,), (1333298205,), (1333298236,), (1333298241,), (1333298329,), (1333298337,), (1333298485,), (1333300842,)) 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 (1333297800) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20113581 , 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=20113571 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 (20113581) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20113571) result : ((1333297593,), (1333297598,), (1333297603,), (1333297779,), (1333297785,), (1333297789,), (1333297791,), (1333297795,), (1333297800,), (1333297858,), (1333297862,), (1333297867,), (1333297872,), (1333297910,), (1333297915,), (1333297917,), (1333297921,), (1333297956,), (1333297959,), (1333297984,), (1333297989,), (1333297992,), (1333297995,), (1333298102,), (1333298196,), (1333298203,), (1333298205,), (1333298236,), (1333298241,), (1333298329,), (1333298337,), (1333298485,), (1333300842,)) 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 (1333297800) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20113582 , 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=20113571 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 (20113582) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20113571) result : ((1333297593,), (1333297598,), (1333297603,), (1333297779,), (1333297785,), (1333297789,), (1333297791,), (1333297795,), (1333297800,), (1333297858,), (1333297862,), (1333297867,), (1333297872,), (1333297910,), (1333297915,), (1333297917,), (1333297921,), (1333297956,), (1333297959,), (1333297984,), (1333297989,), (1333297992,), (1333297995,), (1333298102,), (1333298196,), (1333298203,), (1333298205,), (1333298236,), (1333298241,), (1333298329,), (1333298337,), (1333298485,), (1333300842,)) 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 (1333297800) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20113583 , 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=20113571 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 (20113583) result : ((1333298487,), (1333299509,), (1333299811,), (1333301448,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20113571) result : ((1333297593,), (1333297598,), (1333297603,), (1333297779,), (1333297785,), (1333297789,), (1333297791,), (1333297795,), (1333297800,), (1333297858,), (1333297862,), (1333297867,), (1333297872,), (1333297910,), (1333297915,), (1333297917,), (1333297921,), (1333297956,), (1333297959,), (1333297984,), (1333297989,), (1333297992,), (1333297995,), (1333298102,), (1333298196,), (1333298203,), (1333298205,), (1333298236,), (1333298241,), (1333298329,), (1333298337,), (1333298485,), (1333300842,)) 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 (1333297800) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20113584 , 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=20113571 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 (20113584) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20113571) result : ((1333297593,), (1333297598,), (1333297603,), (1333297779,), (1333297785,), (1333297789,), (1333297791,), (1333297795,), (1333297800,), (1333297858,), (1333297862,), (1333297867,), (1333297872,), (1333297910,), (1333297915,), (1333297917,), (1333297921,), (1333297956,), (1333297959,), (1333297984,), (1333297989,), (1333297992,), (1333297995,), (1333298102,), (1333298196,), (1333298203,), (1333298205,), (1333298236,), (1333298241,), (1333298329,), (1333298337,), (1333298485,), (1333300842,)) 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 (1333297800) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20113585 , 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=20113571 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 (20113585) result : ((1333299511,), (1333299812,), (1333299813,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20113571) result : ((1333297593,), (1333297598,), (1333297603,), (1333297779,), (1333297785,), (1333297789,), (1333297791,), (1333297795,), (1333297800,), (1333297858,), (1333297862,), (1333297867,), (1333297872,), (1333297910,), (1333297915,), (1333297917,), (1333297921,), (1333297956,), (1333297959,), (1333297984,), (1333297989,), (1333297992,), (1333297995,), (1333298102,), (1333298196,), (1333298203,), (1333298205,), (1333298236,), (1333298241,), (1333298329,), (1333298337,), (1333298485,), (1333300842,)) 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 (1333297800) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20113586 , 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=20113571 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 (20113586) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20113571) result : ((1333297593,), (1333297598,), (1333297603,), (1333297779,), (1333297785,), (1333297789,), (1333297791,), (1333297795,), (1333297800,), (1333297858,), (1333297862,), (1333297867,), (1333297872,), (1333297910,), (1333297915,), (1333297917,), (1333297921,), (1333297956,), (1333297959,), (1333297984,), (1333297989,), (1333297992,), (1333297995,), (1333298102,), (1333298196,), (1333298203,), (1333298205,), (1333298236,), (1333298241,), (1333298329,), (1333298337,), (1333298485,), (1333300842,)) 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 (1333297800) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20113587 , 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=20113571 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 (20113587) result : ((1333299510,), (1333299516,), (1333299517,), (1333299518,), (1333300421,), (1333301452,), (1333301453,), (1333303633,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20113571) result : ((1333297593,), (1333297598,), (1333297603,), (1333297779,), (1333297785,), (1333297789,), (1333297791,), (1333297795,), (1333297800,), (1333297858,), (1333297862,), (1333297867,), (1333297872,), (1333297910,), (1333297915,), (1333297917,), (1333297921,), (1333297956,), (1333297959,), (1333297984,), (1333297989,), (1333297992,), (1333297995,), (1333298102,), (1333298196,), (1333298203,), (1333298205,), (1333298236,), (1333298241,), (1333298329,), (1333298337,), (1333298485,), (1333300842,)) 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 (1333297800) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20113588 , 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=20113571 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 (20113588) result : ((1333300422,), (1333300423,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20113571) result : ((1333297593,), (1333297598,), (1333297603,), (1333297779,), (1333297785,), (1333297789,), (1333297791,), (1333297795,), (1333297800,), (1333297858,), (1333297862,), (1333297867,), (1333297872,), (1333297910,), (1333297915,), (1333297917,), (1333297921,), (1333297956,), (1333297959,), (1333297984,), (1333297989,), (1333297992,), (1333297995,), (1333298102,), (1333298196,), (1333298203,), (1333298205,), (1333298236,), (1333298241,), (1333298329,), (1333298337,), (1333298485,), (1333300842,)) 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 (1333297800) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20113589 , 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=20113571 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 (20113589) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20113571) result : ((1333297593,), (1333297598,), (1333297603,), (1333297779,), (1333297785,), (1333297789,), (1333297791,), (1333297795,), (1333297800,), (1333297858,), (1333297862,), (1333297867,), (1333297872,), (1333297910,), (1333297915,), (1333297917,), (1333297921,), (1333297956,), (1333297959,), (1333297984,), (1333297989,), (1333297992,), (1333297995,), (1333298102,), (1333298196,), (1333298203,), (1333298205,), (1333298236,), (1333298241,), (1333298329,), (1333298337,), (1333298485,), (1333300842,)) 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 (1333297800) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20113590 , 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=20113571 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 (20113590) result : ((1333299508,), (1333299826,), (1333299827,), (1333299828,), (1333299829,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20113571) result : ((1333297593,), (1333297598,), (1333297603,), (1333297779,), (1333297785,), (1333297789,), (1333297791,), (1333297795,), (1333297800,), (1333297858,), (1333297862,), (1333297867,), (1333297872,), (1333297910,), (1333297915,), (1333297917,), (1333297921,), (1333297956,), (1333297959,), (1333297984,), (1333297989,), (1333297992,), (1333297995,), (1333298102,), (1333298196,), (1333298203,), (1333298205,), (1333298236,), (1333298241,), (1333298329,), (1333298337,), (1333298485,), (1333300842,)) 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 (1333297800) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20113591 , 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=20113571 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 (20113591) result : ((1333298484,), (1333299500,), (1333299501,), (1333299502,), (1333299503,), (1333299504,), (1333299505,), (1333299506,), (1333299806,), (1333300417,), (1333300577,), (1333300578,), (1333300579,), (1333300580,), (1333300581,), (1333300582,), (1333300583,), (1333301444,), (1333301445,), (1333301446,), (1333301447,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20113571) result : ((1333297593,), (1333297598,), (1333297603,), (1333297779,), (1333297785,), (1333297789,), (1333297791,), (1333297795,), (1333297800,), (1333297858,), (1333297862,), (1333297867,), (1333297872,), (1333297910,), (1333297915,), (1333297917,), (1333297921,), (1333297956,), (1333297959,), (1333297984,), (1333297989,), (1333297992,), (1333297995,), (1333298102,), (1333298196,), (1333298203,), (1333298205,), (1333298236,), (1333298241,), (1333298329,), (1333298337,), (1333298485,), (1333300842,)) 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 (1333297800) and cspi.crop_hashtag_id = chi.id; To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20113571 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('plastique','kraft','cartonnette','Carton_gris','papier','mal_croppe','environnement','metal','flou','Teint_Dans_La_Masse','autre_refus','Carton_brun')) 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`=20113571 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('plastique','kraft','cartonnette','Carton_gris','papier','mal_croppe','environnement','metal','flou','Teint_Dans_La_Masse','autre_refus','Carton_brun')) AND mptpi.`min_score`=0.5 To do returned map {'cartonnette': {'main_port_id': 20113571, 'sub_port_id': 20113593, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12830306, 'last_updated_at': datetime.datetime(2025, 1, 31, 12, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 12, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 1, 31, 12, 4, 59)}, 'environnement': {'main_port_id': 20113571, 'sub_port_id': 20113594, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12830307, 'last_updated_at': datetime.datetime(2025, 1, 31, 12, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 12, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 1, 31, 12, 4, 59)}, 'mal_croppe': {'main_port_id': 20113571, 'sub_port_id': 20113595, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12830308, 'last_updated_at': datetime.datetime(2025, 1, 31, 12, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 12, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 1, 31, 12, 4, 59)}, 'autre_refus': {'main_port_id': 20113571, 'sub_port_id': 20113596, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12830309, 'last_updated_at': datetime.datetime(2025, 1, 31, 12, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 12, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 1, 31, 12, 4, 59)}, 'papier': {'main_port_id': 20113571, 'sub_port_id': 20113597, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12830310, 'last_updated_at': datetime.datetime(2025, 1, 31, 12, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 12, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 1, 31, 12, 4, 59)}, 'Carton_gris': {'main_port_id': 20113571, 'sub_port_id': 20113598, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12830311, 'last_updated_at': datetime.datetime(2025, 1, 31, 12, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 12, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 1, 31, 12, 4, 59)}, 'metal': {'main_port_id': 20113571, 'sub_port_id': 20113599, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12830312, 'last_updated_at': datetime.datetime(2025, 1, 31, 12, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 12, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 1, 31, 12, 4, 59)}, 'plastique': {'main_port_id': 20113571, 'sub_port_id': 20113600, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12830313, 'last_updated_at': datetime.datetime(2025, 1, 31, 12, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 12, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 1, 31, 12, 4, 59)}, 'kraft': {'main_port_id': 20113571, 'sub_port_id': 20113601, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12830314, 'last_updated_at': datetime.datetime(2025, 1, 31, 12, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 12, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 1, 31, 12, 4, 59)}, 'flou': {'main_port_id': 20113571, 'sub_port_id': 20113602, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12830315, 'last_updated_at': datetime.datetime(2025, 1, 31, 12, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 12, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 1, 31, 12, 4, 59)}, 'Carton_brun': {'main_port_id': 20113571, 'sub_port_id': 20113603, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12830316, 'last_updated_at': datetime.datetime(2025, 1, 31, 12, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 12, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 1, 31, 12, 4, 59)}, 'Teint_Dans_La_Masse': {'main_port_id': 20113571, 'sub_port_id': 20113604, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12830317, 'last_updated_at': datetime.datetime(2025, 1, 31, 12, 18, 59), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 12, 18, 59), 'last_updated_at_asc': datetime.datetime(2025, 1, 31, 12, 4, 59)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20113593,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20113580 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20113594,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20113581 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20113595,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20113582 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20113596,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20113583 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20113597,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20113584 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20113598,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20113585 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20113599,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20113586 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20113600,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20113587 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20113601,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20113588 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20113602,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20113589 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20113603,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20113590 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20113604,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20113591 lien utilise dans velours : https://www.fotonower.com/velours/20113593,20113594,20113595,20113596,20113597,20113598,20113599,20113600,20113601,20113602,20113603,20113604?tags=cartonnette,environnement,mal_croppe,autre_refus,papier,Carton_gris,metal,plastique,kraft,flou,Carton_brun,Teint_Dans_La_Masse After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20113571]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1333300842, 1333298485, 1333298337, 1333298329, 1333298241, 1333298236, 1333298205, 1333298203, 1333298196, 1333298102, 1333297995, 1333297992, 1333297989, 1333297984, 1333297959, 1333297956, 1333297921, 1333297917, 1333297915, 1333297910, 1333297872, 1333297867, 1333297862, 1333297858, 1333297800, 1333297795, 1333297791, 1333297789, 1333297785, 1333297779, 1333297603, 1333297598, 1333297593] map_info['map_portfolio_photo'] : {20113571: [1333300842, 1333298485, 1333298337, 1333298329, 1333298241, 1333298236, 1333298205, 1333298203, 1333298196, 1333298102, 1333297995, 1333297992, 1333297989, 1333297984, 1333297959, 1333297956, 1333297921, 1333297917, 1333297915, 1333297910, 1333297872, 1333297867, 1333297862, 1333297858, 1333297800, 1333297795, 1333297791, 1333297789, 1333297785, 1333297779, 1333297603, 1333297598, 1333297593]} final : False mtd_id 4302 list_pids : [1333300842, 1333298485, 1333298337, 1333298329, 1333298241, 1333298236, 1333298205, 1333298203, 1333298196, 1333298102, 1333297995, 1333297992, 1333297989, 1333297984, 1333297959, 1333297956, 1333297921, 1333297917, 1333297915, 1333297910, 1333297872, 1333297867, 1333297862, 1333297858, 1333297800, 1333297795, 1333297791, 1333297789, 1333297785, 1333297779, 1333297603, 1333297598, 1333297593] Looping around the photos to save general results len do output : 1 /20113571. 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, '2536676') ('4302', '20113571', '1333300842', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333298485', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333298337', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333298329', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333298241', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333298236', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333298205', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333298203', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333298196', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333298102', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333297995', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333297992', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333297989', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333297984', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333297959', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333297956', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333297921', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333297917', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333297915', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333297910', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333297872', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333297867', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333297862', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333297858', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333297800', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333297795', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333297791', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333297789', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333297785', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333297779', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333297603', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333297598', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333297593', None, None, None, None, None, '2536676') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 34 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '20113571', "{'cartonnette': 20113580, 'environnement': 20113581, 'mal_croppe': 20113582, 'autre_refus': 20113583, 'papier': 20113584, 'Carton_gris': 20113585, 'metal': 20113586, 'plastique': 20113587, 'kraft': 20113588, 'flou': 20113589, 'Carton_brun': 20113590, 'Teint_Dans_La_Masse': 20113591}", None, None, None, None, '2536676'), ('4302', '20113571', '1333300842', None, None, None, None, None, '2536676'), ('4302', '20113571', '1333298485', None, None, None, None, None, '2536676'), ('4302', '20113571', '1333298337', None, None, None, None, None, '2536676'), ('4302', '20113571', '1333298329', None, None, None, None, None, '2536676'), ('4302', '20113571', '1333298241', None, None, None, None, None, '2536676'), ('4302', '20113571', '1333298236', None, None, None, None, None, '2536676'), ('4302', '20113571', '1333298205', None, None, None, None, None, '2536676'), ('4302', '20113571', '1333298203', None, None, None, None, None, '2536676'), ('4302', '20113571', '1333298196', None, None, None, None, None, '2536676'), ('4302', '20113571', '1333298102', None, None, None, None, None, '2536676'), ('4302', '20113571', '1333297995', None, None, None, None, None, '2536676'), ('4302', '20113571', '1333297992', None, None, None, None, None, '2536676'), ('4302', '20113571', '1333297989', None, None, None, None, None, '2536676'), ('4302', '20113571', '1333297984', None, None, None, None, None, '2536676'), ('4302', '20113571', '1333297959', None, None, None, None, None, '2536676'), ('4302', '20113571', '1333297956', None, None, None, None, None, '2536676'), ('4302', '20113571', '1333297921', None, None, None, None, None, '2536676'), ('4302', '20113571', '1333297917', None, None, None, None, None, '2536676'), ('4302', '20113571', '1333297915', None, None, None, None, None, '2536676'), ('4302', '20113571', '1333297910', None, None, None, None, None, '2536676'), ('4302', '20113571', '1333297872', None, None, None, None, None, '2536676'), ('4302', '20113571', '1333297867', None, None, None, None, None, '2536676'), ('4302', '20113571', '1333297862', None, None, None, None, None, '2536676'), ('4302', '20113571', '1333297858', None, None, None, None, None, '2536676'), ('4302', '20113571', '1333297800', None, None, None, None, None, '2536676'), ('4302', '20113571', '1333297795', None, None, None, None, None, '2536676'), ('4302', '20113571', '1333297791', None, None, None, None, None, '2536676'), ('4302', '20113571', '1333297789', None, None, None, None, None, '2536676'), ('4302', '20113571', '1333297785', None, None, None, None, None, '2536676'), ('4302', '20113571', '1333297779', None, None, None, None, None, '2536676'), ('4302', '20113571', '1333297603', None, None, None, None, None, '2536676'), ('4302', '20113571', '1333297598', None, None, None, None, None, '2536676'), ('4302', '20113571', '1333297593', None, None, None, None, None, '2536676')] time used for this insertion : 0.020580053329467773 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.47738051414489746 time spend to save output : 0.021013498306274414 total time spend for step 1 : 0.4983940124511719 step2:final Sat Feb 1 05:56:31 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 (20113571) 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 20113571 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1333297603,1333297598,1333297593,1333297800,1333297795,1333297791,1333297789,1333297785,1333297779,1333297872,1333297867,1333297862,1333297858,1333297959,1333297956,1333297921,1333297917,1333297915,1333297910,1333297995,1333297992,1333297989,1333297984,1333298241,1333298236,1333298205,1333298203,1333298196,1333298102,1333298337,1333298329,1333298485,1333300842); 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([20113571]) Inside saveOutput : final : False verbose : True original output for save of step final : {1333300842: ('0.05459390176847189',), 1333298485: ('0.05459390176847189',), 1333298337: ('0.05459390176847189',), 1333298329: ('0.05459390176847189',), 1333298241: ('0.05459390176847189',), 1333298236: ('0.05459390176847189',), 1333298205: ('0.05459390176847189',), 1333298203: ('0.05459390176847189',), 1333298196: ('0.05459390176847189',), 1333298102: ('0.05459390176847189',), 1333297995: ('0.05459390176847189',), 1333297992: ('0.05459390176847189',), 1333297989: ('0.05459390176847189',), 1333297984: ('0.05459390176847189',), 1333297959: ('0.05459390176847189',), 1333297956: ('0.05459390176847189',), 1333297921: ('0.05459390176847189',), 1333297917: ('0.05459390176847189',), 1333297915: ('0.05459390176847189',), 1333297910: ('0.05459390176847189',), 1333297872: ('0.05459390176847189',), 1333297867: ('0.05459390176847189',), 1333297862: ('0.05459390176847189',), 1333297858: ('0.05459390176847189',), 1333297800: ('0.05459390176847189',), 1333297795: ('0.05459390176847189',), 1333297791: ('0.05459390176847189',), 1333297789: ('0.05459390176847189',), 1333297785: ('0.05459390176847189',), 1333297779: ('0.05459390176847189',), 1333297603: ('0.05459390176847189',), 1333297598: ('0.05459390176847189',), 1333297593: ('0.05459390176847189',)} new output for save of step final : {1333300842: ('0.05459390176847189',), 1333298485: ('0.05459390176847189',), 1333298337: ('0.05459390176847189',), 1333298329: ('0.05459390176847189',), 1333298241: ('0.05459390176847189',), 1333298236: ('0.05459390176847189',), 1333298205: ('0.05459390176847189',), 1333298203: ('0.05459390176847189',), 1333298196: ('0.05459390176847189',), 1333298102: ('0.05459390176847189',), 1333297995: ('0.05459390176847189',), 1333297992: ('0.05459390176847189',), 1333297989: ('0.05459390176847189',), 1333297984: ('0.05459390176847189',), 1333297959: ('0.05459390176847189',), 1333297956: ('0.05459390176847189',), 1333297921: ('0.05459390176847189',), 1333297917: ('0.05459390176847189',), 1333297915: ('0.05459390176847189',), 1333297910: ('0.05459390176847189',), 1333297872: ('0.05459390176847189',), 1333297867: ('0.05459390176847189',), 1333297862: ('0.05459390176847189',), 1333297858: ('0.05459390176847189',), 1333297800: ('0.05459390176847189',), 1333297795: ('0.05459390176847189',), 1333297791: ('0.05459390176847189',), 1333297789: ('0.05459390176847189',), 1333297785: ('0.05459390176847189',), 1333297779: ('0.05459390176847189',), 1333297603: ('0.05459390176847189',), 1333297598: ('0.05459390176847189',), 1333297593: ('0.05459390176847189',)} [1333300842, 1333298485, 1333298337, 1333298329, 1333298241, 1333298236, 1333298205, 1333298203, 1333298196, 1333298102, 1333297995, 1333297992, 1333297989, 1333297984, 1333297959, 1333297956, 1333297921, 1333297917, 1333297915, 1333297910, 1333297872, 1333297867, 1333297862, 1333297858, 1333297800, 1333297795, 1333297791, 1333297789, 1333297785, 1333297779, 1333297603, 1333297598, 1333297593] map_info['map_portfolio_photo'] : {20113571: [1333300842, 1333298485, 1333298337, 1333298329, 1333298241, 1333298236, 1333298205, 1333298203, 1333298196, 1333298102, 1333297995, 1333297992, 1333297989, 1333297984, 1333297959, 1333297956, 1333297921, 1333297917, 1333297915, 1333297910, 1333297872, 1333297867, 1333297862, 1333297858, 1333297800, 1333297795, 1333297791, 1333297789, 1333297785, 1333297779, 1333297603, 1333297598, 1333297593]} final : False mtd_id 4302 list_pids : [1333300842, 1333298485, 1333298337, 1333298329, 1333298241, 1333298236, 1333298205, 1333298203, 1333298196, 1333298102, 1333297995, 1333297992, 1333297989, 1333297984, 1333297959, 1333297956, 1333297921, 1333297917, 1333297915, 1333297910, 1333297872, 1333297867, 1333297862, 1333297858, 1333297800, 1333297795, 1333297791, 1333297789, 1333297785, 1333297779, 1333297603, 1333297598, 1333297593] Looping around the photos to save general results len do output : 33 /1333300842.Didn't retrieve data . /1333298485.Didn't retrieve data . /1333298337.Didn't retrieve data . /1333298329.Didn't retrieve data . /1333298241.Didn't retrieve data . /1333298236.Didn't retrieve data . /1333298205.Didn't retrieve data . /1333298203.Didn't retrieve data . /1333298196.Didn't retrieve data . /1333298102.Didn't retrieve data . /1333297995.Didn't retrieve data . /1333297992.Didn't retrieve data . /1333297989.Didn't retrieve data . /1333297984.Didn't retrieve data . /1333297959.Didn't retrieve data . /1333297956.Didn't retrieve data . /1333297921.Didn't retrieve data . /1333297917.Didn't retrieve data . /1333297915.Didn't retrieve data . /1333297910.Didn't retrieve data . /1333297872.Didn't retrieve data . /1333297867.Didn't retrieve data . /1333297862.Didn't retrieve data . /1333297858.Didn't retrieve data . /1333297800.Didn't retrieve data . /1333297795.Didn't retrieve data . /1333297791.Didn't retrieve data . /1333297789.Didn't retrieve data . /1333297785.Didn't retrieve data . /1333297779.Didn't retrieve data . /1333297603.Didn't retrieve data . /1333297598.Didn't retrieve data . /1333297593.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, '2536676') ('4302', '20113571', '1333300842', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333298485', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333298337', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333298329', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333298241', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333298236', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333298205', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333298203', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333298196', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333298102', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333297995', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333297992', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333297989', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333297984', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333297959', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333297956', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333297921', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333297917', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333297915', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333297910', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333297872', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333297867', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333297862', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333297858', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333297800', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333297795', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333297791', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333297789', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333297785', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333297779', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333297603', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333297598', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333297593', None, None, None, None, None, '2536676') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 99 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '20113571', '1333300842', '0.05459390176847189', None, None, None, None, '2536676'), ('4302', '20113571', '1333298485', '0.05459390176847189', None, None, None, None, '2536676'), ('4302', '20113571', '1333298337', '0.05459390176847189', None, None, None, None, '2536676'), ('4302', '20113571', '1333298329', '0.05459390176847189', None, None, None, None, '2536676'), ('4302', '20113571', '1333298241', '0.05459390176847189', None, None, None, None, '2536676'), ('4302', '20113571', '1333298236', '0.05459390176847189', None, None, None, None, '2536676'), ('4302', '20113571', '1333298205', '0.05459390176847189', None, None, None, None, '2536676'), ('4302', '20113571', '1333298203', '0.05459390176847189', None, None, None, None, '2536676'), ('4302', '20113571', '1333298196', '0.05459390176847189', None, None, None, None, '2536676'), ('4302', '20113571', '1333298102', '0.05459390176847189', None, None, None, None, '2536676'), ('4302', '20113571', '1333297995', '0.05459390176847189', None, None, None, None, '2536676'), ('4302', '20113571', '1333297992', '0.05459390176847189', None, None, None, None, '2536676'), ('4302', '20113571', '1333297989', '0.05459390176847189', None, None, None, None, '2536676'), ('4302', '20113571', '1333297984', '0.05459390176847189', None, None, None, None, '2536676'), ('4302', '20113571', '1333297959', '0.05459390176847189', None, None, None, None, '2536676'), ('4302', '20113571', '1333297956', '0.05459390176847189', None, None, None, None, '2536676'), ('4302', '20113571', '1333297921', '0.05459390176847189', None, None, None, None, '2536676'), ('4302', '20113571', '1333297917', '0.05459390176847189', None, None, None, None, '2536676'), ('4302', '20113571', '1333297915', '0.05459390176847189', None, None, None, None, '2536676'), ('4302', '20113571', '1333297910', '0.05459390176847189', None, None, None, None, '2536676'), ('4302', '20113571', '1333297872', '0.05459390176847189', None, None, None, None, '2536676'), ('4302', '20113571', '1333297867', '0.05459390176847189', None, None, None, None, '2536676'), ('4302', '20113571', '1333297862', '0.05459390176847189', None, None, None, None, '2536676'), ('4302', '20113571', '1333297858', '0.05459390176847189', None, None, None, None, '2536676'), ('4302', '20113571', '1333297800', '0.05459390176847189', None, None, None, None, '2536676'), ('4302', '20113571', '1333297795', '0.05459390176847189', None, None, None, None, '2536676'), ('4302', '20113571', '1333297791', '0.05459390176847189', None, None, None, None, '2536676'), ('4302', '20113571', '1333297789', '0.05459390176847189', None, None, None, None, '2536676'), ('4302', '20113571', '1333297785', '0.05459390176847189', None, None, None, None, '2536676'), ('4302', '20113571', '1333297779', '0.05459390176847189', None, None, None, None, '2536676'), ('4302', '20113571', '1333297603', '0.05459390176847189', None, None, None, None, '2536676'), ('4302', '20113571', '1333297598', '0.05459390176847189', None, None, None, None, '2536676'), ('4302', '20113571', '1333297593', '0.05459390176847189', None, None, None, None, '2536676')] time used for this insertion : 0.06411123275756836 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.07201838493347168 time spend to save output : 0.06507468223571777 total time spend for step 2 : 0.13709306716918945 step3:velours_tree Sat Feb 1 05:56:31 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 : {20113571: [{'cartonnette': 20113580, 'environnement': 20113581, 'mal_croppe': 20113582, 'autre_refus': 20113583, 'papier': 20113584, 'Carton_gris': 20113585, 'metal': 20113586, 'plastique': 20113587, 'kraft': 20113588, 'flou': 20113589, 'Carton_brun': 20113590, 'Teint_Dans_La_Masse': 20113591}]} input_args_next_step : {20113571: ()} output_args : {20113571: [{'cartonnette': 20113580, 'environnement': 20113581, 'mal_croppe': 20113582, 'autre_refus': 20113583, 'papier': 20113584, 'Carton_gris': 20113585, 'metal': 20113586, 'plastique': 20113587, 'kraft': 20113588, 'flou': 20113589, 'Carton_brun': 20113590, 'Teint_Dans_La_Masse': 20113591}]} args : 20113571 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 : ({'cartonnette': 20113580, 'environnement': 20113581, 'mal_croppe': 20113582, 'autre_refus': 20113583, 'papier': 20113584, 'Carton_gris': 20113585, 'metal': 20113586, 'plastique': 20113587, 'kraft': 20113588, 'flou': 20113589, 'Carton_brun': 20113590, 'Teint_Dans_La_Masse': 20113591},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20113571) 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([20113571]) 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.33290958404541016 time spend to save output : 4.696846008300781e-05 total time spend for step 3 : 0.33295655250549316 step4:send_mail_cod Sat Feb 1 05:56:31 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 : {1333300842: ('0.05459390176847189',), 1333298485: ('0.05459390176847189',), 1333298337: ('0.05459390176847189',), 1333298329: ('0.05459390176847189',), 1333298241: ('0.05459390176847189',), 1333298236: ('0.05459390176847189',), 1333298205: ('0.05459390176847189',), 1333298203: ('0.05459390176847189',), 1333298196: ('0.05459390176847189',), 1333298102: ('0.05459390176847189',), 1333297995: ('0.05459390176847189',), 1333297992: ('0.05459390176847189',), 1333297989: ('0.05459390176847189',), 1333297984: ('0.05459390176847189',), 1333297959: ('0.05459390176847189',), 1333297956: ('0.05459390176847189',), 1333297921: ('0.05459390176847189',), 1333297917: ('0.05459390176847189',), 1333297915: ('0.05459390176847189',), 1333297910: ('0.05459390176847189',), 1333297872: ('0.05459390176847189',), 1333297867: ('0.05459390176847189',), 1333297862: ('0.05459390176847189',), 1333297858: ('0.05459390176847189',), 1333297800: ('0.05459390176847189',), 1333297795: ('0.05459390176847189',), 1333297791: ('0.05459390176847189',), 1333297789: ('0.05459390176847189',), 1333297785: ('0.05459390176847189',), 1333297779: ('0.05459390176847189',), 1333297603: ('0.05459390176847189',), 1333297598: ('0.05459390176847189',), 1333297593: ('0.05459390176847189',)} input_args_next_step : {1333300842: ()} output_args : {1333300842: ('0.05459390176847189',), 1333298485: ('0.05459390176847189',), 1333298337: ('0.05459390176847189',), 1333298329: ('0.05459390176847189',), 1333298241: ('0.05459390176847189',), 1333298236: ('0.05459390176847189',), 1333298205: ('0.05459390176847189',), 1333298203: ('0.05459390176847189',), 1333298196: ('0.05459390176847189',), 1333298102: ('0.05459390176847189',), 1333297995: ('0.05459390176847189',), 1333297992: ('0.05459390176847189',), 1333297989: ('0.05459390176847189',), 1333297984: ('0.05459390176847189',), 1333297959: ('0.05459390176847189',), 1333297956: ('0.05459390176847189',), 1333297921: ('0.05459390176847189',), 1333297917: ('0.05459390176847189',), 1333297915: ('0.05459390176847189',), 1333297910: ('0.05459390176847189',), 1333297872: ('0.05459390176847189',), 1333297867: ('0.05459390176847189',), 1333297862: ('0.05459390176847189',), 1333297858: ('0.05459390176847189',), 1333297800: ('0.05459390176847189',), 1333297795: ('0.05459390176847189',), 1333297791: ('0.05459390176847189',), 1333297789: ('0.05459390176847189',), 1333297785: ('0.05459390176847189',), 1333297779: ('0.05459390176847189',), 1333297603: ('0.05459390176847189',), 1333297598: ('0.05459390176847189',), 1333297593: ('0.05459390176847189',)} args : 1333300842 depend.output_id : 0 input_args_next_step : {1333300842: ('0.05459390176847189',), 1333298485: ()} output_args : {1333300842: ('0.05459390176847189',), 1333298485: ('0.05459390176847189',), 1333298337: ('0.05459390176847189',), 1333298329: ('0.05459390176847189',), 1333298241: ('0.05459390176847189',), 1333298236: ('0.05459390176847189',), 1333298205: ('0.05459390176847189',), 1333298203: ('0.05459390176847189',), 1333298196: ('0.05459390176847189',), 1333298102: ('0.05459390176847189',), 1333297995: ('0.05459390176847189',), 1333297992: ('0.05459390176847189',), 1333297989: ('0.05459390176847189',), 1333297984: ('0.05459390176847189',), 1333297959: ('0.05459390176847189',), 1333297956: ('0.05459390176847189',), 1333297921: ('0.05459390176847189',), 1333297917: ('0.05459390176847189',), 1333297915: ('0.05459390176847189',), 1333297910: ('0.05459390176847189',), 1333297872: ('0.05459390176847189',), 1333297867: ('0.05459390176847189',), 1333297862: ('0.05459390176847189',), 1333297858: ('0.05459390176847189',), 1333297800: ('0.05459390176847189',), 1333297795: ('0.05459390176847189',), 1333297791: ('0.05459390176847189',), 1333297789: ('0.05459390176847189',), 1333297785: ('0.05459390176847189',), 1333297779: ('0.05459390176847189',), 1333297603: ('0.05459390176847189',), 1333297598: ('0.05459390176847189',), 1333297593: ('0.05459390176847189',)} args : 1333298485 depend.output_id : 0 input_args_next_step : {1333300842: ('0.05459390176847189',), 1333298485: ('0.05459390176847189',), 1333298337: ()} output_args : {1333300842: ('0.05459390176847189',), 1333298485: ('0.05459390176847189',), 1333298337: ('0.05459390176847189',), 1333298329: ('0.05459390176847189',), 1333298241: ('0.05459390176847189',), 1333298236: ('0.05459390176847189',), 1333298205: ('0.05459390176847189',), 1333298203: ('0.05459390176847189',), 1333298196: ('0.05459390176847189',), 1333298102: ('0.05459390176847189',), 1333297995: ('0.05459390176847189',), 1333297992: ('0.05459390176847189',), 1333297989: ('0.05459390176847189',), 1333297984: ('0.05459390176847189',), 1333297959: ('0.05459390176847189',), 1333297956: ('0.05459390176847189',), 1333297921: ('0.05459390176847189',), 1333297917: ('0.05459390176847189',), 1333297915: ('0.05459390176847189',), 1333297910: ('0.05459390176847189',), 1333297872: ('0.05459390176847189',), 1333297867: ('0.05459390176847189',), 1333297862: ('0.05459390176847189',), 1333297858: ('0.05459390176847189',), 1333297800: ('0.05459390176847189',), 1333297795: ('0.05459390176847189',), 1333297791: ('0.05459390176847189',), 1333297789: ('0.05459390176847189',), 1333297785: ('0.05459390176847189',), 1333297779: ('0.05459390176847189',), 1333297603: ('0.05459390176847189',), 1333297598: ('0.05459390176847189',), 1333297593: ('0.05459390176847189',)} args : 1333298337 depend.output_id : 0 input_args_next_step : {1333300842: ('0.05459390176847189',), 1333298485: ('0.05459390176847189',), 1333298337: ('0.05459390176847189',), 1333298329: ()} output_args : {1333300842: ('0.05459390176847189',), 1333298485: ('0.05459390176847189',), 1333298337: ('0.05459390176847189',), 1333298329: ('0.05459390176847189',), 1333298241: ('0.05459390176847189',), 1333298236: ('0.05459390176847189',), 1333298205: ('0.05459390176847189',), 1333298203: ('0.05459390176847189',), 1333298196: ('0.05459390176847189',), 1333298102: ('0.05459390176847189',), 1333297995: ('0.05459390176847189',), 1333297992: ('0.05459390176847189',), 1333297989: ('0.05459390176847189',), 1333297984: ('0.05459390176847189',), 1333297959: ('0.05459390176847189',), 1333297956: ('0.05459390176847189',), 1333297921: ('0.05459390176847189',), 1333297917: ('0.05459390176847189',), 1333297915: ('0.05459390176847189',), 1333297910: ('0.05459390176847189',), 1333297872: ('0.05459390176847189',), 1333297867: ('0.05459390176847189',), 1333297862: ('0.05459390176847189',), 1333297858: ('0.05459390176847189',), 1333297800: ('0.05459390176847189',), 1333297795: ('0.05459390176847189',), 1333297791: ('0.05459390176847189',), 1333297789: ('0.05459390176847189',), 1333297785: ('0.05459390176847189',), 1333297779: ('0.05459390176847189',), 1333297603: ('0.05459390176847189',), 1333297598: ('0.05459390176847189',), 1333297593: ('0.05459390176847189',)} args : 1333298329 depend.output_id : 0 input_args_next_step : {1333300842: ('0.05459390176847189',), 1333298485: ('0.05459390176847189',), 1333298337: ('0.05459390176847189',), 1333298329: ('0.05459390176847189',), 1333298241: ()} output_args : {1333300842: ('0.05459390176847189',), 1333298485: ('0.05459390176847189',), 1333298337: ('0.05459390176847189',), 1333298329: ('0.05459390176847189',), 1333298241: ('0.05459390176847189',), 1333298236: ('0.05459390176847189',), 1333298205: ('0.05459390176847189',), 1333298203: ('0.05459390176847189',), 1333298196: ('0.05459390176847189',), 1333298102: ('0.05459390176847189',), 1333297995: ('0.05459390176847189',), 1333297992: ('0.05459390176847189',), 1333297989: ('0.05459390176847189',), 1333297984: ('0.05459390176847189',), 1333297959: ('0.05459390176847189',), 1333297956: ('0.05459390176847189',), 1333297921: ('0.05459390176847189',), 1333297917: ('0.05459390176847189',), 1333297915: ('0.05459390176847189',), 1333297910: ('0.05459390176847189',), 1333297872: ('0.05459390176847189',), 1333297867: ('0.05459390176847189',), 1333297862: ('0.05459390176847189',), 1333297858: ('0.05459390176847189',), 1333297800: ('0.05459390176847189',), 1333297795: ('0.05459390176847189',), 1333297791: ('0.05459390176847189',), 1333297789: ('0.05459390176847189',), 1333297785: ('0.05459390176847189',), 1333297779: ('0.05459390176847189',), 1333297603: ('0.05459390176847189',), 1333297598: ('0.05459390176847189',), 1333297593: ('0.05459390176847189',)} args : 1333298241 depend.output_id : 0 input_args_next_step : {1333300842: ('0.05459390176847189',), 1333298485: ('0.05459390176847189',), 1333298337: ('0.05459390176847189',), 1333298329: ('0.05459390176847189',), 1333298241: ('0.05459390176847189',), 1333298236: ()} output_args : {1333300842: ('0.05459390176847189',), 1333298485: ('0.05459390176847189',), 1333298337: ('0.05459390176847189',), 1333298329: ('0.05459390176847189',), 1333298241: ('0.05459390176847189',), 1333298236: ('0.05459390176847189',), 1333298205: ('0.05459390176847189',), 1333298203: ('0.05459390176847189',), 1333298196: ('0.05459390176847189',), 1333298102: ('0.05459390176847189',), 1333297995: ('0.05459390176847189',), 1333297992: ('0.05459390176847189',), 1333297989: ('0.05459390176847189',), 1333297984: ('0.05459390176847189',), 1333297959: ('0.05459390176847189',), 1333297956: ('0.05459390176847189',), 1333297921: ('0.05459390176847189',), 1333297917: ('0.05459390176847189',), 1333297915: ('0.05459390176847189',), 1333297910: ('0.05459390176847189',), 1333297872: ('0.05459390176847189',), 1333297867: ('0.05459390176847189',), 1333297862: ('0.05459390176847189',), 1333297858: ('0.05459390176847189',), 1333297800: ('0.05459390176847189',), 1333297795: ('0.05459390176847189',), 1333297791: ('0.05459390176847189',), 1333297789: ('0.05459390176847189',), 1333297785: ('0.05459390176847189',), 1333297779: ('0.05459390176847189',), 1333297603: ('0.05459390176847189',), 1333297598: ('0.05459390176847189',), 1333297593: ('0.05459390176847189',)} args : 1333298236 depend.output_id : 0 input_args_next_step : {1333300842: ('0.05459390176847189',), 1333298485: ('0.05459390176847189',), 1333298337: ('0.05459390176847189',), 1333298329: ('0.05459390176847189',), 1333298241: ('0.05459390176847189',), 1333298236: ('0.05459390176847189',), 1333298205: ()} output_args : {1333300842: ('0.05459390176847189',), 1333298485: ('0.05459390176847189',), 1333298337: ('0.05459390176847189',), 1333298329: ('0.05459390176847189',), 1333298241: ('0.05459390176847189',), 1333298236: ('0.05459390176847189',), 1333298205: ('0.05459390176847189',), 1333298203: ('0.05459390176847189',), 1333298196: ('0.05459390176847189',), 1333298102: ('0.05459390176847189',), 1333297995: ('0.05459390176847189',), 1333297992: ('0.05459390176847189',), 1333297989: ('0.05459390176847189',), 1333297984: ('0.05459390176847189',), 1333297959: ('0.05459390176847189',), 1333297956: ('0.05459390176847189',), 1333297921: ('0.05459390176847189',), 1333297917: ('0.05459390176847189',), 1333297915: ('0.05459390176847189',), 1333297910: ('0.05459390176847189',), 1333297872: ('0.05459390176847189',), 1333297867: ('0.05459390176847189',), 1333297862: ('0.05459390176847189',), 1333297858: ('0.05459390176847189',), 1333297800: ('0.05459390176847189',), 1333297795: ('0.05459390176847189',), 1333297791: ('0.05459390176847189',), 1333297789: ('0.05459390176847189',), 1333297785: ('0.05459390176847189',), 1333297779: ('0.05459390176847189',), 1333297603: ('0.05459390176847189',), 1333297598: ('0.05459390176847189',), 1333297593: ('0.05459390176847189',)} args : 1333298205 depend.output_id : 0 input_args_next_step : {1333300842: ('0.05459390176847189',), 1333298485: ('0.05459390176847189',), 1333298337: ('0.05459390176847189',), 1333298329: ('0.05459390176847189',), 1333298241: ('0.05459390176847189',), 1333298236: ('0.05459390176847189',), 1333298205: ('0.05459390176847189',), 1333298203: ()} output_args : {1333300842: ('0.05459390176847189',), 1333298485: ('0.05459390176847189',), 1333298337: ('0.05459390176847189',), 1333298329: ('0.05459390176847189',), 1333298241: ('0.05459390176847189',), 1333298236: ('0.05459390176847189',), 1333298205: ('0.05459390176847189',), 1333298203: ('0.05459390176847189',), 1333298196: ('0.05459390176847189',), 1333298102: ('0.05459390176847189',), 1333297995: ('0.05459390176847189',), 1333297992: ('0.05459390176847189',), 1333297989: ('0.05459390176847189',), 1333297984: ('0.05459390176847189',), 1333297959: ('0.05459390176847189',), 1333297956: ('0.05459390176847189',), 1333297921: ('0.05459390176847189',), 1333297917: ('0.05459390176847189',), 1333297915: ('0.05459390176847189',), 1333297910: ('0.05459390176847189',), 1333297872: ('0.05459390176847189',), 1333297867: ('0.05459390176847189',), 1333297862: ('0.05459390176847189',), 1333297858: ('0.05459390176847189',), 1333297800: ('0.05459390176847189',), 1333297795: ('0.05459390176847189',), 1333297791: ('0.05459390176847189',), 1333297789: ('0.05459390176847189',), 1333297785: ('0.05459390176847189',), 1333297779: ('0.05459390176847189',), 1333297603: ('0.05459390176847189',), 1333297598: ('0.05459390176847189',), 1333297593: ('0.05459390176847189',)} args : 1333298203 depend.output_id : 0 input_args_next_step : {1333300842: ('0.05459390176847189',), 1333298485: ('0.05459390176847189',), 1333298337: ('0.05459390176847189',), 1333298329: ('0.05459390176847189',), 1333298241: ('0.05459390176847189',), 1333298236: ('0.05459390176847189',), 1333298205: ('0.05459390176847189',), 1333298203: ('0.05459390176847189',), 1333298196: ()} output_args : {1333300842: ('0.05459390176847189',), 1333298485: ('0.05459390176847189',), 1333298337: ('0.05459390176847189',), 1333298329: ('0.05459390176847189',), 1333298241: ('0.05459390176847189',), 1333298236: ('0.05459390176847189',), 1333298205: ('0.05459390176847189',), 1333298203: ('0.05459390176847189',), 1333298196: ('0.05459390176847189',), 1333298102: ('0.05459390176847189',), 1333297995: ('0.05459390176847189',), 1333297992: ('0.05459390176847189',), 1333297989: ('0.05459390176847189',), 1333297984: ('0.05459390176847189',), 1333297959: ('0.05459390176847189',), 1333297956: ('0.05459390176847189',), 1333297921: ('0.05459390176847189',), 1333297917: ('0.05459390176847189',), 1333297915: ('0.05459390176847189',), 1333297910: ('0.05459390176847189',), 1333297872: ('0.05459390176847189',), 1333297867: ('0.05459390176847189',), 1333297862: ('0.05459390176847189',), 1333297858: ('0.05459390176847189',), 1333297800: ('0.05459390176847189',), 1333297795: ('0.05459390176847189',), 1333297791: ('0.05459390176847189',), 1333297789: ('0.05459390176847189',), 1333297785: ('0.05459390176847189',), 1333297779: ('0.05459390176847189',), 1333297603: ('0.05459390176847189',), 1333297598: ('0.05459390176847189',), 1333297593: ('0.05459390176847189',)} args : 1333298196 depend.output_id : 0 input_args_next_step : {1333300842: ('0.05459390176847189',), 1333298485: ('0.05459390176847189',), 1333298337: ('0.05459390176847189',), 1333298329: ('0.05459390176847189',), 1333298241: ('0.05459390176847189',), 1333298236: ('0.05459390176847189',), 1333298205: ('0.05459390176847189',), 1333298203: ('0.05459390176847189',), 1333298196: ('0.05459390176847189',), 1333298102: ()} output_args : {1333300842: ('0.05459390176847189',), 1333298485: ('0.05459390176847189',), 1333298337: ('0.05459390176847189',), 1333298329: ('0.05459390176847189',), 1333298241: ('0.05459390176847189',), 1333298236: ('0.05459390176847189',), 1333298205: ('0.05459390176847189',), 1333298203: ('0.05459390176847189',), 1333298196: ('0.05459390176847189',), 1333298102: ('0.05459390176847189',), 1333297995: ('0.05459390176847189',), 1333297992: ('0.05459390176847189',), 1333297989: ('0.05459390176847189',), 1333297984: ('0.05459390176847189',), 1333297959: ('0.05459390176847189',), 1333297956: ('0.05459390176847189',), 1333297921: ('0.05459390176847189',), 1333297917: ('0.05459390176847189',), 1333297915: ('0.05459390176847189',), 1333297910: ('0.05459390176847189',), 1333297872: ('0.05459390176847189',), 1333297867: ('0.05459390176847189',), 1333297862: ('0.05459390176847189',), 1333297858: ('0.05459390176847189',), 1333297800: ('0.05459390176847189',), 1333297795: ('0.05459390176847189',), 1333297791: ('0.05459390176847189',), 1333297789: ('0.05459390176847189',), 1333297785: ('0.05459390176847189',), 1333297779: ('0.05459390176847189',), 1333297603: ('0.05459390176847189',), 1333297598: ('0.05459390176847189',), 1333297593: ('0.05459390176847189',)} args : 1333298102 depend.output_id : 0 input_args_next_step : {1333300842: ('0.05459390176847189',), 1333298485: ('0.05459390176847189',), 1333298337: ('0.05459390176847189',), 1333298329: ('0.05459390176847189',), 1333298241: ('0.05459390176847189',), 1333298236: ('0.05459390176847189',), 1333298205: ('0.05459390176847189',), 1333298203: ('0.05459390176847189',), 1333298196: ('0.05459390176847189',), 1333298102: ('0.05459390176847189',), 1333297995: ()} output_args : {1333300842: ('0.05459390176847189',), 1333298485: ('0.05459390176847189',), 1333298337: ('0.05459390176847189',), 1333298329: ('0.05459390176847189',), 1333298241: ('0.05459390176847189',), 1333298236: ('0.05459390176847189',), 1333298205: ('0.05459390176847189',), 1333298203: ('0.05459390176847189',), 1333298196: ('0.05459390176847189',), 1333298102: ('0.05459390176847189',), 1333297995: ('0.05459390176847189',), 1333297992: ('0.05459390176847189',), 1333297989: ('0.05459390176847189',), 1333297984: ('0.05459390176847189',), 1333297959: ('0.05459390176847189',), 1333297956: ('0.05459390176847189',), 1333297921: ('0.05459390176847189',), 1333297917: ('0.05459390176847189',), 1333297915: ('0.05459390176847189',), 1333297910: ('0.05459390176847189',), 1333297872: ('0.05459390176847189',), 1333297867: ('0.05459390176847189',), 1333297862: ('0.05459390176847189',), 1333297858: ('0.05459390176847189',), 1333297800: ('0.05459390176847189',), 1333297795: ('0.05459390176847189',), 1333297791: ('0.05459390176847189',), 1333297789: ('0.05459390176847189',), 1333297785: ('0.05459390176847189',), 1333297779: ('0.05459390176847189',), 1333297603: ('0.05459390176847189',), 1333297598: ('0.05459390176847189',), 1333297593: ('0.05459390176847189',)} args : 1333297995 depend.output_id : 0 input_args_next_step : {1333300842: ('0.05459390176847189',), 1333298485: ('0.05459390176847189',), 1333298337: ('0.05459390176847189',), 1333298329: ('0.05459390176847189',), 1333298241: ('0.05459390176847189',), 1333298236: ('0.05459390176847189',), 1333298205: ('0.05459390176847189',), 1333298203: ('0.05459390176847189',), 1333298196: ('0.05459390176847189',), 1333298102: ('0.05459390176847189',), 1333297995: ('0.05459390176847189',), 1333297992: ()} output_args : {1333300842: ('0.05459390176847189',), 1333298485: ('0.05459390176847189',), 1333298337: ('0.05459390176847189',), 1333298329: ('0.05459390176847189',), 1333298241: ('0.05459390176847189',), 1333298236: ('0.05459390176847189',), 1333298205: ('0.05459390176847189',), 1333298203: ('0.05459390176847189',), 1333298196: ('0.05459390176847189',), 1333298102: ('0.05459390176847189',), 1333297995: ('0.05459390176847189',), 1333297992: ('0.05459390176847189',), 1333297989: ('0.05459390176847189',), 1333297984: ('0.05459390176847189',), 1333297959: ('0.05459390176847189',), 1333297956: ('0.05459390176847189',), 1333297921: ('0.05459390176847189',), 1333297917: ('0.05459390176847189',), 1333297915: ('0.05459390176847189',), 1333297910: ('0.05459390176847189',), 1333297872: ('0.05459390176847189',), 1333297867: ('0.05459390176847189',), 1333297862: ('0.05459390176847189',), 1333297858: ('0.05459390176847189',), 1333297800: ('0.05459390176847189',), 1333297795: ('0.05459390176847189',), 1333297791: ('0.05459390176847189',), 1333297789: ('0.05459390176847189',), 1333297785: ('0.05459390176847189',), 1333297779: ('0.05459390176847189',), 1333297603: ('0.05459390176847189',), 1333297598: ('0.05459390176847189',), 1333297593: ('0.05459390176847189',)} args : 1333297992 depend.output_id : 0 input_args_next_step : {1333300842: ('0.05459390176847189',), 1333298485: ('0.05459390176847189',), 1333298337: ('0.05459390176847189',), 1333298329: ('0.05459390176847189',), 1333298241: ('0.05459390176847189',), 1333298236: ('0.05459390176847189',), 1333298205: ('0.05459390176847189',), 1333298203: ('0.05459390176847189',), 1333298196: ('0.05459390176847189',), 1333298102: ('0.05459390176847189',), 1333297995: ('0.05459390176847189',), 1333297992: ('0.05459390176847189',), 1333297989: ()} output_args : {1333300842: ('0.05459390176847189',), 1333298485: ('0.05459390176847189',), 1333298337: ('0.05459390176847189',), 1333298329: ('0.05459390176847189',), 1333298241: ('0.05459390176847189',), 1333298236: ('0.05459390176847189',), 1333298205: ('0.05459390176847189',), 1333298203: ('0.05459390176847189',), 1333298196: ('0.05459390176847189',), 1333298102: ('0.05459390176847189',), 1333297995: ('0.05459390176847189',), 1333297992: ('0.05459390176847189',), 1333297989: ('0.05459390176847189',), 1333297984: ('0.05459390176847189',), 1333297959: ('0.05459390176847189',), 1333297956: ('0.05459390176847189',), 1333297921: ('0.05459390176847189',), 1333297917: ('0.05459390176847189',), 1333297915: ('0.05459390176847189',), 1333297910: ('0.05459390176847189',), 1333297872: ('0.05459390176847189',), 1333297867: ('0.05459390176847189',), 1333297862: ('0.05459390176847189',), 1333297858: ('0.05459390176847189',), 1333297800: ('0.05459390176847189',), 1333297795: ('0.05459390176847189',), 1333297791: ('0.05459390176847189',), 1333297789: ('0.05459390176847189',), 1333297785: ('0.05459390176847189',), 1333297779: ('0.05459390176847189',), 1333297603: ('0.05459390176847189',), 1333297598: ('0.05459390176847189',), 1333297593: ('0.05459390176847189',)} args : 1333297989 depend.output_id : 0 input_args_next_step : {1333300842: ('0.05459390176847189',), 1333298485: ('0.05459390176847189',), 1333298337: ('0.05459390176847189',), 1333298329: ('0.05459390176847189',), 1333298241: ('0.05459390176847189',), 1333298236: ('0.05459390176847189',), 1333298205: ('0.05459390176847189',), 1333298203: ('0.05459390176847189',), 1333298196: ('0.05459390176847189',), 1333298102: ('0.05459390176847189',), 1333297995: ('0.05459390176847189',), 1333297992: ('0.05459390176847189',), 1333297989: ('0.05459390176847189',), 1333297984: ()} output_args : {1333300842: ('0.05459390176847189',), 1333298485: ('0.05459390176847189',), 1333298337: ('0.05459390176847189',), 1333298329: ('0.05459390176847189',), 1333298241: ('0.05459390176847189',), 1333298236: ('0.05459390176847189',), 1333298205: ('0.05459390176847189',), 1333298203: ('0.05459390176847189',), 1333298196: ('0.05459390176847189',), 1333298102: ('0.05459390176847189',), 1333297995: ('0.05459390176847189',), 1333297992: ('0.05459390176847189',), 1333297989: ('0.05459390176847189',), 1333297984: ('0.05459390176847189',), 1333297959: ('0.05459390176847189',), 1333297956: ('0.05459390176847189',), 1333297921: ('0.05459390176847189',), 1333297917: ('0.05459390176847189',), 1333297915: ('0.05459390176847189',), 1333297910: ('0.05459390176847189',), 1333297872: ('0.05459390176847189',), 1333297867: ('0.05459390176847189',), 1333297862: ('0.05459390176847189',), 1333297858: ('0.05459390176847189',), 1333297800: ('0.05459390176847189',), 1333297795: ('0.05459390176847189',), 1333297791: ('0.05459390176847189',), 1333297789: ('0.05459390176847189',), 1333297785: ('0.05459390176847189',), 1333297779: ('0.05459390176847189',), 1333297603: ('0.05459390176847189',), 1333297598: ('0.05459390176847189',), 1333297593: ('0.05459390176847189',)} args : 1333297984 depend.output_id : 0 input_args_next_step : {1333300842: ('0.05459390176847189',), 1333298485: ('0.05459390176847189',), 1333298337: ('0.05459390176847189',), 1333298329: ('0.05459390176847189',), 1333298241: ('0.05459390176847189',), 1333298236: ('0.05459390176847189',), 1333298205: ('0.05459390176847189',), 1333298203: ('0.05459390176847189',), 1333298196: ('0.05459390176847189',), 1333298102: ('0.05459390176847189',), 1333297995: ('0.05459390176847189',), 1333297992: ('0.05459390176847189',), 1333297989: ('0.05459390176847189',), 1333297984: ('0.05459390176847189',), 1333297959: ()} output_args : {1333300842: ('0.05459390176847189',), 1333298485: ('0.05459390176847189',), 1333298337: ('0.05459390176847189',), 1333298329: ('0.05459390176847189',), 1333298241: ('0.05459390176847189',), 1333298236: ('0.05459390176847189',), 1333298205: ('0.05459390176847189',), 1333298203: ('0.05459390176847189',), 1333298196: ('0.05459390176847189',), 1333298102: ('0.05459390176847189',), 1333297995: ('0.05459390176847189',), 1333297992: ('0.05459390176847189',), 1333297989: ('0.05459390176847189',), 1333297984: ('0.05459390176847189',), 1333297959: ('0.05459390176847189',), 1333297956: ('0.05459390176847189',), 1333297921: ('0.05459390176847189',), 1333297917: ('0.05459390176847189',), 1333297915: ('0.05459390176847189',), 1333297910: ('0.05459390176847189',), 1333297872: ('0.05459390176847189',), 1333297867: ('0.05459390176847189',), 1333297862: ('0.05459390176847189',), 1333297858: ('0.05459390176847189',), 1333297800: ('0.05459390176847189',), 1333297795: ('0.05459390176847189',), 1333297791: ('0.05459390176847189',), 1333297789: ('0.05459390176847189',), 1333297785: ('0.05459390176847189',), 1333297779: ('0.05459390176847189',), 1333297603: ('0.05459390176847189',), 1333297598: ('0.05459390176847189',), 1333297593: ('0.05459390176847189',)} args : 1333297959 depend.output_id : 0 input_args_next_step : {1333300842: ('0.05459390176847189',), 1333298485: ('0.05459390176847189',), 1333298337: ('0.05459390176847189',), 1333298329: ('0.05459390176847189',), 1333298241: ('0.05459390176847189',), 1333298236: ('0.05459390176847189',), 1333298205: ('0.05459390176847189',), 1333298203: ('0.05459390176847189',), 1333298196: ('0.05459390176847189',), 1333298102: ('0.05459390176847189',), 1333297995: ('0.05459390176847189',), 1333297992: ('0.05459390176847189',), 1333297989: ('0.05459390176847189',), 1333297984: ('0.05459390176847189',), 1333297959: ('0.05459390176847189',), 1333297956: ()} output_args : {1333300842: ('0.05459390176847189',), 1333298485: ('0.05459390176847189',), 1333298337: ('0.05459390176847189',), 1333298329: ('0.05459390176847189',), 1333298241: ('0.05459390176847189',), 1333298236: ('0.05459390176847189',), 1333298205: ('0.05459390176847189',), 1333298203: ('0.05459390176847189',), 1333298196: ('0.05459390176847189',), 1333298102: ('0.05459390176847189',), 1333297995: ('0.05459390176847189',), 1333297992: ('0.05459390176847189',), 1333297989: ('0.05459390176847189',), 1333297984: ('0.05459390176847189',), 1333297959: ('0.05459390176847189',), 1333297956: ('0.05459390176847189',), 1333297921: ('0.05459390176847189',), 1333297917: ('0.05459390176847189',), 1333297915: ('0.05459390176847189',), 1333297910: ('0.05459390176847189',), 1333297872: ('0.05459390176847189',), 1333297867: ('0.05459390176847189',), 1333297862: ('0.05459390176847189',), 1333297858: ('0.05459390176847189',), 1333297800: ('0.05459390176847189',), 1333297795: ('0.05459390176847189',), 1333297791: ('0.05459390176847189',), 1333297789: ('0.05459390176847189',), 1333297785: ('0.05459390176847189',), 1333297779: ('0.05459390176847189',), 1333297603: ('0.05459390176847189',), 1333297598: ('0.05459390176847189',), 1333297593: ('0.05459390176847189',)} args : 1333297956 depend.output_id : 0 input_args_next_step : {1333300842: ('0.05459390176847189',), 1333298485: ('0.05459390176847189',), 1333298337: ('0.05459390176847189',), 1333298329: ('0.05459390176847189',), 1333298241: ('0.05459390176847189',), 1333298236: ('0.05459390176847189',), 1333298205: ('0.05459390176847189',), 1333298203: ('0.05459390176847189',), 1333298196: ('0.05459390176847189',), 1333298102: ('0.05459390176847189',), 1333297995: ('0.05459390176847189',), 1333297992: ('0.05459390176847189',), 1333297989: ('0.05459390176847189',), 1333297984: ('0.05459390176847189',), 1333297959: ('0.05459390176847189',), 1333297956: ('0.05459390176847189',), 1333297921: ()} output_args : {1333300842: ('0.05459390176847189',), 1333298485: ('0.05459390176847189',), 1333298337: ('0.05459390176847189',), 1333298329: ('0.05459390176847189',), 1333298241: ('0.05459390176847189',), 1333298236: ('0.05459390176847189',), 1333298205: ('0.05459390176847189',), 1333298203: ('0.05459390176847189',), 1333298196: ('0.05459390176847189',), 1333298102: ('0.05459390176847189',), 1333297995: ('0.05459390176847189',), 1333297992: ('0.05459390176847189',), 1333297989: ('0.05459390176847189',), 1333297984: ('0.05459390176847189',), 1333297959: ('0.05459390176847189',), 1333297956: ('0.05459390176847189',), 1333297921: ('0.05459390176847189',), 1333297917: ('0.05459390176847189',), 1333297915: ('0.05459390176847189',), 1333297910: ('0.05459390176847189',), 1333297872: ('0.05459390176847189',), 1333297867: ('0.05459390176847189',), 1333297862: ('0.05459390176847189',), 1333297858: ('0.05459390176847189',), 1333297800: ('0.05459390176847189',), 1333297795: ('0.05459390176847189',), 1333297791: ('0.05459390176847189',), 1333297789: ('0.05459390176847189',), 1333297785: ('0.05459390176847189',), 1333297779: ('0.05459390176847189',), 1333297603: ('0.05459390176847189',), 1333297598: ('0.05459390176847189',), 1333297593: ('0.05459390176847189',)} args : 1333297921 depend.output_id : 0 input_args_next_step : {1333300842: ('0.05459390176847189',), 1333298485: ('0.05459390176847189',), 1333298337: ('0.05459390176847189',), 1333298329: ('0.05459390176847189',), 1333298241: ('0.05459390176847189',), 1333298236: ('0.05459390176847189',), 1333298205: ('0.05459390176847189',), 1333298203: ('0.05459390176847189',), 1333298196: ('0.05459390176847189',), 1333298102: ('0.05459390176847189',), 1333297995: ('0.05459390176847189',), 1333297992: ('0.05459390176847189',), 1333297989: ('0.05459390176847189',), 1333297984: ('0.05459390176847189',), 1333297959: ('0.05459390176847189',), 1333297956: ('0.05459390176847189',), 1333297921: ('0.05459390176847189',), 1333297917: ()} output_args : {1333300842: ('0.05459390176847189',), 1333298485: ('0.05459390176847189',), 1333298337: ('0.05459390176847189',), 1333298329: ('0.05459390176847189',), 1333298241: ('0.05459390176847189',), 1333298236: ('0.05459390176847189',), 1333298205: ('0.05459390176847189',), 1333298203: ('0.05459390176847189',), 1333298196: ('0.05459390176847189',), 1333298102: ('0.05459390176847189',), 1333297995: ('0.05459390176847189',), 1333297992: ('0.05459390176847189',), 1333297989: ('0.05459390176847189',), 1333297984: ('0.05459390176847189',), 1333297959: ('0.05459390176847189',), 1333297956: ('0.05459390176847189',), 1333297921: ('0.05459390176847189',), 1333297917: ('0.05459390176847189',), 1333297915: ('0.05459390176847189',), 1333297910: ('0.05459390176847189',), 1333297872: ('0.05459390176847189',), 1333297867: ('0.05459390176847189',), 1333297862: ('0.05459390176847189',), 1333297858: ('0.05459390176847189',), 1333297800: ('0.05459390176847189',), 1333297795: ('0.05459390176847189',), 1333297791: ('0.05459390176847189',), 1333297789: ('0.05459390176847189',), 1333297785: ('0.05459390176847189',), 1333297779: ('0.05459390176847189',), 1333297603: ('0.05459390176847189',), 1333297598: ('0.05459390176847189',), 1333297593: ('0.05459390176847189',)} args : 1333297917 depend.output_id : 0 input_args_next_step : {1333300842: ('0.05459390176847189',), 1333298485: ('0.05459390176847189',), 1333298337: ('0.05459390176847189',), 1333298329: ('0.05459390176847189',), 1333298241: ('0.05459390176847189',), 1333298236: ('0.05459390176847189',), 1333298205: ('0.05459390176847189',), 1333298203: ('0.05459390176847189',), 1333298196: ('0.05459390176847189',), 1333298102: ('0.05459390176847189',), 1333297995: ('0.05459390176847189',), 1333297992: ('0.05459390176847189',), 1333297989: ('0.05459390176847189',), 1333297984: ('0.05459390176847189',), 1333297959: ('0.05459390176847189',), 1333297956: ('0.05459390176847189',), 1333297921: ('0.05459390176847189',), 1333297917: ('0.05459390176847189',), 1333297915: ()} output_args : {1333300842: ('0.05459390176847189',), 1333298485: ('0.05459390176847189',), 1333298337: ('0.05459390176847189',), 1333298329: ('0.05459390176847189',), 1333298241: ('0.05459390176847189',), 1333298236: ('0.05459390176847189',), 1333298205: ('0.05459390176847189',), 1333298203: ('0.05459390176847189',), 1333298196: ('0.05459390176847189',), 1333298102: ('0.05459390176847189',), 1333297995: ('0.05459390176847189',), 1333297992: ('0.05459390176847189',), 1333297989: ('0.05459390176847189',), 1333297984: ('0.05459390176847189',), 1333297959: ('0.05459390176847189',), 1333297956: ('0.05459390176847189',), 1333297921: ('0.05459390176847189',), 1333297917: ('0.05459390176847189',), 1333297915: ('0.05459390176847189',), 1333297910: ('0.05459390176847189',), 1333297872: ('0.05459390176847189',), 1333297867: ('0.05459390176847189',), 1333297862: ('0.05459390176847189',), 1333297858: ('0.05459390176847189',), 1333297800: ('0.05459390176847189',), 1333297795: ('0.05459390176847189',), 1333297791: ('0.05459390176847189',), 1333297789: ('0.05459390176847189',), 1333297785: ('0.05459390176847189',), 1333297779: ('0.05459390176847189',), 1333297603: ('0.05459390176847189',), 1333297598: ('0.05459390176847189',), 1333297593: ('0.05459390176847189',)} args : 1333297915 depend.output_id : 0 input_args_next_step : {1333300842: ('0.05459390176847189',), 1333298485: ('0.05459390176847189',), 1333298337: ('0.05459390176847189',), 1333298329: ('0.05459390176847189',), 1333298241: ('0.05459390176847189',), 1333298236: ('0.05459390176847189',), 1333298205: ('0.05459390176847189',), 1333298203: ('0.05459390176847189',), 1333298196: ('0.05459390176847189',), 1333298102: ('0.05459390176847189',), 1333297995: ('0.05459390176847189',), 1333297992: ('0.05459390176847189',), 1333297989: ('0.05459390176847189',), 1333297984: ('0.05459390176847189',), 1333297959: ('0.05459390176847189',), 1333297956: ('0.05459390176847189',), 1333297921: ('0.05459390176847189',), 1333297917: ('0.05459390176847189',), 1333297915: ('0.05459390176847189',), 1333297910: ()} output_args : {1333300842: ('0.05459390176847189',), 1333298485: ('0.05459390176847189',), 1333298337: ('0.05459390176847189',), 1333298329: ('0.05459390176847189',), 1333298241: ('0.05459390176847189',), 1333298236: ('0.05459390176847189',), 1333298205: ('0.05459390176847189',), 1333298203: ('0.05459390176847189',), 1333298196: ('0.05459390176847189',), 1333298102: ('0.05459390176847189',), 1333297995: ('0.05459390176847189',), 1333297992: ('0.05459390176847189',), 1333297989: ('0.05459390176847189',), 1333297984: ('0.05459390176847189',), 1333297959: ('0.05459390176847189',), 1333297956: ('0.05459390176847189',), 1333297921: ('0.05459390176847189',), 1333297917: ('0.05459390176847189',), 1333297915: ('0.05459390176847189',), 1333297910: ('0.05459390176847189',), 1333297872: ('0.05459390176847189',), 1333297867: ('0.05459390176847189',), 1333297862: ('0.05459390176847189',), 1333297858: ('0.05459390176847189',), 1333297800: ('0.05459390176847189',), 1333297795: ('0.05459390176847189',), 1333297791: ('0.05459390176847189',), 1333297789: ('0.05459390176847189',), 1333297785: ('0.05459390176847189',), 1333297779: ('0.05459390176847189',), 1333297603: ('0.05459390176847189',), 1333297598: ('0.05459390176847189',), 1333297593: ('0.05459390176847189',)} args : 1333297910 depend.output_id : 0 input_args_next_step : {1333300842: ('0.05459390176847189',), 1333298485: ('0.05459390176847189',), 1333298337: ('0.05459390176847189',), 1333298329: ('0.05459390176847189',), 1333298241: ('0.05459390176847189',), 1333298236: ('0.05459390176847189',), 1333298205: ('0.05459390176847189',), 1333298203: ('0.05459390176847189',), 1333298196: ('0.05459390176847189',), 1333298102: ('0.05459390176847189',), 1333297995: ('0.05459390176847189',), 1333297992: ('0.05459390176847189',), 1333297989: ('0.05459390176847189',), 1333297984: ('0.05459390176847189',), 1333297959: ('0.05459390176847189',), 1333297956: ('0.05459390176847189',), 1333297921: ('0.05459390176847189',), 1333297917: ('0.05459390176847189',), 1333297915: ('0.05459390176847189',), 1333297910: ('0.05459390176847189',), 1333297872: ()} output_args : {1333300842: ('0.05459390176847189',), 1333298485: ('0.05459390176847189',), 1333298337: ('0.05459390176847189',), 1333298329: ('0.05459390176847189',), 1333298241: ('0.05459390176847189',), 1333298236: ('0.05459390176847189',), 1333298205: ('0.05459390176847189',), 1333298203: ('0.05459390176847189',), 1333298196: ('0.05459390176847189',), 1333298102: ('0.05459390176847189',), 1333297995: ('0.05459390176847189',), 1333297992: ('0.05459390176847189',), 1333297989: ('0.05459390176847189',), 1333297984: ('0.05459390176847189',), 1333297959: ('0.05459390176847189',), 1333297956: ('0.05459390176847189',), 1333297921: ('0.05459390176847189',), 1333297917: ('0.05459390176847189',), 1333297915: ('0.05459390176847189',), 1333297910: ('0.05459390176847189',), 1333297872: ('0.05459390176847189',), 1333297867: ('0.05459390176847189',), 1333297862: ('0.05459390176847189',), 1333297858: ('0.05459390176847189',), 1333297800: ('0.05459390176847189',), 1333297795: ('0.05459390176847189',), 1333297791: ('0.05459390176847189',), 1333297789: ('0.05459390176847189',), 1333297785: ('0.05459390176847189',), 1333297779: ('0.05459390176847189',), 1333297603: ('0.05459390176847189',), 1333297598: ('0.05459390176847189',), 1333297593: ('0.05459390176847189',)} args : 1333297872 depend.output_id : 0 input_args_next_step : {1333300842: ('0.05459390176847189',), 1333298485: ('0.05459390176847189',), 1333298337: ('0.05459390176847189',), 1333298329: ('0.05459390176847189',), 1333298241: ('0.05459390176847189',), 1333298236: ('0.05459390176847189',), 1333298205: ('0.05459390176847189',), 1333298203: ('0.05459390176847189',), 1333298196: ('0.05459390176847189',), 1333298102: ('0.05459390176847189',), 1333297995: ('0.05459390176847189',), 1333297992: ('0.05459390176847189',), 1333297989: ('0.05459390176847189',), 1333297984: ('0.05459390176847189',), 1333297959: ('0.05459390176847189',), 1333297956: ('0.05459390176847189',), 1333297921: ('0.05459390176847189',), 1333297917: ('0.05459390176847189',), 1333297915: ('0.05459390176847189',), 1333297910: ('0.05459390176847189',), 1333297872: ('0.05459390176847189',), 1333297867: ()} output_args : {1333300842: ('0.05459390176847189',), 1333298485: ('0.05459390176847189',), 1333298337: ('0.05459390176847189',), 1333298329: ('0.05459390176847189',), 1333298241: ('0.05459390176847189',), 1333298236: ('0.05459390176847189',), 1333298205: ('0.05459390176847189',), 1333298203: ('0.05459390176847189',), 1333298196: ('0.05459390176847189',), 1333298102: ('0.05459390176847189',), 1333297995: ('0.05459390176847189',), 1333297992: ('0.05459390176847189',), 1333297989: ('0.05459390176847189',), 1333297984: ('0.05459390176847189',), 1333297959: ('0.05459390176847189',), 1333297956: ('0.05459390176847189',), 1333297921: ('0.05459390176847189',), 1333297917: ('0.05459390176847189',), 1333297915: ('0.05459390176847189',), 1333297910: ('0.05459390176847189',), 1333297872: ('0.05459390176847189',), 1333297867: ('0.05459390176847189',), 1333297862: ('0.05459390176847189',), 1333297858: ('0.05459390176847189',), 1333297800: ('0.05459390176847189',), 1333297795: ('0.05459390176847189',), 1333297791: ('0.05459390176847189',), 1333297789: ('0.05459390176847189',), 1333297785: ('0.05459390176847189',), 1333297779: ('0.05459390176847189',), 1333297603: ('0.05459390176847189',), 1333297598: ('0.05459390176847189',), 1333297593: ('0.05459390176847189',)} args : 1333297867 depend.output_id : 0 input_args_next_step : {1333300842: ('0.05459390176847189',), 1333298485: ('0.05459390176847189',), 1333298337: ('0.05459390176847189',), 1333298329: ('0.05459390176847189',), 1333298241: ('0.05459390176847189',), 1333298236: ('0.05459390176847189',), 1333298205: ('0.05459390176847189',), 1333298203: ('0.05459390176847189',), 1333298196: ('0.05459390176847189',), 1333298102: ('0.05459390176847189',), 1333297995: ('0.05459390176847189',), 1333297992: ('0.05459390176847189',), 1333297989: ('0.05459390176847189',), 1333297984: ('0.05459390176847189',), 1333297959: ('0.05459390176847189',), 1333297956: ('0.05459390176847189',), 1333297921: ('0.05459390176847189',), 1333297917: ('0.05459390176847189',), 1333297915: ('0.05459390176847189',), 1333297910: ('0.05459390176847189',), 1333297872: ('0.05459390176847189',), 1333297867: ('0.05459390176847189',), 1333297862: ()} output_args : {1333300842: ('0.05459390176847189',), 1333298485: ('0.05459390176847189',), 1333298337: ('0.05459390176847189',), 1333298329: ('0.05459390176847189',), 1333298241: ('0.05459390176847189',), 1333298236: ('0.05459390176847189',), 1333298205: ('0.05459390176847189',), 1333298203: ('0.05459390176847189',), 1333298196: ('0.05459390176847189',), 1333298102: ('0.05459390176847189',), 1333297995: ('0.05459390176847189',), 1333297992: ('0.05459390176847189',), 1333297989: ('0.05459390176847189',), 1333297984: ('0.05459390176847189',), 1333297959: ('0.05459390176847189',), 1333297956: ('0.05459390176847189',), 1333297921: ('0.05459390176847189',), 1333297917: ('0.05459390176847189',), 1333297915: ('0.05459390176847189',), 1333297910: ('0.05459390176847189',), 1333297872: ('0.05459390176847189',), 1333297867: ('0.05459390176847189',), 1333297862: ('0.05459390176847189',), 1333297858: ('0.05459390176847189',), 1333297800: ('0.05459390176847189',), 1333297795: ('0.05459390176847189',), 1333297791: ('0.05459390176847189',), 1333297789: ('0.05459390176847189',), 1333297785: ('0.05459390176847189',), 1333297779: ('0.05459390176847189',), 1333297603: ('0.05459390176847189',), 1333297598: ('0.05459390176847189',), 1333297593: ('0.05459390176847189',)} args : 1333297862 depend.output_id : 0 input_args_next_step : {1333300842: ('0.05459390176847189',), 1333298485: ('0.05459390176847189',), 1333298337: ('0.05459390176847189',), 1333298329: ('0.05459390176847189',), 1333298241: ('0.05459390176847189',), 1333298236: ('0.05459390176847189',), 1333298205: ('0.05459390176847189',), 1333298203: ('0.05459390176847189',), 1333298196: ('0.05459390176847189',), 1333298102: ('0.05459390176847189',), 1333297995: ('0.05459390176847189',), 1333297992: ('0.05459390176847189',), 1333297989: ('0.05459390176847189',), 1333297984: ('0.05459390176847189',), 1333297959: ('0.05459390176847189',), 1333297956: ('0.05459390176847189',), 1333297921: ('0.05459390176847189',), 1333297917: ('0.05459390176847189',), 1333297915: ('0.05459390176847189',), 1333297910: ('0.05459390176847189',), 1333297872: ('0.05459390176847189',), 1333297867: ('0.05459390176847189',), 1333297862: ('0.05459390176847189',), 1333297858: ()} output_args : {1333300842: ('0.05459390176847189',), 1333298485: ('0.05459390176847189',), 1333298337: ('0.05459390176847189',), 1333298329: ('0.05459390176847189',), 1333298241: ('0.05459390176847189',), 1333298236: ('0.05459390176847189',), 1333298205: ('0.05459390176847189',), 1333298203: ('0.05459390176847189',), 1333298196: ('0.05459390176847189',), 1333298102: ('0.05459390176847189',), 1333297995: ('0.05459390176847189',), 1333297992: ('0.05459390176847189',), 1333297989: ('0.05459390176847189',), 1333297984: ('0.05459390176847189',), 1333297959: ('0.05459390176847189',), 1333297956: ('0.05459390176847189',), 1333297921: ('0.05459390176847189',), 1333297917: ('0.05459390176847189',), 1333297915: ('0.05459390176847189',), 1333297910: ('0.05459390176847189',), 1333297872: ('0.05459390176847189',), 1333297867: ('0.05459390176847189',), 1333297862: ('0.05459390176847189',), 1333297858: ('0.05459390176847189',), 1333297800: ('0.05459390176847189',), 1333297795: ('0.05459390176847189',), 1333297791: ('0.05459390176847189',), 1333297789: ('0.05459390176847189',), 1333297785: ('0.05459390176847189',), 1333297779: ('0.05459390176847189',), 1333297603: ('0.05459390176847189',), 1333297598: ('0.05459390176847189',), 1333297593: ('0.05459390176847189',)} args : 1333297858 depend.output_id : 0 input_args_next_step : {1333300842: ('0.05459390176847189',), 1333298485: ('0.05459390176847189',), 1333298337: ('0.05459390176847189',), 1333298329: ('0.05459390176847189',), 1333298241: ('0.05459390176847189',), 1333298236: ('0.05459390176847189',), 1333298205: ('0.05459390176847189',), 1333298203: ('0.05459390176847189',), 1333298196: ('0.05459390176847189',), 1333298102: ('0.05459390176847189',), 1333297995: ('0.05459390176847189',), 1333297992: ('0.05459390176847189',), 1333297989: ('0.05459390176847189',), 1333297984: ('0.05459390176847189',), 1333297959: ('0.05459390176847189',), 1333297956: ('0.05459390176847189',), 1333297921: ('0.05459390176847189',), 1333297917: ('0.05459390176847189',), 1333297915: ('0.05459390176847189',), 1333297910: ('0.05459390176847189',), 1333297872: ('0.05459390176847189',), 1333297867: ('0.05459390176847189',), 1333297862: ('0.05459390176847189',), 1333297858: ('0.05459390176847189',), 1333297800: ()} output_args : {1333300842: ('0.05459390176847189',), 1333298485: ('0.05459390176847189',), 1333298337: ('0.05459390176847189',), 1333298329: ('0.05459390176847189',), 1333298241: ('0.05459390176847189',), 1333298236: ('0.05459390176847189',), 1333298205: ('0.05459390176847189',), 1333298203: ('0.05459390176847189',), 1333298196: ('0.05459390176847189',), 1333298102: ('0.05459390176847189',), 1333297995: ('0.05459390176847189',), 1333297992: ('0.05459390176847189',), 1333297989: ('0.05459390176847189',), 1333297984: ('0.05459390176847189',), 1333297959: ('0.05459390176847189',), 1333297956: ('0.05459390176847189',), 1333297921: ('0.05459390176847189',), 1333297917: ('0.05459390176847189',), 1333297915: ('0.05459390176847189',), 1333297910: ('0.05459390176847189',), 1333297872: ('0.05459390176847189',), 1333297867: ('0.05459390176847189',), 1333297862: ('0.05459390176847189',), 1333297858: ('0.05459390176847189',), 1333297800: ('0.05459390176847189',), 1333297795: ('0.05459390176847189',), 1333297791: ('0.05459390176847189',), 1333297789: ('0.05459390176847189',), 1333297785: ('0.05459390176847189',), 1333297779: ('0.05459390176847189',), 1333297603: ('0.05459390176847189',), 1333297598: ('0.05459390176847189',), 1333297593: ('0.05459390176847189',)} args : 1333297800 depend.output_id : 0 input_args_next_step : {1333300842: ('0.05459390176847189',), 1333298485: ('0.05459390176847189',), 1333298337: ('0.05459390176847189',), 1333298329: ('0.05459390176847189',), 1333298241: ('0.05459390176847189',), 1333298236: ('0.05459390176847189',), 1333298205: ('0.05459390176847189',), 1333298203: ('0.05459390176847189',), 1333298196: ('0.05459390176847189',), 1333298102: ('0.05459390176847189',), 1333297995: ('0.05459390176847189',), 1333297992: ('0.05459390176847189',), 1333297989: ('0.05459390176847189',), 1333297984: ('0.05459390176847189',), 1333297959: ('0.05459390176847189',), 1333297956: ('0.05459390176847189',), 1333297921: ('0.05459390176847189',), 1333297917: ('0.05459390176847189',), 1333297915: ('0.05459390176847189',), 1333297910: ('0.05459390176847189',), 1333297872: ('0.05459390176847189',), 1333297867: ('0.05459390176847189',), 1333297862: ('0.05459390176847189',), 1333297858: ('0.05459390176847189',), 1333297800: ('0.05459390176847189',), 1333297795: ()} output_args : {1333300842: ('0.05459390176847189',), 1333298485: ('0.05459390176847189',), 1333298337: ('0.05459390176847189',), 1333298329: ('0.05459390176847189',), 1333298241: ('0.05459390176847189',), 1333298236: ('0.05459390176847189',), 1333298205: ('0.05459390176847189',), 1333298203: ('0.05459390176847189',), 1333298196: ('0.05459390176847189',), 1333298102: ('0.05459390176847189',), 1333297995: ('0.05459390176847189',), 1333297992: ('0.05459390176847189',), 1333297989: ('0.05459390176847189',), 1333297984: ('0.05459390176847189',), 1333297959: ('0.05459390176847189',), 1333297956: ('0.05459390176847189',), 1333297921: ('0.05459390176847189',), 1333297917: ('0.05459390176847189',), 1333297915: ('0.05459390176847189',), 1333297910: ('0.05459390176847189',), 1333297872: ('0.05459390176847189',), 1333297867: ('0.05459390176847189',), 1333297862: ('0.05459390176847189',), 1333297858: ('0.05459390176847189',), 1333297800: ('0.05459390176847189',), 1333297795: ('0.05459390176847189',), 1333297791: ('0.05459390176847189',), 1333297789: ('0.05459390176847189',), 1333297785: ('0.05459390176847189',), 1333297779: ('0.05459390176847189',), 1333297603: ('0.05459390176847189',), 1333297598: ('0.05459390176847189',), 1333297593: ('0.05459390176847189',)} args : 1333297795 depend.output_id : 0 input_args_next_step : {1333300842: ('0.05459390176847189',), 1333298485: ('0.05459390176847189',), 1333298337: ('0.05459390176847189',), 1333298329: ('0.05459390176847189',), 1333298241: ('0.05459390176847189',), 1333298236: ('0.05459390176847189',), 1333298205: ('0.05459390176847189',), 1333298203: ('0.05459390176847189',), 1333298196: ('0.05459390176847189',), 1333298102: ('0.05459390176847189',), 1333297995: ('0.05459390176847189',), 1333297992: ('0.05459390176847189',), 1333297989: ('0.05459390176847189',), 1333297984: ('0.05459390176847189',), 1333297959: ('0.05459390176847189',), 1333297956: ('0.05459390176847189',), 1333297921: ('0.05459390176847189',), 1333297917: ('0.05459390176847189',), 1333297915: ('0.05459390176847189',), 1333297910: ('0.05459390176847189',), 1333297872: ('0.05459390176847189',), 1333297867: ('0.05459390176847189',), 1333297862: ('0.05459390176847189',), 1333297858: ('0.05459390176847189',), 1333297800: ('0.05459390176847189',), 1333297795: ('0.05459390176847189',), 1333297791: ()} output_args : {1333300842: ('0.05459390176847189',), 1333298485: ('0.05459390176847189',), 1333298337: ('0.05459390176847189',), 1333298329: ('0.05459390176847189',), 1333298241: ('0.05459390176847189',), 1333298236: ('0.05459390176847189',), 1333298205: ('0.05459390176847189',), 1333298203: ('0.05459390176847189',), 1333298196: ('0.05459390176847189',), 1333298102: ('0.05459390176847189',), 1333297995: ('0.05459390176847189',), 1333297992: ('0.05459390176847189',), 1333297989: ('0.05459390176847189',), 1333297984: ('0.05459390176847189',), 1333297959: ('0.05459390176847189',), 1333297956: ('0.05459390176847189',), 1333297921: ('0.05459390176847189',), 1333297917: ('0.05459390176847189',), 1333297915: ('0.05459390176847189',), 1333297910: ('0.05459390176847189',), 1333297872: ('0.05459390176847189',), 1333297867: ('0.05459390176847189',), 1333297862: ('0.05459390176847189',), 1333297858: ('0.05459390176847189',), 1333297800: ('0.05459390176847189',), 1333297795: ('0.05459390176847189',), 1333297791: ('0.05459390176847189',), 1333297789: ('0.05459390176847189',), 1333297785: ('0.05459390176847189',), 1333297779: ('0.05459390176847189',), 1333297603: ('0.05459390176847189',), 1333297598: ('0.05459390176847189',), 1333297593: ('0.05459390176847189',)} args : 1333297791 depend.output_id : 0 input_args_next_step : {1333300842: ('0.05459390176847189',), 1333298485: ('0.05459390176847189',), 1333298337: ('0.05459390176847189',), 1333298329: ('0.05459390176847189',), 1333298241: ('0.05459390176847189',), 1333298236: ('0.05459390176847189',), 1333298205: ('0.05459390176847189',), 1333298203: ('0.05459390176847189',), 1333298196: ('0.05459390176847189',), 1333298102: ('0.05459390176847189',), 1333297995: ('0.05459390176847189',), 1333297992: ('0.05459390176847189',), 1333297989: ('0.05459390176847189',), 1333297984: ('0.05459390176847189',), 1333297959: ('0.05459390176847189',), 1333297956: ('0.05459390176847189',), 1333297921: ('0.05459390176847189',), 1333297917: ('0.05459390176847189',), 1333297915: ('0.05459390176847189',), 1333297910: ('0.05459390176847189',), 1333297872: ('0.05459390176847189',), 1333297867: ('0.05459390176847189',), 1333297862: ('0.05459390176847189',), 1333297858: ('0.05459390176847189',), 1333297800: ('0.05459390176847189',), 1333297795: ('0.05459390176847189',), 1333297791: ('0.05459390176847189',), 1333297789: ()} output_args : {1333300842: ('0.05459390176847189',), 1333298485: ('0.05459390176847189',), 1333298337: ('0.05459390176847189',), 1333298329: ('0.05459390176847189',), 1333298241: ('0.05459390176847189',), 1333298236: ('0.05459390176847189',), 1333298205: ('0.05459390176847189',), 1333298203: ('0.05459390176847189',), 1333298196: ('0.05459390176847189',), 1333298102: ('0.05459390176847189',), 1333297995: ('0.05459390176847189',), 1333297992: ('0.05459390176847189',), 1333297989: ('0.05459390176847189',), 1333297984: ('0.05459390176847189',), 1333297959: ('0.05459390176847189',), 1333297956: ('0.05459390176847189',), 1333297921: ('0.05459390176847189',), 1333297917: ('0.05459390176847189',), 1333297915: ('0.05459390176847189',), 1333297910: ('0.05459390176847189',), 1333297872: ('0.05459390176847189',), 1333297867: ('0.05459390176847189',), 1333297862: ('0.05459390176847189',), 1333297858: ('0.05459390176847189',), 1333297800: ('0.05459390176847189',), 1333297795: ('0.05459390176847189',), 1333297791: ('0.05459390176847189',), 1333297789: ('0.05459390176847189',), 1333297785: ('0.05459390176847189',), 1333297779: ('0.05459390176847189',), 1333297603: ('0.05459390176847189',), 1333297598: ('0.05459390176847189',), 1333297593: ('0.05459390176847189',)} args : 1333297789 depend.output_id : 0 input_args_next_step : {1333300842: ('0.05459390176847189',), 1333298485: ('0.05459390176847189',), 1333298337: ('0.05459390176847189',), 1333298329: ('0.05459390176847189',), 1333298241: ('0.05459390176847189',), 1333298236: ('0.05459390176847189',), 1333298205: ('0.05459390176847189',), 1333298203: ('0.05459390176847189',), 1333298196: ('0.05459390176847189',), 1333298102: ('0.05459390176847189',), 1333297995: ('0.05459390176847189',), 1333297992: ('0.05459390176847189',), 1333297989: ('0.05459390176847189',), 1333297984: ('0.05459390176847189',), 1333297959: ('0.05459390176847189',), 1333297956: ('0.05459390176847189',), 1333297921: ('0.05459390176847189',), 1333297917: ('0.05459390176847189',), 1333297915: ('0.05459390176847189',), 1333297910: ('0.05459390176847189',), 1333297872: ('0.05459390176847189',), 1333297867: ('0.05459390176847189',), 1333297862: ('0.05459390176847189',), 1333297858: ('0.05459390176847189',), 1333297800: ('0.05459390176847189',), 1333297795: ('0.05459390176847189',), 1333297791: ('0.05459390176847189',), 1333297789: ('0.05459390176847189',), 1333297785: ()} output_args : {1333300842: ('0.05459390176847189',), 1333298485: ('0.05459390176847189',), 1333298337: ('0.05459390176847189',), 1333298329: ('0.05459390176847189',), 1333298241: ('0.05459390176847189',), 1333298236: ('0.05459390176847189',), 1333298205: ('0.05459390176847189',), 1333298203: ('0.05459390176847189',), 1333298196: ('0.05459390176847189',), 1333298102: ('0.05459390176847189',), 1333297995: ('0.05459390176847189',), 1333297992: ('0.05459390176847189',), 1333297989: ('0.05459390176847189',), 1333297984: ('0.05459390176847189',), 1333297959: ('0.05459390176847189',), 1333297956: ('0.05459390176847189',), 1333297921: ('0.05459390176847189',), 1333297917: ('0.05459390176847189',), 1333297915: ('0.05459390176847189',), 1333297910: ('0.05459390176847189',), 1333297872: ('0.05459390176847189',), 1333297867: ('0.05459390176847189',), 1333297862: ('0.05459390176847189',), 1333297858: ('0.05459390176847189',), 1333297800: ('0.05459390176847189',), 1333297795: ('0.05459390176847189',), 1333297791: ('0.05459390176847189',), 1333297789: ('0.05459390176847189',), 1333297785: ('0.05459390176847189',), 1333297779: ('0.05459390176847189',), 1333297603: ('0.05459390176847189',), 1333297598: ('0.05459390176847189',), 1333297593: ('0.05459390176847189',)} args : 1333297785 depend.output_id : 0 input_args_next_step : {1333300842: ('0.05459390176847189',), 1333298485: ('0.05459390176847189',), 1333298337: ('0.05459390176847189',), 1333298329: ('0.05459390176847189',), 1333298241: ('0.05459390176847189',), 1333298236: ('0.05459390176847189',), 1333298205: ('0.05459390176847189',), 1333298203: ('0.05459390176847189',), 1333298196: ('0.05459390176847189',), 1333298102: ('0.05459390176847189',), 1333297995: ('0.05459390176847189',), 1333297992: ('0.05459390176847189',), 1333297989: ('0.05459390176847189',), 1333297984: ('0.05459390176847189',), 1333297959: ('0.05459390176847189',), 1333297956: ('0.05459390176847189',), 1333297921: ('0.05459390176847189',), 1333297917: ('0.05459390176847189',), 1333297915: ('0.05459390176847189',), 1333297910: ('0.05459390176847189',), 1333297872: ('0.05459390176847189',), 1333297867: ('0.05459390176847189',), 1333297862: ('0.05459390176847189',), 1333297858: ('0.05459390176847189',), 1333297800: ('0.05459390176847189',), 1333297795: ('0.05459390176847189',), 1333297791: ('0.05459390176847189',), 1333297789: ('0.05459390176847189',), 1333297785: ('0.05459390176847189',), 1333297779: ()} output_args : {1333300842: ('0.05459390176847189',), 1333298485: ('0.05459390176847189',), 1333298337: ('0.05459390176847189',), 1333298329: ('0.05459390176847189',), 1333298241: ('0.05459390176847189',), 1333298236: ('0.05459390176847189',), 1333298205: ('0.05459390176847189',), 1333298203: ('0.05459390176847189',), 1333298196: ('0.05459390176847189',), 1333298102: ('0.05459390176847189',), 1333297995: ('0.05459390176847189',), 1333297992: ('0.05459390176847189',), 1333297989: ('0.05459390176847189',), 1333297984: ('0.05459390176847189',), 1333297959: ('0.05459390176847189',), 1333297956: ('0.05459390176847189',), 1333297921: ('0.05459390176847189',), 1333297917: ('0.05459390176847189',), 1333297915: ('0.05459390176847189',), 1333297910: ('0.05459390176847189',), 1333297872: ('0.05459390176847189',), 1333297867: ('0.05459390176847189',), 1333297862: ('0.05459390176847189',), 1333297858: ('0.05459390176847189',), 1333297800: ('0.05459390176847189',), 1333297795: ('0.05459390176847189',), 1333297791: ('0.05459390176847189',), 1333297789: ('0.05459390176847189',), 1333297785: ('0.05459390176847189',), 1333297779: ('0.05459390176847189',), 1333297603: ('0.05459390176847189',), 1333297598: ('0.05459390176847189',), 1333297593: ('0.05459390176847189',)} args : 1333297779 depend.output_id : 0 input_args_next_step : {1333300842: ('0.05459390176847189',), 1333298485: ('0.05459390176847189',), 1333298337: ('0.05459390176847189',), 1333298329: ('0.05459390176847189',), 1333298241: ('0.05459390176847189',), 1333298236: ('0.05459390176847189',), 1333298205: ('0.05459390176847189',), 1333298203: ('0.05459390176847189',), 1333298196: ('0.05459390176847189',), 1333298102: ('0.05459390176847189',), 1333297995: ('0.05459390176847189',), 1333297992: ('0.05459390176847189',), 1333297989: ('0.05459390176847189',), 1333297984: ('0.05459390176847189',), 1333297959: ('0.05459390176847189',), 1333297956: ('0.05459390176847189',), 1333297921: ('0.05459390176847189',), 1333297917: ('0.05459390176847189',), 1333297915: ('0.05459390176847189',), 1333297910: ('0.05459390176847189',), 1333297872: ('0.05459390176847189',), 1333297867: ('0.05459390176847189',), 1333297862: ('0.05459390176847189',), 1333297858: ('0.05459390176847189',), 1333297800: ('0.05459390176847189',), 1333297795: ('0.05459390176847189',), 1333297791: ('0.05459390176847189',), 1333297789: ('0.05459390176847189',), 1333297785: ('0.05459390176847189',), 1333297779: ('0.05459390176847189',), 1333297603: ()} output_args : {1333300842: ('0.05459390176847189',), 1333298485: ('0.05459390176847189',), 1333298337: ('0.05459390176847189',), 1333298329: ('0.05459390176847189',), 1333298241: ('0.05459390176847189',), 1333298236: ('0.05459390176847189',), 1333298205: ('0.05459390176847189',), 1333298203: ('0.05459390176847189',), 1333298196: ('0.05459390176847189',), 1333298102: ('0.05459390176847189',), 1333297995: ('0.05459390176847189',), 1333297992: ('0.05459390176847189',), 1333297989: ('0.05459390176847189',), 1333297984: ('0.05459390176847189',), 1333297959: ('0.05459390176847189',), 1333297956: ('0.05459390176847189',), 1333297921: ('0.05459390176847189',), 1333297917: ('0.05459390176847189',), 1333297915: ('0.05459390176847189',), 1333297910: ('0.05459390176847189',), 1333297872: ('0.05459390176847189',), 1333297867: ('0.05459390176847189',), 1333297862: ('0.05459390176847189',), 1333297858: ('0.05459390176847189',), 1333297800: ('0.05459390176847189',), 1333297795: ('0.05459390176847189',), 1333297791: ('0.05459390176847189',), 1333297789: ('0.05459390176847189',), 1333297785: ('0.05459390176847189',), 1333297779: ('0.05459390176847189',), 1333297603: ('0.05459390176847189',), 1333297598: ('0.05459390176847189',), 1333297593: ('0.05459390176847189',)} args : 1333297603 depend.output_id : 0 input_args_next_step : {1333300842: ('0.05459390176847189',), 1333298485: ('0.05459390176847189',), 1333298337: ('0.05459390176847189',), 1333298329: ('0.05459390176847189',), 1333298241: ('0.05459390176847189',), 1333298236: ('0.05459390176847189',), 1333298205: ('0.05459390176847189',), 1333298203: ('0.05459390176847189',), 1333298196: ('0.05459390176847189',), 1333298102: ('0.05459390176847189',), 1333297995: ('0.05459390176847189',), 1333297992: ('0.05459390176847189',), 1333297989: ('0.05459390176847189',), 1333297984: ('0.05459390176847189',), 1333297959: ('0.05459390176847189',), 1333297956: ('0.05459390176847189',), 1333297921: ('0.05459390176847189',), 1333297917: ('0.05459390176847189',), 1333297915: ('0.05459390176847189',), 1333297910: ('0.05459390176847189',), 1333297872: ('0.05459390176847189',), 1333297867: ('0.05459390176847189',), 1333297862: ('0.05459390176847189',), 1333297858: ('0.05459390176847189',), 1333297800: ('0.05459390176847189',), 1333297795: ('0.05459390176847189',), 1333297791: ('0.05459390176847189',), 1333297789: ('0.05459390176847189',), 1333297785: ('0.05459390176847189',), 1333297779: ('0.05459390176847189',), 1333297603: ('0.05459390176847189',), 1333297598: ()} output_args : {1333300842: ('0.05459390176847189',), 1333298485: ('0.05459390176847189',), 1333298337: ('0.05459390176847189',), 1333298329: ('0.05459390176847189',), 1333298241: ('0.05459390176847189',), 1333298236: ('0.05459390176847189',), 1333298205: ('0.05459390176847189',), 1333298203: ('0.05459390176847189',), 1333298196: ('0.05459390176847189',), 1333298102: ('0.05459390176847189',), 1333297995: ('0.05459390176847189',), 1333297992: ('0.05459390176847189',), 1333297989: ('0.05459390176847189',), 1333297984: ('0.05459390176847189',), 1333297959: ('0.05459390176847189',), 1333297956: ('0.05459390176847189',), 1333297921: ('0.05459390176847189',), 1333297917: ('0.05459390176847189',), 1333297915: ('0.05459390176847189',), 1333297910: ('0.05459390176847189',), 1333297872: ('0.05459390176847189',), 1333297867: ('0.05459390176847189',), 1333297862: ('0.05459390176847189',), 1333297858: ('0.05459390176847189',), 1333297800: ('0.05459390176847189',), 1333297795: ('0.05459390176847189',), 1333297791: ('0.05459390176847189',), 1333297789: ('0.05459390176847189',), 1333297785: ('0.05459390176847189',), 1333297779: ('0.05459390176847189',), 1333297603: ('0.05459390176847189',), 1333297598: ('0.05459390176847189',), 1333297593: ('0.05459390176847189',)} args : 1333297598 depend.output_id : 0 input_args_next_step : {1333300842: ('0.05459390176847189',), 1333298485: ('0.05459390176847189',), 1333298337: ('0.05459390176847189',), 1333298329: ('0.05459390176847189',), 1333298241: ('0.05459390176847189',), 1333298236: ('0.05459390176847189',), 1333298205: ('0.05459390176847189',), 1333298203: ('0.05459390176847189',), 1333298196: ('0.05459390176847189',), 1333298102: ('0.05459390176847189',), 1333297995: ('0.05459390176847189',), 1333297992: ('0.05459390176847189',), 1333297989: ('0.05459390176847189',), 1333297984: ('0.05459390176847189',), 1333297959: ('0.05459390176847189',), 1333297956: ('0.05459390176847189',), 1333297921: ('0.05459390176847189',), 1333297917: ('0.05459390176847189',), 1333297915: ('0.05459390176847189',), 1333297910: ('0.05459390176847189',), 1333297872: ('0.05459390176847189',), 1333297867: ('0.05459390176847189',), 1333297862: ('0.05459390176847189',), 1333297858: ('0.05459390176847189',), 1333297800: ('0.05459390176847189',), 1333297795: ('0.05459390176847189',), 1333297791: ('0.05459390176847189',), 1333297789: ('0.05459390176847189',), 1333297785: ('0.05459390176847189',), 1333297779: ('0.05459390176847189',), 1333297603: ('0.05459390176847189',), 1333297598: ('0.05459390176847189',), 1333297593: ()} output_args : {1333300842: ('0.05459390176847189',), 1333298485: ('0.05459390176847189',), 1333298337: ('0.05459390176847189',), 1333298329: ('0.05459390176847189',), 1333298241: ('0.05459390176847189',), 1333298236: ('0.05459390176847189',), 1333298205: ('0.05459390176847189',), 1333298203: ('0.05459390176847189',), 1333298196: ('0.05459390176847189',), 1333298102: ('0.05459390176847189',), 1333297995: ('0.05459390176847189',), 1333297992: ('0.05459390176847189',), 1333297989: ('0.05459390176847189',), 1333297984: ('0.05459390176847189',), 1333297959: ('0.05459390176847189',), 1333297956: ('0.05459390176847189',), 1333297921: ('0.05459390176847189',), 1333297917: ('0.05459390176847189',), 1333297915: ('0.05459390176847189',), 1333297910: ('0.05459390176847189',), 1333297872: ('0.05459390176847189',), 1333297867: ('0.05459390176847189',), 1333297862: ('0.05459390176847189',), 1333297858: ('0.05459390176847189',), 1333297800: ('0.05459390176847189',), 1333297795: ('0.05459390176847189',), 1333297791: ('0.05459390176847189',), 1333297789: ('0.05459390176847189',), 1333297785: ('0.05459390176847189',), 1333297779: ('0.05459390176847189',), 1333297603: ('0.05459390176847189',), 1333297598: ('0.05459390176847189',), 1333297593: ('0.05459390176847189',)} args : 1333297593 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 : {20113571: [{'cartonnette': 20113580, 'environnement': 20113581, 'mal_croppe': 20113582, 'autre_refus': 20113583, 'papier': 20113584, 'Carton_gris': 20113585, 'metal': 20113586, 'plastique': 20113587, 'kraft': 20113588, 'flou': 20113589, 'Carton_brun': 20113590, 'Teint_Dans_La_Masse': 20113591}]} input_args_next_step : {1333300842: ('0.05459390176847189',), 1333298485: ('0.05459390176847189',), 1333298337: ('0.05459390176847189',), 1333298329: ('0.05459390176847189',), 1333298241: ('0.05459390176847189',), 1333298236: ('0.05459390176847189',), 1333298205: ('0.05459390176847189',), 1333298203: ('0.05459390176847189',), 1333298196: ('0.05459390176847189',), 1333298102: ('0.05459390176847189',), 1333297995: ('0.05459390176847189',), 1333297992: ('0.05459390176847189',), 1333297989: ('0.05459390176847189',), 1333297984: ('0.05459390176847189',), 1333297959: ('0.05459390176847189',), 1333297956: ('0.05459390176847189',), 1333297921: ('0.05459390176847189',), 1333297917: ('0.05459390176847189',), 1333297915: ('0.05459390176847189',), 1333297910: ('0.05459390176847189',), 1333297872: ('0.05459390176847189',), 1333297867: ('0.05459390176847189',), 1333297862: ('0.05459390176847189',), 1333297858: ('0.05459390176847189',), 1333297800: ('0.05459390176847189',), 1333297795: ('0.05459390176847189',), 1333297791: ('0.05459390176847189',), 1333297789: ('0.05459390176847189',), 1333297785: ('0.05459390176847189',), 1333297779: ('0.05459390176847189',), 1333297603: ('0.05459390176847189',), 1333297598: ('0.05459390176847189',), 1333297593: ('0.05459390176847189',), 20113571: ()} output_args : {20113571: [{'cartonnette': 20113580, 'environnement': 20113581, 'mal_croppe': 20113582, 'autre_refus': 20113583, 'papier': 20113584, 'Carton_gris': 20113585, 'metal': 20113586, 'plastique': 20113587, 'kraft': 20113588, 'flou': 20113589, 'Carton_brun': 20113590, 'Teint_Dans_La_Masse': 20113591}]} args : 20113571 depend.output_id : 0 We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :34, first value : ('0.05459390176847189',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20113571) 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 (1333300842,1333298485,1333298337,1333298329,1333298241,1333298236,1333298205,1333298203,1333298196,1333298102,1333297995,1333297992,1333297989,1333297984,1333297959,1333297956,1333297921,1333297917,1333297915,1333297910,1333297872,1333297867,1333297862,1333297858,1333297800,1333297795,1333297791,1333297789,1333297785,1333297779,1333297603,1333297598,1333297593) Found this number of photos: 33 ##### Call download_photos : nb_thread : 5 begin to download photo : 1333297593 begin to download photo : 1333297795 begin to download photo : 1333297915 begin to download photo : 1333297992 begin to download photo : 1333298241 download finish for photo 1333297915 begin to download photo : 1333297917 download finish for photo 1333297593 begin to download photo : 1333297598 download finish for photo 1333297795 begin to download photo : 1333297800 download finish for photo 1333297992 begin to download photo : 1333297995 download finish for photo 1333298241 begin to download photo : 1333298329 download finish for photo 1333297598 begin to download photo : 1333297603 download finish for photo 1333297917 begin to download photo : 1333297921 download finish for photo 1333297800 begin to download photo : 1333297858 download finish for photo 1333297995 begin to download photo : 1333298102 download finish for photo 1333298329 begin to download photo : 1333298337 download finish for photo 1333297858 begin to download photo : 1333297862 download finish for photo 1333297603 begin to download photo : 1333297779 download finish for photo 1333297921 begin to download photo : 1333297956 download finish for photo 1333298102 begin to download photo : 1333298196 download finish for photo 1333298337 begin to download photo : 1333298485 download finish for photo 1333297862 begin to download photo : 1333297867 download finish for photo 1333297956 begin to download photo : 1333297959 download finish for photo 1333298196 begin to download photo : 1333298203 download finish for photo 1333298485 begin to download photo : 1333300842 download finish for photo 1333297779 begin to download photo : 1333297785 download finish for photo 1333297867 begin to download photo : 1333297872 download finish for photo 1333300842 download finish for photo 1333297959 begin to download photo : 1333297984 download finish for photo 1333298203 begin to download photo : 1333298205 download finish for photo 1333297785 begin to download photo : 1333297789 download finish for photo 1333297984 begin to download photo : 1333297989 download finish for photo 1333297872 begin to download photo : 1333297910 download finish for photo 1333298205 begin to download photo : 1333298236 download finish for photo 1333297789 begin to download photo : 1333297791 download finish for photo 1333297910 download finish for photo 1333297989 download finish for photo 1333298236 download finish for photo 1333297791 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos length of list_filenames : 33 ; length of list_pids : 33 ; length of list_args : 33 results_Auto_P20113571_01-02-2025_05_56_32.pdf 20113580 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=20113580 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1333299512: '1738321795_1731482_1333298337_c5d4bbf205a2c1aca040ab58f2f678a3_rle_crop_3646852154_0.png', 1333299513: '1738321795_1731482_1333298337_c5d4bbf205a2c1aca040ab58f2f678a3_rle_crop_3646852155_0.png', 1333299514: '1738321795_1731482_1333298102_69188c4d779453c957e721fb3f85337c_rle_crop_3646852283_0.png', 1333299515: '1738321795_1731482_1333298102_69188c4d779453c957e721fb3f85337c_rle_crop_3646852284_0.png', 1333299818: '1738321835_1732600_1333297995_b253f6f957300f6123a7afa898e6734d_rle_crop_3646852336_0.png', 1333299819: '1738321835_1732600_1333297921_bde7f71c4a99cd060af9b83c45d518ee_rle_crop_3646852384_0.png', 1333299820: '1738321835_1732600_1333297915_0bd4db817058a0d77946737ee3825a25_rle_crop_3646852420_0.png', 1333299821: '1738321835_1732600_1333297910_ff51b0f96d5b9e5ba1dd1d7594dbd270_rle_crop_3646852432_0.png', 1333300419: '1738322132_1745923_1333298329_ac5ad88a9eb156d7f3ccda204c39d70d_rle_crop_3646857686_0.png', 1333300597: '1738322112_1745422_1333297800_d6e40d7d3e21d7536b8047d9f81b900d_rle_crop_3646857948_0.png', 1333300599: '1738322112_1745422_1333297593_617473c63868c68000d1470a9a364c83_rle_crop_3646858190_0.png', 1333301450: '1738322151_1746073_1333297779_f7072c4461295c2e64535aecd1d81ec1_rle_crop_3646858663_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e1e4cfa663b051d01efedb4bffdfd558_15544829.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/45d6330cccefa92f2a4b5bbce10195d7_36775240.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/25fbef620a1fa33799a2276301c9003b_96931383.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/96f5b39a7bd882e075cbac030a0ffe71_31403648.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/275297a34ece8a7eb6b36bae19aca958_6046223.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6ab48e08674447200c1104b9ac422cf3_55830598.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c9f82539afd4b60e97e7a66789e81c0c_13461677.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4c65523c981dc4388b07e8ecc1e0269a_36847998.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c715a695599be2d0ccec6612aad13ec6_40727064.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/47194fde7aeae1d8896bd071466d9171_63254999.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/07c8125c337a613a15683c88127d6930_82709808.png change filename to text .imagette201135801738385792/ imagette201135801738385792/1738322112_1745422_1333297800_d6e40d7d3e21d7536b8047d9f81b900d_rle_crop_3646857948_0.png.png imagette201135801738385792/1738321795_1731482_1333298337_c5d4bbf205a2c1aca040ab58f2f678a3_rle_crop_3646852155_0.png.png imagette201135801738385792/1738321835_1732600_1333297995_b253f6f957300f6123a7afa898e6734d_rle_crop_3646852336_0.png.png imagette201135801738385792/1738321835_1732600_1333297915_0bd4db817058a0d77946737ee3825a25_rle_crop_3646852420_0.png.png imagette201135801738385792/1738322132_1745923_1333298329_ac5ad88a9eb156d7f3ccda204c39d70d_rle_crop_3646857686_0.png.png imagette201135801738385792/1738322112_1745422_1333297593_617473c63868c68000d1470a9a364c83_rle_crop_3646858190_0.png.png imagette201135801738385792/1738321795_1731482_1333298102_69188c4d779453c957e721fb3f85337c_rle_crop_3646852283_0.png.png imagette201135801738385792/1738321835_1732600_1333297910_ff51b0f96d5b9e5ba1dd1d7594dbd270_rle_crop_3646852432_0.png.png imagette201135801738385792/1738321795_1731482_1333298337_c5d4bbf205a2c1aca040ab58f2f678a3_rle_crop_3646852154_0.png.png imagette201135801738385792/1738321835_1732600_1333297921_bde7f71c4a99cd060af9b83c45d518ee_rle_crop_3646852384_0.png.png imagette201135801738385792/1738322151_1746073_1333297779_f7072c4461295c2e64535aecd1d81ec1_rle_crop_3646858663_0.png.png imagette201135801738385792/1738321795_1731482_1333298102_69188c4d779453c957e721fb3f85337c_rle_crop_3646852284_0.png.png imagette201135821738385794/ wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/824956a284b57809aac565b874a26f8a_96476513.png imagette201135801738385792 20113582 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=20113582 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette201135821738385794 20113583 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=20113583 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1333298487: '1738321751_1729704_1333297984_96369ef852b3d30725fff7b12fa3f433_rle_crop_3646851157_0.png', 1333299509: '1738321795_1731482_1333298196_a0a665eeb919c209caa6d9d8d8534327_rle_crop_3646852256_0.png', 1333299811: '1738321835_1732600_1333297995_b253f6f957300f6123a7afa898e6734d_rle_crop_3646852338_0.png', 1333301448: '1738322151_1746073_1333297785_7051beda303f9318c4007c530502414f_rle_crop_3646858637_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2d75d25f975f0ee9cf2173c30d1ea855_13598496.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d1ad4200824d1e643690574068dbbde1_94766693.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d93e9db0084a2aa88dd509e589c7f96d_12334593.png change filename to text .imagette201135831738385794/ imagette201135831738385794/1738321751_1729704_1333297984_96369ef852b3d30725fff7b12fa3f433_rle_crop_3646851157_0.png.png imagette201135831738385794/1738322151_1746073_1333297785_7051beda303f9318c4007c530502414f_rle_crop_3646858637_0.png.png imagette201135831738385794/1738321835_1732600_1333297995_b253f6f957300f6123a7afa898e6734d_rle_crop_3646852338_0.png.png imagette201135831738385794/1738321795_1731482_1333298196_a0a665eeb919c209caa6d9d8d8534327_rle_crop_3646852256_0.png.png imagette201135861738385794/ wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a799ac05977d0bab31c8854293e22215_46024128.png imagette201135831738385794 20113586 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=20113586 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette201135861738385794 20113587 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=20113587 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1333299510: '1738321813_1731938_1333297867_cfe4fa351c08118fe5592a4f4f498119_rle_crop_3646852272_0.png', 1333299516: '1738321795_1731482_1333298236_797a1c1546ef2d523fc50f5c3adde66c_rle_crop_3646852175_0.png', 1333299517: '1738321795_1731482_1333298205_7325917d8880f5d2b893e8343cd13e99_rle_crop_3646852195_0.png', 1333299518: '1738321795_1731482_1333298102_69188c4d779453c957e721fb3f85337c_rle_crop_3646852285_0.png', 1333300421: '1738322132_1745923_1333298485_d1f1258fb32bce4dee18445f5c81bfc1_rle_crop_3646857669_0.png', 1333301452: '1738322151_1746073_1333297872_45633c887e56d86cb8c97aa9a70cb9ff_rle_crop_3646858403_0.png', 1333301453: '1738322151_1746073_1333297789_f6c6e3511c593cd0f07edce43eefa18b_rle_crop_3646858596_0.png', 1333303633: '1738322893_1780851_1333298241_cc6a1e90747b7f6b9cb75675f422966f_rle_crop_3646865976_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/adb3d6bf6b57fcb2a95f34e2c74c0400_21559556.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/75d57cc77cb9c7fe4c62f8e075034777_4026232.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ef50b80950f060f27a95908a90cbb856_41247242.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/63ad22b90bf8af99ef594a282d19ffd9_6499698.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/92329cd68a1ae8ba6753ac99d3f9bc18_49293224.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/62cf69ae21a36d0badf09b47f5ae2639_22245017.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d7b96437374acd4ad9e8c9783045a973_71539990.png change filename to text .imagette201135871738385794/ imagette201135871738385794/1738322132_1745923_1333298485_d1f1258fb32bce4dee18445f5c81bfc1_rle_crop_3646857669_0.png.png imagette201135871738385794/1738322893_1780851_1333298241_cc6a1e90747b7f6b9cb75675f422966f_rle_crop_3646865976_0.png.png imagette201135871738385794/1738321813_1731938_1333297867_cfe4fa351c08118fe5592a4f4f498119_rle_crop_3646852272_0.png.png imagette201135871738385794/1738322151_1746073_1333297789_f6c6e3511c593cd0f07edce43eefa18b_rle_crop_3646858596_0.png.png imagette201135871738385794/1738321795_1731482_1333298205_7325917d8880f5d2b893e8343cd13e99_rle_crop_3646852195_0.png.png imagette201135871738385794/1738322151_1746073_1333297872_45633c887e56d86cb8c97aa9a70cb9ff_rle_crop_3646858403_0.png.png imagette201135871738385794/1738321795_1731482_1333298102_69188c4d779453c957e721fb3f85337c_rle_crop_3646852285_0.png.png imagette201135871738385794/1738321795_1731482_1333298236_797a1c1546ef2d523fc50f5c3adde66c_rle_crop_3646852175_0.png.png wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4b3c2d398eb5481d34c5bbbc7cb55c8b_25983127.png imagette201135871738385794 20113588 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=20113588 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1333300422: '1738322132_1745923_1333298485_d1f1258fb32bce4dee18445f5c81bfc1_rle_crop_3646857673_0.png', 1333300423: '1738322132_1745923_1333298329_ac5ad88a9eb156d7f3ccda204c39d70d_rle_crop_3646857687_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a63de8220ccff47155bc3571a77973bb_25338825.png change filename to text .imagette201135881738385795/ imagette201135881738385795/1738322132_1745923_1333298329_ac5ad88a9eb156d7f3ccda204c39d70d_rle_crop_3646857687_0.png.png imagette201135881738385795/1738322132_1745923_1333298485_d1f1258fb32bce4dee18445f5c81bfc1_rle_crop_3646857673_0.png.png imagette201135891738385795/ wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3ce74d244691918ec3da06b5a317d299_90130952.png imagette201135881738385795 20113589 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=20113589 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette201135891738385795 20113585 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=20113585 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1333299511: '1738321795_1731482_1333298102_69188c4d779453c957e721fb3f85337c_rle_crop_3646852281_0.png', 1333299812: '1738321835_1732600_1333297995_b253f6f957300f6123a7afa898e6734d_rle_crop_3646852337_0.png', 1333299813: '1738321835_1732600_1333297915_0bd4db817058a0d77946737ee3825a25_rle_crop_3646852421_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c32e6355ce557e9a392c42b7f231f84d_66628866.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1a47fd88c2fb5a4737592b61e1f90a23_57531.png change filename to text .imagette201135851738385795/ imagette201135851738385795/1738321835_1732600_1333297995_b253f6f957300f6123a7afa898e6734d_rle_crop_3646852337_0.png.png imagette201135851738385795/1738321835_1732600_1333297915_0bd4db817058a0d77946737ee3825a25_rle_crop_3646852421_0.png.png imagette201135851738385795/1738321795_1731482_1333298102_69188c4d779453c957e721fb3f85337c_rle_crop_3646852281_0.png.png wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/03be13f99cd8efed7729e6c3e69b0b52_21175198.png imagette201135851738385795 20113590 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=20113590 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1333299508: '1738321813_1731938_1333297867_cfe4fa351c08118fe5592a4f4f498119_rle_crop_3646852269_0.png', 1333299826: '1738321835_1732600_1333297956_e42eb132b83c914d476c921cc1712cbb_rle_crop_3646852371_0.png', 1333299827: '1738321835_1732600_1333297921_bde7f71c4a99cd060af9b83c45d518ee_rle_crop_3646852386_0.png', 1333299828: '1738321835_1732600_1333297910_ff51b0f96d5b9e5ba1dd1d7594dbd270_rle_crop_3646852440_0.png', 1333299829: '1738321835_1732600_1333297910_ff51b0f96d5b9e5ba1dd1d7594dbd270_rle_crop_3646852433_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/12e08b1b3eceaf8c27b4da4f41529704_42975228.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b8bc085399ac7d5009def8ef42245c39_8003691.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2f6026e88bb9e0be23255f7569e9e81c_64490840.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/344d252b9267a83a806bc61838311ada_6451026.png change filename to text .imagette201135901738385795/ imagette201135901738385795/1738321835_1732600_1333297910_ff51b0f96d5b9e5ba1dd1d7594dbd270_rle_crop_3646852440_0.png.png imagette201135901738385795/1738321813_1731938_1333297867_cfe4fa351c08118fe5592a4f4f498119_rle_crop_3646852269_0.png.png imagette201135901738385795/1738321835_1732600_1333297956_e42eb132b83c914d476c921cc1712cbb_rle_crop_3646852371_0.png.png imagette201135901738385795/1738321835_1732600_1333297910_ff51b0f96d5b9e5ba1dd1d7594dbd270_rle_crop_3646852433_0.png.png imagette201135901738385795/1738321835_1732600_1333297921_bde7f71c4a99cd060af9b83c45d518ee_rle_crop_3646852386_0.png.png wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f23fa62705d292338a34456531bfbe3e_99415974.png imagette201135901738385795 20113591 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=20113591 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1333300577: '1738322112_1745422_1333297800_d6e40d7d3e21d7536b8047d9f81b900d_rle_crop_3646857950_0.png', 1333301447: '1738322151_1746073_1333297789_f6c6e3511c593cd0f07edce43eefa18b_rle_crop_3646858599_0.png', 1333301446: '1738322151_1746073_1333297791_88222e1fbece6a35067a11c42fa7a6ec_rle_crop_3646858581_0.png', 1333301445: '1738322151_1746073_1333297795_38b94e007c17bee46715f35f37a4f88e_rle_crop_3646858564_0.png', 1333301444: '1738322151_1746073_1333297872_45633c887e56d86cb8c97aa9a70cb9ff_rle_crop_3646858402_0.png', 1333300583: '1738322112_1745422_1333297593_617473c63868c68000d1470a9a364c83_rle_crop_3646858198_0.png', 1333300582: '1738322112_1745422_1333297593_617473c63868c68000d1470a9a364c83_rle_crop_3646858192_0.png', 1333300581: '1738322112_1745422_1333297598_87623004fa210d90de2e13b32914431c_rle_crop_3646857983_0.png', 1333300580: '1738322112_1745422_1333297598_87623004fa210d90de2e13b32914431c_rle_crop_3646857977_0.png', 1333300579: '1738322112_1745422_1333297603_f79d51d61ff8efc985c95524e7de4f19_rle_crop_3646857972_0.png', 1333300578: '1738322112_1745422_1333297800_d6e40d7d3e21d7536b8047d9f81b900d_rle_crop_3646857955_0.png', 1333298484: '1738321751_1729704_1333297984_96369ef852b3d30725fff7b12fa3f433_rle_crop_3646851155_0.png', 1333300417: '1738322132_1745923_1333298329_ac5ad88a9eb156d7f3ccda204c39d70d_rle_crop_3646857688_0.png', 1333299806: '1738321835_1732600_1333297917_6b945a835d2c8c773a5cc063dfd0644a_rle_crop_3646852401_0.png', 1333299506: '1738321795_1731482_1333298102_69188c4d779453c957e721fb3f85337c_rle_crop_3646852287_0.png', 1333299505: '1738321795_1731482_1333298196_a0a665eeb919c209caa6d9d8d8534327_rle_crop_3646852259_0.png', 1333299504: '1738321795_1731482_1333298203_14348d5d34969e8835b3b31ce4213896_rle_crop_3646852208_0.png', 1333299503: '1738321795_1731482_1333298205_7325917d8880f5d2b893e8343cd13e99_rle_crop_3646852192_0.png', 1333299502: '1738321795_1731482_1333298205_7325917d8880f5d2b893e8343cd13e99_rle_crop_3646852191_0.png', 1333299501: '1738321795_1731482_1333298236_797a1c1546ef2d523fc50f5c3adde66c_rle_crop_3646852179_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2483b558d81a6c2c5d8a989cf1f97f34_69935278.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/69cdb41b1e1ef32bde6a8f17180af81d_65945786.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/04c0a6f8c16ded50c0cd1bbdd3c54e3e_84414886.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d1035e39de77f2fe486620deeea79183_96522493.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c45735da3dd97d391d302ae8c1a96b2d_58352548.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f463cfe12adfab76c22856c816ecf6bd_32682593.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c20f7dfd40bd7631ebcd84f686c7e71c_99788468.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6398a7b9a73832f26c0bb7a2dd49a893_33716761.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2b59e8095514f436a258059c32364dd6_16749949.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/86921cd3a2d01e27b55b75dddcf307c8_92128881.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/df22b0e38b7bbedf85b0713e0d9821b0_25065568.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/008abcce86c3fbb4432dc748638a0fb1_29056255.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8f62659f7f1bbcd54e3a7c78723db203_67409166.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/35e662e23641db7e236e5efc97b6f7aa_43613102.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ba3efd7d9c468e57f88cb9474b794392_71757303.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f08e22d4a82481b1a453cba17fdd186c_67720345.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/270a7e7eca6c5c81e47aa019bb4be887_6207292.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e496e12ad15f08372a185a1b758c6c2a_7352835.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/87b8f74a7a32f26ac911cd0e0ad2f95c_86220776.png change filename to text .imagette201135911738385796/ imagette201135911738385796/1738322132_1745923_1333298329_ac5ad88a9eb156d7f3ccda204c39d70d_rle_crop_3646857688_0.png.png imagette201135911738385796/1738322112_1745422_1333297800_d6e40d7d3e21d7536b8047d9f81b900d_rle_crop_3646857955_0.png.png imagette201135911738385796/1738321795_1731482_1333298205_7325917d8880f5d2b893e8343cd13e99_rle_crop_3646852191_0.png.png imagette201135911738385796/1738321751_1729704_1333297984_96369ef852b3d30725fff7b12fa3f433_rle_crop_3646851155_0.png.png imagette201135911738385796/1738321795_1731482_1333298102_69188c4d779453c957e721fb3f85337c_rle_crop_3646852287_0.png.png imagette201135911738385796/1738322112_1745422_1333297593_617473c63868c68000d1470a9a364c83_rle_crop_3646858192_0.png.png imagette201135911738385796/1738322112_1745422_1333297598_87623004fa210d90de2e13b32914431c_rle_crop_3646857983_0.png.png imagette201135911738385796/1738321795_1731482_1333298203_14348d5d34969e8835b3b31ce4213896_rle_crop_3646852208_0.png.png imagette201135911738385796/1738322112_1745422_1333297593_617473c63868c68000d1470a9a364c83_rle_crop_3646858198_0.png.png imagette201135911738385796/1738321795_1731482_1333298196_a0a665eeb919c209caa6d9d8d8534327_rle_crop_3646852259_0.png.png imagette201135911738385796/1738322151_1746073_1333297795_38b94e007c17bee46715f35f37a4f88e_rle_crop_3646858564_0.png.png imagette201135911738385796/1738322151_1746073_1333297789_f6c6e3511c593cd0f07edce43eefa18b_rle_crop_3646858599_0.png.png imagette201135911738385796/1738322112_1745422_1333297598_87623004fa210d90de2e13b32914431c_rle_crop_3646857977_0.png.png imagette201135911738385796/1738322112_1745422_1333297800_d6e40d7d3e21d7536b8047d9f81b900d_rle_crop_3646857950_0.png.png imagette201135911738385796/1738321795_1731482_1333298236_797a1c1546ef2d523fc50f5c3adde66c_rle_crop_3646852179_0.png.png imagette201135911738385796/1738322151_1746073_1333297791_88222e1fbece6a35067a11c42fa7a6ec_rle_crop_3646858581_0.png.png imagette201135911738385796/1738321795_1731482_1333298205_7325917d8880f5d2b893e8343cd13e99_rle_crop_3646852192_0.png.png imagette201135911738385796/1738321835_1732600_1333297917_6b945a835d2c8c773a5cc063dfd0644a_rle_crop_3646852401_0.png.png imagette201135911738385796/1738322112_1745422_1333297603_f79d51d61ff8efc985c95524e7de4f19_rle_crop_3646857972_0.png.png imagette201135911738385796/1738322151_1746073_1333297872_45633c887e56d86cb8c97aa9a70cb9ff_rle_crop_3646858402_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7c9c1dafaac9f7f76f5a817d8d6463ab_75544058.png imagette201135911738385796 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=20113571 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/20113593,20113594,20113595,20113596,20113597,20113598,20113599,20113600,20113601,20113602,20113603,20113604?tags=cartonnette,environnement,mal_croppe,autre_refus,papier,Carton_gris,metal,plastique,kraft,flou,Carton_brun,Teint_Dans_La_Masse your option no_mail is active, we will not send the real mail to your client args[1333300842] : ('0.05459390176847189',) no score found for photo 1333300842 We are sending mail with results at report@fotonower.com args[1333298485] : ('0.05459390176847189',) no score found for photo 1333298485 We are sending mail with results at report@fotonower.com args[1333298337] : ('0.05459390176847189',) no score found for photo 1333298337 We are sending mail with results at report@fotonower.com args[1333298329] : ('0.05459390176847189',) no score found for photo 1333298329 We are sending mail with results at report@fotonower.com args[1333298241] : ('0.05459390176847189',) no score found for photo 1333298241 We are sending mail with results at report@fotonower.com args[1333298236] : ('0.05459390176847189',) no score found for photo 1333298236 We are sending mail with results at report@fotonower.com args[1333298205] : ('0.05459390176847189',) no score found for photo 1333298205 We are sending mail with results at report@fotonower.com args[1333298203] : ('0.05459390176847189',) no score found for photo 1333298203 We are sending mail with results at report@fotonower.com args[1333298196] : ('0.05459390176847189',) no score found for photo 1333298196 We are sending mail with results at report@fotonower.com args[1333298102] : ('0.05459390176847189',) no score found for photo 1333298102 We are sending mail with results at report@fotonower.com args[1333297995] : ('0.05459390176847189',) no score found for photo 1333297995 We are sending mail with results at report@fotonower.com args[1333297992] : ('0.05459390176847189',) no score found for photo 1333297992 We are sending mail with results at report@fotonower.com args[1333297989] : ('0.05459390176847189',) no score found for photo 1333297989 We are sending mail with results at report@fotonower.com args[1333297984] : ('0.05459390176847189',) no score found for photo 1333297984 We are sending mail with results at report@fotonower.com args[1333297959] : ('0.05459390176847189',) no score found for photo 1333297959 We are sending mail with results at report@fotonower.com args[1333297956] : ('0.05459390176847189',) no score found for photo 1333297956 We are sending mail with results at report@fotonower.com args[1333297921] : ('0.05459390176847189',) no score found for photo 1333297921 We are sending mail with results at report@fotonower.com args[1333297917] : ('0.05459390176847189',) no score found for photo 1333297917 We are sending mail with results at report@fotonower.com args[1333297915] : ('0.05459390176847189',) no score found for photo 1333297915 We are sending mail with results at report@fotonower.com args[1333297910] : ('0.05459390176847189',) no score found for photo 1333297910 We are sending mail with results at report@fotonower.com args[1333297872] : ('0.05459390176847189',) no score found for photo 1333297872 We are sending mail with results at report@fotonower.com args[1333297867] : ('0.05459390176847189',) no score found for photo 1333297867 We are sending mail with results at report@fotonower.com args[1333297862] : ('0.05459390176847189',) no score found for photo 1333297862 We are sending mail with results at report@fotonower.com args[1333297858] : ('0.05459390176847189',) no score found for photo 1333297858 We are sending mail with results at report@fotonower.com args[1333297800] : ('0.05459390176847189',) no score found for photo 1333297800 We are sending mail with results at report@fotonower.com args[1333297795] : ('0.05459390176847189',) no score found for photo 1333297795 We are sending mail with results at report@fotonower.com args[1333297791] : ('0.05459390176847189',) no score found for photo 1333297791 We are sending mail with results at report@fotonower.com args[1333297789] : ('0.05459390176847189',) no score found for photo 1333297789 We are sending mail with results at report@fotonower.com args[1333297785] : ('0.05459390176847189',) no score found for photo 1333297785 We are sending mail with results at report@fotonower.com args[1333297779] : ('0.05459390176847189',) no score found for photo 1333297779 We are sending mail with results at report@fotonower.com args[1333297603] : ('0.05459390176847189',) no score found for photo 1333297603 We are sending mail with results at report@fotonower.com args[1333297598] : ('0.05459390176847189',) no score found for photo 1333297598 We are sending mail with results at report@fotonower.com args[1333297593] : ('0.05459390176847189',) no score found for photo 1333297593 We are sending mail with results at report@fotonower.com refus_total : 0.05459390176847189 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=20113571 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_P20113571_01-02-2025_05_56_32.pdf results_Auto_P20113571_01-02-2025_05_56_32.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20113571_01-02-2025_05_56_32.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','20113571','results_Auto_P20113571_01-02-2025_05_56_32.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20113571_01-02-2025_05_56_32.pdf','pdf','','0.44','0.05459390176847189') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20113571]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1333300842, 1333298485, 1333298337, 1333298329, 1333298241, 1333298236, 1333298205, 1333298203, 1333298196, 1333298102, 1333297995, 1333297992, 1333297989, 1333297984, 1333297959, 1333297956, 1333297921, 1333297917, 1333297915, 1333297910, 1333297872, 1333297867, 1333297862, 1333297858, 1333297800, 1333297795, 1333297791, 1333297789, 1333297785, 1333297779, 1333297603, 1333297598, 1333297593] map_info['map_portfolio_photo'] : {20113571: [1333300842, 1333298485, 1333298337, 1333298329, 1333298241, 1333298236, 1333298205, 1333298203, 1333298196, 1333298102, 1333297995, 1333297992, 1333297989, 1333297984, 1333297959, 1333297956, 1333297921, 1333297917, 1333297915, 1333297910, 1333297872, 1333297867, 1333297862, 1333297858, 1333297800, 1333297795, 1333297791, 1333297789, 1333297785, 1333297779, 1333297603, 1333297598, 1333297593]} final : False mtd_id 4302 list_pids : [1333300842, 1333298485, 1333298337, 1333298329, 1333298241, 1333298236, 1333298205, 1333298203, 1333298196, 1333298102, 1333297995, 1333297992, 1333297989, 1333297984, 1333297959, 1333297956, 1333297921, 1333297917, 1333297915, 1333297910, 1333297872, 1333297867, 1333297862, 1333297858, 1333297800, 1333297795, 1333297791, 1333297789, 1333297785, 1333297779, 1333297603, 1333297598, 1333297593] 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, '2536676') ('4302', '20113571', '1333300842', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333298485', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333298337', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333298329', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333298241', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333298236', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333298205', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333298203', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333298196', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333298102', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333297995', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333297992', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333297989', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333297984', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333297959', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333297956', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333297921', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333297917', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333297915', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333297910', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333297872', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333297867', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333297862', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333297858', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333297800', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333297795', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333297791', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333297789', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333297785', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333297779', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333297603', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333297598', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333297593', None, None, None, None, None, '2536676') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 33 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '20113571', '1333300842', None, None, None, None, None, '2536676'), ('4302', '20113571', '1333298485', None, None, None, None, None, '2536676'), ('4302', '20113571', '1333298337', None, None, None, None, None, '2536676'), ('4302', '20113571', '1333298329', None, None, None, None, None, '2536676'), ('4302', '20113571', '1333298241', None, None, None, None, None, '2536676'), ('4302', '20113571', '1333298236', None, None, None, None, None, '2536676'), ('4302', '20113571', '1333298205', None, None, None, None, None, '2536676'), ('4302', '20113571', '1333298203', None, None, None, None, None, '2536676'), ('4302', '20113571', '1333298196', None, None, None, None, None, '2536676'), ('4302', '20113571', '1333298102', None, None, None, None, None, '2536676'), ('4302', '20113571', '1333297995', None, None, None, None, None, '2536676'), ('4302', '20113571', '1333297992', None, None, None, None, None, '2536676'), ('4302', '20113571', '1333297989', None, None, None, None, None, '2536676'), ('4302', '20113571', '1333297984', None, None, None, None, None, '2536676'), ('4302', '20113571', '1333297959', None, None, None, None, None, '2536676'), ('4302', '20113571', '1333297956', None, None, None, None, None, '2536676'), ('4302', '20113571', '1333297921', None, None, None, None, None, '2536676'), ('4302', '20113571', '1333297917', None, None, None, None, None, '2536676'), ('4302', '20113571', '1333297915', None, None, None, None, None, '2536676'), ('4302', '20113571', '1333297910', None, None, None, None, None, '2536676'), ('4302', '20113571', '1333297872', None, None, None, None, None, '2536676'), ('4302', '20113571', '1333297867', None, None, None, None, None, '2536676'), ('4302', '20113571', '1333297862', None, None, None, None, None, '2536676'), ('4302', '20113571', '1333297858', None, None, None, None, None, '2536676'), ('4302', '20113571', '1333297800', None, None, None, None, None, '2536676'), ('4302', '20113571', '1333297795', None, None, None, None, None, '2536676'), ('4302', '20113571', '1333297791', None, None, None, None, None, '2536676'), ('4302', '20113571', '1333297789', None, None, None, None, None, '2536676'), ('4302', '20113571', '1333297785', None, None, None, None, None, '2536676'), ('4302', '20113571', '1333297779', None, None, None, None, None, '2536676'), ('4302', '20113571', '1333297603', None, None, None, None, None, '2536676'), ('4302', '20113571', '1333297598', None, None, None, None, None, '2536676'), ('4302', '20113571', '1333297593', None, None, None, None, None, '2536676')] time used for this insertion : 0.01752638816833496 save_final save missing photos in datou_result : time spend for datou_step_exec : 9.069642543792725 time spend to save output : 0.017962932586669922 total time spend for step 4 : 9.087605476379395 step5:split_time_score Sat Feb 1 05:56:40 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 : ['20113571'] 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 : [('20113571',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20113571) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1333298241: {'path': 'temp/1738385791_3403572_1333298241_cc6a1e90747b7f6b9cb75675f422966f.jpg', 'extension': 'jpg'}, 1333298329: {'path': 'temp/1738385791_3403572_1333298329_ac5ad88a9eb156d7f3ccda204c39d70d.jpg', 'extension': 'jpg'}, 1333298337: {'path': 'temp/1738385791_3403572_1333298337_c5d4bbf205a2c1aca040ab58f2f678a3.jpg', 'extension': 'jpg'}, 1333298485: {'path': 'temp/1738385791_3403572_1333298485_d1f1258fb32bce4dee18445f5c81bfc1.jpg', 'extension': 'jpg'}, 1333300842: {'path': 'temp/1738385791_3403572_1333300842_337fd29c4e27c889fddbf266922a7371.jpg', 'extension': 'jpg'}, 1333297795: {'path': 'temp/1738385791_3403572_1333297795_38b94e007c17bee46715f35f37a4f88e.jpg', 'extension': 'jpg'}, 1333297800: {'path': 'temp/1738385791_3403572_1333297800_d6e40d7d3e21d7536b8047d9f81b900d.jpg', 'extension': 'jpg'}, 1333297858: {'path': 'temp/1738385791_3403572_1333297858_1d744f99a83d02f80eff678cebcd4867.jpg', 'extension': 'jpg'}, 1333297862: {'path': 'temp/1738385791_3403572_1333297862_6a4a57a61fe863c876b071fd71974cfc.jpg', 'extension': 'jpg'}, 1333297867: {'path': 'temp/1738385791_3403572_1333297867_cfe4fa351c08118fe5592a4f4f498119.jpg', 'extension': 'jpg'}, 1333297872: {'path': 'temp/1738385791_3403572_1333297872_45633c887e56d86cb8c97aa9a70cb9ff.jpg', 'extension': 'jpg'}, 1333297910: {'path': 'temp/1738385791_3403572_1333297910_ff51b0f96d5b9e5ba1dd1d7594dbd270.jpg', 'extension': 'jpg'}, 1333297915: {'path': 'temp/1738385791_3403572_1333297915_0bd4db817058a0d77946737ee3825a25.jpg', 'extension': 'jpg'}, 1333297917: {'path': 'temp/1738385791_3403572_1333297917_6b945a835d2c8c773a5cc063dfd0644a.jpg', 'extension': 'jpg'}, 1333297921: {'path': 'temp/1738385791_3403572_1333297921_bde7f71c4a99cd060af9b83c45d518ee.jpg', 'extension': 'jpg'}, 1333297956: {'path': 'temp/1738385791_3403572_1333297956_e42eb132b83c914d476c921cc1712cbb.jpg', 'extension': 'jpg'}, 1333297959: {'path': 'temp/1738385791_3403572_1333297959_1a537a80d3d032faebd73e97269e86f4.jpg', 'extension': 'jpg'}, 1333297984: {'path': 'temp/1738385791_3403572_1333297984_96369ef852b3d30725fff7b12fa3f433.jpg', 'extension': 'jpg'}, 1333297989: {'path': 'temp/1738385791_3403572_1333297989_c24d39e905398fa371aa62653bb62652.jpg', 'extension': 'jpg'}, 1333297992: {'path': 'temp/1738385791_3403572_1333297992_af303f969d8378f3b90a27b9d89897ea.jpg', 'extension': 'jpg'}, 1333297995: {'path': 'temp/1738385791_3403572_1333297995_b253f6f957300f6123a7afa898e6734d.jpg', 'extension': 'jpg'}, 1333298102: {'path': 'temp/1738385791_3403572_1333298102_69188c4d779453c957e721fb3f85337c.jpg', 'extension': 'jpg'}, 1333298196: {'path': 'temp/1738385791_3403572_1333298196_a0a665eeb919c209caa6d9d8d8534327.jpg', 'extension': 'jpg'}, 1333298203: {'path': 'temp/1738385791_3403572_1333298203_14348d5d34969e8835b3b31ce4213896.jpg', 'extension': 'jpg'}, 1333298205: {'path': 'temp/1738385791_3403572_1333298205_7325917d8880f5d2b893e8343cd13e99.jpg', 'extension': 'jpg'}, 1333298236: {'path': 'temp/1738385791_3403572_1333298236_797a1c1546ef2d523fc50f5c3adde66c.jpg', 'extension': 'jpg'}, 1333297593: {'path': 'temp/1738385791_3403572_1333297593_617473c63868c68000d1470a9a364c83.jpg', 'extension': 'jpg'}, 1333297598: {'path': 'temp/1738385791_3403572_1333297598_87623004fa210d90de2e13b32914431c.jpg', 'extension': 'jpg'}, 1333297603: {'path': 'temp/1738385791_3403572_1333297603_f79d51d61ff8efc985c95524e7de4f19.jpg', 'extension': 'jpg'}, 1333297779: {'path': 'temp/1738385791_3403572_1333297779_f7072c4461295c2e64535aecd1d81ec1.jpg', 'extension': 'jpg'}, 1333297785: {'path': 'temp/1738385791_3403572_1333297785_7051beda303f9318c4007c530502414f.jpg', 'extension': 'jpg'}, 1333297789: {'path': 'temp/1738385791_3403572_1333297789_f6c6e3511c593cd0f07edce43eefa18b.jpg', 'extension': 'jpg'}, 1333297791: {'path': 'temp/1738385791_3403572_1333297791_88222e1fbece6a35067a11c42fa7a6ec.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 = 20113571; (('arc_en_ciel_jrm',),) TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] select SUBSTRING(ph.text,16,2) as h, count(*) from MTRUser.mtr_portfolio_photos mpp inner join MTRBack.photos ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 20113571 group by h (('12', 33),) SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20113571 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 (20113571) 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 (20113571) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 31012025 20113571 Nombre de photos uploadées : 33 / 23040 (0%) 31012025 20113571 Nombre de photos taguées (types de déchets): 0 / 33 (0%) 31012025 20113571 Nombre de photos taguées (volume) : 0 / 33 (0%) [{'photo_id': 1333297603, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f79d51d61ff8efc985c95524e7de4f19.jpg', 'username': None, 'uploaded_at': 1738321268, 'text': 'image_31012025_12_00_04_010136m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1333297598, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/87623004fa210d90de2e13b32914431c.jpg', 'username': None, 'uploaded_at': 1738321268, 'text': 'image_31012025_12_00_33_009131m0.jpg 2e-05 for time 1, id_amount 3 this amount prod time diff : 1e-05'}, {'photo_id': 1333297593, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/617473c63868c68000d1470a9a364c83.jpg', 'username': None, 'uploaded_at': 1738321268, 'text': 'image_31012025_12_00_43_010142m0.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1333297800, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d6e40d7d3e21d7536b8047d9f81b900d.jpg', 'username': None, 'uploaded_at': 1738321328, 'text': 'image_31012025_12_00_54_010137m0.jpg 4e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 1.9073486328125e-06 elapsed_time : order_list_meta_photo_and_scores 7.152557373046875e-06 ????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0013108253479003906 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 20113571, '2025-01-31' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1567726,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.026704788208007812 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= 1567726 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20127938, 'dashboard_result_id': 8643261, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20127938_01-02-2025_05_34_35.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20127967, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20127968, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20127969, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20127970, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20127971, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20127972, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20127973, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20127974, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20127975, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20127976, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20127977, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20127978, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20127939, 'dashboard_result_id': 8643262, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20127939_01-02-2025_05_35_02.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20127991, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20127992, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20127993, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20127994, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20127995, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20127996, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20127997, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20127998, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20127999, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20128000, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20128001, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20128002, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20127940, 'dashboard_result_id': 8643263, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20127940_01-02-2025_05_36_05.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20128015, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20128016, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20128017, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20128018, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20128019, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20128020, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20128021, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20128022, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20128023, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20128024, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20128025, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20128026, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20127941, 'dashboard_result_id': 8643264, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20127941_01-02-2025_05_37_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20127942, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20127943, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20127944, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20127945, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20127946, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20127947, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20127948, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20127949, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20127950, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20127951, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20127952, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20127953, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20090835, 'dashboard_result_id': 8643265, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20090835_01-02-2025_05_37_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20090838, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20090839, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20090840, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20090841, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20090842, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20090843, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20090844, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20090845, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20090846, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20090847, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20090848, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20090849, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20090957, 'dashboard_result_id': 8643266, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20090957_01-02-2025_05_38_03.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20091039, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20091040, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20091041, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20091042, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20091043, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20091044, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20091045, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20091046, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20091047, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20091048, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20091049, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20091050, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20090959, 'dashboard_result_id': 8643267, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20090959_01-02-2025_05_38_38.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20090965, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20090966, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20090967, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20090968, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20090969, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20090970, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20090971, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20090972, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20090973, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20090974, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20090975, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20090976, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20091190, 'dashboard_result_id': 8643268, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20091190_01-02-2025_05_39_06.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20091199, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20091200, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20091201, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20091202, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20091203, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20091204, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20091205, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20091206, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20091207, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20091208, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20091209, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20091210, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20091230, 'dashboard_result_id': 8643269, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20091230_01-02-2025_05_39_33.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20091247, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20091248, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20091249, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20091250, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20091251, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20091252, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20091253, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20091254, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20091255, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20091256, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20091257, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20091258, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20091819, 'dashboard_result_id': 8643270, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20091819_01-02-2025_05_40_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20091827, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20091828, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20091829, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20091830, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20091831, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20091832, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20091833, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20091834, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20091835, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20091836, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20091837, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20091838, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20092585, 'dashboard_result_id': 8643271, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20092585_01-02-2025_05_40_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20092618, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20092619, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20092620, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20092621, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20092622, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20092623, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20092624, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20092625, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20092626, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20092627, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20092628, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20092629, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20093325, 'dashboard_result_id': 8643272, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20093325_01-02-2025_05_41_06.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20093334, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20093335, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20093336, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20093337, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20093338, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20093339, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20093340, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20093341, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20093342, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20093343, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20093344, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20093345, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20093996, 'dashboard_result_id': 8643273, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20093996_01-02-2025_05_41_36.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20093997, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20093998, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20093999, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20094000, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20094001, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20094002, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20094003, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20094004, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20094005, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20094006, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20094007, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20094008, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20094429, 'dashboard_result_id': 8643274, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20094429_01-02-2025_05_42_08.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20094527, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20094528, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20094529, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20094530, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20094531, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20094532, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20094533, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20094534, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20094535, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20094536, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20094537, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20094538, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20095035, 'dashboard_result_id': 8643275, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20095035_01-02-2025_05_42_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20095080, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20095081, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20095082, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20095083, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20095084, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20095085, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20095086, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20095087, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20095088, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20095089, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20095090, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20095091, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20095545, 'dashboard_result_id': 8643276, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20095545_01-02-2025_05_43_05.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20095605, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20095606, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20095607, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20095608, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20095609, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20095610, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20095611, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20095612, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20095613, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20095614, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20095615, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20095616, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20095959, 'dashboard_result_id': 8643277, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20095959_01-02-2025_05_43_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20095966, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20095967, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20095968, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20095969, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20095970, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20095971, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20095972, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20095973, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20095974, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20095975, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20095976, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20095977, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20097156, 'dashboard_result_id': 8643278, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20097156_01-02-2025_05_44_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20097162, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20097163, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20097164, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20097165, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20097166, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20097167, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20097168, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20097169, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20097170, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20097171, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20097172, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20097173, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20097481, 'dashboard_result_id': 8643279, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20097481_01-02-2025_05_44_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20097487, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20097488, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20097489, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20097490, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20097491, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20097492, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20097493, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20097494, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20097495, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20097496, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20097497, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20097498, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20098077, 'dashboard_result_id': 8643280, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20098077_01-02-2025_05_45_05.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20098083, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20098084, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20098085, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20098086, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20098087, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20098088, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20098089, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20098090, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20098091, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20098092, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20098093, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20098094, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20098681, 'dashboard_result_id': 8643281, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20098681_01-02-2025_05_45_35.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20098687, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20098688, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20098689, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20098690, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20098691, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20098692, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20098693, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20098694, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20098695, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20098696, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20098697, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20098698, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20099158, 'dashboard_result_id': 8643282, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20099158_01-02-2025_05_46_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20099174, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20099175, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20099176, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20099177, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20099178, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20099179, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20099180, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20099181, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20099182, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20099183, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20099184, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20099185, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20100088, 'dashboard_result_id': 8643283, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20100088_01-02-2025_05_46_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20100101, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20100102, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20100103, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20100104, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20100105, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20100106, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20100107, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20100108, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20100109, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20100110, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20100111, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20100112, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20100892, 'dashboard_result_id': 8643284, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20100892_01-02-2025_05_47_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20100897, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20100898, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20100899, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20100900, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20100901, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20100902, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20100903, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20100904, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20100905, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20100906, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20100907, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20100908, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20101316, 'dashboard_result_id': 8643285, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20101316_01-02-2025_05_47_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20101325, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20101326, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20101327, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20101328, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20101329, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20101330, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20101331, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20101332, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20101333, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20101334, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20101335, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20101336, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20102361, 'dashboard_result_id': 8643286, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20102361_01-02-2025_05_48_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20102362, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20102363, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20102364, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20102365, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20102366, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20102367, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20102368, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20102369, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20102370, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20102371, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20102372, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20102373, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20102932, 'dashboard_result_id': 8643287, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20102932_01-02-2025_05_48_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20102958, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20102959, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20102960, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20102961, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20102962, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20102963, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20102964, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20102965, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20102966, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20102967, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20102968, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20102969, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20103345, 'dashboard_result_id': 8643288, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20103345_01-02-2025_05_49_04.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20103364, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20103365, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20103366, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20103367, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20103368, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20103369, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20103370, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20103371, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20103372, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20103373, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20103374, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20103375, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20103727, 'dashboard_result_id': 8643289, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20103727_01-02-2025_05_49_36.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20103732, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20103733, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20103734, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20103735, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20103736, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20103737, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20103738, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20103739, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20103740, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20103741, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20103742, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20103743, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20104620, 'dashboard_result_id': 8643290, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20104620_01-02-2025_05_50_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20104638, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20104639, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20104640, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20104641, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20104642, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20104643, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20104644, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20104645, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20104646, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20104647, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20104648, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20104649, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20104890, 'dashboard_result_id': 8643291, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20104890_01-02-2025_05_50_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20104929, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20104930, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20104931, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20104932, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20104933, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20104934, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20104935, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20104936, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20104937, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20104938, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20104939, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20104940, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20105217, 'dashboard_result_id': 8643292, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20105217_01-02-2025_05_51_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20105225, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20105226, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20105227, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20105228, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20105229, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20105230, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20105231, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20105232, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20105233, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20105234, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20105235, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20105236, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20106746, 'dashboard_result_id': 8643293, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20106746_01-02-2025_05_51_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20106752, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20106753, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20106754, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20106755, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20106756, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20106757, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20106758, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20106759, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20106760, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20106761, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20106762, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20106763, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20107484, 'dashboard_result_id': 8643294, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20107484_01-02-2025_05_52_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20107526, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20107527, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20107528, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20107529, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20107530, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20107531, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20107532, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20107533, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20107534, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20107535, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20107536, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20107537, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20108354, 'dashboard_result_id': 8643295, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20108354_01-02-2025_05_52_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20108358, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20108359, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20108360, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20108361, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20108362, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20108363, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20108364, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20108365, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20108366, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20108367, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20108368, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20108369, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20108777, 'dashboard_result_id': 8643296, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20108777_01-02-2025_05_53_04.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20108783, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20108784, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20108785, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20108786, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20108787, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20108788, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20108789, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20108790, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20108791, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20108792, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20108793, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20108794, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20109367, 'dashboard_result_id': 8643297, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20109367_01-02-2025_05_53_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20109412, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20109413, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20109414, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20109415, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20109416, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20109417, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20109418, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20109419, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20109420, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20109421, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20109422, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20109423, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20109995, 'dashboard_result_id': 8643298, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20109995_01-02-2025_05_54_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20110040, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20110041, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20110042, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20110043, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20110044, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20110045, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20110046, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20110047, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20110048, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20110049, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20110050, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20110051, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20110720, 'dashboard_result_id': 8643299, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20110720_01-02-2025_05_54_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20110771, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20110772, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20110773, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20110774, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20110775, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20110776, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20110777, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20110778, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20110779, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20110780, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20110781, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20110782, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20111560, 'dashboard_result_id': 8643300, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20111560_01-02-2025_05_55_03.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20111680, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20111681, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20111682, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20111683, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20111684, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20111685, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20111686, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20111687, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20111688, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20111689, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20111690, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20111691, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20112623, 'dashboard_result_id': 8643301, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20112623_01-02-2025_05_55_39.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20112628, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20112629, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20112630, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20112631, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20112632, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20112633, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20112634, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20112635, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20112636, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20112637, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20112638, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20112639, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20113116, 'dashboard_result_id': 8643302, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20113116_01-02-2025_05_56_07.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20113178, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20113179, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20113180, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20113181, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20113182, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20113183, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20113184, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20113185, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20113186, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20113187, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20113188, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20113189, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20113571, 'dashboard_result_id': 8643303, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20113571_31-01-2025_12_18_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20113580, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20113581, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20113582, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20113583, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20113584, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20113585, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20113586, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20113587, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20113588, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20113589, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20113590, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20113591, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20121430, 'dashboard_result_id': 8643304, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20121430_31-01-2025_21_19_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20121435, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20121436, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20121437, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20121438, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20121439, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20121440, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20121441, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20121442, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20121443, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20121444, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20121445, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20121446, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20121826, 'dashboard_result_id': 8643305, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20121826_31-01-2025_21_37_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20121883, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20121884, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20121885, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20121886, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20121887, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20121888, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20121889, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20121890, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20121891, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20121892, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20121893, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20121894, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20122144, 'dashboard_result_id': 8643306, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20122144_31-01-2025_21_46_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20122183, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20122185, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20122186, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20122188, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20122189, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20122191, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20122192, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20122194, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20122196, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20122197, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20122199, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20122200, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20122775, 'dashboard_result_id': 8643307, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20122775_31-01-2025_22_02_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20122801, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20122802, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20122803, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20122804, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20122805, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20122806, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20122807, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20122808, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20122809, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20122810, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20122811, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20122812, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20123568, 'dashboard_result_id': 8643308, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20123568_31-01-2025_22_16_58.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20123577, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20123578, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20123579, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20123580, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20123581, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20123582, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20123583, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20123584, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20123585, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20123586, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20123587, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20123589, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20124284, 'dashboard_result_id': 8643309, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20124284_31-01-2025_22_37_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20124290, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20124291, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20124292, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20124293, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20124294, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20124295, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20124296, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20124297, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20124298, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20124299, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20124300, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20124301, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20124827, 'dashboard_result_id': 8643310, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20124827_31-01-2025_22_49_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20124879, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20124880, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20124881, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20124882, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20124883, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20124884, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20124885, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20124886, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20124887, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20124888, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20124889, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20124890, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20125220, 'dashboard_result_id': 8643311, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20125220_01-02-2025_05_10_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20125281, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20125282, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20125283, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20125284, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20125285, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20125286, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20125287, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20125288, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20125289, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20125290, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20125291, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20125292, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20135429, 'dashboard_result_id': 8643312, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20135429_01-02-2025_05_11_03.pdf'}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20135430, 'dashboard_result_id': 8643313, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20135430_01-02-2025_05_11_36.pdf'}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20135431, 'dashboard_result_id': 8643314, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20135431_01-02-2025_05_12_00.pdf'}"}] SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20127938 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 = 20127938 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 = 20127938 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20127938 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 = 20127938 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 = 20127938 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20127938_01-02-2025_05_34_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20127938 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20127938_01-02-2025_05_34_35.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20127967, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20127968, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20127969, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20127970, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20127971, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20127972, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20127973, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20127974, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20127975, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20127976, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20127977, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20127978, 'pht': 3726}}" where mtr_portfolio_id = 20127938 and dashboard_run_id = 1578330 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20127939 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 = 20127939 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 = 20127939 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20127939 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 = 20127939 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 = 20127939 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20127939_01-02-2025_05_35_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20127939 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20127939_01-02-2025_05_35_02.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20127991, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20127992, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20127993, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20127994, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20127995, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20127996, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20127997, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20127998, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20127999, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20128000, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20128001, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20128002, 'pht': 3726}}" where mtr_portfolio_id = 20127939 and dashboard_run_id = 1578330 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20127940 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 = 20127940 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 = 20127940 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20127940 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 = 20127940 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 = 20127940 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20127940_01-02-2025_05_36_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20127940 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20127940_01-02-2025_05_36_05.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20128015, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20128016, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20128017, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20128018, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20128019, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20128020, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20128021, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20128022, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20128023, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20128024, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20128025, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20128026, 'pht': 3726}}" where mtr_portfolio_id = 20127940 and dashboard_run_id = 1578330 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20127941 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 = 20127941 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 = 20127941 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20127941 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 = 20127941 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 = 20127941 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20127941_01-02-2025_05_37_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20127941 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20127941_01-02-2025_05_37_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20127942, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20127943, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20127944, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20127945, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20127946, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20127947, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20127948, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20127949, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20127950, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20127951, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20127952, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20127953, 'pht': 3726}}" where mtr_portfolio_id = 20127941 and dashboard_run_id = 1578330 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20090835 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2536638, 'mtr_portfolio_id': 20090835, 'created_at': datetime.datetime(2025, 2, 1, 5, 37, 28), 'result': '0.04907240156183414', 'result_long': None, 'result_double': None}] Qualite : 0.04907240156183414 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20090835 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20090835_01-02-2025_05_37_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20090835 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20090835_01-02-2025_05_37_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20090838, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20090839, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20090840, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20090841, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20090842, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20090843, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20090844, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20090845, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20090846, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20090847, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20090848, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20090849, 'pht': 3726}}" where mtr_portfolio_id = 20090835 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20090835 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643265, 0.04907240156183414, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20090835_01-02-2025_05_37_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20090838, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20090839, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20090840, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20090841, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20090842, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20090843, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20090844, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20090845, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20090846, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20090847, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20090848, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20090849, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20090957 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2536639, 'mtr_portfolio_id': 20090957, 'created_at': datetime.datetime(2025, 2, 1, 5, 37, 58), 'result': '0.04848081861930445', 'result_long': None, 'result_double': None}] Qualite : 0.04848081861930445 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20090957 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20090957_01-02-2025_05_38_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20090957 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20090957_01-02-2025_05_38_03.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20091039, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20091040, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20091041, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20091042, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20091043, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20091044, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20091045, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20091046, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20091047, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20091048, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20091049, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20091050, 'pht': 3726}}" where mtr_portfolio_id = 20090957 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20090957 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643266, 0.04848081861930445, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20090957_01-02-2025_05_38_03.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20091039, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20091040, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20091041, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20091042, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20091043, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20091044, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20091045, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20091046, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20091047, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20091048, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20091049, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20091050, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20090959 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2536640, 'mtr_portfolio_id': 20090959, 'created_at': datetime.datetime(2025, 2, 1, 5, 38, 35), 'result': '0.040585206311703974', 'result_long': None, 'result_double': None}] Qualite : 0.040585206311703974 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20090959 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20090959_01-02-2025_05_38_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20090959 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20090959_01-02-2025_05_38_38.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20090965, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20090966, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20090967, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20090968, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20090969, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20090970, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20090971, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20090972, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20090973, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20090974, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20090975, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20090976, 'pht': 3726}}" where mtr_portfolio_id = 20090959 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20090959 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643267, 0.040585206311703974, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20090959_01-02-2025_05_38_38.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20090965, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20090966, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20090967, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20090968, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20090969, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20090970, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20090971, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20090972, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20090973, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20090974, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20090975, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20090976, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20091190 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2536641, 'mtr_portfolio_id': 20091190, 'created_at': datetime.datetime(2025, 2, 1, 5, 39, 3), 'result': '0.04194535389228911', 'result_long': None, 'result_double': None}] Qualite : 0.04194535389228911 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20091190 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20091190_01-02-2025_05_39_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20091190 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20091190_01-02-2025_05_39_06.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20091199, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20091200, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20091201, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20091202, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20091203, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20091204, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20091205, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20091206, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20091207, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20091208, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20091209, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20091210, 'pht': 3726}}" where mtr_portfolio_id = 20091190 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20091190 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643268, 0.04194535389228911, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20091190_01-02-2025_05_39_06.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20091199, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20091200, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20091201, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20091202, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20091203, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20091204, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20091205, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20091206, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20091207, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20091208, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20091209, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20091210, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20091230 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2536642, 'mtr_portfolio_id': 20091230, 'created_at': datetime.datetime(2025, 2, 1, 5, 39, 29), 'result': '0.048625288149661126', 'result_long': None, 'result_double': None}] Qualite : 0.048625288149661126 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20091230 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20091230_01-02-2025_05_39_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20091230 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20091230_01-02-2025_05_39_33.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20091247, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20091248, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20091249, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20091250, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20091251, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20091252, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20091253, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20091254, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20091255, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20091256, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20091257, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20091258, 'pht': 3726}}" where mtr_portfolio_id = 20091230 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20091230 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643269, 0.048625288149661126, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20091230_01-02-2025_05_39_33.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20091247, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20091248, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20091249, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20091250, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20091251, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20091252, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20091253, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20091254, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20091255, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20091256, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20091257, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20091258, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20091819 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2536643, 'mtr_portfolio_id': 20091819, 'created_at': datetime.datetime(2025, 2, 1, 5, 39, 58), 'result': '0.05818706516452907', 'result_long': None, 'result_double': None}] Qualite : 0.05818706516452907 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20091819 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20091819_01-02-2025_05_40_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20091819 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20091819_01-02-2025_05_40_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20091827, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20091828, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20091829, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20091830, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20091831, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20091832, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20091833, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20091834, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20091835, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20091836, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20091837, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20091838, 'pht': 3726}}" where mtr_portfolio_id = 20091819 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20091819 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643270, 0.05818706516452907, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20091819_01-02-2025_05_40_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20091827, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20091828, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20091829, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20091830, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20091831, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20091832, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20091833, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20091834, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20091835, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20091836, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20091837, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20091838, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20092585 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2536644, 'mtr_portfolio_id': 20092585, 'created_at': datetime.datetime(2025, 2, 1, 5, 40, 30), 'result': '0.03524968172107631', 'result_long': None, 'result_double': None}] Qualite : 0.03524968172107631 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20092585 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20092585_01-02-2025_05_40_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20092585 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20092585_01-02-2025_05_40_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20092618, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20092619, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20092620, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20092621, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20092622, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20092623, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20092624, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20092625, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20092626, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20092627, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20092628, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20092629, 'pht': 3726}}" where mtr_portfolio_id = 20092585 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20092585 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643271, 0.03524968172107631, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20092585_01-02-2025_05_40_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20092618, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20092619, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20092620, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20092621, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20092622, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20092623, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20092624, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20092625, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20092626, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20092627, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20092628, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20092629, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20093325 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2536645, 'mtr_portfolio_id': 20093325, 'created_at': datetime.datetime(2025, 2, 1, 5, 41, 2), 'result': '0.043027941387607946', 'result_long': None, 'result_double': None}] Qualite : 0.043027941387607946 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20093325 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20093325_01-02-2025_05_41_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20093325 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20093325_01-02-2025_05_41_06.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20093334, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20093335, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20093336, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20093337, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20093338, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20093339, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20093340, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20093341, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20093342, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20093343, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20093344, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20093345, 'pht': 3726}}" where mtr_portfolio_id = 20093325 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20093325 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643272, 0.043027941387607946, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20093325_01-02-2025_05_41_06.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20093334, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20093335, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20093336, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20093337, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20093338, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20093339, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20093340, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20093341, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20093342, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20093343, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20093344, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20093345, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20093996 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2536646, 'mtr_portfolio_id': 20093996, 'created_at': datetime.datetime(2025, 2, 1, 5, 41, 34), 'result': '0.040913346841589454', 'result_long': None, 'result_double': None}] Qualite : 0.040913346841589454 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20093996 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20093996_01-02-2025_05_41_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20093996 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20093996_01-02-2025_05_41_36.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20093997, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20093998, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20093999, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20094000, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20094001, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20094002, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20094003, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20094004, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20094005, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20094006, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20094007, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20094008, 'pht': 3726}}" where mtr_portfolio_id = 20093996 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20093996 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643273, 0.040913346841589454, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20093996_01-02-2025_05_41_36.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20093997, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20093998, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20093999, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20094000, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20094001, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20094002, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20094003, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20094004, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20094005, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20094006, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20094007, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20094008, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20094429 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2536647, 'mtr_portfolio_id': 20094429, 'created_at': datetime.datetime(2025, 2, 1, 5, 42, 5), 'result': '0.025452941454474808', 'result_long': None, 'result_double': None}] Qualite : 0.025452941454474808 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20094429 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20094429_01-02-2025_05_42_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20094429 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20094429_01-02-2025_05_42_08.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20094527, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20094528, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20094529, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20094530, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20094531, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20094532, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20094533, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20094534, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20094535, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20094536, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20094537, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20094538, 'pht': 3726}}" where mtr_portfolio_id = 20094429 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20094429 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643274, 0.025452941454474808, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20094429_01-02-2025_05_42_08.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20094527, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20094528, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20094529, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20094530, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20094531, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20094532, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20094533, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20094534, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20094535, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20094536, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20094537, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20094538, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20095035 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2536648, 'mtr_portfolio_id': 20095035, 'created_at': datetime.datetime(2025, 2, 1, 5, 42, 30), 'result': '0.04530179493833698', 'result_long': None, 'result_double': None}] Qualite : 0.04530179493833698 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20095035 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20095035_01-02-2025_05_42_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20095035 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20095035_01-02-2025_05_42_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20095080, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20095081, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20095082, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20095083, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20095084, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20095085, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20095086, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20095087, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20095088, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20095089, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20095090, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20095091, 'pht': 3726}}" where mtr_portfolio_id = 20095035 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20095035 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643275, 0.04530179493833698, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20095035_01-02-2025_05_42_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20095080, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20095081, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20095082, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20095083, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20095084, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20095085, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20095086, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20095087, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20095088, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20095089, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20095090, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20095091, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20095545 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2536649, 'mtr_portfolio_id': 20095545, 'created_at': datetime.datetime(2025, 2, 1, 5, 43, 2), 'result': '0.05095805914591683', 'result_long': None, 'result_double': None}] Qualite : 0.05095805914591683 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20095545 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20095545_01-02-2025_05_43_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20095545 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20095545_01-02-2025_05_43_05.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20095605, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20095606, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20095607, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20095608, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20095609, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20095610, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20095611, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20095612, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20095613, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20095614, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20095615, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20095616, 'pht': 3726}}" where mtr_portfolio_id = 20095545 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20095545 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643276, 0.05095805914591683, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20095545_01-02-2025_05_43_05.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20095605, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20095606, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20095607, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20095608, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20095609, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20095610, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20095611, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20095612, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20095613, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20095614, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20095615, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20095616, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20095959 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2536650, 'mtr_portfolio_id': 20095959, 'created_at': datetime.datetime(2025, 2, 1, 5, 43, 31), 'result': '0.05538534305510406', 'result_long': None, 'result_double': None}] Qualite : 0.05538534305510406 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20095959 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20095959_01-02-2025_05_43_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20095959 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20095959_01-02-2025_05_43_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20095966, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20095967, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20095968, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20095969, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20095970, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20095971, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20095972, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20095973, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20095974, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20095975, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20095976, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20095977, 'pht': 3726}}" where mtr_portfolio_id = 20095959 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20095959 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643277, 0.05538534305510406, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20095959_01-02-2025_05_43_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20095966, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20095967, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20095968, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20095969, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20095970, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20095971, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20095972, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20095973, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20095974, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20095975, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20095976, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20095977, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20097156 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2536651, 'mtr_portfolio_id': 20097156, 'created_at': datetime.datetime(2025, 2, 1, 5, 43, 59), 'result': '0.04148309277310702', 'result_long': None, 'result_double': None}] Qualite : 0.04148309277310702 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20097156 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20097156_01-02-2025_05_44_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20097156 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20097156_01-02-2025_05_44_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20097162, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20097163, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20097164, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20097165, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20097166, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20097167, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20097168, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20097169, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20097170, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20097171, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20097172, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20097173, 'pht': 3726}}" where mtr_portfolio_id = 20097156 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20097156 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643278, 0.04148309277310702, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20097156_01-02-2025_05_44_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20097162, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20097163, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20097164, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20097165, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20097166, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20097167, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20097168, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20097169, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20097170, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20097171, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20097172, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20097173, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20097481 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2536652, 'mtr_portfolio_id': 20097481, 'created_at': datetime.datetime(2025, 2, 1, 5, 44, 28), 'result': '0.03628505255714043', 'result_long': None, 'result_double': None}] Qualite : 0.03628505255714043 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20097481 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20097481_01-02-2025_05_44_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20097481 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20097481_01-02-2025_05_44_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20097487, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20097488, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20097489, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20097490, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20097491, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20097492, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20097493, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20097494, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20097495, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20097496, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20097497, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20097498, 'pht': 3726}}" where mtr_portfolio_id = 20097481 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20097481 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643279, 0.03628505255714043, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20097481_01-02-2025_05_44_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20097487, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20097488, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20097489, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20097490, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20097491, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20097492, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20097493, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20097494, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20097495, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20097496, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20097497, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20097498, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20098077 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2536653, 'mtr_portfolio_id': 20098077, 'created_at': datetime.datetime(2025, 2, 1, 5, 45, 2), 'result': '0.054668766063283206', 'result_long': None, 'result_double': None}] Qualite : 0.054668766063283206 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20098077 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20098077_01-02-2025_05_45_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20098077 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20098077_01-02-2025_05_45_05.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20098083, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20098084, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20098085, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20098086, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20098087, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20098088, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20098089, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20098090, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20098091, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20098092, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20098093, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20098094, 'pht': 3726}}" where mtr_portfolio_id = 20098077 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20098077 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643280, 0.054668766063283206, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20098077_01-02-2025_05_45_05.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20098083, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20098084, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20098085, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20098086, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20098087, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20098088, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20098089, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20098090, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20098091, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20098092, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20098093, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20098094, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20098681 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2536654, 'mtr_portfolio_id': 20098681, 'created_at': datetime.datetime(2025, 2, 1, 5, 45, 32), 'result': '0.04175880099459883', 'result_long': None, 'result_double': None}] Qualite : 0.04175880099459883 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20098681 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20098681_01-02-2025_05_45_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20098681 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20098681_01-02-2025_05_45_35.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20098687, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20098688, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20098689, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20098690, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20098691, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20098692, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20098693, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20098694, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20098695, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20098696, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20098697, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20098698, 'pht': 3726}}" where mtr_portfolio_id = 20098681 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20098681 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643281, 0.04175880099459883, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20098681_01-02-2025_05_45_35.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20098687, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20098688, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20098689, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20098690, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20098691, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20098692, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20098693, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20098694, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20098695, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20098696, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20098697, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20098698, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20099158 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2536655, 'mtr_portfolio_id': 20099158, 'created_at': datetime.datetime(2025, 2, 1, 5, 46), 'result': '0.041281318097373974', 'result_long': None, 'result_double': None}] Qualite : 0.041281318097373974 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20099158 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20099158_01-02-2025_05_46_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20099158 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20099158_01-02-2025_05_46_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20099174, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20099175, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20099176, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20099177, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20099178, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20099179, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20099180, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20099181, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20099182, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20099183, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20099184, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20099185, 'pht': 3726}}" where mtr_portfolio_id = 20099158 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20099158 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643282, 0.041281318097373974, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20099158_01-02-2025_05_46_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20099174, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20099175, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20099176, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20099177, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20099178, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20099179, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20099180, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20099181, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20099182, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20099183, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20099184, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20099185, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20100088 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2536656, 'mtr_portfolio_id': 20100088, 'created_at': datetime.datetime(2025, 2, 1, 5, 46, 28), 'result': '0.04568032891211431', 'result_long': None, 'result_double': None}] Qualite : 0.04568032891211431 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20100088 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20100088_01-02-2025_05_46_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20100088 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20100088_01-02-2025_05_46_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20100101, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20100102, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20100103, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20100104, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20100105, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20100106, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20100107, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20100108, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20100109, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20100110, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20100111, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20100112, 'pht': 3726}}" where mtr_portfolio_id = 20100088 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20100088 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643283, 0.04568032891211431, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20100088_01-02-2025_05_46_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20100101, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20100102, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20100103, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20100104, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20100105, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20100106, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20100107, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20100108, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20100109, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20100110, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20100111, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20100112, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20100892 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2536657, 'mtr_portfolio_id': 20100892, 'created_at': datetime.datetime(2025, 2, 1, 5, 46, 58), 'result': '0.04660509101459956', 'result_long': None, 'result_double': None}] Qualite : 0.04660509101459956 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20100892 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20100892_01-02-2025_05_47_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20100892 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20100892_01-02-2025_05_47_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20100897, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20100898, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20100899, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20100900, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20100901, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20100902, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20100903, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20100904, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20100905, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20100906, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20100907, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20100908, 'pht': 3726}}" where mtr_portfolio_id = 20100892 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20100892 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643284, 0.04660509101459956, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20100892_01-02-2025_05_47_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20100897, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20100898, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20100899, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20100900, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20100901, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20100902, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20100903, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20100904, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20100905, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20100906, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20100907, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20100908, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20101316 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2536658, 'mtr_portfolio_id': 20101316, 'created_at': datetime.datetime(2025, 2, 1, 5, 47, 31), 'result': '0.04729556343520526', 'result_long': None, 'result_double': None}] Qualite : 0.04729556343520526 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20101316 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20101316_01-02-2025_05_47_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20101316 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20101316_01-02-2025_05_47_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20101325, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20101326, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20101327, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20101328, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20101329, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20101330, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20101331, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20101332, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20101333, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20101334, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20101335, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20101336, 'pht': 3726}}" where mtr_portfolio_id = 20101316 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20101316 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643285, 0.04729556343520526, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20101316_01-02-2025_05_47_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20101325, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20101326, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20101327, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20101328, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20101329, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20101330, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20101331, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20101332, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20101333, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20101334, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20101335, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20101336, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20102361 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2536659, 'mtr_portfolio_id': 20102361, 'created_at': datetime.datetime(2025, 2, 1, 5, 48, 1), 'result': '0.058284879664812474', 'result_long': None, 'result_double': None}] Qualite : 0.058284879664812474 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20102361 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20102361_01-02-2025_05_48_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20102361 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20102361_01-02-2025_05_48_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20102362, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20102363, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20102364, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20102365, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20102366, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20102367, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20102368, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20102369, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20102370, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20102371, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20102372, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20102373, 'pht': 3726}}" where mtr_portfolio_id = 20102361 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20102361 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643286, 0.058284879664812474, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20102361_01-02-2025_05_48_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20102362, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20102363, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20102364, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20102365, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20102366, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20102367, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20102368, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20102369, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20102370, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20102371, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20102372, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20102373, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20102932 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2536660, 'mtr_portfolio_id': 20102932, 'created_at': datetime.datetime(2025, 2, 1, 5, 48, 31), 'result': '0.051051027276654976', 'result_long': None, 'result_double': None}] Qualite : 0.051051027276654976 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20102932 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20102932_01-02-2025_05_48_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20102932 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20102932_01-02-2025_05_48_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20102958, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20102959, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20102960, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20102961, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20102962, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20102963, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20102964, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20102965, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20102966, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20102967, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20102968, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20102969, 'pht': 3726}}" where mtr_portfolio_id = 20102932 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20102932 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643287, 0.051051027276654976, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20102932_01-02-2025_05_48_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20102958, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20102959, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20102960, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20102961, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20102962, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20102963, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20102964, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20102965, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20102966, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20102967, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20102968, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20102969, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20103345 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2536661, 'mtr_portfolio_id': 20103345, 'created_at': datetime.datetime(2025, 2, 1, 5, 49, 3), 'result': '0.04671255435861283', 'result_long': None, 'result_double': None}] Qualite : 0.04671255435861283 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20103345 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20103345_01-02-2025_05_49_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20103345 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20103345_01-02-2025_05_49_04.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20103364, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20103365, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20103366, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20103367, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20103368, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20103369, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20103370, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20103371, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20103372, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20103373, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20103374, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20103375, 'pht': 3726}}" where mtr_portfolio_id = 20103345 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20103345 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643288, 0.04671255435861283, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20103345_01-02-2025_05_49_04.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20103364, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20103365, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20103366, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20103367, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20103368, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20103369, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20103370, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20103371, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20103372, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20103373, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20103374, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20103375, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20103727 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2536662, 'mtr_portfolio_id': 20103727, 'created_at': datetime.datetime(2025, 2, 1, 5, 49, 33), 'result': '0.03923119784445853', 'result_long': None, 'result_double': None}] Qualite : 0.03923119784445853 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20103727 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20103727_01-02-2025_05_49_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20103727 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20103727_01-02-2025_05_49_36.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20103732, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20103733, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20103734, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20103735, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20103736, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20103737, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20103738, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20103739, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20103740, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20103741, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20103742, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20103743, 'pht': 3726}}" where mtr_portfolio_id = 20103727 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20103727 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643289, 0.03923119784445853, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20103727_01-02-2025_05_49_36.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20103732, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20103733, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20103734, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20103735, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20103736, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20103737, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20103738, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20103739, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20103740, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20103741, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20103742, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20103743, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20104620 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2536663, 'mtr_portfolio_id': 20104620, 'created_at': datetime.datetime(2025, 2, 1, 5, 50, 1), 'result': '0.040804842250134435', 'result_long': None, 'result_double': None}] Qualite : 0.040804842250134435 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20104620 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20104620_01-02-2025_05_50_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20104620 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20104620_01-02-2025_05_50_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20104638, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20104639, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20104640, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20104641, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20104642, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20104643, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20104644, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20104645, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20104646, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20104647, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20104648, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20104649, 'pht': 3726}}" where mtr_portfolio_id = 20104620 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20104620 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643290, 0.040804842250134435, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20104620_01-02-2025_05_50_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20104638, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20104639, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20104640, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20104641, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20104642, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20104643, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20104644, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20104645, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20104646, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20104647, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20104648, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20104649, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20104890 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2536664, 'mtr_portfolio_id': 20104890, 'created_at': datetime.datetime(2025, 2, 1, 5, 50, 30), 'result': '0.049599685197150536', 'result_long': None, 'result_double': None}] Qualite : 0.049599685197150536 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20104890 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20104890_01-02-2025_05_50_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20104890 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20104890_01-02-2025_05_50_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20104929, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20104930, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20104931, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20104932, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20104933, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20104934, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20104935, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20104936, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20104937, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20104938, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20104939, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20104940, 'pht': 3726}}" where mtr_portfolio_id = 20104890 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20104890 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643291, 0.049599685197150536, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20104890_01-02-2025_05_50_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20104929, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20104930, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20104931, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20104932, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20104933, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20104934, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20104935, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20104936, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20104937, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20104938, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20104939, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20104940, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20105217 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2536665, 'mtr_portfolio_id': 20105217, 'created_at': datetime.datetime(2025, 2, 1, 5, 50, 58), 'result': '0.04911005641903507', 'result_long': None, 'result_double': None}] Qualite : 0.04911005641903507 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20105217 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20105217_01-02-2025_05_51_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20105217 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20105217_01-02-2025_05_51_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20105225, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20105226, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20105227, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20105228, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20105229, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20105230, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20105231, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20105232, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20105233, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20105234, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20105235, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20105236, 'pht': 3726}}" where mtr_portfolio_id = 20105217 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20105217 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643292, 0.04911005641903507, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20105217_01-02-2025_05_51_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20105225, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20105226, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20105227, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20105228, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20105229, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20105230, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20105231, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20105232, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20105233, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20105234, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20105235, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20105236, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20106746 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2536666, 'mtr_portfolio_id': 20106746, 'created_at': datetime.datetime(2025, 2, 1, 5, 51, 29), 'result': '0.04208573649865245', 'result_long': None, 'result_double': None}] Qualite : 0.04208573649865245 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20106746 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20106746_01-02-2025_05_51_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20106746 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20106746_01-02-2025_05_51_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20106752, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20106753, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20106754, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20106755, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20106756, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20106757, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20106758, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20106759, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20106760, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20106761, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20106762, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20106763, 'pht': 3726}}" where mtr_portfolio_id = 20106746 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20106746 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643293, 0.04208573649865245, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20106746_01-02-2025_05_51_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20106752, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20106753, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20106754, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20106755, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20106756, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20106757, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20106758, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20106759, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20106760, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20106761, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20106762, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20106763, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20107484 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2536667, 'mtr_portfolio_id': 20107484, 'created_at': datetime.datetime(2025, 2, 1, 5, 51, 58), 'result': '0.03258136514776852', 'result_long': None, 'result_double': None}] Qualite : 0.03258136514776852 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20107484 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20107484_01-02-2025_05_52_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20107484 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20107484_01-02-2025_05_52_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20107526, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20107527, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20107528, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20107529, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20107530, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20107531, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20107532, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20107533, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20107534, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20107535, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20107536, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20107537, 'pht': 3726}}" where mtr_portfolio_id = 20107484 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20107484 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643294, 0.03258136514776852, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20107484_01-02-2025_05_52_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20107526, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20107527, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20107528, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20107529, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20107530, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20107531, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20107532, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20107533, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20107534, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20107535, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20107536, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20107537, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20108354 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2536668, 'mtr_portfolio_id': 20108354, 'created_at': datetime.datetime(2025, 2, 1, 5, 52, 30), 'result': '0.042939758405514165', 'result_long': None, 'result_double': None}] Qualite : 0.042939758405514165 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20108354 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20108354_01-02-2025_05_52_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20108354 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20108354_01-02-2025_05_52_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20108358, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20108359, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20108360, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20108361, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20108362, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20108363, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20108364, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20108365, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20108366, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20108367, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20108368, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20108369, 'pht': 3726}}" where mtr_portfolio_id = 20108354 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20108354 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643295, 0.042939758405514165, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20108354_01-02-2025_05_52_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20108358, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20108359, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20108360, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20108361, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20108362, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20108363, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20108364, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20108365, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20108366, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20108367, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20108368, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20108369, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20108777 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2536669, 'mtr_portfolio_id': 20108777, 'created_at': datetime.datetime(2025, 2, 1, 5, 53, 1), 'result': '0.031900624382180415', 'result_long': None, 'result_double': None}] Qualite : 0.031900624382180415 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20108777 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20108777_01-02-2025_05_53_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20108777 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20108777_01-02-2025_05_53_04.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20108783, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20108784, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20108785, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20108786, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20108787, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20108788, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20108789, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20108790, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20108791, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20108792, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20108793, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20108794, 'pht': 3726}}" where mtr_portfolio_id = 20108777 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20108777 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643296, 0.031900624382180415, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20108777_01-02-2025_05_53_04.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20108783, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20108784, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20108785, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20108786, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20108787, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20108788, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20108789, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20108790, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20108791, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20108792, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20108793, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20108794, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20109367 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2536670, 'mtr_portfolio_id': 20109367, 'created_at': datetime.datetime(2025, 2, 1, 5, 53, 29), 'result': '0.041490250693514565', 'result_long': None, 'result_double': None}] Qualite : 0.041490250693514565 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20109367 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20109367_01-02-2025_05_53_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20109367 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20109367_01-02-2025_05_53_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20109412, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20109413, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20109414, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20109415, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20109416, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20109417, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20109418, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20109419, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20109420, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20109421, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20109422, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20109423, 'pht': 3726}}" where mtr_portfolio_id = 20109367 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20109367 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643297, 0.041490250693514565, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20109367_01-02-2025_05_53_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20109412, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20109413, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20109414, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20109415, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20109416, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20109417, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20109418, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20109419, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20109420, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20109421, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20109422, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20109423, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20109995 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2536671, 'mtr_portfolio_id': 20109995, 'created_at': datetime.datetime(2025, 2, 1, 5, 53, 59), 'result': '0.041483513427379694', 'result_long': None, 'result_double': None}] Qualite : 0.041483513427379694 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20109995 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20109995_01-02-2025_05_54_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20109995 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20109995_01-02-2025_05_54_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20110040, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20110041, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20110042, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20110043, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20110044, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20110045, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20110046, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20110047, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20110048, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20110049, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20110050, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20110051, 'pht': 3726}}" where mtr_portfolio_id = 20109995 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20109995 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643298, 0.041483513427379694, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20109995_01-02-2025_05_54_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20110040, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20110041, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20110042, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20110043, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20110044, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20110045, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20110046, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20110047, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20110048, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20110049, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20110050, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20110051, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20110720 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2536672, 'mtr_portfolio_id': 20110720, 'created_at': datetime.datetime(2025, 2, 1, 5, 54, 29), 'result': '0.03777550779060669', 'result_long': None, 'result_double': None}] Qualite : 0.03777550779060669 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20110720 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20110720_01-02-2025_05_54_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20110720 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20110720_01-02-2025_05_54_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20110771, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20110772, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20110773, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20110774, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20110775, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20110776, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20110777, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20110778, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20110779, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20110780, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20110781, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20110782, 'pht': 3726}}" where mtr_portfolio_id = 20110720 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20110720 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643299, 0.03777550779060669, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20110720_01-02-2025_05_54_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20110771, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20110772, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20110773, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20110774, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20110775, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20110776, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20110777, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20110778, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20110779, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20110780, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20110781, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20110782, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20111560 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2536673, 'mtr_portfolio_id': 20111560, 'created_at': datetime.datetime(2025, 2, 1, 5, 55, 1), 'result': '0.04386537108654129', 'result_long': None, 'result_double': None}] Qualite : 0.04386537108654129 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20111560 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20111560_01-02-2025_05_55_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20111560 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20111560_01-02-2025_05_55_03.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20111680, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20111681, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20111682, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20111683, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20111684, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20111685, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20111686, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20111687, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20111688, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20111689, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20111690, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20111691, 'pht': 3726}}" where mtr_portfolio_id = 20111560 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20111560 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643300, 0.04386537108654129, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20111560_01-02-2025_05_55_03.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20111680, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20111681, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20111682, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20111683, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20111684, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20111685, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20111686, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20111687, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20111688, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20111689, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20111690, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20111691, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20112623 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2536674, 'mtr_portfolio_id': 20112623, 'created_at': datetime.datetime(2025, 2, 1, 5, 55, 36), 'result': '0.05261802976720021', 'result_long': None, 'result_double': None}] Qualite : 0.05261802976720021 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20112623 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20112623_01-02-2025_05_55_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20112623 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20112623_01-02-2025_05_55_39.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20112628, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20112629, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20112630, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20112631, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20112632, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20112633, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20112634, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20112635, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20112636, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20112637, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20112638, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20112639, 'pht': 3726}}" where mtr_portfolio_id = 20112623 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20112623 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643301, 0.05261802976720021, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20112623_01-02-2025_05_55_39.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20112628, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20112629, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20112630, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20112631, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20112632, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20112633, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20112634, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20112635, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20112636, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20112637, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20112638, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20112639, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20113116 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2536675, 'mtr_portfolio_id': 20113116, 'created_at': datetime.datetime(2025, 2, 1, 5, 56, 5), 'result': '0.03570130360762698', 'result_long': None, 'result_double': None}] Qualite : 0.03570130360762698 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20113116 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20113116_01-02-2025_05_56_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20113116 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20113116_01-02-2025_05_56_07.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20113178, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20113179, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20113180, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20113181, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20113182, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20113183, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20113184, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20113185, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20113186, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20113187, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20113188, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20113189, 'pht': 3726}}" where mtr_portfolio_id = 20113116 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20113116 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643302, 0.03570130360762698, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20113116_01-02-2025_05_56_07.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20113178, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20113179, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20113180, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20113181, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20113182, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20113183, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20113184, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20113185, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20113186, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20113187, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20113188, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20113189, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20113571 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2536676, 'mtr_portfolio_id': 20113571, 'created_at': datetime.datetime(2025, 2, 1, 5, 56, 31), 'result': '0.05459390176847189', 'result_long': None, 'result_double': None}] Qualite : 0.05459390176847189 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20113571 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20113571_01-02-2025_05_56_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20113571 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20113571_01-02-2025_05_56_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20113580, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20113581, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20113582, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20113583, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20113584, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20113585, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20113586, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20113587, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20113588, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20113589, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20113590, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20113591, 'pht': 3726}}" where mtr_portfolio_id = 20113571 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20113571 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643303, 0.05459390176847189, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20113571_01-02-2025_05_56_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20113580, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20113581, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20113582, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20113583, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20113584, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20113585, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20113586, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20113587, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20113588, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20113589, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20113590, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20113591, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20121430 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2535297, 'mtr_portfolio_id': 20121430, 'created_at': datetime.datetime(2025, 1, 31, 21, 19, 2), 'result': '0.0817407283353113', 'result_long': None, 'result_double': None}] Qualite : 0.0817407283353113 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20121430 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20121430_31-01-2025_21_19_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20121430 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20121430_31-01-2025_21_19_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20121435, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20121436, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20121437, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20121438, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20121439, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20121440, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20121441, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20121442, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20121443, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20121444, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20121445, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20121446, 'pht': 3726}}" where mtr_portfolio_id = 20121430 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20121430 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643304, 0.0817407283353113, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20121430_31-01-2025_21_19_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20121435, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20121436, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20121437, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20121438, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20121439, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20121440, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20121441, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20121442, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20121443, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20121444, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20121445, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20121446, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20121826 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2535320, 'mtr_portfolio_id': 20121826, 'created_at': datetime.datetime(2025, 1, 31, 21, 37), 'result': '0.05138945010416425', 'result_long': None, 'result_double': None}] Qualite : 0.05138945010416425 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20121826 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20121826_31-01-2025_21_37_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20121826 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20121826_31-01-2025_21_37_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20121883, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20121884, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20121885, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20121886, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20121887, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20121888, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20121889, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20121890, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20121891, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20121892, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20121893, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20121894, 'pht': 3726}}" where mtr_portfolio_id = 20121826 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20121826 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643305, 0.05138945010416425, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20121826_31-01-2025_21_37_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20121883, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20121884, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20121885, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20121886, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20121887, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20121888, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20121889, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20121890, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20121891, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20121892, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20121893, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20121894, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20122144 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2535341, 'mtr_portfolio_id': 20122144, 'created_at': datetime.datetime(2025, 1, 31, 21, 46, 58), 'result': '0.03770210148331466', 'result_long': None, 'result_double': None}] Qualite : 0.03770210148331466 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20122144 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20122144_31-01-2025_21_46_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20122144 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20122144_31-01-2025_21_46_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20122183, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20122185, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20122186, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20122188, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20122189, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20122191, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20122192, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20122194, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20122196, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20122197, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20122199, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20122200, 'pht': 3726}}" where mtr_portfolio_id = 20122144 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20122144 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643306, 0.03770210148331466, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20122144_31-01-2025_21_46_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20122183, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20122185, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20122186, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20122188, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20122189, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20122191, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20122192, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20122194, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20122196, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20122197, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20122199, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20122200, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20122775 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2535400, 'mtr_portfolio_id': 20122775, 'created_at': datetime.datetime(2025, 1, 31, 22, 2, 58), 'result': '0.031556960468318095', 'result_long': None, 'result_double': None}] Qualite : 0.031556960468318095 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20122775 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20122775_31-01-2025_22_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20122775 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20122775_31-01-2025_22_02_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20122801, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20122802, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20122803, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20122804, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20122805, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20122806, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20122807, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20122808, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20122809, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20122810, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20122811, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20122812, 'pht': 3726}}" where mtr_portfolio_id = 20122775 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20122775 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643307, 0.031556960468318095, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20122775_31-01-2025_22_02_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20122801, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20122802, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20122803, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20122804, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20122805, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20122806, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20122807, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20122808, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20122809, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20122810, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20122811, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20122812, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20123568 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2535503, 'mtr_portfolio_id': 20123568, 'created_at': datetime.datetime(2025, 1, 31, 22, 16, 57), 'result': '0.04016188114633454', 'result_long': None, 'result_double': None}] Qualite : 0.04016188114633454 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20123568 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20123568_31-01-2025_22_16_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20123568 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20123568_31-01-2025_22_16_58.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20123577, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20123578, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20123579, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20123580, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20123581, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20123582, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20123583, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20123584, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20123585, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20123586, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20123587, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20123589, 'pht': 3726}}" where mtr_portfolio_id = 20123568 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20123568 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643308, 0.04016188114633454, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20123568_31-01-2025_22_16_58.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20123577, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20123578, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20123579, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20123580, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20123581, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20123582, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20123583, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20123584, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20123585, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20123586, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20123587, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20123589, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20124284 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2535564, 'mtr_portfolio_id': 20124284, 'created_at': datetime.datetime(2025, 1, 31, 22, 37, 1), 'result': '0.03119054991574652', 'result_long': None, 'result_double': None}] Qualite : 0.03119054991574652 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20124284 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20124284_31-01-2025_22_37_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20124284 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20124284_31-01-2025_22_37_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20124290, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20124291, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20124292, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20124293, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20124294, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20124295, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20124296, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20124297, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20124298, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20124299, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20124300, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20124301, 'pht': 3726}}" where mtr_portfolio_id = 20124284 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20124284 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643309, 0.03119054991574652, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20124284_31-01-2025_22_37_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20124290, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20124291, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20124292, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20124293, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20124294, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20124295, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20124296, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20124297, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20124298, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20124299, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20124300, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20124301, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20124827 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2535599, 'mtr_portfolio_id': 20124827, 'created_at': datetime.datetime(2025, 1, 31, 22, 49), 'result': '0.03904325953720691', 'result_long': None, 'result_double': None}] Qualite : 0.03904325953720691 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20124827 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20124827_31-01-2025_22_49_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20124827 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20124827_31-01-2025_22_49_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20124879, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20124880, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20124881, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20124882, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20124883, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20124884, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20124885, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20124886, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20124887, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20124888, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20124889, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20124890, 'pht': 3726}}" where mtr_portfolio_id = 20124827 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20124827 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643310, 0.03904325953720691, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20124827_31-01-2025_22_49_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20124879, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20124880, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20124881, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20124882, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20124883, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20124884, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20124885, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20124886, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20124887, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20124888, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20124889, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20124890, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20125220 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2535677, 'mtr_portfolio_id': 20125220, 'created_at': datetime.datetime(2025, 2, 1, 5, 10, 31), 'result': '0.04059907305847414', 'result_long': None, 'result_double': None}] Qualite : 0.04059907305847414 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20125220 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20125220_01-02-2025_05_10_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20125220 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20125220_01-02-2025_05_10_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20125281, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20125282, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20125283, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20125284, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20125285, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20125286, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20125287, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20125288, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20125289, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20125290, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20125291, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20125292, 'pht': 3726}}" where mtr_portfolio_id = 20125220 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20125220 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643311, 0.04059907305847414, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20125220_01-02-2025_05_10_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20125281, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20125282, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20125283, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20125284, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20125285, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20125286, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20125287, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20125288, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20125289, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20125290, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20125291, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20125292, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20135429 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 = 20135429 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 = 20135429 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20135429 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 = 20135429 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 = 20135429 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20135429_01-02-2025_05_11_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20135429 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20135429_01-02-2025_05_11_03.pdf'}" where mtr_portfolio_id = 20135429 and dashboard_run_id = 1578330 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20135430 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 = 20135430 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 = 20135430 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20135430 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 = 20135430 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 = 20135430 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20135430_01-02-2025_05_11_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20135430 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20135430_01-02-2025_05_11_36.pdf'}" where mtr_portfolio_id = 20135430 and dashboard_run_id = 1578330 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20135431 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 = 20135431 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 = 20135431 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20135431 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 = 20135431 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 = 20135431 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20135431_01-02-2025_05_12_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20135431 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20135431_01-02-2025_05_12_00.pdf'}" where mtr_portfolio_id = 20135431 and dashboard_run_id = 1578330 SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20127938,20127939,20127940,20127941,20090835,20090957,20090959,20091190,20091230,20091819,20092585,20093325,20093996,20094429,20095035,20095545,20095959,20097156,20097481,20098077,20098681,20099158,20100088,20100892,20101316,20102361,20102932,20103345,20103727,20104620,20104890,20105217,20106746,20107484,20108354,20108777,20109367,20109995,20110720,20111560,20112623,20113116,20113571,20121430,20121826,20122144,20122775,20123568,20124284,20124827,20125220,20135429,20135430,20135431) result : ((1333164248,), (1333170551,), (1333170556,), (1333170560,), (1333170563,), (1333170565,), (1333170590,), (1333170592,), (1333170607,), (1333170625,), (1333170654,), (1333170694,), (1333170815,), (1333170892,), (1333170896,), (1333170901,), (1333170923,), (1333171038,), (1333171039,), (1333171042,), (1333171043,), (1333171064,), (1333171068,), (1333177306,), (1333177645,), (1333177646,), (1333177807,), (1333177853,), (1333177866,), (1333177871,), (1333177876,), (1333177881,), (1333177916,), (1333178125,), (1333178279,), (1333178320,), (1333178329,), (1333178338,), (1333178366,), (1333178372,), (1333178374,), (1333178377,), (1333178380,), (1333178383,), (1333178436,), (1333178437,), (1333178442,), (1333178444,), (1333178447,), (1333178451,), (1333178660,), (1333178670,), (1333178684,), (1333178687,), (1333178695,), (1333178700,), (1333178705,), (1333178708,), (1333178710,), (1333178712,), (1333178736,), (1333178759,), (1333178775,), (1333178776,), (1333164240,), (1333170730,), (1333171085,), (1333171113,), (1333171115,), (1333171118,), (1333171119,), (1333171122,), (1333171135,), (1333171142,), (1333171149,), (1333171153,), (1333171157,), (1333171161,), (1333171179,), (1333171181,), (1333171185,), (1333171189,), (1333171193,), (1333171196,), (1333176762,), (1333176767,), (1333176770,), (1333176773,), (1333176776,), (1333176778,), (1333176937,), (1333176942,), (1333176946,), (1333176959,), (1333177005,), (1333177008,), (1333177073,), (1333177075,), (1333177077,), (1333177079,), (1333177081,), (1333177084,), (1333177100,), (1333177105,), (1333177112,), (1333177114,), (1333177116,), (1333177118,), (1333177122,), (1333177126,), (1333177131,), (1333177136,), (1333177138,), (1333177143,), (1333177155,), (1333177159,), (1333177162,), (1333177165,), (1333177168,), (1333177170,), (1333177175,), (1333177178,), (1333177184,), (1333177188,), (1333177194,), (1333177200,), (1333177213,), (1333177215,), (1333177218,), (1333177221,), (1333177222,), (1333177226,), (1333177285,), (1333177293,), (1333177295,), (1333177298,), (1333177300,), (1333177302,), (1333164507,), (1333168172,), (1333171206,), (1333171209,), (1333171215,), (1333171219,), (1333171224,), (1333171229,), (1333171240,), (1333171242,), (1333171245,), (1333171248,), (1333171252,), (1333171257,), (1333171270,), (1333171274,), (1333171277,), (1333171280,), (1333171283,), (1333171287,), (1333174225,), (1333174226,), (1333174228,), (1333174234,), (1333174238,), (1333174241,), (1333174829,), (1333174831,), (1333174832,), (1333174856,), (1333174857,), (1333174860,), (1333175175,), (1333175178,), (1333175187,), (1333175190,), (1333175194,), (1333175197,), (1333175324,), (1333175331,), (1333175336,), (1333175341,), (1333175343,), (1333175346,), (1333175621,), (1333175681,), (1333175725,), (1333175731,), (1333175736,), (1333175748,), (1333175756,), (1333175758,), (1333175855,), (1333175856,), (1333175860,), (1333175863,), (1333175868,), (1333175874,), (1333175895,), (1333175897,), (1333175899,), (1333175921,), (1333175926,), (1333175934,), (1333175943,), (1333175947,), (1333175950,), (1333175953,), (1333175957,), (1333175961,), (1333176001,), (1333176006,), (1333176014,), (1333176019,), (1333176030,), (1333176093,), (1333176135,), (1333176175,), (1333176233,), (1333176379,), (1333171700,), (1333171788,), (1333171833,), (1333171836,), (1333171840,), (1333171842,), (1333171857,), (1333171862,), (1333171867,), (1333171875,), (1333171880,), (1333171886,), (1333171892,), (1333171896,), (1333171900,), (1333171904,), (1333171910,), (1333171923,), (1333171957,), (1333171958,), (1333171959,), (1333172007,), (1333172019,), (1333172051,), (1333172056,), (1333172064,), (1333172068,), (1333172156,), (1333172176,), (1333172239,), (1333172241,), (1333172243,), (1333172245,), (1333172249,), (1333172251,), (1333172320,), (1333172324,), (1333172328,), (1333172332,), (1333172341,), (1333172345,), (1333172375,), (1333172381,), (1333172448,), (1333172452,), (1333172456,), (1333172494,), (1333172497,), (1333172501,), (1333172543,), (1333172552,), (1333172555,), (1333172556,), (1333172560,), (1333172612,), (1333172614,), (1333172706,), (1333172884,), (1333173009,), (1333173163,), (1333174065,), (1333174082,), (1333174085,), (1333174088,), (1333174092,), (1333174096,), (1333174099,), (1333174205,), (1333171944,), (1333171952,), (1333171955,), (1333171971,), (1333171979,), (1333171980,), (1333171988,), (1333171994,), (1333172000,), (1333172131,), (1333172140,), (1333172145,), (1333172152,), (1333172208,), (1333172210,), (1333172214,), (1333172220,), (1333172226,), (1333172230,), (1333172267,), (1333172272,), (1333172276,), (1333172282,), (1333172286,), (1333172293,), (1333172361,), (1333172366,), (1333172368,), (1333172370,), (1333172395,), (1333172399,), (1333172405,), (1333172409,), (1333172419,), (1333172429,), (1333172525,), (1333172528,), (1333172533,), (1333172537,), (1333172540,), (1333172685,), (1333172688,), (1333173724,), (1333173877,), (1333173942,), (1333173953,), (1333173979,), (1333174120,), (1333174125,), (1333174130,), (1333174134,), (1333174152,), (1333174562,), (1333174585,), (1333174719,), (1333174739,), (1333174796,), (1333174826,), (1333174918,), (1333174969,), (1333174999,), (1333175034,), (1333175045,), (1333175052,), (1333175207,), (1333175211,), (1333175214,), (1333175221,), (1333175224,), (1333175302,), (1333175523,), (1333175598,), (1333175602,), (1333175613,), (1333175617,), (1333175678,), (1333175640,), (1333175642,), (1333175659,), (1333175675,), (1333175766,), (1333175769,), (1333175779,), (1333175785,), (1333175790,), (1333175803,), (1333175888,), (1333175892,), (1333175893,), (1333175909,), (1333175913,), (1333175918,), (1333175987,), (1333175996,), (1333177248,), (1333177264,), (1333177270,), (1333177279,), (1333177281,), (1333177567,), (1333177572,), (1333177580,), (1333177583,), (1333177632,), (1333177633,), (1333177639,), (1333177640,), (1333177642,), (1333177644,), (1333177694,), (1333177703,), (1333177715,), (1333177747,), (1333177752,), (1333178101,), (1333178107,), (1333178111,), (1333178116,), (1333178121,), (1333178142,), (1333178161,), (1333178169,), (1333178252,), (1333178277,), (1333178312,), (1333178295,), (1333178303,), (1333178400,), (1333178411,), (1333178417,), (1333178422,), (1333178427,), (1333178430,), (1333178518,), (1333178525,), (1333178539,), (1333178542,), (1333178583,), (1333178584,), (1333178632,), (1333178633,), (1333178640,), (1333178641,), (1333178643,), (1333178645,), (1333178649,), (1333178651,), (1333178715,), (1333178718,), (1333178723,), (1333178728,), (1333178732,), (1333178838,), (1333178843,), (1333178847,), (1333178852,), (1333178880,), (1333179102,), (1333179233,), (1333179348,), (1333179496,), (1333179577,), (1333179982,), (1333179983,), (1333179989,), (1333179992,), (1333179997,), (1333180025,), (1333180069,), (1333180192,), (1333180406,), (1333180453,), (1333180471,), (1333180479,), (1333180487,), (1333180531,), (1333180791,), (1333180796,), (1333180811,), (1333180823,), (1333180875,), (1333180881,), (1333180886,), (1333180911,), (1333180916,), (1333181046,), (1333181048,), (1333181055,), (1333181061,), (1333181065,), (1333181127,), (1333181133,), (1333181136,), (1333182330,), (1333181285,), (1333182193,), (1333182232,), (1333182237,), (1333182263,), (1333182551,), (1333182552,), (1333182562,), (1333182564,), (1333182570,), (1333182571,), (1333182623,), (1333182636,), (1333182675,), (1333182685,), (1333183000,), (1333183035,), (1333183046,), (1333183119,), (1333184094,), (1333184099,), (1333184104,), (1333184108,), (1333184114,), (1333184117,), (1333184648,), (1333184653,), (1333184657,), (1333184707,), (1333184719,), (1333184722,), (1333184736,), (1333184740,), (1333184755,), (1333184813,), (1333185256,), (1333185267,), (1333185273,), (1333185294,), (1333185300,), (1333185410,), (1333185411,), (1333185416,), (1333185417,), (1333185429,), (1333185430,), (1333185436,), (1333185437,), (1333185440,), (1333185441,), (1333185445,), (1333185446,), (1333185455,), (1333185458,), (1333185464,), (1333185632,), (1333185650,), (1333185669,), (1333185672,), (1333185958,), (1333185960,), (1333185963,), (1333185966,), (1333185969,), (1333185972,), (1333185978,), (1333185980,), (1333185983,), (1333185987,), (1333186100,), (1333186122,), (1333186141,), (1333186145,), (1333186150,), (1333186192,), (1333186180,), (1333186182,), (1333186185,), (1333186189,), (1333186225,), (1333186227,), (1333186229,), (1333186231,), (1333186237,), (1333186281,), (1333186300,), (1333186307,), (1333186314,), (1333186317,), (1333186318,), (1333186321,), (1333186325,), (1333186354,), (1333186356,), (1333186358,), (1333186388,), (1333186391,), (1333186395,), (1333186398,), (1333186404,), (1333186407,), (1333186431,), (1333186435,), (1333186440,), (1333186507,), (1333186516,), (1333186521,), (1333186611,), (1333186617,), (1333186622,), (1333186626,), (1333186630,), (1333186632,), (1333186640,), (1333186643,), (1333186648,), (1333186652,), (1333186681,), (1333186684,), (1333186687,), (1333186691,), (1333186694,), (1333186723,), (1333186726,), (1333186731,), (1333186748,), (1333186791,), (1333186794,), (1333186797,), (1333186800,), (1333186808,), (1333186811,), (1333186815,), (1333186818,), (1333186823,), (1333186861,), (1333186864,), (1333186869,), (1333186883,), (1333187285,), (1333186999,), (1333187003,), (1333187007,), (1333187010,), (1333187015,), (1333187018,), (1333187158,), (1333187408,), (1333187412,), (1333187454,), (1333187459,), (1333187462,), (1333187581,), (1333187683,), (1333187689,), (1333187853,), (1333187855,), (1333187856,), (1333187873,), (1333187911,), (1333188104,), (1333188229,), (1333188342,), (1333188393,), (1333188431,), (1333188507,), (1333188528,), (1333188575,), (1333188911,), (1333188945,), (1333188947,), (1333188952,), (1333188955,), (1333188980,), (1333188982,), (1333188985,), (1333188988,), (1333188991,), (1333189380,), (1333189381,), (1333189409,), (1333189410,), (1333189414,), (1333189417,), (1333189553,), (1333189554,), (1333189557,), (1333189558,), (1333189567,), (1333189568,), (1333189570,), (1333189572,), (1333189574,), (1333189576,), (1333189578,), (1333189579,), (1333189586,), (1333189588,), (1333189590,), (1333189675,), (1333189678,), (1333189777,), (1333189778,), (1333189779,), (1333189782,), (1333189784,), (1333190141,), (1333190210,), (1333190276,), (1333190318,), (1333190353,), (1333190580,), (1333190661,), (1333190738,), (1333190812,), (1333191020,), (1333191009,), (1333191012,), (1333191018,), (1333191046,), (1333191049,), (1333191060,), (1333191907,), (1333191910,), (1333191945,), (1333191948,), (1333191951,), (1333191955,), (1333191958,), (1333191985,), (1333191987,), (1333192014,), (1333192017,), (1333192020,), (1333192026,), (1333192331,), (1333192334,), (1333192338,), (1333192342,), (1333192346,), (1333192540,), (1333192550,), (1333192555,), (1333192586,), (1333192606,), (1333192608,), (1333192610,), (1333192611,), (1333192831,), (1333192844,), (1333192879,), (1333192882,), (1333192885,), (1333192908,), (1333192931,), (1333192933,), (1333192935,), (1333192977,), (1333193195,), (1333193193,), (1333193194,), (1333193243,), (1333193244,), (1333193246,), (1333193249,), (1333193251,), (1333193283,), (1333193285,), (1333193286,), (1333193287,), (1333193290,), (1333193327,), (1333193334,), (1333193368,), (1333193369,), (1333193371,), (1333193373,), (1333193374,), (1333193376,), (1333193433,), (1333193436,), (1333193439,), (1333193443,), (1333193486,), (1333193489,), (1333193512,), (1333193515,), (1333193519,), (1333193534,), (1333193598,), (1333193602,), (1333193606,), (1333193607,), (1333193749,), (1333193862,), (1333194437,), (1333194439,), (1333194441,), (1333194443,), (1333194709,), (1333194747,), (1333194759,), (1333194766,), (1333194769,), (1333194797,), (1333194798,), (1333194801,), (1333194804,), (1333194808,), (1333194810,), (1333194832,), (1333194835,), (1333194839,), (1333194972,), (1333194996,), (1333194998,), (1333195196,), (1333195205,), (1333195225,), (1333195244,), (1333195274,), (1333195277,), (1333195278,), (1333195280,), (1333195283,), (1333195318,), (1333195306,), (1333195308,), (1333195311,), (1333195316,), (1333195372,), (1333195374,), (1333195376,), (1333195378,), (1333195473,), (1333195475,), (1333195507,), (1333195508,), (1333195510,), (1333195513,), (1333195544,), (1333195546,), (1333195548,), (1333195552,), (1333195619,), (1333195645,), (1333195647,), (1333195649,), (1333195651,), (1333195688,), (1333195690,), (1333195691,), (1333195693,), (1333195697,), (1333195736,), (1333195737,), (1333195740,), (1333195746,), (1333195936,), (1333195938,), (1333195942,), (1333195988,), (1333195993,), (1333196080,), (1333196082,), (1333196083,), (1333196085,), (1333196118,), (1333196500,), (1333196502,), (1333196504,), (1333196520,), (1333196527,), (1333196554,), (1333196557,), (1333196559,), (1333200458,), (1333201884,), (1333201930,), (1333201932,), (1333201935,), (1333202030,), (1333202035,), (1333202233,), (1333202255,), (1333202258,), (1333202346,), (1333202353,), (1333202408,), (1333202426,), (1333202429,), (1333202432,), (1333202628,), (1333202649,), (1333202703,), (1333202706,), (1333202708,), (1333202710,), (1333202791,), (1333202793,), (1333202796,), (1333202798,), (1333203476,), (1333204840,), (1333204862,), (1333204867,), (1333204868,), (1333204869,), (1333204872,), (1333204900,), (1333204894,), (1333204896,), (1333204897,), (1333204898,), (1333204925,), (1333204927,), (1333204929,), (1333204931,), (1333204970,), (1333205035,), (1333205553,), (1333205576,), (1333205582,), (1333205586,), (1333205743,), (1333205752,), (1333205757,), (1333205759,), (1333205765,), (1333205812,), (1333205814,), (1333205816,), (1333205818,), (1333206670,), (1333206672,), (1333207085,), (1333207088,), (1333207112,), (1333207116,), (1333207139,), (1333207184,), (1333207215,), (1333207216,), (1333207217,), (1333207218,), (1333207294,), (1333207297,), (1333207299,), (1333207302,), (1333207304,), (1333207387,), (1333207427,), (1333207436,), (1333207437,), (1333207464,), (1333207468,), (1333207573,), (1333207598,), (1333207618,), (1333207656,), (1333207855,), (1333207857,), (1333207859,), (1333207907,), (1333207942,), (1333207945,), (1333208003,), (1333208008,), (1333208010,), (1333208011,), (1333208059,), (1333208047,), (1333208049,), (1333208051,), (1333208055,), (1333208086,), (1333208095,), (1333208099,), (1333208110,), (1333208142,), (1333208165,), (1333208483,), (1333208507,), (1333208510,), (1333208525,), (1333208587,), (1333208589,), (1333208592,), (1333208595,), (1333208597,), (1333208602,), (1333208619,), (1333208620,), (1333208621,), (1333208623,), (1333208625,), (1333208728,), (1333208736,), (1333208785,), (1333208788,), (1333208831,), (1333208833,), (1333208835,), (1333208839,), (1333208842,), (1333208847,), (1333208865,), (1333209010,), (1333209018,), (1333209094,), (1333209147,), (1333209320,), (1333209327,), (1333209329,), (1333209330,), (1333209484,), (1333210172,), (1333210174,), (1333210175,), (1333210296,), (1333210456,), (1333210460,), (1333210463,), (1333210466,), (1333210587,), (1333210588,), (1333210589,), (1333210643,), (1333210645,), (1333210648,), (1333210651,), (1333210655,), (1333210658,), (1333210689,), (1333210695,), (1333210698,), (1333210704,), (1333210732,), (1333210734,), (1333210737,), (1333210740,), (1333210745,), (1333210748,), (1333211120,), (1333210952,), (1333210956,), (1333210959,), (1333211005,), (1333211017,), (1333211020,), (1333211054,), (1333211114,), (1333211142,), (1333211155,), (1333211204,), (1333211214,), (1333211220,), (1333211224,), (1333211456,), (1333211460,), (1333211462,), (1333211465,), (1333211550,), (1333211552,), (1333211558,), (1333211564,), (1333211568,), (1333211572,), (1333211606,), (1333211609,), (1333211611,), (1333211764,), (1333211765,), (1333211766,), (1333211767,), (1333211768,), (1333211770,), (1333211794,), (1333211796,), (1333211798,), (1333211800,), (1333211877,), (1333211879,), (1333211881,), (1333211895,), (1333211904,), (1333211908,), (1333211928,), (1333211929,), (1333211932,), (1333211936,), (1333211975,), (1333211977,), (1333211978,), (1333211982,), (1333211984,), (1333211987,), (1333212007,), (1333212009,), (1333212010,), (1333212011,), (1333212060,), (1333212123,), (1333212184,), (1333212212,), (1333212215,), (1333212217,), (1333212404,), (1333212409,), (1333212414,), (1333212418,), (1333212501,), (1333212459,), (1333212464,), (1333212468,), (1333212494,), (1333212594,), (1333212597,), (1333212601,), (1333212602,), (1333212631,), (1333212633,), (1333212634,), (1333212636,), (1333212639,), (1333212667,), (1333212671,), (1333212674,), (1333212676,), (1333212680,), (1333212704,), (1333212723,), (1333212725,), (1333212727,), (1333212733,), (1333212735,), (1333212770,), (1333212773,), (1333212776,), (1333212778,), (1333212782,), (1333212790,), (1333212834,), (1333212837,), (1333212840,), (1333212880,), (1333212953,), (1333213036,), (1333213037,), (1333213059,), (1333213100,), (1333213402,), (1333213417,), (1333213642,), (1333213695,), (1333213709,), (1333213713,), (1333213716,), (1333213720,), (1333213723,), (1333213735,), (1333213738,), (1333213741,), (1333213833,), (1333213851,), (1333213858,), (1333213874,), (1333213876,), (1333213877,), (1333214104,), (1333214296,), (1333214426,), (1333214512,), (1333214949,), (1333214951,), (1333214959,), (1333214965,), (1333215107,), (1333215062,), (1333215099,), (1333215100,), (1333215103,), (1333215602,), (1333215653,), (1333215665,), (1333215678,), (1333215707,), (1333215779,), (1333216108,), (1333216134,), (1333216256,), (1333216366,), (1333216691,), (1333216696,), (1333216712,), (1333216719,), (1333216943,), (1333216966,), (1333216994,), (1333216996,), (1333217022,), (1333217031,), (1333217038,), (1333217040,), (1333217042,), (1333217043,), (1333217074,), (1333217076,), (1333217173,), (1333217176,), (1333217178,), (1333217181,), (1333217211,), (1333217212,), (1333217213,), (1333217215,), (1333217217,), (1333217243,), (1333217245,), (1333217247,), (1333217249,), (1333217324,), (1333217495,), (1333217604,), (1333217787,), (1333217793,), (1333217840,), (1333217842,), (1333217854,), (1333217984,), (1333217987,), (1333217989,), (1333217990,), (1333218037,), (1333218344,), (1333218346,), (1333218392,), (1333218394,), (1333218549,), (1333218581,), (1333218589,), (1333218748,), (1333218695,), (1333218742,), (1333218745,), (1333218783,), (1333218787,), (1333218794,), (1333218803,), (1333218826,), (1333218828,), (1333218829,), (1333218830,), (1333218867,), (1333218869,), (1333218871,), (1333218929,), (1333218933,), (1333218935,), (1333219176,), (1333219195,), (1333219198,), (1333219224,), (1333219227,), (1333219244,), (1333219246,), (1333219249,), (1333219256,), (1333219292,), (1333219293,), (1333219294,), (1333219352,), (1333219470,), (1333220191,), (1333220193,), (1333220214,), (1333220222,), (1333220225,), (1333220540,), (1333220543,), (1333220547,), (1333220550,), (1333220571,), (1333220574,), (1333220577,), (1333220609,), (1333220612,), (1333220616,), (1333220619,), (1333220626,), (1333220638,), (1333220643,), (1333220645,), (1333220653,), (1333220659,), (1333220716,), (1333220718,), (1333220722,), (1333220731,), (1333220737,), (1333220751,), (1333220925,), (1333220966,), (1333221021,), (1333221025,), (1333221031,), (1333221037,), (1333221038,), (1333221214,), (1333221216,), (1333221218,), (1333221221,), (1333221223,), (1333221225,), (1333221249,), (1333221251,), (1333221255,), (1333221256,), (1333220924,), (1333220962,), (1333221022,), (1333221026,), (1333221032,), (1333221042,), (1333221136,), (1333221138,), (1333221155,), (1333221159,), (1333221180,), (1333221232,), (1333221233,), (1333221237,), (1333221238,), (1333221241,), (1333221243,), (1333221245,), (1333221246,), (1333221265,), (1333221267,), (1333221268,), (1333221269,), (1333221270,), (1333221322,), (1333222114,), (1333222116,), (1333222119,), (1333222121,), (1333222123,), (1333222412,), (1333222415,), (1333222416,), (1333222477,), (1333222479,), (1333222489,), (1333222795,), (1333222797,), (1333222799,), (1333222811,), (1333222813,), (1333222815,), (1333222886,), (1333222897,), (1333222899,), (1333222911,), (1333222955,), (1333223139,), (1333223142,), (1333223145,), (1333223154,), (1333223207,), (1333223208,), (1333223209,), (1333223210,), (1333223235,), (1333223237,), (1333223294,), (1333223296,), (1333223322,), (1333223494,), (1333223533,), (1333223557,), (1333223571,), (1333223619,), (1333223847,), (1333223872,), (1333223924,), (1333223959,), (1333223970,), (1333224581,), (1333225628,), (1333225632,), (1333225635,), (1333225638,), (1333225680,), (1333225682,), (1333225683,), (1333225771,), (1333225852,), (1333226237,), (1333226241,), (1333226245,), (1333226285,), (1333226289,), (1333226292,), (1333226294,), (1333226321,), (1333226626,), (1333226639,), (1333226643,), (1333226684,), (1333226689,), (1333226692,), (1333226707,), (1333226718,), (1333226726,), (1333226853,), (1333226858,), (1333226864,), (1333226868,), (1333226872,), (1333226899,), (1333226901,), (1333226904,), (1333226907,), (1333226983,), (1333226997,), (1333227001,), (1333227004,), (1333227007,), (1333227047,), (1333227052,), (1333227058,), (1333227061,), (1333227069,), (1333227106,), (1333227104,), (1333227325,), (1333227366,), (1333227384,), (1333227409,), (1333227429,), (1333227448,), (1333227623,), (1333227631,), (1333227634,), (1333227732,), (1333227737,), (1333227741,), (1333227745,), (1333227749,), (1333227796,), (1333227799,), (1333227911,), (1333227929,), (1333227934,), (1333227968,), (1333227991,), (1333228064,), (1333228067,), (1333228073,), (1333228421,), (1333229695,), (1333229749,), (1333229935,), (1333230012,), (1333230015,), (1333230017,), (1333230018,), (1333230393,), (1333230408,), (1333230493,), (1333230619,), (1333230811,), (1333230817,), (1333230821,), (1333232346,), (1333232353,), (1333232367,), (1333232369,), (1333232647,), (1333232649,), (1333233367,), (1333233388,), (1333233465,), (1333233506,), (1333233548,), (1333233555,), (1333233557,), (1333233568,), (1333233583,), (1333233597,), (1333233661,), (1333233663,), (1333233665,), (1333233717,), (1333233721,), (1333233723,), (1333233727,), (1333233731,), (1333234086,), (1333234089,), (1333234092,), (1333234096,), (1333234099,), (1333234103,), (1333234156,), (1333234147,), (1333234150,), (1333234153,), (1333234210,), (1333234211,), (1333234215,), (1333234228,), (1333234232,), (1333234391,), (1333234401,), (1333234403,), (1333234407,), (1333234448,), (1333234451,), (1333234454,), (1333234456,), (1333234458,), (1333234494,), (1333234554,), (1333234555,), (1333234557,), (1333234559,), (1333234562,), (1333234608,), (1333234611,), (1333234616,), (1333234755,), (1333234777,), (1333235085,), (1333235087,), (1333235090,), (1333235093,), (1333235096,), (1333235299,), (1333235552,), (1333235792,), (1333236085,), (1333236335,), (1333236338,), (1333236473,), (1333236476,), (1333236478,), (1333236683,), (1333236692,), (1333236726,), (1333236968,), (1333237210,), (1333237411,), (1333237430,), (1333237446,), (1333237460,), (1333237467,), (1333237490,), (1333237580,), (1333237591,), (1333237670,), (1333237672,), (1333237675,), (1333237679,), (1333237726,), (1333237863,), (1333237858,), (1333237860,), (1333237905,), (1333237907,), (1333237953,), (1333238082,), (1333238101,), (1333238194,), (1333238202,), (1333238295,), (1333238296,), (1333238349,), (1333238448,), (1333238585,), (1333240284,), (1333242324,), (1333242306,), (1333242415,), (1333242417,), (1333242531,), (1333242642,), (1333242647,), (1333242892,), (1333242896,), (1333242936,), (1333242937,), (1333243003,), (1333243086,), (1333243095,), (1333243096,), (1333243114,), (1333243226,), (1333243229,), (1333243232,), (1333243239,), (1333243242,), (1333243247,), (1333243400,), (1333243423,), (1333243447,), (1333243557,), (1333243561,), (1333243563,), (1333243566,), (1333243849,), (1333243883,), (1333243896,), (1333243901,), (1333243949,), (1333243941,), (1333243944,), (1333243947,), (1333244006,), (1333244010,), (1333244013,), (1333244095,), (1333244097,), (1333244100,), (1333244101,), (1333244117,), (1333244206,), (1333244210,), (1333244212,), (1333244244,), (1333244270,), (1333244327,), (1333244977,), (1333245110,), (1333245209,), (1333246099,), (1333246170,), (1333247727,), (1333247879,), (1333248027,), (1333248202,), (1333248336,), (1333248447,), (1333248958,), (1333249041,), (1333249123,), (1333249193,), (1333249282,), (1333249367,), (1333249964,), (1333250038,), (1333250090,), (1333250157,), (1333250201,), (1333250470,), (1333250472,), (1333250540,), (1333250574,), (1333250687,), (1333250758,), (1333250823,), (1333250888,), (1333250941,), (1333251271,), (1333251343,), (1333251383,), (1333251439,), (1333251831,), (1333251835,), (1333251838,), (1333251846,), (1333251851,), (1333252196,), (1333252206,), (1333252216,), (1333252220,), (1333252225,), (1333261309,), (1333261505,), (1333261536,), (1333261540,), (1333261545,), (1333261550,), (1333261923,), (1333261935,), (1333261939,), (1333261947,), (1333261994,), (1333262076,), (1333262080,), (1333262192,), (1333262230,), (1333262237,), (1333262302,), (1333262306,), (1333262311,), (1333262323,), (1333262335,), (1333262344,), (1333262707,), (1333262809,), (1333262947,), (1333263031,), (1333263226,), (1333263382,), (1333263626,), (1333263630,), (1333263633,), (1333264062,), (1333264067,), (1333264080,), (1333264083,), (1333264141,), (1333264146,), (1333264147,), (1333264153,), (1333264161,), (1333264166,), (1333264226,), (1333264247,), (1333264252,), (1333264258,), (1333264261,), (1333264295,), (1333264299,), (1333264303,), (1333264330,), (1333264424,), (1333264529,), (1333264707,), (1333264742,), (1333264788,), (1333264791,), (1333264839,), (1333264840,), (1333264841,), (1333264842,), (1333264857,), (1333264862,), (1333264930,), (1333264934,), (1333264938,), (1333265802,), (1333265195,), (1333265257,), (1333265431,), (1333265486,), (1333265496,), (1333265533,), (1333265715,), (1333265726,), (1333265730,), (1333265786,), (1333265813,), (1333265815,), (1333265818,), (1333265821,), (1333265826,), (1333265860,), (1333265862,), (1333265864,), (1333265877,), (1333265884,), (1333265889,), (1333266159,), (1333266248,), (1333266250,), (1333266253,), (1333266257,), (1333266341,), (1333266377,), (1333266386,), (1333266395,), (1333266401,), (1333266414,), (1333266616,), (1333266620,), (1333266623,), (1333266627,), (1333266634,), (1333266755,), (1333266769,), (1333266771,), (1333266773,), (1333267177,), (1333267197,), (1333267201,), (1333267205,), (1333267209,), (1333267212,), (1333267247,), (1333267250,), (1333267251,), (1333267255,), (1333267317,), (1333267323,), (1333267389,), (1333267405,), (1333267409,), (1333267444,), (1333267486,), (1333267489,), (1333267498,), (1333267586,), (1333267897,), (1333267938,), (1333267947,), (1333267997,), (1333268010,), (1333268029,), (1333268122,), (1333268128,), (1333268133,), (1333268139,), (1333268154,), (1333268386,), (1333268345,), (1333268582,), (1333268585,), (1333268589,), (1333268594,), (1333268600,), (1333268608,), (1333268628,), (1333268631,), (1333268635,), (1333268673,), (1333268829,), (1333268839,), (1333268842,), (1333268848,), (1333268851,), (1333268941,), (1333268945,), (1333268947,), (1333268949,), (1333268952,), (1333268954,), (1333269044,), (1333269047,), (1333269051,), (1333269391,), (1333269395,), (1333269396,), (1333269400,), (1333269458,), (1333269525,), (1333269622,), (1333269697,), (1333269716,), (1333269720,), (1333269765,), (1333270370,), (1333270360,), (1333270362,), (1333270364,), (1333270420,), (1333270425,), (1333270429,), (1333270431,), (1333270438,), (1333270446,), (1333271001,), (1333271032,), (1333271148,), (1333271391,), (1333271395,), (1333271399,), (1333271401,), (1333271407,), (1333271413,), (1333271572,), (1333271575,), (1333271577,), (1333271580,), (1333271644,), (1333271648,), (1333271652,), (1333271693,), (1333271738,), (1333271783,), (1333272022,), (1333272278,), (1333272465,), (1333272510,), (1333272513,), (1333272517,), (1333272569,), (1333272636,), (1333272827,), (1333272994,), (1333272999,), (1333273002,), (1333273003,), (1333273008,), (1333273013,), (1333273131,), (1333273135,), (1333273137,), (1333273141,), (1333273276,), (1333273280,), (1333273282,), (1333273285,), (1333273289,), (1333273294,), (1333273581,), (1333273584,), (1333273586,), (1333273632,), (1333273915,), (1333273917,), (1333273921,), (1333273924,), (1333273927,), (1333273967,), (1333273970,), (1333273972,), (1333273975,), (1333274036,), (1333274038,), (1333274041,), (1333274044,), (1333274051,), (1333274054,), (1333274125,), (1333274104,), (1333274108,), (1333274110,), (1333274112,), (1333274161,), (1333274164,), (1333274167,), (1333274171,), (1333274175,), (1333274181,), (1333274452,), (1333274455,), (1333274456,), (1333274557,), (1333274581,), (1333274777,), (1333274781,), (1333274783,), (1333274786,), (1333274790,), (1333274794,), (1333274878,), (1333274887,), (1333274897,), (1333275000,), (1333275055,), (1333275144,), (1333275216,), (1333275279,), (1333275347,), (1333275552,), (1333275555,), (1333275557,), (1333275558,), (1333275772,), (1333275843,), (1333275934,), (1333276022,), (1333276095,), (1333276099,), (1333276277,), (1333276278,), (1333276501,), (1333276757,), (1333277010,), (1333277443,), (1333277552,), (1333277656,), (1333277658,), (1333277662,), (1333277970,), (1333277973,), (1333277977,), (1333277983,), (1333277988,), (1333277993,), (1333278212,), (1333278255,), (1333278259,), (1333278648,), (1333278649,), (1333278650,), (1333278651,), (1333278655,), (1333278659,), (1333278698,), (1333278701,), (1333278704,), (1333278707,), (1333278710,), (1333278749,), (1333278752,), (1333278820,), (1333278823,), (1333278827,), (1333278832,), (1333278931,), (1333278918,), (1333278922,), (1333278927,), (1333279029,), (1333279032,), (1333279035,), (1333279094,), (1333279187,), (1333279502,), (1333279505,), (1333279572,), (1333279610,), (1333279614,), (1333279620,), (1333279764,), (1333279767,), (1333279770,), (1333279775,), (1333279913,), (1333279916,), (1333279919,), (1333279925,), (1333279936,), (1333279941,), (1333279988,), (1333279990,), (1333279992,), (1333279993,), (1333280062,), (1333280076,), (1333280191,), (1333280194,), (1333280198,), (1333280503,), (1333280507,), (1333280514,), (1333280520,), (1333280525,), (1333280535,), (1333280637,), (1333280641,), (1333280644,), (1333280646,), (1333280691,), (1333280694,), (1333280696,), (1333280770,), (1333281709,), (1333281712,), (1333281716,), (1333281719,), (1333281721,), (1333281725,), (1333282208,), (1333282256,), (1333282287,), (1333282298,), (1333282816,), (1333282871,), (1333282872,), (1333282874,), (1333282877,), (1333282965,), (1333283489,), (1333283495,), (1333283500,), (1333283556,), (1333283560,), (1333283565,), (1333283569,), (1333283573,), (1333283623,), (1333283604,), (1333283609,), (1333283614,), (1333283619,), (1333283813,), (1333283819,), (1333283828,), (1333283830,), (1333284163,), (1333284177,), (1333284196,), (1333284199,), (1333284250,), (1333284264,), (1333284560,), (1333284562,), (1333284563,), (1333284613,), (1333284619,), (1333284623,), (1333284673,), (1333284676,), (1333284680,), (1333284682,), (1333284823,), (1333284831,), (1333284834,), (1333284835,), (1333284840,), (1333284889,), (1333285145,), (1333285164,), (1333285167,), (1333285171,), (1333285176,), (1333285323,), (1333285326,), (1333285327,), (1333285474,), (1333285476,), (1333285478,), (1333285481,), (1333285483,), (1333285662,), (1333285664,), (1333285667,), (1333285670,), (1333285678,), (1333285685,), (1333285718,), (1333285721,), (1333285724,), (1333285849,), (1333285854,), (1333285858,), (1333285859,), (1333285863,), (1333285867,), (1333285947,), (1333285980,), (1333285983,), (1333285987,), (1333286024,), (1333286028,), (1333286165,), (1333286150,), (1333286154,), (1333286157,), (1333286161,), (1333286659,), (1333286770,), (1333287001,), (1333287014,), (1333287017,), (1333287063,), (1333287357,), (1333287442,), (1333287484,), (1333287487,), (1333287555,), (1333287743,), (1333287839,), (1333287843,), (1333287846,), (1333287880,), (1333287993,), (1333287996,), (1333288043,), (1333288047,), (1333288099,), (1333288217,), (1333288221,), (1333288294,), (1333288300,), (1333288321,), (1333288466,), (1333288473,), (1333288481,), (1333288585,), (1333288587,), (1333288648,), (1333288682,), (1333288824,), (1333288828,), (1333288829,), (1333288879,), (1333288884,), (1333288912,), (1333289091,), (1333289118,), (1333289167,), (1333289173,), (1333289432,), (1333289434,), (1333289437,), (1333289439,), (1333289530,), (1333289582,), (1333289585,), (1333289589,), (1333289638,), (1333289641,), (1333289643,), (1333289646,), (1333289649,), (1333289690,), (1333289684,), (1333289688,), (1333289836,), (1333289899,), (1333289973,), (1333290046,), (1333290207,), (1333290248,), (1333290261,), (1333290264,), (1333290288,), (1333290293,), (1333290458,), (1333290511,), (1333290529,), (1333290533,), (1333290542,), (1333290650,), (1333290666,), (1333290708,), (1333291279,), (1333291339,), (1333291342,), (1333291345,), (1333291400,), (1333291567,), (1333291610,), (1333291615,), (1333291621,), (1333291626,), (1333291629,), (1333291926,), (1333291944,), (1333291998,), (1333292053,), (1333292279,), (1333292281,), (1333292282,), (1333292284,), (1333292286,), (1333292499,), (1333292502,), (1333292505,), (1333292508,), (1333292511,), (1333292580,), (1333292595,), (1333292753,), (1333292825,), (1333292844,), (1333292851,), (1333292860,), (1333292932,), (1333293050,), (1333293052,), (1333293056,), (1333293059,), (1333293061,), (1333293065,), (1333293093,), (1333293095,), (1333293097,), (1333293138,), (1333293142,), (1333293145,), (1333293147,), (1333293273,), (1333293229,), (1333293231,), (1333293233,), (1333293258,), (1333293650,), (1333293654,), (1333293658,), (1333293723,), (1333293873,), (1333294037,), (1333294215,), (1333294220,), (1333294223,), (1333294224,), (1333294226,), (1333294229,), (1333294261,), (1333294263,), (1333294265,), (1333295665,), (1333295668,), (1333295745,), (1333295817,), (1333296441,), (1333296470,), (1333297208,), (1333297213,), (1333297280,), (1333297284,), (1333297289,), (1333297303,), (1333297304,), (1333297355,), (1333297369,), (1333297390,), (1333297391,), (1333297606,), (1333297593,), (1333297598,), (1333297603,), (1333297779,), (1333297785,), (1333297789,), (1333297791,), (1333297795,), (1333297800,), (1333297858,), (1333297862,), (1333297867,), (1333297872,), (1333297910,), (1333297915,), (1333297917,), (1333297921,), (1333297956,), (1333297959,), (1333297984,), (1333297989,), (1333297992,), (1333297995,), (1333298102,), (1333298196,), (1333298203,), (1333298205,), (1333298236,), (1333298241,), (1333298329,), (1333298337,), (1333298485,), (1333300842,), (1333454403,), (1333454882,), (1333454927,), (1333454931,), (1333454935,), (1333455108,), (1333455111,), (1333455391,), (1333455879,), (1333456948,), (1333456951,), (1333456980,), (1333457019,), (1333457231,), (1333457738,), (1333457739,), (1333457773,), (1333457845,), (1333457925,), (1333458887,), (1333459073,), (1333460202,), (1333460216,), (1333460218,), (1333460221,), (1333460657,), (1333460746,), (1333460752,), (1333460777,), (1333461116,), (1333460988,), (1333461063,), (1333461097,), (1333461108,), (1333461555,), (1333461596,), (1333461695,), (1333462374,), (1333462378,), (1333462381,), (1333462386,), (1333462391,), (1333462617,), (1333462620,), (1333462624,), (1333462628,), (1333462632,), (1333462638,), (1333462668,), (1333462671,), (1333462672,), (1333462674,), (1333462817,), (1333463154,), (1333463157,), (1333463159,), (1333463570,), (1333463603,), (1333463710,), (1333463733,), (1333463738,), (1333463743,), (1333463763,), (1333464094,), (1333464171,), (1333464175,), (1333464177,), (1333464180,), (1333464185,), (1333464189,), (1333464219,), (1333464212,), (1333464215,), (1333464386,), (1333464389,), (1333464392,), (1333464394,), (1333464397,), (1333464402,), (1333465203,), (1333465291,), (1333465460,), (1333465530,), (1333465922,), (1333465926,), (1333465930,), (1333465933,), (1333465939,), (1333466354,), (1333466375,), (1333466381,), (1333466385,), (1333466437,), (1333466564,), (1333466565,), (1333466618,), (1333466621,), (1333466624,), (1333466831,), (1333466835,), (1333466842,), (1333466851,), (1333466862,), (1333466921,), (1333466925,), (1333466933,), (1333467065,), (1333467068,), (1333467070,), (1333467178,), (1333467230,), (1333467234,), (1333467238,), (1333467241,), (1333467335,), (1333467347,), (1333467385,), (1333467387,), (1333467399,), (1333467424,), (1333467462,), (1333467466,), (1333467469,), (1333467480,), (1333467514,), (1333467534,), (1333467700,), (1333467739,), (1333467741,), (1333467745,), (1333467794,), (1333467798,), (1333467825,), (1333467828,), (1333467833,), (1333467837,), (1333467847,), (1333467854,), (1333467890,), (1333467879,), (1333467884,), (1333467992,), (1333468042,), (1333468149,), (1333468207,), (1333468218,), (1333468224,), (1333468398,), (1333468401,), (1333468402,), (1333468404,), (1333468407,), (1333468411,), (1333468463,), (1333468466,), (1333468469,), (1333468643,), (1333468646,), (1333468647,), (1333468650,), (1333468653,), (1333468760,), (1333468763,), (1333468818,), (1333468827,), (1333468833,), (1333469051,), (1333469055,), (1333469058,), (1333469062,), (1333469067,), (1333469075,), (1333469100,), (1333469103,), (1333469149,), (1333469152,), (1333469177,), (1333469181,), (1333469784,), (1333469851,), (1333469895,), (1333469946,), (1333470016,), (1333470054,), (1333470543,), (1333470629,), (1333471588,), (1333471657,), (1333471934,), (1333471937,), (1333471942,), (1333471951,), (1333472157,), (1333472247,), (1333472371,), (1333472456,), (1333472462,), (1333472467,), (1333472477,), (1333472518,), (1333472523,), (1333472529,), (1333472535,), (1333472555,), (1333472548,), (1333472551,), (1333472872,), (1333472874,), (1333472901,), (1333472925,), (1333472927,), (1333472968,), (1333472998,), (1333473023,), (1333473033,), (1333473045,), (1333473049,), (1333473052,), (1333473222,), (1333473224,), (1333473226,), (1333473308,), (1333473310,), (1333473317,), (1333473320,), (1333473325,), (1333473337,), (1333473432,), (1333473437,), (1333473480,), (1333473485,), (1333473859,), (1333473861,), (1333473866,), (1333473872,), (1333473875,), (1333474007,), (1333474089,), (1333474190,), (1333474309,), (1333474347,), (1333474400,), (1333474966,), (1333474984,), (1333475146,), (1333475148,), (1333475150,), (1333475151,), (1333475155,), (1333475208,), (1333475666,), (1333475679,), (1333475717,), (1333475736,), (1333475738,), (1333475741,), (1333475898,), (1333475921,), (1333476121,), (1333476179,), (1333476183,), (1333476186,), (1333476217,), (1333476224,), (1333476276,), (1333476279,), (1333476282,), (1333476286,), (1333476432,), (1333476378,), (1333476425,), (1333476428,), (1333476742,), (1333476766,), (1333476768,), (1333476804,), (1333476808,), (1333476841,), (1333476849,), (1333476850,), (1333476982,), (1333476987,), (1333476993,), (1333477073,), (1333477158,), (1333477161,), (1333477166,), (1333477172,), (1333477181,), (1333477220,), (1333477229,), (1333477238,), (1333477243,), (1333477256,), (1333477261,), (1333477459,), (1333477461,), (1333477483,), (1333477503,), (1333477552,), (1333477555,), (1333477557,), (1333477558,), (1333477560,), (1333477585,), (1333477588,), (1333477590,), (1333477592,), (1333477594,), (1333477597,), (1333477633,), (1333477637,), (1333477640,), (1333477644,), (1333477647,), (1333477749,), (1333477753,), (1333477757,), (1333477783,), (1333477788,), (1333477792,), (1333477795,), (1333477799,), (1333477821,), (1333477823,), (1333477828,), (1333477834,), (1333477839,), (1333477884,), (1333477874,), (1333477878,), (1333477879,), (1333478087,), (1333478091,), (1333478093,), (1333478096,), (1333478150,), (1333478155,), (1333478158,), (1333478161,), (1333478163,), (1333478198,), (1333478202,), (1333478207,), (1333478212,), (1333478214,), (1333478218,), (1333478249,), (1333478253,), (1333478256,), (1333478258,), (1333478285,), (1333478291,), (1333478297,), (1333478301,), (1333478303,), (1333478470,), (1333478472,), (1333478474,), (1333478478,), (1333478481,), (1333478562,), (1333478569,), (1333478572,), (1333478595,), (1333478637,), (1333478701,), (1333478703,), (1333478704,), (1333478709,), (1333478715,), (1333478873,), (1333478905,), (1333478907,), (1333478910,), (1333478949,), (1333478951,), (1333478953,), (1333478955,), (1333479011,), (1333479016,), (1333479018,), (1333479020,), (1333479093,), (1333479116,), (1333479119,), (1333479121,), (1333479124,), (1333479130,), (1333479157,), (1333479160,), (1333479164,), (1333479193,), (1333479194,), (1333479199,), (1333479202,), (1333479215,), (1333479324,), (1333479311,), (1333479313,), (1333479315,), (1333479317,), (1333479321,), (1333479408,), (1333479460,), (1333479462,), (1333479591,), (1333479712,), (1333479845,), (1333479926,), (1333479968,), (1333479977,), (1333480248,), (1333480250,), (1333480253,), (1333480255,), (1333480346,), (1333480347,), (1333480349,), (1333480351,), (1333480783,), (1333480851,), (1333480924,), (1333481030,), (1333481210,), (1333482040,), (1333482113,), (1333482193,), (1333482266,), (1333482340,), (1333482483,), (1333482548,), (1333482719,), (1333482769,), (1333482779,), (1333482797,), (1333482882,), (1333482887,), (1333482891,), (1333482956,), (1333483490,), (1333483492,), (1333483496,), (1333483499,), (1333483508,), (1333483575,), (1333483668,), (1333483670,), (1333483672,), (1333483693,), (1333483705,), (1333483799,), (1333483805,), (1333483814,), (1333484006,), (1333484038,), (1333484069,), (1333484122,), (1333484124,), (1333484130,), (1333567220,), (1333164289,), (1333167335,), (1333167339,), (1333167343,), (1333167348,), (1333167352,), (1333167367,), (1333167446,), (1333167449,), (1333167527,), (1333167596,), (1333167664,), (1333167675,), (1333167695,), (1333167699,), (1333167750,), (1333167813,), (1333167820,), (1333167824,), (1333167830,), (1333167849,), (1333167850,), (1333167857,), (1333167858,), (1333167862,), (1333168030,), (1333168088,), (1333168104,), (1333168111,), (1333168116,), (1333168127,), (1333168137,), (1333183289,), (1333183417,), (1333183568,), (1333183762,), (1333183920,), (1333184342,), (1333184408,), (1333184499,), (1333184569,), (1333184574,), (1333184628,), (1333184821,), (1333184826,), (1333184837,), (1333184849,), (1333184861,), (1333184931,), (1333184973,), (1333184978,), (1333185306,), (1333185313,), (1333185314,), (1333185315,), (1333185319,), (1333185373,), (1333185380,), (1333185476,), (1333185489,), (1333185494,), (1333185536,), (1333185547,), (1333185558,), (1333185574,), (1333185578,), (1333185581,), (1333185695,), (1333164286,), (1333167923,), (1333167956,), (1333168022,), (1333168027,), (1333168029,), (1333168149,), (1333168154,), (1333168157,), (1333168160,), (1333168163,), (1333168165,), (1333168211,), (1333168214,), (1333168216,), (1333168220,), (1333168221,), (1333168225,), (1333181146,), (1333181179,), (1333181181,), (1333181183,), (1333181188,), (1333181190,), (1333181192,), (1333181225,), (1333181230,), (1333181234,), (1333181237,), (1333181242,), (1333181243,), (1333181289,), (1333181293,), (1333181309,), (1333181317,), (1333181344,), (1333181354,), (1333181382,), (1333181437,), (1333181486,), (1333181552,), (1333181628,), (1333181860,), (1333181867,), (1333181910,), (1333181949,), (1333181968,), (1333182026,), (1333182387,), (1333182447,), (1333182455,), (1333182457,), (1333182459,), (1333182460,), (1333182461,), (1333182717,), (1333182725,), (1333183189,), (1333183227,), (1333183237,), (1333164281,), (1333164284,), (1333168176,), (1333168178,), (1333168184,), (1333168190,), (1333168197,), (1333168246,), (1333168248,), (1333168253,), (1333168256,), (1333168278,), (1333168281,), (1333168284,), (1333168301,), (1333168324,), (1333168331,), (1333168332,), (1333168344,), (1333168365,), (1333168392,), (1333168412,), (1333168415,), (1333168420,), (1333168439,), (1333168462,), (1333168467,), (1333168470,), (1333168473,), (1333168476,), (1333168479,), (1333178781,), (1333178784,), (1333178936,), (1333179699,), (1333179908,), (1333179916,), (1333179930,), (1333179938,), (1333179957,), (1333179973,), (1333180200,), (1333180298,), (1333180338,), (1333180350,), (1333180657,), (1333180686,), (1333180722,), (1333180726,), (1333180730,), (1333180734,), (1333180826,), (1333180829,), (1333180838,), (1333180841,), (1333180849,), (1333180861,), (1333180863,), (1333180865,), (1333180920,), (1333180957,), (1333180976,), (1333180983,), (1333180988,), (1333180995,), (1333180999,), (1333181015,), (1333181019,), (1333181023,), (1333181024,), (1333181028,), (1333181033,), (1333181069,), (1333181076,), (1333181079,), (1333181080,), (1333181083,), (1333181086,), (1333181110,), (1333181140,), (1333181142,), (1333164272,), (1333164279,), (1333168489,), (1333168496,), (1333168539,), (1333168544,), (1333168546,), (1333168548,), (1333168619,), (1333168623,), (1333168629,), (1333168634,), (1333168641,), (1333168643,), (1333168713,), (1333168717,), (1333168720,), (1333168724,), (1333168727,), (1333168731,), (1333168739,), (1333168740,), (1333168839,), (1333168844,), (1333168849,), (1333168871,), (1333168879,), (1333168921,), (1333168922,), (1333168924,), (1333168951,), (1333168956,), (1333168984,), (1333168989,), (1333168992,), (1333168994,), (1333169143,), (1333169282,), (1333169741,), (1333169746,), (1333169750,), (1333169755,), (1333169758,), (1333169847,), (1333170008,), (1333170128,), (1333170213,), (1333170221,), (1333170224,), (1333170262,), (1333170315,), (1333170320,), (1333170404,), (1333170425,), (1333170432,), (1333170447,), (1333170474,), (1333170477,), (1333170480,), (1333170481,), (1333170526,), (1333170535,), (1333545932,), (1333546046,), (1333546110,), (1333546162,), (1333546164,), (1333546166,), (1333546189,), (1333565702,), (1333565705,), (1333565733,), (1333565805,), (1333565869,), (1333565907,), (1333565910,), (1333565913,), (1333565916,), (1333565920,), (1333565924,), (1333565969,), (1333565977,), (1333565984,), (1333565986,), (1333566014,), (1333566015,), (1333566046,), (1333566050,), (1333566054,), (1333566058,), (1333566063,), (1333566066,), (1333566108,), (1333566112,), (1333566114,), (1333566116,), (1333566121,), (1333566123,), (1333566164,), (1333566166,), (1333566170,), (1333566174,), (1333566177,), (1333566180,), (1333566262,), (1333566266,), (1333566269,), (1333566272,), (1333566274,), (1333566276,), (1333566370,), (1333566378,), (1333566393,), (1333566395,), (1333566398,), (1333566408,), (1333566446,), (1333566448,), (1333566449,), (1333566450,), (1333566451,), (1333566507,), (1333566658,), (1333566663,), (1333566675,), (1333566740,), (1333566750,), (1333566840,), (1333567127,), (1333567146,), (1333567175,), (1333567178,), (1333567180,), (1333567183,), (1333567218,), (1333545928,), (1333546356,), (1333546514,), (1333546518,), (1333546524,), (1333546528,), (1333546530,), (1333546556,), (1333546559,), (1333546560,), (1333546561,), (1333546562,), (1333546565,), (1333546614,), (1333546630,), (1333546635,), (1333546638,), (1333546648,), (1333546654,), (1333546661,), (1333546663,), (1333546664,), (1333546665,), (1333546666,), (1333546668,), (1333549505,), (1333549703,), (1333549929,), (1333550153,), (1333550228,), (1333550231,), (1333564440,), (1333564443,), (1333564451,), (1333564457,), (1333564463,), (1333564464,), (1333564492,), (1333564493,), (1333564495,), (1333564496,), (1333564497,), (1333564499,), (1333564522,), (1333564526,), (1333564529,), (1333564532,), (1333564539,), (1333564549,), (1333564834,), (1333564868,), (1333564871,), (1333564874,), (1333564927,), (1333564952,), (1333565054,), (1333565056,), (1333565057,), (1333565141,), (1333565145,), (1333565198,), (1333565323,), (1333565400,), (1333565472,), (1333565549,), (1333565570,), (1333565572,), (1333565699,), (1333545921,), (1333545924,), (1333546674,), (1333546677,), (1333546680,), (1333546683,), (1333546685,), (1333546793,), (1333547008,), (1333547015,), (1333547016,), (1333547023,), (1333547027,), (1333547031,), (1333547107,), (1333547110,), (1333547147,), (1333547156,), (1333547162,), (1333547165,), (1333547196,), (1333547259,), (1333547282,), (1333547294,), (1333547337,), (1333547339,), (1333547395,), (1333547396,), (1333547397,), (1333547466,), (1333547470,), (1333547482,), (1333547519,), (1333547524,), (1333547529,), (1333547532,), (1333547534,), (1333547537,), (1333547597,), (1333547600,), (1333547605,), (1333547609,), (1333547613,), (1333547685,), (1333547687,), (1333547688,), (1333547708,), (1333547743,), (1333547759,), (1333548604,), (1333548607,), (1333548610,), (1333548612,), (1333548615,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'31012025': {'nb_upload': 33, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20113571]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1333300842, 1333298485, 1333298337, 1333298329, 1333298241, 1333298236, 1333298205, 1333298203, 1333298196, 1333298102, 1333297995, 1333297992, 1333297989, 1333297984, 1333297959, 1333297956, 1333297921, 1333297917, 1333297915, 1333297910, 1333297872, 1333297867, 1333297862, 1333297858, 1333297800, 1333297795, 1333297791, 1333297789, 1333297785, 1333297779, 1333297603, 1333297598, 1333297593] map_info['map_portfolio_photo'] : {20113571: [1333300842, 1333298485, 1333298337, 1333298329, 1333298241, 1333298236, 1333298205, 1333298203, 1333298196, 1333298102, 1333297995, 1333297992, 1333297989, 1333297984, 1333297959, 1333297956, 1333297921, 1333297917, 1333297915, 1333297910, 1333297872, 1333297867, 1333297862, 1333297858, 1333297800, 1333297795, 1333297791, 1333297789, 1333297785, 1333297779, 1333297603, 1333297598, 1333297593]} final : True mtd_id 4302 list_pids : [1333300842, 1333298485, 1333298337, 1333298329, 1333298241, 1333298236, 1333298205, 1333298203, 1333298196, 1333298102, 1333297995, 1333297992, 1333297989, 1333297984, 1333297959, 1333297956, 1333297921, 1333297917, 1333297915, 1333297910, 1333297872, 1333297867, 1333297862, 1333297858, 1333297800, 1333297795, 1333297791, 1333297789, 1333297785, 1333297779, 1333297603, 1333297598, 1333297593] Looping around the photos to save general results len do output : 1 /20113571Didn'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, '2536676') ('4302', '20113571', '1333300842', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333298485', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333298337', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333298329', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333298241', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333298236', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333298205', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333298203', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333298196', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333298102', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333297995', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333297992', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333297989', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333297984', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333297959', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333297956', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333297921', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333297917', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333297915', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333297910', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333297872', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333297867', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333297862', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333297858', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333297800', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333297795', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333297791', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333297789', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333297785', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333297779', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333297603', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333297598', None, None, None, None, None, '2536676') ('4302', None, None, None, None, None, None, None, '2536676') ('4302', '20113571', '1333297593', None, None, None, None, None, '2536676') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 34 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '20113571', 'None', None, None, None, None, '2536676'), ('4302', '20113571', '1333300842', None, None, None, None, None, '2536676'), ('4302', '20113571', '1333298485', None, None, None, None, None, '2536676'), ('4302', '20113571', '1333298337', None, None, None, None, None, '2536676'), ('4302', '20113571', '1333298329', None, None, None, None, None, '2536676'), ('4302', '20113571', '1333298241', None, None, None, None, None, '2536676'), ('4302', '20113571', '1333298236', None, None, None, None, None, '2536676'), ('4302', '20113571', '1333298205', None, None, None, None, None, '2536676'), ('4302', '20113571', '1333298203', None, None, None, None, None, '2536676'), ('4302', '20113571', '1333298196', None, None, None, None, None, '2536676'), ('4302', '20113571', '1333298102', None, None, None, None, None, '2536676'), ('4302', '20113571', '1333297995', None, None, None, None, None, '2536676'), ('4302', '20113571', '1333297992', None, None, None, None, None, '2536676'), ('4302', '20113571', '1333297989', None, None, None, None, None, '2536676'), ('4302', '20113571', '1333297984', None, None, None, None, None, '2536676'), ('4302', '20113571', '1333297959', None, None, None, None, None, '2536676'), ('4302', '20113571', '1333297956', None, None, None, None, None, '2536676'), ('4302', '20113571', '1333297921', None, None, None, None, None, '2536676'), ('4302', '20113571', '1333297917', None, None, None, None, None, '2536676'), ('4302', '20113571', '1333297915', None, None, None, None, None, '2536676'), ('4302', '20113571', '1333297910', None, None, None, None, None, '2536676'), ('4302', '20113571', '1333297872', None, None, None, None, None, '2536676'), ('4302', '20113571', '1333297867', None, None, None, None, None, '2536676'), ('4302', '20113571', '1333297862', None, None, None, None, None, '2536676'), ('4302', '20113571', '1333297858', None, None, None, None, None, '2536676'), ('4302', '20113571', '1333297800', None, None, None, None, None, '2536676'), ('4302', '20113571', '1333297795', None, None, None, None, None, '2536676'), ('4302', '20113571', '1333297791', None, None, None, None, None, '2536676'), ('4302', '20113571', '1333297789', None, None, None, None, None, '2536676'), ('4302', '20113571', '1333297785', None, None, None, None, None, '2536676'), ('4302', '20113571', '1333297779', None, None, None, None, None, '2536676'), ('4302', '20113571', '1333297603', None, None, None, None, None, '2536676'), ('4302', '20113571', '1333297598', None, None, None, None, None, '2536676'), ('4302', '20113571', '1333297593', None, None, None, None, None, '2536676')] time used for this insertion : 0.017342805862426758 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.040541172027588 time spend to save output : 0.017724037170410156 total time spend for step 5 : 3.058265209197998 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 (2536676) 3.09user 2.15system 0:19.05elapsed 27%CPU (0avgtext+0avgdata 163588maxresident)k 968inputs+30416outputs (31major+86650minor)pagefaults 0swaps