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 : 3952296 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 (2731232) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2731232) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22094762 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2731232'] with mtr_portfolio_ids : ['22094762'] and first list_photo_ids : [] new path : /proc/3952296/ Name: python3 Umask: 0002 State: R (running) Tgid: 3952296 Ngid: 0 Pid: 3952296 PPid: 3952295 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 3952296 NSpid: 3952296 NSpgid: 3950499 NSsid: 3950499 VmPeak: 1106932 kB VmSize: 1106932 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 98588 kB VmRSS: 98588 kB RssAnon: 59796 kB RssFile: 38792 kB RssShmem: 0 kB VmData: 865680 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 612 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: 53 nonvoluntary_ctxt_switches: 89 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '3952296', 'Ngid': '0', 'Pid': '3952296', 'PPid': '3952295', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '3952296', 'NSpid': '3952296', 'NSpgid': '3950499', 'NSsid': '3950499', 'VmPeak': '1106932 kB', 'VmSize': '1106932 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '98588 kB', 'VmRSS': '98588 kB', 'RssAnon': '59796 kB', 'RssFile': '38792 kB', 'RssShmem': '0 kB', 'VmData': '865680 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '612 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': '53', 'nonvoluntary_ctxt_switches': '89'} ('datou_batch_current', '3952296', '1106932', '0', '1106932', '865680', '98588', b'', 'marlene', '2731232') 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 (22094762) 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 (2731232 ) ) 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 (22094762) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1350257335, 'portfolio_id': 22094762}, {'photo_id': 1350257223, 'portfolio_id': 22094762}, {'photo_id': 1350257217, 'portfolio_id': 22094762}, {'photo_id': 1350257205, 'portfolio_id': 22094762}, {'photo_id': 1350257158, 'portfolio_id': 22094762}, {'photo_id': 1350256934, 'portfolio_id': 22094762}, {'photo_id': 1350256930, 'portfolio_id': 22094762}, {'photo_id': 1350256746, 'portfolio_id': 22094762}, {'photo_id': 1350256740, 'portfolio_id': 22094762}, {'photo_id': 1350256729, 'portfolio_id': 22094762}, {'photo_id': 1350256720, 'portfolio_id': 22094762}, {'photo_id': 1350256712, 'portfolio_id': 22094762}, {'photo_id': 1350256583, 'portfolio_id': 22094762}, {'photo_id': 1350256578, 'portfolio_id': 22094762}, {'photo_id': 1350256574, 'portfolio_id': 22094762}, {'photo_id': 1350256570, 'portfolio_id': 22094762}, {'photo_id': 1350256564, 'portfolio_id': 22094762}, {'photo_id': 1350256475, 'portfolio_id': 22094762}, {'photo_id': 1350256467, 'portfolio_id': 22094762}, {'photo_id': 1350256460, 'portfolio_id': 22094762}, {'photo_id': 1350256429, 'portfolio_id': 22094762}, {'photo_id': 1350256382, 'portfolio_id': 22094762}, {'photo_id': 1350256379, 'portfolio_id': 22094762}, {'photo_id': 1350256367, 'portfolio_id': 22094762}, {'photo_id': 1350256304, 'portfolio_id': 22094762}, {'photo_id': 1350256301, 'portfolio_id': 22094762}, {'photo_id': 1350256293, 'portfolio_id': 22094762}, {'photo_id': 1350256287, 'portfolio_id': 22094762}, {'photo_id': 1350256280, 'portfolio_id': 22094762}, {'photo_id': 1350256265, 'portfolio_id': 22094762}, {'photo_id': 1350256212, 'portfolio_id': 22094762}, {'photo_id': 1350256119, 'portfolio_id': 22094762}, {'photo_id': 1350256115, 'portfolio_id': 22094762}, {'photo_id': 1350256105, 'portfolio_id': 22094762}, {'photo_id': 1350256025, 'portfolio_id': 22094762}, {'photo_id': 1350256020, 'portfolio_id': 22094762}, {'photo_id': 1350256013, 'portfolio_id': 22094762}] map_portfolio_id_photo_id: {22094762: [1350257335, 1350257223, 1350257217, 1350257205, 1350257158, 1350256934, 1350256930, 1350256746, 1350256740, 1350256729, 1350256720, 1350256712, 1350256583, 1350256578, 1350256574, 1350256570, 1350256564, 1350256475, 1350256467, 1350256460, 1350256429, 1350256382, 1350256379, 1350256367, 1350256304, 1350256301, 1350256293, 1350256287, 1350256280, 1350256265, 1350256212, 1350256119, 1350256115, 1350256105, 1350256025, 1350256020, 1350256013]} ##### Call download_photos : nb_thread : 1 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos ##### After load_data_input time to download the photos : 0.47765493392944336 #### 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 Tue Apr 8 05:42:00 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 (22094762) 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 : 22094762 get user id for portfolio 22094762 get sub ptf for main ptf 22094762, type 3726 and hashtags ['plastique', 'flou', 'Carton_gris', 'Teint_Dans_La_Masse', 'kraft', 'Carton_brun', 'mal_croppe', 'cartonnette', 'papier', 'autre_refus', 'metal', 'environnement'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22094762 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('plastique','flou','Carton_gris','Teint_Dans_La_Masse','kraft','Carton_brun','mal_croppe','cartonnette','papier','autre_refus','metal','environnement')) 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`=22094762 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('plastique','flou','Carton_gris','Teint_Dans_La_Masse','kraft','Carton_brun','mal_croppe','cartonnette','papier','autre_refus','metal','environnement')) AND mptpi.`min_score`=0.5 To do returned map {'Carton_brun': {'main_port_id': 22094762, 'sub_port_id': 22094766, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14578550, 'last_updated_at': datetime.datetime(2025, 4, 7, 9, 46, 29), 'last_updated_at_desc': datetime.datetime(2025, 4, 7, 9, 46, 29), 'last_updated_at_asc': datetime.datetime(2025, 4, 7, 9, 40, 57)}, 'papier': {'main_port_id': 22094762, 'sub_port_id': 22094767, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14578551, 'last_updated_at': datetime.datetime(2025, 4, 7, 9, 46, 29), 'last_updated_at_desc': datetime.datetime(2025, 4, 7, 9, 46, 29), 'last_updated_at_asc': datetime.datetime(2025, 4, 7, 9, 40, 57)}, 'autre_refus': {'main_port_id': 22094762, 'sub_port_id': 22094768, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14578552, 'last_updated_at': datetime.datetime(2025, 4, 7, 9, 46, 29), 'last_updated_at_desc': datetime.datetime(2025, 4, 7, 9, 46, 29), 'last_updated_at_asc': datetime.datetime(2025, 4, 7, 9, 40, 57)}, 'cartonnette': {'main_port_id': 22094762, 'sub_port_id': 22094769, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14578553, 'last_updated_at': datetime.datetime(2025, 4, 7, 9, 46, 29), 'last_updated_at_desc': datetime.datetime(2025, 4, 7, 9, 46, 29), 'last_updated_at_asc': datetime.datetime(2025, 4, 7, 9, 40, 57)}, 'kraft': {'main_port_id': 22094762, 'sub_port_id': 22094770, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14578554, 'last_updated_at': datetime.datetime(2025, 4, 7, 9, 46, 29), 'last_updated_at_desc': datetime.datetime(2025, 4, 7, 9, 46, 29), 'last_updated_at_asc': datetime.datetime(2025, 4, 7, 9, 40, 57)}, 'metal': {'main_port_id': 22094762, 'sub_port_id': 22094771, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14578555, 'last_updated_at': datetime.datetime(2025, 4, 7, 9, 46, 29), 'last_updated_at_desc': datetime.datetime(2025, 4, 7, 9, 46, 29), 'last_updated_at_asc': datetime.datetime(2025, 4, 7, 9, 40, 57)}, 'Teint_Dans_La_Masse': {'main_port_id': 22094762, 'sub_port_id': 22094772, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14578556, 'last_updated_at': datetime.datetime(2025, 4, 7, 9, 46, 29), 'last_updated_at_desc': datetime.datetime(2025, 4, 7, 9, 46, 29), 'last_updated_at_asc': datetime.datetime(2025, 4, 7, 9, 40, 57)}, 'mal_croppe': {'main_port_id': 22094762, 'sub_port_id': 22094773, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14578557, 'last_updated_at': datetime.datetime(2025, 4, 7, 9, 46, 29), 'last_updated_at_desc': datetime.datetime(2025, 4, 7, 9, 46, 29), 'last_updated_at_asc': datetime.datetime(2025, 4, 7, 9, 40, 57)}, 'Carton_gris': {'main_port_id': 22094762, 'sub_port_id': 22094774, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14578558, 'last_updated_at': datetime.datetime(2025, 4, 7, 9, 46, 29), 'last_updated_at_desc': datetime.datetime(2025, 4, 7, 9, 46, 29), 'last_updated_at_asc': datetime.datetime(2025, 4, 7, 9, 40, 57)}, 'plastique': {'main_port_id': 22094762, 'sub_port_id': 22094775, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14578559, 'last_updated_at': datetime.datetime(2025, 4, 7, 9, 46, 29), 'last_updated_at_desc': datetime.datetime(2025, 4, 7, 9, 46, 29), 'last_updated_at_asc': datetime.datetime(2025, 4, 7, 9, 40, 57)}, 'flou': {'main_port_id': 22094762, 'sub_port_id': 22094776, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14578560, 'last_updated_at': datetime.datetime(2025, 4, 7, 9, 46, 29), 'last_updated_at_desc': datetime.datetime(2025, 4, 7, 9, 46, 29), 'last_updated_at_asc': datetime.datetime(2025, 4, 7, 9, 40, 57)}, 'environnement': {'main_port_id': 22094762, 'sub_port_id': 22094777, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14578561, 'last_updated_at': datetime.datetime(2025, 4, 7, 9, 46, 29), 'last_updated_at_desc': datetime.datetime(2025, 4, 7, 9, 46, 29), 'last_updated_at_asc': datetime.datetime(2025, 4, 7, 9, 40, 57)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22094766 , 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=22094762 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 (22094766) result : ((1350257294,), (1350257381,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22094762) result : ((1350256013,), (1350256020,), (1350256025,), (1350256105,), (1350256115,), (1350256119,), (1350256212,), (1350256265,), (1350256280,), (1350256287,), (1350256293,), (1350256301,), (1350256304,), (1350256367,), (1350256379,), (1350256382,), (1350256429,), (1350256460,), (1350256467,), (1350256475,), (1350256564,), (1350256570,), (1350256574,), (1350256578,), (1350256583,), (1350256712,), (1350256720,), (1350256729,), (1350256740,), (1350256746,), (1350256930,), (1350256934,), (1350257158,), (1350257205,), (1350257217,), (1350257223,), (1350257335,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22094767 , 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=22094762 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 (22094767) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22094762) result : ((1350256013,), (1350256020,), (1350256025,), (1350256105,), (1350256115,), (1350256119,), (1350256212,), (1350256265,), (1350256280,), (1350256287,), (1350256293,), (1350256301,), (1350256304,), (1350256367,), (1350256379,), (1350256382,), (1350256429,), (1350256460,), (1350256467,), (1350256475,), (1350256564,), (1350256570,), (1350256574,), (1350256578,), (1350256583,), (1350256712,), (1350256720,), (1350256729,), (1350256740,), (1350256746,), (1350256930,), (1350256934,), (1350257158,), (1350257205,), (1350257217,), (1350257223,), (1350257335,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22094768 , 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=22094762 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 (22094768) result : ((1350256622,), (1350256631,), (1350256632,), (1350256696,), (1350256697,), (1350257363,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22094762) result : ((1350256013,), (1350256020,), (1350256025,), (1350256105,), (1350256115,), (1350256119,), (1350256212,), (1350256265,), (1350256280,), (1350256287,), (1350256293,), (1350256301,), (1350256304,), (1350256367,), (1350256379,), (1350256382,), (1350256429,), (1350256460,), (1350256467,), (1350256475,), (1350256564,), (1350256570,), (1350256574,), (1350256578,), (1350256583,), (1350256712,), (1350256720,), (1350256729,), (1350256740,), (1350256746,), (1350256930,), (1350256934,), (1350257158,), (1350257205,), (1350257217,), (1350257223,), (1350257335,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22094769 , 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=22094762 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 (22094769) result : ((1350256377,), (1350256624,), (1350256703,), (1350256984,), (1350256985,), (1350257374,), (1350257375,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22094762) result : ((1350256013,), (1350256020,), (1350256025,), (1350256105,), (1350256115,), (1350256119,), (1350256212,), (1350256265,), (1350256280,), (1350256287,), (1350256293,), (1350256301,), (1350256304,), (1350256367,), (1350256379,), (1350256382,), (1350256429,), (1350256460,), (1350256467,), (1350256475,), (1350256564,), (1350256570,), (1350256574,), (1350256578,), (1350256583,), (1350256712,), (1350256720,), (1350256729,), (1350256740,), (1350256746,), (1350256930,), (1350256934,), (1350257158,), (1350257205,), (1350257217,), (1350257223,), (1350257335,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22094770 , 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=22094762 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 (22094770) result : ((1350256633,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22094762) result : ((1350256013,), (1350256020,), (1350256025,), (1350256105,), (1350256115,), (1350256119,), (1350256212,), (1350256265,), (1350256280,), (1350256287,), (1350256293,), (1350256301,), (1350256304,), (1350256367,), (1350256379,), (1350256382,), (1350256429,), (1350256460,), (1350256467,), (1350256475,), (1350256564,), (1350256570,), (1350256574,), (1350256578,), (1350256583,), (1350256712,), (1350256720,), (1350256729,), (1350256740,), (1350256746,), (1350256930,), (1350256934,), (1350257158,), (1350257205,), (1350257217,), (1350257223,), (1350257335,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22094771 , 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=22094762 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 (22094771) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22094762) result : ((1350256013,), (1350256020,), (1350256025,), (1350256105,), (1350256115,), (1350256119,), (1350256212,), (1350256265,), (1350256280,), (1350256287,), (1350256293,), (1350256301,), (1350256304,), (1350256367,), (1350256379,), (1350256382,), (1350256429,), (1350256460,), (1350256467,), (1350256475,), (1350256564,), (1350256570,), (1350256574,), (1350256578,), (1350256583,), (1350256712,), (1350256720,), (1350256729,), (1350256740,), (1350256746,), (1350256930,), (1350256934,), (1350257158,), (1350257205,), (1350257217,), (1350257223,), (1350257335,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22094772 , 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=22094762 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 (22094772) result : ((1350256225,), (1350256226,), (1350256227,), (1350256228,), (1350256244,), (1350256245,), (1350256621,), (1350256625,), (1350256626,), (1350256627,), (1350256982,), (1350257310,), (1350257311,), (1350257351,), (1350257359,), (1350257360,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22094762) result : ((1350256013,), (1350256020,), (1350256025,), (1350256105,), (1350256115,), (1350256119,), (1350256212,), (1350256265,), (1350256280,), (1350256287,), (1350256293,), (1350256301,), (1350256304,), (1350256367,), (1350256379,), (1350256382,), (1350256429,), (1350256460,), (1350256467,), (1350256475,), (1350256564,), (1350256570,), (1350256574,), (1350256578,), (1350256583,), (1350256712,), (1350256720,), (1350256729,), (1350256740,), (1350256746,), (1350256930,), (1350256934,), (1350257158,), (1350257205,), (1350257217,), (1350257223,), (1350257335,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22094773 , 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=22094762 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 (22094773) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22094762) result : ((1350256013,), (1350256020,), (1350256025,), (1350256105,), (1350256115,), (1350256119,), (1350256212,), (1350256265,), (1350256280,), (1350256287,), (1350256293,), (1350256301,), (1350256304,), (1350256367,), (1350256379,), (1350256382,), (1350256429,), (1350256460,), (1350256467,), (1350256475,), (1350256564,), (1350256570,), (1350256574,), (1350256578,), (1350256583,), (1350256712,), (1350256720,), (1350256729,), (1350256740,), (1350256746,), (1350256930,), (1350256934,), (1350257158,), (1350257205,), (1350257217,), (1350257223,), (1350257335,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22094774 , 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=22094762 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 (22094774) result : ((1350256246,), (1350257288,), (1350257312,), (1350257365,), (1350257366,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22094762) result : ((1350256013,), (1350256020,), (1350256025,), (1350256105,), (1350256115,), (1350256119,), (1350256212,), (1350256265,), (1350256280,), (1350256287,), (1350256293,), (1350256301,), (1350256304,), (1350256367,), (1350256379,), (1350256382,), (1350256429,), (1350256460,), (1350256467,), (1350256475,), (1350256564,), (1350256570,), (1350256574,), (1350256578,), (1350256583,), (1350256712,), (1350256720,), (1350256729,), (1350256740,), (1350256746,), (1350256930,), (1350256934,), (1350257158,), (1350257205,), (1350257217,), (1350257223,), (1350257335,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22094775 , 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=22094762 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 (22094775) result : ((1350256628,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22094762) result : ((1350256013,), (1350256020,), (1350256025,), (1350256105,), (1350256115,), (1350256119,), (1350256212,), (1350256265,), (1350256280,), (1350256287,), (1350256293,), (1350256301,), (1350256304,), (1350256367,), (1350256379,), (1350256382,), (1350256429,), (1350256460,), (1350256467,), (1350256475,), (1350256564,), (1350256570,), (1350256574,), (1350256578,), (1350256583,), (1350256712,), (1350256720,), (1350256729,), (1350256740,), (1350256746,), (1350256930,), (1350256934,), (1350257158,), (1350257205,), (1350257217,), (1350257223,), (1350257335,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22094776 , 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=22094762 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 (22094776) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22094762) result : ((1350256013,), (1350256020,), (1350256025,), (1350256105,), (1350256115,), (1350256119,), (1350256212,), (1350256265,), (1350256280,), (1350256287,), (1350256293,), (1350256301,), (1350256304,), (1350256367,), (1350256379,), (1350256382,), (1350256429,), (1350256460,), (1350256467,), (1350256475,), (1350256564,), (1350256570,), (1350256574,), (1350256578,), (1350256583,), (1350256712,), (1350256720,), (1350256729,), (1350256740,), (1350256746,), (1350256930,), (1350256934,), (1350257158,), (1350257205,), (1350257217,), (1350257223,), (1350257335,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22094777 , 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=22094762 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 (22094777) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22094762) result : ((1350256013,), (1350256020,), (1350256025,), (1350256105,), (1350256115,), (1350256119,), (1350256212,), (1350256265,), (1350256280,), (1350256287,), (1350256293,), (1350256301,), (1350256304,), (1350256367,), (1350256379,), (1350256382,), (1350256429,), (1350256460,), (1350256467,), (1350256475,), (1350256564,), (1350256570,), (1350256574,), (1350256578,), (1350256583,), (1350256712,), (1350256720,), (1350256729,), (1350256740,), (1350256746,), (1350256930,), (1350256934,), (1350257158,), (1350257205,), (1350257217,), (1350257223,), (1350257335,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22094762 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('plastique','flou','Carton_gris','Teint_Dans_La_Masse','kraft','Carton_brun','mal_croppe','cartonnette','papier','autre_refus','metal','environnement')) 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`=22094762 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('plastique','flou','Carton_gris','Teint_Dans_La_Masse','kraft','Carton_brun','mal_croppe','cartonnette','papier','autre_refus','metal','environnement')) AND mptpi.`min_score`=0.5 To do returned map {'Carton_brun': {'main_port_id': 22094762, 'sub_port_id': 22094778, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14578562, 'last_updated_at': datetime.datetime(2025, 4, 7, 9, 40, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 7, 9, 40, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 7, 9, 40, 59)}, 'papier': {'main_port_id': 22094762, 'sub_port_id': 22094779, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14578563, 'last_updated_at': datetime.datetime(2025, 4, 7, 9, 40, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 7, 9, 40, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 7, 9, 40, 59)}, 'autre_refus': {'main_port_id': 22094762, 'sub_port_id': 22094780, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14578564, 'last_updated_at': datetime.datetime(2025, 4, 7, 9, 40, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 7, 9, 40, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 7, 9, 40, 59)}, 'cartonnette': {'main_port_id': 22094762, 'sub_port_id': 22094781, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14578565, 'last_updated_at': datetime.datetime(2025, 4, 7, 9, 40, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 7, 9, 40, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 7, 9, 40, 59)}, 'kraft': {'main_port_id': 22094762, 'sub_port_id': 22094782, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14578566, 'last_updated_at': datetime.datetime(2025, 4, 7, 9, 40, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 7, 9, 40, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 7, 9, 40, 59)}, 'metal': {'main_port_id': 22094762, 'sub_port_id': 22094783, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14578567, 'last_updated_at': datetime.datetime(2025, 4, 7, 9, 40, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 7, 9, 40, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 7, 9, 40, 59)}, 'Teint_Dans_La_Masse': {'main_port_id': 22094762, 'sub_port_id': 22094784, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14578568, 'last_updated_at': datetime.datetime(2025, 4, 7, 9, 40, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 7, 9, 40, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 7, 9, 40, 59)}, 'mal_croppe': {'main_port_id': 22094762, 'sub_port_id': 22094785, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14578569, 'last_updated_at': datetime.datetime(2025, 4, 7, 9, 40, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 7, 9, 40, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 7, 9, 40, 59)}, 'Carton_gris': {'main_port_id': 22094762, 'sub_port_id': 22094786, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14578570, 'last_updated_at': datetime.datetime(2025, 4, 7, 9, 40, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 7, 9, 40, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 7, 9, 40, 59)}, 'plastique': {'main_port_id': 22094762, 'sub_port_id': 22094787, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14578571, 'last_updated_at': datetime.datetime(2025, 4, 7, 9, 40, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 7, 9, 40, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 7, 9, 40, 59)}, 'flou': {'main_port_id': 22094762, 'sub_port_id': 22094788, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14578572, 'last_updated_at': datetime.datetime(2025, 4, 7, 9, 40, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 7, 9, 40, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 7, 9, 40, 59)}, 'environnement': {'main_port_id': 22094762, 'sub_port_id': 22094789, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14578573, 'last_updated_at': datetime.datetime(2025, 4, 7, 9, 46, 29), 'last_updated_at_desc': datetime.datetime(2025, 4, 7, 9, 46, 29), 'last_updated_at_asc': datetime.datetime(2025, 4, 7, 9, 40, 59)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22094778,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22094766 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22094779,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22094767 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22094780,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22094768 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22094781,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22094769 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22094782,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22094770 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22094783,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22094771 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22094784,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22094772 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22094785,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22094773 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22094786,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22094774 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22094787,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22094775 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22094788,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22094776 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22094789,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22094777 lien utilise dans velours : https://www.fotonower.com/velours/22094778,22094779,22094780,22094781,22094782,22094783,22094784,22094785,22094786,22094787,22094788,22094789?tags=Carton_brun,papier,autre_refus,cartonnette,kraft,metal,Teint_Dans_La_Masse,mal_croppe,Carton_gris,plastique,flou,environnement After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22094762]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1350257335, 1350257223, 1350257217, 1350257205, 1350257158, 1350256934, 1350256930, 1350256746, 1350256740, 1350256729, 1350256720, 1350256712, 1350256583, 1350256578, 1350256574, 1350256570, 1350256564, 1350256475, 1350256467, 1350256460, 1350256429, 1350256382, 1350256379, 1350256367, 1350256304, 1350256301, 1350256293, 1350256287, 1350256280, 1350256265, 1350256212, 1350256119, 1350256115, 1350256105, 1350256025, 1350256020, 1350256013] map_info['map_portfolio_photo'] : {22094762: [1350257335, 1350257223, 1350257217, 1350257205, 1350257158, 1350256934, 1350256930, 1350256746, 1350256740, 1350256729, 1350256720, 1350256712, 1350256583, 1350256578, 1350256574, 1350256570, 1350256564, 1350256475, 1350256467, 1350256460, 1350256429, 1350256382, 1350256379, 1350256367, 1350256304, 1350256301, 1350256293, 1350256287, 1350256280, 1350256265, 1350256212, 1350256119, 1350256115, 1350256105, 1350256025, 1350256020, 1350256013]} final : False mtd_id 4302 list_pids : [1350257335, 1350257223, 1350257217, 1350257205, 1350257158, 1350256934, 1350256930, 1350256746, 1350256740, 1350256729, 1350256720, 1350256712, 1350256583, 1350256578, 1350256574, 1350256570, 1350256564, 1350256475, 1350256467, 1350256460, 1350256429, 1350256382, 1350256379, 1350256367, 1350256304, 1350256301, 1350256293, 1350256287, 1350256280, 1350256265, 1350256212, 1350256119, 1350256115, 1350256105, 1350256025, 1350256020, 1350256013] Looping around the photos to save general results len do output : 1 /22094762. 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, '2731232') ('4302', '22094762', '1350257335', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350257223', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350257217', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350257205', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350257158', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256934', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256930', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256746', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256740', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256729', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256720', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256712', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256583', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256578', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256574', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256570', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256564', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256475', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256467', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256460', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256429', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256382', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256379', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256367', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256304', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256301', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256293', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256287', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256280', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256265', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256212', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256119', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256115', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256105', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256025', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256020', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256013', None, None, None, None, None, '2731232') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 38 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '22094762', "{'Carton_brun': 22094766, 'papier': 22094767, 'autre_refus': 22094768, 'cartonnette': 22094769, 'kraft': 22094770, 'metal': 22094771, 'Teint_Dans_La_Masse': 22094772, 'mal_croppe': 22094773, 'Carton_gris': 22094774, 'plastique': 22094775, 'flou': 22094776, 'environnement': 22094777}", None, None, None, None, '2731232'), ('4302', '22094762', '1350257335', None, None, None, None, None, '2731232'), ('4302', '22094762', '1350257223', None, None, None, None, None, '2731232'), ('4302', '22094762', '1350257217', None, None, None, None, None, '2731232'), ('4302', '22094762', '1350257205', None, None, None, None, None, '2731232'), ('4302', '22094762', '1350257158', None, None, None, None, None, '2731232'), ('4302', '22094762', '1350256934', None, None, None, None, None, '2731232'), ('4302', '22094762', '1350256930', None, None, None, None, None, '2731232'), ('4302', '22094762', '1350256746', None, None, None, None, None, '2731232'), ('4302', '22094762', '1350256740', None, None, None, None, None, '2731232'), ('4302', '22094762', '1350256729', None, None, None, None, None, '2731232'), ('4302', '22094762', '1350256720', None, None, None, None, None, '2731232'), ('4302', '22094762', '1350256712', None, None, None, None, None, '2731232'), ('4302', '22094762', '1350256583', None, None, None, None, None, '2731232'), ('4302', '22094762', '1350256578', None, None, None, None, None, '2731232'), ('4302', '22094762', '1350256574', None, None, None, None, None, '2731232'), ('4302', '22094762', '1350256570', None, None, None, None, None, '2731232'), ('4302', '22094762', '1350256564', None, None, None, None, None, '2731232'), ('4302', '22094762', '1350256475', None, None, None, None, None, '2731232'), ('4302', '22094762', '1350256467', None, None, None, None, None, '2731232'), ('4302', '22094762', '1350256460', None, None, None, None, None, '2731232'), ('4302', '22094762', '1350256429', None, None, None, None, None, '2731232'), ('4302', '22094762', '1350256382', None, None, None, None, None, '2731232'), ('4302', '22094762', '1350256379', None, None, None, None, None, '2731232'), ('4302', '22094762', '1350256367', None, None, None, None, None, '2731232'), ('4302', '22094762', '1350256304', None, None, None, None, None, '2731232'), ('4302', '22094762', '1350256301', None, None, None, None, None, '2731232'), ('4302', '22094762', '1350256293', None, None, None, None, None, '2731232'), ('4302', '22094762', '1350256287', None, None, None, None, None, '2731232'), ('4302', '22094762', '1350256280', None, None, None, None, None, '2731232'), ('4302', '22094762', '1350256265', None, None, None, None, None, '2731232'), ('4302', '22094762', '1350256212', None, None, None, None, None, '2731232'), ('4302', '22094762', '1350256119', None, None, None, None, None, '2731232'), ('4302', '22094762', '1350256115', None, None, None, None, None, '2731232'), ('4302', '22094762', '1350256105', None, None, None, None, None, '2731232'), ('4302', '22094762', '1350256025', None, None, None, None, None, '2731232'), ('4302', '22094762', '1350256020', None, None, None, None, None, '2731232'), ('4302', '22094762', '1350256013', None, None, None, None, None, '2731232')] time used for this insertion : 0.3458068370819092 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.4661896228790283 time spend to save output : 0.3463096618652344 total time spend for step 1 : 3.8124992847442627 step2:final Tue Apr 8 05:42:04 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 (22094762) 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 22094762 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1350256025,1350256020,1350256013,1350256119,1350256115,1350256105,1350256212,1350256304,1350256301,1350256293,1350256287,1350256280,1350256265,1350256382,1350256379,1350256367,1350256475,1350256467,1350256460,1350256429,1350256583,1350256578,1350256574,1350256570,1350256564,1350256746,1350256740,1350256729,1350256720,1350256712,1350256934,1350256930,1350257223,1350257217,1350257205,1350257158,1350257335); 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([22094762]) Inside saveOutput : final : False verbose : True original output for save of step final : {1350257335: ('0.047735805615350235',), 1350257223: ('0.047735805615350235',), 1350257217: ('0.047735805615350235',), 1350257205: ('0.047735805615350235',), 1350257158: ('0.047735805615350235',), 1350256934: ('0.047735805615350235',), 1350256930: ('0.047735805615350235',), 1350256746: ('0.047735805615350235',), 1350256740: ('0.047735805615350235',), 1350256729: ('0.047735805615350235',), 1350256720: ('0.047735805615350235',), 1350256712: ('0.047735805615350235',), 1350256583: ('0.047735805615350235',), 1350256578: ('0.047735805615350235',), 1350256574: ('0.047735805615350235',), 1350256570: ('0.047735805615350235',), 1350256564: ('0.047735805615350235',), 1350256475: ('0.047735805615350235',), 1350256467: ('0.047735805615350235',), 1350256460: ('0.047735805615350235',), 1350256429: ('0.047735805615350235',), 1350256382: ('0.047735805615350235',), 1350256379: ('0.047735805615350235',), 1350256367: ('0.047735805615350235',), 1350256304: ('0.047735805615350235',), 1350256301: ('0.047735805615350235',), 1350256293: ('0.047735805615350235',), 1350256287: ('0.047735805615350235',), 1350256280: ('0.047735805615350235',), 1350256265: ('0.047735805615350235',), 1350256212: ('0.047735805615350235',), 1350256119: ('0.047735805615350235',), 1350256115: ('0.047735805615350235',), 1350256105: ('0.047735805615350235',), 1350256025: ('0.047735805615350235',), 1350256020: ('0.047735805615350235',), 1350256013: ('0.047735805615350235',)} new output for save of step final : {1350257335: ('0.047735805615350235',), 1350257223: ('0.047735805615350235',), 1350257217: ('0.047735805615350235',), 1350257205: ('0.047735805615350235',), 1350257158: ('0.047735805615350235',), 1350256934: ('0.047735805615350235',), 1350256930: ('0.047735805615350235',), 1350256746: ('0.047735805615350235',), 1350256740: ('0.047735805615350235',), 1350256729: ('0.047735805615350235',), 1350256720: ('0.047735805615350235',), 1350256712: ('0.047735805615350235',), 1350256583: ('0.047735805615350235',), 1350256578: ('0.047735805615350235',), 1350256574: ('0.047735805615350235',), 1350256570: ('0.047735805615350235',), 1350256564: ('0.047735805615350235',), 1350256475: ('0.047735805615350235',), 1350256467: ('0.047735805615350235',), 1350256460: ('0.047735805615350235',), 1350256429: ('0.047735805615350235',), 1350256382: ('0.047735805615350235',), 1350256379: ('0.047735805615350235',), 1350256367: ('0.047735805615350235',), 1350256304: ('0.047735805615350235',), 1350256301: ('0.047735805615350235',), 1350256293: ('0.047735805615350235',), 1350256287: ('0.047735805615350235',), 1350256280: ('0.047735805615350235',), 1350256265: ('0.047735805615350235',), 1350256212: ('0.047735805615350235',), 1350256119: ('0.047735805615350235',), 1350256115: ('0.047735805615350235',), 1350256105: ('0.047735805615350235',), 1350256025: ('0.047735805615350235',), 1350256020: ('0.047735805615350235',), 1350256013: ('0.047735805615350235',)} [1350257335, 1350257223, 1350257217, 1350257205, 1350257158, 1350256934, 1350256930, 1350256746, 1350256740, 1350256729, 1350256720, 1350256712, 1350256583, 1350256578, 1350256574, 1350256570, 1350256564, 1350256475, 1350256467, 1350256460, 1350256429, 1350256382, 1350256379, 1350256367, 1350256304, 1350256301, 1350256293, 1350256287, 1350256280, 1350256265, 1350256212, 1350256119, 1350256115, 1350256105, 1350256025, 1350256020, 1350256013] map_info['map_portfolio_photo'] : {22094762: [1350257335, 1350257223, 1350257217, 1350257205, 1350257158, 1350256934, 1350256930, 1350256746, 1350256740, 1350256729, 1350256720, 1350256712, 1350256583, 1350256578, 1350256574, 1350256570, 1350256564, 1350256475, 1350256467, 1350256460, 1350256429, 1350256382, 1350256379, 1350256367, 1350256304, 1350256301, 1350256293, 1350256287, 1350256280, 1350256265, 1350256212, 1350256119, 1350256115, 1350256105, 1350256025, 1350256020, 1350256013]} final : False mtd_id 4302 list_pids : [1350257335, 1350257223, 1350257217, 1350257205, 1350257158, 1350256934, 1350256930, 1350256746, 1350256740, 1350256729, 1350256720, 1350256712, 1350256583, 1350256578, 1350256574, 1350256570, 1350256564, 1350256475, 1350256467, 1350256460, 1350256429, 1350256382, 1350256379, 1350256367, 1350256304, 1350256301, 1350256293, 1350256287, 1350256280, 1350256265, 1350256212, 1350256119, 1350256115, 1350256105, 1350256025, 1350256020, 1350256013] Looping around the photos to save general results len do output : 37 /1350257335.Didn't retrieve data . /1350257223.Didn't retrieve data . /1350257217.Didn't retrieve data . /1350257205.Didn't retrieve data . /1350257158.Didn't retrieve data . /1350256934.Didn't retrieve data . /1350256930.Didn't retrieve data . /1350256746.Didn't retrieve data . /1350256740.Didn't retrieve data . /1350256729.Didn't retrieve data . /1350256720.Didn't retrieve data . /1350256712.Didn't retrieve data . /1350256583.Didn't retrieve data . /1350256578.Didn't retrieve data . /1350256574.Didn't retrieve data . /1350256570.Didn't retrieve data . /1350256564.Didn't retrieve data . /1350256475.Didn't retrieve data . /1350256467.Didn't retrieve data . /1350256460.Didn't retrieve data . /1350256429.Didn't retrieve data . /1350256382.Didn't retrieve data . /1350256379.Didn't retrieve data . /1350256367.Didn't retrieve data . /1350256304.Didn't retrieve data . /1350256301.Didn't retrieve data . /1350256293.Didn't retrieve data . /1350256287.Didn't retrieve data . /1350256280.Didn't retrieve data . /1350256265.Didn't retrieve data . /1350256212.Didn't retrieve data . /1350256119.Didn't retrieve data . /1350256115.Didn't retrieve data . /1350256105.Didn't retrieve data . /1350256025.Didn't retrieve data . /1350256020.Didn't retrieve data . /1350256013.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, '2731232') ('4302', '22094762', '1350257335', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350257223', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350257217', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350257205', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350257158', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256934', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256930', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256746', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256740', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256729', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256720', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256712', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256583', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256578', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256574', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256570', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256564', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256475', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256467', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256460', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256429', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256382', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256379', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256367', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256304', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256301', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256293', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256287', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256280', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256265', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256212', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256119', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256115', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256105', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256025', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256020', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256013', None, None, None, None, None, '2731232') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 111 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '22094762', '1350257335', '0.047735805615350235', None, None, None, None, '2731232'), ('4302', '22094762', '1350257223', '0.047735805615350235', None, None, None, None, '2731232'), ('4302', '22094762', '1350257217', '0.047735805615350235', None, None, None, None, '2731232'), ('4302', '22094762', '1350257205', '0.047735805615350235', None, None, None, None, '2731232'), ('4302', '22094762', '1350257158', '0.047735805615350235', None, None, None, None, '2731232'), ('4302', '22094762', '1350256934', '0.047735805615350235', None, None, None, None, '2731232'), ('4302', '22094762', '1350256930', '0.047735805615350235', None, None, None, None, '2731232'), ('4302', '22094762', '1350256746', '0.047735805615350235', None, None, None, None, '2731232'), ('4302', '22094762', '1350256740', '0.047735805615350235', None, None, None, None, '2731232'), ('4302', '22094762', '1350256729', '0.047735805615350235', None, None, None, None, '2731232'), ('4302', '22094762', '1350256720', '0.047735805615350235', None, None, None, None, '2731232'), ('4302', '22094762', '1350256712', '0.047735805615350235', None, None, None, None, '2731232'), ('4302', '22094762', '1350256583', '0.047735805615350235', None, None, None, None, '2731232'), ('4302', '22094762', '1350256578', '0.047735805615350235', None, None, None, None, '2731232'), ('4302', '22094762', '1350256574', '0.047735805615350235', None, None, None, None, '2731232'), ('4302', '22094762', '1350256570', '0.047735805615350235', None, None, None, None, '2731232'), ('4302', '22094762', '1350256564', '0.047735805615350235', None, None, None, None, '2731232'), ('4302', '22094762', '1350256475', '0.047735805615350235', None, None, None, None, '2731232'), ('4302', '22094762', '1350256467', '0.047735805615350235', None, None, None, None, '2731232'), ('4302', '22094762', '1350256460', '0.047735805615350235', None, None, None, None, '2731232'), ('4302', '22094762', '1350256429', '0.047735805615350235', None, None, None, None, '2731232'), ('4302', '22094762', '1350256382', '0.047735805615350235', None, None, None, None, '2731232'), ('4302', '22094762', '1350256379', '0.047735805615350235', None, None, None, None, '2731232'), ('4302', '22094762', '1350256367', '0.047735805615350235', None, None, None, None, '2731232'), ('4302', '22094762', '1350256304', '0.047735805615350235', None, None, None, None, '2731232'), ('4302', '22094762', '1350256301', '0.047735805615350235', None, None, None, None, '2731232'), ('4302', '22094762', '1350256293', '0.047735805615350235', None, None, None, None, '2731232'), ('4302', '22094762', '1350256287', '0.047735805615350235', None, None, None, None, '2731232'), ('4302', '22094762', '1350256280', '0.047735805615350235', None, None, None, None, '2731232'), ('4302', '22094762', '1350256265', '0.047735805615350235', None, None, None, None, '2731232'), ('4302', '22094762', '1350256212', '0.047735805615350235', None, None, None, None, '2731232'), ('4302', '22094762', '1350256119', '0.047735805615350235', None, None, None, None, '2731232'), ('4302', '22094762', '1350256115', '0.047735805615350235', None, None, None, None, '2731232'), ('4302', '22094762', '1350256105', '0.047735805615350235', None, None, None, None, '2731232'), ('4302', '22094762', '1350256025', '0.047735805615350235', None, None, None, None, '2731232'), ('4302', '22094762', '1350256020', '0.047735805615350235', None, None, None, None, '2731232'), ('4302', '22094762', '1350256013', '0.047735805615350235', None, None, None, None, '2731232')] time used for this insertion : 0.0197904109954834 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.06759858131408691 time spend to save output : 0.02140331268310547 total time spend for step 2 : 0.08900189399719238 step3:velours_tree Tue Apr 8 05:42:04 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 : {22094762: [{'Carton_brun': 22094766, 'papier': 22094767, 'autre_refus': 22094768, 'cartonnette': 22094769, 'kraft': 22094770, 'metal': 22094771, 'Teint_Dans_La_Masse': 22094772, 'mal_croppe': 22094773, 'Carton_gris': 22094774, 'plastique': 22094775, 'flou': 22094776, 'environnement': 22094777}]} input_args_next_step : {22094762: ()} output_args : {22094762: [{'Carton_brun': 22094766, 'papier': 22094767, 'autre_refus': 22094768, 'cartonnette': 22094769, 'kraft': 22094770, 'metal': 22094771, 'Teint_Dans_La_Masse': 22094772, 'mal_croppe': 22094773, 'Carton_gris': 22094774, 'plastique': 22094775, 'flou': 22094776, 'environnement': 22094777}]} args : 22094762 depend.output_id : 0 VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :1, first value : ({'Carton_brun': 22094766, 'papier': 22094767, 'autre_refus': 22094768, 'cartonnette': 22094769, 'kraft': 22094770, 'metal': 22094771, 'Teint_Dans_La_Masse': 22094772, 'mal_croppe': 22094773, 'Carton_gris': 22094774, 'plastique': 22094775, 'flou': 22094776, 'environnement': 22094777},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22094762) 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([22094762]) 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.33414769172668457 time spend to save output : 6.079673767089844e-05 total time spend for step 3 : 0.33420848846435547 step4:send_mail_cod Tue Apr 8 05:42:04 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 : {1350257335: ('0.047735805615350235',), 1350257223: ('0.047735805615350235',), 1350257217: ('0.047735805615350235',), 1350257205: ('0.047735805615350235',), 1350257158: ('0.047735805615350235',), 1350256934: ('0.047735805615350235',), 1350256930: ('0.047735805615350235',), 1350256746: ('0.047735805615350235',), 1350256740: ('0.047735805615350235',), 1350256729: ('0.047735805615350235',), 1350256720: ('0.047735805615350235',), 1350256712: ('0.047735805615350235',), 1350256583: ('0.047735805615350235',), 1350256578: ('0.047735805615350235',), 1350256574: ('0.047735805615350235',), 1350256570: ('0.047735805615350235',), 1350256564: ('0.047735805615350235',), 1350256475: ('0.047735805615350235',), 1350256467: ('0.047735805615350235',), 1350256460: ('0.047735805615350235',), 1350256429: ('0.047735805615350235',), 1350256382: ('0.047735805615350235',), 1350256379: ('0.047735805615350235',), 1350256367: ('0.047735805615350235',), 1350256304: ('0.047735805615350235',), 1350256301: ('0.047735805615350235',), 1350256293: ('0.047735805615350235',), 1350256287: ('0.047735805615350235',), 1350256280: ('0.047735805615350235',), 1350256265: ('0.047735805615350235',), 1350256212: ('0.047735805615350235',), 1350256119: ('0.047735805615350235',), 1350256115: ('0.047735805615350235',), 1350256105: ('0.047735805615350235',), 1350256025: ('0.047735805615350235',), 1350256020: ('0.047735805615350235',), 1350256013: ('0.047735805615350235',)} input_args_next_step : {1350257335: ()} output_args : {1350257335: ('0.047735805615350235',), 1350257223: ('0.047735805615350235',), 1350257217: ('0.047735805615350235',), 1350257205: ('0.047735805615350235',), 1350257158: ('0.047735805615350235',), 1350256934: ('0.047735805615350235',), 1350256930: ('0.047735805615350235',), 1350256746: ('0.047735805615350235',), 1350256740: ('0.047735805615350235',), 1350256729: ('0.047735805615350235',), 1350256720: ('0.047735805615350235',), 1350256712: ('0.047735805615350235',), 1350256583: ('0.047735805615350235',), 1350256578: ('0.047735805615350235',), 1350256574: ('0.047735805615350235',), 1350256570: ('0.047735805615350235',), 1350256564: ('0.047735805615350235',), 1350256475: ('0.047735805615350235',), 1350256467: ('0.047735805615350235',), 1350256460: ('0.047735805615350235',), 1350256429: ('0.047735805615350235',), 1350256382: ('0.047735805615350235',), 1350256379: ('0.047735805615350235',), 1350256367: ('0.047735805615350235',), 1350256304: ('0.047735805615350235',), 1350256301: ('0.047735805615350235',), 1350256293: ('0.047735805615350235',), 1350256287: ('0.047735805615350235',), 1350256280: ('0.047735805615350235',), 1350256265: ('0.047735805615350235',), 1350256212: ('0.047735805615350235',), 1350256119: ('0.047735805615350235',), 1350256115: ('0.047735805615350235',), 1350256105: ('0.047735805615350235',), 1350256025: ('0.047735805615350235',), 1350256020: ('0.047735805615350235',), 1350256013: ('0.047735805615350235',)} args : 1350257335 depend.output_id : 0 input_args_next_step : {1350257335: ('0.047735805615350235',), 1350257223: ()} output_args : {1350257335: ('0.047735805615350235',), 1350257223: ('0.047735805615350235',), 1350257217: ('0.047735805615350235',), 1350257205: ('0.047735805615350235',), 1350257158: ('0.047735805615350235',), 1350256934: ('0.047735805615350235',), 1350256930: ('0.047735805615350235',), 1350256746: ('0.047735805615350235',), 1350256740: ('0.047735805615350235',), 1350256729: ('0.047735805615350235',), 1350256720: ('0.047735805615350235',), 1350256712: ('0.047735805615350235',), 1350256583: ('0.047735805615350235',), 1350256578: ('0.047735805615350235',), 1350256574: ('0.047735805615350235',), 1350256570: ('0.047735805615350235',), 1350256564: ('0.047735805615350235',), 1350256475: ('0.047735805615350235',), 1350256467: ('0.047735805615350235',), 1350256460: ('0.047735805615350235',), 1350256429: ('0.047735805615350235',), 1350256382: ('0.047735805615350235',), 1350256379: ('0.047735805615350235',), 1350256367: ('0.047735805615350235',), 1350256304: ('0.047735805615350235',), 1350256301: ('0.047735805615350235',), 1350256293: ('0.047735805615350235',), 1350256287: ('0.047735805615350235',), 1350256280: ('0.047735805615350235',), 1350256265: ('0.047735805615350235',), 1350256212: ('0.047735805615350235',), 1350256119: ('0.047735805615350235',), 1350256115: ('0.047735805615350235',), 1350256105: ('0.047735805615350235',), 1350256025: ('0.047735805615350235',), 1350256020: ('0.047735805615350235',), 1350256013: ('0.047735805615350235',)} args : 1350257223 depend.output_id : 0 input_args_next_step : {1350257335: ('0.047735805615350235',), 1350257223: ('0.047735805615350235',), 1350257217: ()} output_args : {1350257335: ('0.047735805615350235',), 1350257223: ('0.047735805615350235',), 1350257217: ('0.047735805615350235',), 1350257205: ('0.047735805615350235',), 1350257158: ('0.047735805615350235',), 1350256934: ('0.047735805615350235',), 1350256930: ('0.047735805615350235',), 1350256746: ('0.047735805615350235',), 1350256740: ('0.047735805615350235',), 1350256729: ('0.047735805615350235',), 1350256720: ('0.047735805615350235',), 1350256712: ('0.047735805615350235',), 1350256583: ('0.047735805615350235',), 1350256578: ('0.047735805615350235',), 1350256574: ('0.047735805615350235',), 1350256570: ('0.047735805615350235',), 1350256564: ('0.047735805615350235',), 1350256475: ('0.047735805615350235',), 1350256467: ('0.047735805615350235',), 1350256460: ('0.047735805615350235',), 1350256429: ('0.047735805615350235',), 1350256382: ('0.047735805615350235',), 1350256379: ('0.047735805615350235',), 1350256367: ('0.047735805615350235',), 1350256304: ('0.047735805615350235',), 1350256301: ('0.047735805615350235',), 1350256293: ('0.047735805615350235',), 1350256287: ('0.047735805615350235',), 1350256280: ('0.047735805615350235',), 1350256265: ('0.047735805615350235',), 1350256212: ('0.047735805615350235',), 1350256119: ('0.047735805615350235',), 1350256115: ('0.047735805615350235',), 1350256105: ('0.047735805615350235',), 1350256025: ('0.047735805615350235',), 1350256020: ('0.047735805615350235',), 1350256013: ('0.047735805615350235',)} args : 1350257217 depend.output_id : 0 input_args_next_step : {1350257335: ('0.047735805615350235',), 1350257223: ('0.047735805615350235',), 1350257217: ('0.047735805615350235',), 1350257205: ()} output_args : {1350257335: ('0.047735805615350235',), 1350257223: ('0.047735805615350235',), 1350257217: ('0.047735805615350235',), 1350257205: ('0.047735805615350235',), 1350257158: ('0.047735805615350235',), 1350256934: ('0.047735805615350235',), 1350256930: ('0.047735805615350235',), 1350256746: ('0.047735805615350235',), 1350256740: ('0.047735805615350235',), 1350256729: ('0.047735805615350235',), 1350256720: ('0.047735805615350235',), 1350256712: ('0.047735805615350235',), 1350256583: ('0.047735805615350235',), 1350256578: ('0.047735805615350235',), 1350256574: ('0.047735805615350235',), 1350256570: ('0.047735805615350235',), 1350256564: ('0.047735805615350235',), 1350256475: ('0.047735805615350235',), 1350256467: ('0.047735805615350235',), 1350256460: ('0.047735805615350235',), 1350256429: ('0.047735805615350235',), 1350256382: ('0.047735805615350235',), 1350256379: ('0.047735805615350235',), 1350256367: ('0.047735805615350235',), 1350256304: ('0.047735805615350235',), 1350256301: ('0.047735805615350235',), 1350256293: ('0.047735805615350235',), 1350256287: ('0.047735805615350235',), 1350256280: ('0.047735805615350235',), 1350256265: ('0.047735805615350235',), 1350256212: ('0.047735805615350235',), 1350256119: ('0.047735805615350235',), 1350256115: ('0.047735805615350235',), 1350256105: ('0.047735805615350235',), 1350256025: ('0.047735805615350235',), 1350256020: ('0.047735805615350235',), 1350256013: ('0.047735805615350235',)} args : 1350257205 depend.output_id : 0 input_args_next_step : {1350257335: ('0.047735805615350235',), 1350257223: ('0.047735805615350235',), 1350257217: ('0.047735805615350235',), 1350257205: ('0.047735805615350235',), 1350257158: ()} output_args : {1350257335: ('0.047735805615350235',), 1350257223: ('0.047735805615350235',), 1350257217: ('0.047735805615350235',), 1350257205: ('0.047735805615350235',), 1350257158: ('0.047735805615350235',), 1350256934: ('0.047735805615350235',), 1350256930: ('0.047735805615350235',), 1350256746: ('0.047735805615350235',), 1350256740: ('0.047735805615350235',), 1350256729: ('0.047735805615350235',), 1350256720: ('0.047735805615350235',), 1350256712: ('0.047735805615350235',), 1350256583: ('0.047735805615350235',), 1350256578: ('0.047735805615350235',), 1350256574: ('0.047735805615350235',), 1350256570: ('0.047735805615350235',), 1350256564: ('0.047735805615350235',), 1350256475: ('0.047735805615350235',), 1350256467: ('0.047735805615350235',), 1350256460: ('0.047735805615350235',), 1350256429: ('0.047735805615350235',), 1350256382: ('0.047735805615350235',), 1350256379: ('0.047735805615350235',), 1350256367: ('0.047735805615350235',), 1350256304: ('0.047735805615350235',), 1350256301: ('0.047735805615350235',), 1350256293: ('0.047735805615350235',), 1350256287: ('0.047735805615350235',), 1350256280: ('0.047735805615350235',), 1350256265: ('0.047735805615350235',), 1350256212: ('0.047735805615350235',), 1350256119: ('0.047735805615350235',), 1350256115: ('0.047735805615350235',), 1350256105: ('0.047735805615350235',), 1350256025: ('0.047735805615350235',), 1350256020: ('0.047735805615350235',), 1350256013: ('0.047735805615350235',)} args : 1350257158 depend.output_id : 0 input_args_next_step : {1350257335: ('0.047735805615350235',), 1350257223: ('0.047735805615350235',), 1350257217: ('0.047735805615350235',), 1350257205: ('0.047735805615350235',), 1350257158: ('0.047735805615350235',), 1350256934: ()} output_args : {1350257335: ('0.047735805615350235',), 1350257223: ('0.047735805615350235',), 1350257217: ('0.047735805615350235',), 1350257205: ('0.047735805615350235',), 1350257158: ('0.047735805615350235',), 1350256934: ('0.047735805615350235',), 1350256930: ('0.047735805615350235',), 1350256746: ('0.047735805615350235',), 1350256740: ('0.047735805615350235',), 1350256729: ('0.047735805615350235',), 1350256720: ('0.047735805615350235',), 1350256712: ('0.047735805615350235',), 1350256583: ('0.047735805615350235',), 1350256578: ('0.047735805615350235',), 1350256574: ('0.047735805615350235',), 1350256570: ('0.047735805615350235',), 1350256564: ('0.047735805615350235',), 1350256475: ('0.047735805615350235',), 1350256467: ('0.047735805615350235',), 1350256460: ('0.047735805615350235',), 1350256429: ('0.047735805615350235',), 1350256382: ('0.047735805615350235',), 1350256379: ('0.047735805615350235',), 1350256367: ('0.047735805615350235',), 1350256304: ('0.047735805615350235',), 1350256301: ('0.047735805615350235',), 1350256293: ('0.047735805615350235',), 1350256287: ('0.047735805615350235',), 1350256280: ('0.047735805615350235',), 1350256265: ('0.047735805615350235',), 1350256212: ('0.047735805615350235',), 1350256119: ('0.047735805615350235',), 1350256115: ('0.047735805615350235',), 1350256105: ('0.047735805615350235',), 1350256025: ('0.047735805615350235',), 1350256020: ('0.047735805615350235',), 1350256013: ('0.047735805615350235',)} args : 1350256934 depend.output_id : 0 input_args_next_step : {1350257335: ('0.047735805615350235',), 1350257223: ('0.047735805615350235',), 1350257217: ('0.047735805615350235',), 1350257205: ('0.047735805615350235',), 1350257158: ('0.047735805615350235',), 1350256934: ('0.047735805615350235',), 1350256930: ()} output_args : {1350257335: ('0.047735805615350235',), 1350257223: ('0.047735805615350235',), 1350257217: ('0.047735805615350235',), 1350257205: ('0.047735805615350235',), 1350257158: ('0.047735805615350235',), 1350256934: ('0.047735805615350235',), 1350256930: ('0.047735805615350235',), 1350256746: ('0.047735805615350235',), 1350256740: ('0.047735805615350235',), 1350256729: ('0.047735805615350235',), 1350256720: ('0.047735805615350235',), 1350256712: ('0.047735805615350235',), 1350256583: ('0.047735805615350235',), 1350256578: ('0.047735805615350235',), 1350256574: ('0.047735805615350235',), 1350256570: ('0.047735805615350235',), 1350256564: ('0.047735805615350235',), 1350256475: ('0.047735805615350235',), 1350256467: ('0.047735805615350235',), 1350256460: ('0.047735805615350235',), 1350256429: ('0.047735805615350235',), 1350256382: ('0.047735805615350235',), 1350256379: ('0.047735805615350235',), 1350256367: ('0.047735805615350235',), 1350256304: ('0.047735805615350235',), 1350256301: ('0.047735805615350235',), 1350256293: ('0.047735805615350235',), 1350256287: ('0.047735805615350235',), 1350256280: ('0.047735805615350235',), 1350256265: ('0.047735805615350235',), 1350256212: ('0.047735805615350235',), 1350256119: ('0.047735805615350235',), 1350256115: ('0.047735805615350235',), 1350256105: ('0.047735805615350235',), 1350256025: ('0.047735805615350235',), 1350256020: ('0.047735805615350235',), 1350256013: ('0.047735805615350235',)} args : 1350256930 depend.output_id : 0 input_args_next_step : {1350257335: ('0.047735805615350235',), 1350257223: ('0.047735805615350235',), 1350257217: ('0.047735805615350235',), 1350257205: ('0.047735805615350235',), 1350257158: ('0.047735805615350235',), 1350256934: ('0.047735805615350235',), 1350256930: ('0.047735805615350235',), 1350256746: ()} output_args : {1350257335: ('0.047735805615350235',), 1350257223: ('0.047735805615350235',), 1350257217: ('0.047735805615350235',), 1350257205: ('0.047735805615350235',), 1350257158: ('0.047735805615350235',), 1350256934: ('0.047735805615350235',), 1350256930: ('0.047735805615350235',), 1350256746: ('0.047735805615350235',), 1350256740: ('0.047735805615350235',), 1350256729: ('0.047735805615350235',), 1350256720: ('0.047735805615350235',), 1350256712: ('0.047735805615350235',), 1350256583: ('0.047735805615350235',), 1350256578: ('0.047735805615350235',), 1350256574: ('0.047735805615350235',), 1350256570: ('0.047735805615350235',), 1350256564: ('0.047735805615350235',), 1350256475: ('0.047735805615350235',), 1350256467: ('0.047735805615350235',), 1350256460: ('0.047735805615350235',), 1350256429: ('0.047735805615350235',), 1350256382: ('0.047735805615350235',), 1350256379: ('0.047735805615350235',), 1350256367: ('0.047735805615350235',), 1350256304: ('0.047735805615350235',), 1350256301: ('0.047735805615350235',), 1350256293: ('0.047735805615350235',), 1350256287: ('0.047735805615350235',), 1350256280: ('0.047735805615350235',), 1350256265: ('0.047735805615350235',), 1350256212: ('0.047735805615350235',), 1350256119: ('0.047735805615350235',), 1350256115: ('0.047735805615350235',), 1350256105: ('0.047735805615350235',), 1350256025: ('0.047735805615350235',), 1350256020: ('0.047735805615350235',), 1350256013: ('0.047735805615350235',)} args : 1350256746 depend.output_id : 0 input_args_next_step : {1350257335: ('0.047735805615350235',), 1350257223: ('0.047735805615350235',), 1350257217: ('0.047735805615350235',), 1350257205: ('0.047735805615350235',), 1350257158: ('0.047735805615350235',), 1350256934: ('0.047735805615350235',), 1350256930: ('0.047735805615350235',), 1350256746: ('0.047735805615350235',), 1350256740: ()} output_args : {1350257335: ('0.047735805615350235',), 1350257223: ('0.047735805615350235',), 1350257217: ('0.047735805615350235',), 1350257205: ('0.047735805615350235',), 1350257158: ('0.047735805615350235',), 1350256934: ('0.047735805615350235',), 1350256930: ('0.047735805615350235',), 1350256746: ('0.047735805615350235',), 1350256740: ('0.047735805615350235',), 1350256729: ('0.047735805615350235',), 1350256720: ('0.047735805615350235',), 1350256712: ('0.047735805615350235',), 1350256583: ('0.047735805615350235',), 1350256578: ('0.047735805615350235',), 1350256574: ('0.047735805615350235',), 1350256570: ('0.047735805615350235',), 1350256564: ('0.047735805615350235',), 1350256475: ('0.047735805615350235',), 1350256467: ('0.047735805615350235',), 1350256460: ('0.047735805615350235',), 1350256429: ('0.047735805615350235',), 1350256382: ('0.047735805615350235',), 1350256379: ('0.047735805615350235',), 1350256367: ('0.047735805615350235',), 1350256304: ('0.047735805615350235',), 1350256301: ('0.047735805615350235',), 1350256293: ('0.047735805615350235',), 1350256287: ('0.047735805615350235',), 1350256280: ('0.047735805615350235',), 1350256265: ('0.047735805615350235',), 1350256212: ('0.047735805615350235',), 1350256119: ('0.047735805615350235',), 1350256115: ('0.047735805615350235',), 1350256105: ('0.047735805615350235',), 1350256025: ('0.047735805615350235',), 1350256020: ('0.047735805615350235',), 1350256013: ('0.047735805615350235',)} args : 1350256740 depend.output_id : 0 input_args_next_step : {1350257335: ('0.047735805615350235',), 1350257223: ('0.047735805615350235',), 1350257217: ('0.047735805615350235',), 1350257205: ('0.047735805615350235',), 1350257158: ('0.047735805615350235',), 1350256934: ('0.047735805615350235',), 1350256930: ('0.047735805615350235',), 1350256746: ('0.047735805615350235',), 1350256740: ('0.047735805615350235',), 1350256729: ()} output_args : {1350257335: ('0.047735805615350235',), 1350257223: ('0.047735805615350235',), 1350257217: ('0.047735805615350235',), 1350257205: ('0.047735805615350235',), 1350257158: ('0.047735805615350235',), 1350256934: ('0.047735805615350235',), 1350256930: ('0.047735805615350235',), 1350256746: ('0.047735805615350235',), 1350256740: ('0.047735805615350235',), 1350256729: ('0.047735805615350235',), 1350256720: ('0.047735805615350235',), 1350256712: ('0.047735805615350235',), 1350256583: ('0.047735805615350235',), 1350256578: ('0.047735805615350235',), 1350256574: ('0.047735805615350235',), 1350256570: ('0.047735805615350235',), 1350256564: ('0.047735805615350235',), 1350256475: ('0.047735805615350235',), 1350256467: ('0.047735805615350235',), 1350256460: ('0.047735805615350235',), 1350256429: ('0.047735805615350235',), 1350256382: ('0.047735805615350235',), 1350256379: ('0.047735805615350235',), 1350256367: ('0.047735805615350235',), 1350256304: ('0.047735805615350235',), 1350256301: ('0.047735805615350235',), 1350256293: ('0.047735805615350235',), 1350256287: ('0.047735805615350235',), 1350256280: ('0.047735805615350235',), 1350256265: ('0.047735805615350235',), 1350256212: ('0.047735805615350235',), 1350256119: ('0.047735805615350235',), 1350256115: ('0.047735805615350235',), 1350256105: ('0.047735805615350235',), 1350256025: ('0.047735805615350235',), 1350256020: ('0.047735805615350235',), 1350256013: ('0.047735805615350235',)} args : 1350256729 depend.output_id : 0 input_args_next_step : {1350257335: ('0.047735805615350235',), 1350257223: ('0.047735805615350235',), 1350257217: ('0.047735805615350235',), 1350257205: ('0.047735805615350235',), 1350257158: ('0.047735805615350235',), 1350256934: ('0.047735805615350235',), 1350256930: ('0.047735805615350235',), 1350256746: ('0.047735805615350235',), 1350256740: ('0.047735805615350235',), 1350256729: ('0.047735805615350235',), 1350256720: ()} output_args : {1350257335: ('0.047735805615350235',), 1350257223: ('0.047735805615350235',), 1350257217: ('0.047735805615350235',), 1350257205: ('0.047735805615350235',), 1350257158: ('0.047735805615350235',), 1350256934: ('0.047735805615350235',), 1350256930: ('0.047735805615350235',), 1350256746: ('0.047735805615350235',), 1350256740: ('0.047735805615350235',), 1350256729: ('0.047735805615350235',), 1350256720: ('0.047735805615350235',), 1350256712: ('0.047735805615350235',), 1350256583: ('0.047735805615350235',), 1350256578: ('0.047735805615350235',), 1350256574: ('0.047735805615350235',), 1350256570: ('0.047735805615350235',), 1350256564: ('0.047735805615350235',), 1350256475: ('0.047735805615350235',), 1350256467: ('0.047735805615350235',), 1350256460: ('0.047735805615350235',), 1350256429: ('0.047735805615350235',), 1350256382: ('0.047735805615350235',), 1350256379: ('0.047735805615350235',), 1350256367: ('0.047735805615350235',), 1350256304: ('0.047735805615350235',), 1350256301: ('0.047735805615350235',), 1350256293: ('0.047735805615350235',), 1350256287: ('0.047735805615350235',), 1350256280: ('0.047735805615350235',), 1350256265: ('0.047735805615350235',), 1350256212: ('0.047735805615350235',), 1350256119: ('0.047735805615350235',), 1350256115: ('0.047735805615350235',), 1350256105: ('0.047735805615350235',), 1350256025: ('0.047735805615350235',), 1350256020: ('0.047735805615350235',), 1350256013: ('0.047735805615350235',)} args : 1350256720 depend.output_id : 0 input_args_next_step : {1350257335: ('0.047735805615350235',), 1350257223: ('0.047735805615350235',), 1350257217: ('0.047735805615350235',), 1350257205: ('0.047735805615350235',), 1350257158: ('0.047735805615350235',), 1350256934: ('0.047735805615350235',), 1350256930: ('0.047735805615350235',), 1350256746: ('0.047735805615350235',), 1350256740: ('0.047735805615350235',), 1350256729: ('0.047735805615350235',), 1350256720: ('0.047735805615350235',), 1350256712: ()} output_args : {1350257335: ('0.047735805615350235',), 1350257223: ('0.047735805615350235',), 1350257217: ('0.047735805615350235',), 1350257205: ('0.047735805615350235',), 1350257158: ('0.047735805615350235',), 1350256934: ('0.047735805615350235',), 1350256930: ('0.047735805615350235',), 1350256746: ('0.047735805615350235',), 1350256740: ('0.047735805615350235',), 1350256729: ('0.047735805615350235',), 1350256720: ('0.047735805615350235',), 1350256712: ('0.047735805615350235',), 1350256583: ('0.047735805615350235',), 1350256578: ('0.047735805615350235',), 1350256574: ('0.047735805615350235',), 1350256570: ('0.047735805615350235',), 1350256564: ('0.047735805615350235',), 1350256475: ('0.047735805615350235',), 1350256467: ('0.047735805615350235',), 1350256460: ('0.047735805615350235',), 1350256429: ('0.047735805615350235',), 1350256382: ('0.047735805615350235',), 1350256379: ('0.047735805615350235',), 1350256367: ('0.047735805615350235',), 1350256304: ('0.047735805615350235',), 1350256301: ('0.047735805615350235',), 1350256293: ('0.047735805615350235',), 1350256287: ('0.047735805615350235',), 1350256280: ('0.047735805615350235',), 1350256265: ('0.047735805615350235',), 1350256212: ('0.047735805615350235',), 1350256119: ('0.047735805615350235',), 1350256115: ('0.047735805615350235',), 1350256105: ('0.047735805615350235',), 1350256025: ('0.047735805615350235',), 1350256020: ('0.047735805615350235',), 1350256013: ('0.047735805615350235',)} args : 1350256712 depend.output_id : 0 input_args_next_step : {1350257335: ('0.047735805615350235',), 1350257223: ('0.047735805615350235',), 1350257217: ('0.047735805615350235',), 1350257205: ('0.047735805615350235',), 1350257158: ('0.047735805615350235',), 1350256934: ('0.047735805615350235',), 1350256930: ('0.047735805615350235',), 1350256746: ('0.047735805615350235',), 1350256740: ('0.047735805615350235',), 1350256729: ('0.047735805615350235',), 1350256720: ('0.047735805615350235',), 1350256712: ('0.047735805615350235',), 1350256583: ()} output_args : {1350257335: ('0.047735805615350235',), 1350257223: ('0.047735805615350235',), 1350257217: ('0.047735805615350235',), 1350257205: ('0.047735805615350235',), 1350257158: ('0.047735805615350235',), 1350256934: ('0.047735805615350235',), 1350256930: ('0.047735805615350235',), 1350256746: ('0.047735805615350235',), 1350256740: ('0.047735805615350235',), 1350256729: ('0.047735805615350235',), 1350256720: ('0.047735805615350235',), 1350256712: ('0.047735805615350235',), 1350256583: ('0.047735805615350235',), 1350256578: ('0.047735805615350235',), 1350256574: ('0.047735805615350235',), 1350256570: ('0.047735805615350235',), 1350256564: ('0.047735805615350235',), 1350256475: ('0.047735805615350235',), 1350256467: ('0.047735805615350235',), 1350256460: ('0.047735805615350235',), 1350256429: ('0.047735805615350235',), 1350256382: ('0.047735805615350235',), 1350256379: ('0.047735805615350235',), 1350256367: ('0.047735805615350235',), 1350256304: ('0.047735805615350235',), 1350256301: ('0.047735805615350235',), 1350256293: ('0.047735805615350235',), 1350256287: ('0.047735805615350235',), 1350256280: ('0.047735805615350235',), 1350256265: ('0.047735805615350235',), 1350256212: ('0.047735805615350235',), 1350256119: ('0.047735805615350235',), 1350256115: ('0.047735805615350235',), 1350256105: ('0.047735805615350235',), 1350256025: ('0.047735805615350235',), 1350256020: ('0.047735805615350235',), 1350256013: ('0.047735805615350235',)} args : 1350256583 depend.output_id : 0 input_args_next_step : {1350257335: ('0.047735805615350235',), 1350257223: ('0.047735805615350235',), 1350257217: ('0.047735805615350235',), 1350257205: ('0.047735805615350235',), 1350257158: ('0.047735805615350235',), 1350256934: ('0.047735805615350235',), 1350256930: ('0.047735805615350235',), 1350256746: ('0.047735805615350235',), 1350256740: ('0.047735805615350235',), 1350256729: ('0.047735805615350235',), 1350256720: ('0.047735805615350235',), 1350256712: ('0.047735805615350235',), 1350256583: ('0.047735805615350235',), 1350256578: ()} output_args : {1350257335: ('0.047735805615350235',), 1350257223: ('0.047735805615350235',), 1350257217: ('0.047735805615350235',), 1350257205: ('0.047735805615350235',), 1350257158: ('0.047735805615350235',), 1350256934: ('0.047735805615350235',), 1350256930: ('0.047735805615350235',), 1350256746: ('0.047735805615350235',), 1350256740: ('0.047735805615350235',), 1350256729: ('0.047735805615350235',), 1350256720: ('0.047735805615350235',), 1350256712: ('0.047735805615350235',), 1350256583: ('0.047735805615350235',), 1350256578: ('0.047735805615350235',), 1350256574: ('0.047735805615350235',), 1350256570: ('0.047735805615350235',), 1350256564: ('0.047735805615350235',), 1350256475: ('0.047735805615350235',), 1350256467: ('0.047735805615350235',), 1350256460: ('0.047735805615350235',), 1350256429: ('0.047735805615350235',), 1350256382: ('0.047735805615350235',), 1350256379: ('0.047735805615350235',), 1350256367: ('0.047735805615350235',), 1350256304: ('0.047735805615350235',), 1350256301: ('0.047735805615350235',), 1350256293: ('0.047735805615350235',), 1350256287: ('0.047735805615350235',), 1350256280: ('0.047735805615350235',), 1350256265: ('0.047735805615350235',), 1350256212: ('0.047735805615350235',), 1350256119: ('0.047735805615350235',), 1350256115: ('0.047735805615350235',), 1350256105: ('0.047735805615350235',), 1350256025: ('0.047735805615350235',), 1350256020: ('0.047735805615350235',), 1350256013: ('0.047735805615350235',)} args : 1350256578 depend.output_id : 0 input_args_next_step : {1350257335: ('0.047735805615350235',), 1350257223: ('0.047735805615350235',), 1350257217: ('0.047735805615350235',), 1350257205: ('0.047735805615350235',), 1350257158: ('0.047735805615350235',), 1350256934: ('0.047735805615350235',), 1350256930: ('0.047735805615350235',), 1350256746: ('0.047735805615350235',), 1350256740: ('0.047735805615350235',), 1350256729: ('0.047735805615350235',), 1350256720: ('0.047735805615350235',), 1350256712: ('0.047735805615350235',), 1350256583: ('0.047735805615350235',), 1350256578: ('0.047735805615350235',), 1350256574: ()} output_args : {1350257335: ('0.047735805615350235',), 1350257223: ('0.047735805615350235',), 1350257217: ('0.047735805615350235',), 1350257205: ('0.047735805615350235',), 1350257158: ('0.047735805615350235',), 1350256934: ('0.047735805615350235',), 1350256930: ('0.047735805615350235',), 1350256746: ('0.047735805615350235',), 1350256740: ('0.047735805615350235',), 1350256729: ('0.047735805615350235',), 1350256720: ('0.047735805615350235',), 1350256712: ('0.047735805615350235',), 1350256583: ('0.047735805615350235',), 1350256578: ('0.047735805615350235',), 1350256574: ('0.047735805615350235',), 1350256570: ('0.047735805615350235',), 1350256564: ('0.047735805615350235',), 1350256475: ('0.047735805615350235',), 1350256467: ('0.047735805615350235',), 1350256460: ('0.047735805615350235',), 1350256429: ('0.047735805615350235',), 1350256382: ('0.047735805615350235',), 1350256379: ('0.047735805615350235',), 1350256367: ('0.047735805615350235',), 1350256304: ('0.047735805615350235',), 1350256301: ('0.047735805615350235',), 1350256293: ('0.047735805615350235',), 1350256287: ('0.047735805615350235',), 1350256280: ('0.047735805615350235',), 1350256265: ('0.047735805615350235',), 1350256212: ('0.047735805615350235',), 1350256119: ('0.047735805615350235',), 1350256115: ('0.047735805615350235',), 1350256105: ('0.047735805615350235',), 1350256025: ('0.047735805615350235',), 1350256020: ('0.047735805615350235',), 1350256013: ('0.047735805615350235',)} args : 1350256574 depend.output_id : 0 input_args_next_step : {1350257335: ('0.047735805615350235',), 1350257223: ('0.047735805615350235',), 1350257217: ('0.047735805615350235',), 1350257205: ('0.047735805615350235',), 1350257158: ('0.047735805615350235',), 1350256934: ('0.047735805615350235',), 1350256930: ('0.047735805615350235',), 1350256746: ('0.047735805615350235',), 1350256740: ('0.047735805615350235',), 1350256729: ('0.047735805615350235',), 1350256720: ('0.047735805615350235',), 1350256712: ('0.047735805615350235',), 1350256583: ('0.047735805615350235',), 1350256578: ('0.047735805615350235',), 1350256574: ('0.047735805615350235',), 1350256570: ()} output_args : {1350257335: ('0.047735805615350235',), 1350257223: ('0.047735805615350235',), 1350257217: ('0.047735805615350235',), 1350257205: ('0.047735805615350235',), 1350257158: ('0.047735805615350235',), 1350256934: ('0.047735805615350235',), 1350256930: ('0.047735805615350235',), 1350256746: ('0.047735805615350235',), 1350256740: ('0.047735805615350235',), 1350256729: ('0.047735805615350235',), 1350256720: ('0.047735805615350235',), 1350256712: ('0.047735805615350235',), 1350256583: ('0.047735805615350235',), 1350256578: ('0.047735805615350235',), 1350256574: ('0.047735805615350235',), 1350256570: ('0.047735805615350235',), 1350256564: ('0.047735805615350235',), 1350256475: ('0.047735805615350235',), 1350256467: ('0.047735805615350235',), 1350256460: ('0.047735805615350235',), 1350256429: ('0.047735805615350235',), 1350256382: ('0.047735805615350235',), 1350256379: ('0.047735805615350235',), 1350256367: ('0.047735805615350235',), 1350256304: ('0.047735805615350235',), 1350256301: ('0.047735805615350235',), 1350256293: ('0.047735805615350235',), 1350256287: ('0.047735805615350235',), 1350256280: ('0.047735805615350235',), 1350256265: ('0.047735805615350235',), 1350256212: ('0.047735805615350235',), 1350256119: ('0.047735805615350235',), 1350256115: ('0.047735805615350235',), 1350256105: ('0.047735805615350235',), 1350256025: ('0.047735805615350235',), 1350256020: ('0.047735805615350235',), 1350256013: ('0.047735805615350235',)} args : 1350256570 depend.output_id : 0 input_args_next_step : {1350257335: ('0.047735805615350235',), 1350257223: ('0.047735805615350235',), 1350257217: ('0.047735805615350235',), 1350257205: ('0.047735805615350235',), 1350257158: ('0.047735805615350235',), 1350256934: ('0.047735805615350235',), 1350256930: ('0.047735805615350235',), 1350256746: ('0.047735805615350235',), 1350256740: ('0.047735805615350235',), 1350256729: ('0.047735805615350235',), 1350256720: ('0.047735805615350235',), 1350256712: ('0.047735805615350235',), 1350256583: ('0.047735805615350235',), 1350256578: ('0.047735805615350235',), 1350256574: ('0.047735805615350235',), 1350256570: ('0.047735805615350235',), 1350256564: ()} output_args : {1350257335: ('0.047735805615350235',), 1350257223: ('0.047735805615350235',), 1350257217: ('0.047735805615350235',), 1350257205: ('0.047735805615350235',), 1350257158: ('0.047735805615350235',), 1350256934: ('0.047735805615350235',), 1350256930: ('0.047735805615350235',), 1350256746: ('0.047735805615350235',), 1350256740: ('0.047735805615350235',), 1350256729: ('0.047735805615350235',), 1350256720: ('0.047735805615350235',), 1350256712: ('0.047735805615350235',), 1350256583: ('0.047735805615350235',), 1350256578: ('0.047735805615350235',), 1350256574: ('0.047735805615350235',), 1350256570: ('0.047735805615350235',), 1350256564: ('0.047735805615350235',), 1350256475: ('0.047735805615350235',), 1350256467: ('0.047735805615350235',), 1350256460: ('0.047735805615350235',), 1350256429: ('0.047735805615350235',), 1350256382: ('0.047735805615350235',), 1350256379: ('0.047735805615350235',), 1350256367: ('0.047735805615350235',), 1350256304: ('0.047735805615350235',), 1350256301: ('0.047735805615350235',), 1350256293: ('0.047735805615350235',), 1350256287: ('0.047735805615350235',), 1350256280: ('0.047735805615350235',), 1350256265: ('0.047735805615350235',), 1350256212: ('0.047735805615350235',), 1350256119: ('0.047735805615350235',), 1350256115: ('0.047735805615350235',), 1350256105: ('0.047735805615350235',), 1350256025: ('0.047735805615350235',), 1350256020: ('0.047735805615350235',), 1350256013: ('0.047735805615350235',)} args : 1350256564 depend.output_id : 0 input_args_next_step : {1350257335: ('0.047735805615350235',), 1350257223: ('0.047735805615350235',), 1350257217: ('0.047735805615350235',), 1350257205: ('0.047735805615350235',), 1350257158: ('0.047735805615350235',), 1350256934: ('0.047735805615350235',), 1350256930: ('0.047735805615350235',), 1350256746: ('0.047735805615350235',), 1350256740: ('0.047735805615350235',), 1350256729: ('0.047735805615350235',), 1350256720: ('0.047735805615350235',), 1350256712: ('0.047735805615350235',), 1350256583: ('0.047735805615350235',), 1350256578: ('0.047735805615350235',), 1350256574: ('0.047735805615350235',), 1350256570: ('0.047735805615350235',), 1350256564: ('0.047735805615350235',), 1350256475: ()} output_args : {1350257335: ('0.047735805615350235',), 1350257223: ('0.047735805615350235',), 1350257217: ('0.047735805615350235',), 1350257205: ('0.047735805615350235',), 1350257158: ('0.047735805615350235',), 1350256934: ('0.047735805615350235',), 1350256930: ('0.047735805615350235',), 1350256746: ('0.047735805615350235',), 1350256740: ('0.047735805615350235',), 1350256729: ('0.047735805615350235',), 1350256720: ('0.047735805615350235',), 1350256712: ('0.047735805615350235',), 1350256583: ('0.047735805615350235',), 1350256578: ('0.047735805615350235',), 1350256574: ('0.047735805615350235',), 1350256570: ('0.047735805615350235',), 1350256564: ('0.047735805615350235',), 1350256475: ('0.047735805615350235',), 1350256467: ('0.047735805615350235',), 1350256460: ('0.047735805615350235',), 1350256429: ('0.047735805615350235',), 1350256382: ('0.047735805615350235',), 1350256379: ('0.047735805615350235',), 1350256367: ('0.047735805615350235',), 1350256304: ('0.047735805615350235',), 1350256301: ('0.047735805615350235',), 1350256293: ('0.047735805615350235',), 1350256287: ('0.047735805615350235',), 1350256280: ('0.047735805615350235',), 1350256265: ('0.047735805615350235',), 1350256212: ('0.047735805615350235',), 1350256119: ('0.047735805615350235',), 1350256115: ('0.047735805615350235',), 1350256105: ('0.047735805615350235',), 1350256025: ('0.047735805615350235',), 1350256020: ('0.047735805615350235',), 1350256013: ('0.047735805615350235',)} args : 1350256475 depend.output_id : 0 input_args_next_step : {1350257335: ('0.047735805615350235',), 1350257223: ('0.047735805615350235',), 1350257217: ('0.047735805615350235',), 1350257205: ('0.047735805615350235',), 1350257158: ('0.047735805615350235',), 1350256934: ('0.047735805615350235',), 1350256930: ('0.047735805615350235',), 1350256746: ('0.047735805615350235',), 1350256740: ('0.047735805615350235',), 1350256729: ('0.047735805615350235',), 1350256720: ('0.047735805615350235',), 1350256712: ('0.047735805615350235',), 1350256583: ('0.047735805615350235',), 1350256578: ('0.047735805615350235',), 1350256574: ('0.047735805615350235',), 1350256570: ('0.047735805615350235',), 1350256564: ('0.047735805615350235',), 1350256475: ('0.047735805615350235',), 1350256467: ()} output_args : {1350257335: ('0.047735805615350235',), 1350257223: ('0.047735805615350235',), 1350257217: ('0.047735805615350235',), 1350257205: ('0.047735805615350235',), 1350257158: ('0.047735805615350235',), 1350256934: ('0.047735805615350235',), 1350256930: ('0.047735805615350235',), 1350256746: ('0.047735805615350235',), 1350256740: ('0.047735805615350235',), 1350256729: ('0.047735805615350235',), 1350256720: ('0.047735805615350235',), 1350256712: ('0.047735805615350235',), 1350256583: ('0.047735805615350235',), 1350256578: ('0.047735805615350235',), 1350256574: ('0.047735805615350235',), 1350256570: ('0.047735805615350235',), 1350256564: ('0.047735805615350235',), 1350256475: ('0.047735805615350235',), 1350256467: ('0.047735805615350235',), 1350256460: ('0.047735805615350235',), 1350256429: ('0.047735805615350235',), 1350256382: ('0.047735805615350235',), 1350256379: ('0.047735805615350235',), 1350256367: ('0.047735805615350235',), 1350256304: ('0.047735805615350235',), 1350256301: ('0.047735805615350235',), 1350256293: ('0.047735805615350235',), 1350256287: ('0.047735805615350235',), 1350256280: ('0.047735805615350235',), 1350256265: ('0.047735805615350235',), 1350256212: ('0.047735805615350235',), 1350256119: ('0.047735805615350235',), 1350256115: ('0.047735805615350235',), 1350256105: ('0.047735805615350235',), 1350256025: ('0.047735805615350235',), 1350256020: ('0.047735805615350235',), 1350256013: ('0.047735805615350235',)} args : 1350256467 depend.output_id : 0 input_args_next_step : {1350257335: ('0.047735805615350235',), 1350257223: ('0.047735805615350235',), 1350257217: ('0.047735805615350235',), 1350257205: ('0.047735805615350235',), 1350257158: ('0.047735805615350235',), 1350256934: ('0.047735805615350235',), 1350256930: ('0.047735805615350235',), 1350256746: ('0.047735805615350235',), 1350256740: ('0.047735805615350235',), 1350256729: ('0.047735805615350235',), 1350256720: ('0.047735805615350235',), 1350256712: ('0.047735805615350235',), 1350256583: ('0.047735805615350235',), 1350256578: ('0.047735805615350235',), 1350256574: ('0.047735805615350235',), 1350256570: ('0.047735805615350235',), 1350256564: ('0.047735805615350235',), 1350256475: ('0.047735805615350235',), 1350256467: ('0.047735805615350235',), 1350256460: ()} output_args : {1350257335: ('0.047735805615350235',), 1350257223: ('0.047735805615350235',), 1350257217: ('0.047735805615350235',), 1350257205: ('0.047735805615350235',), 1350257158: ('0.047735805615350235',), 1350256934: ('0.047735805615350235',), 1350256930: ('0.047735805615350235',), 1350256746: ('0.047735805615350235',), 1350256740: ('0.047735805615350235',), 1350256729: ('0.047735805615350235',), 1350256720: ('0.047735805615350235',), 1350256712: ('0.047735805615350235',), 1350256583: ('0.047735805615350235',), 1350256578: ('0.047735805615350235',), 1350256574: ('0.047735805615350235',), 1350256570: ('0.047735805615350235',), 1350256564: ('0.047735805615350235',), 1350256475: ('0.047735805615350235',), 1350256467: ('0.047735805615350235',), 1350256460: ('0.047735805615350235',), 1350256429: ('0.047735805615350235',), 1350256382: ('0.047735805615350235',), 1350256379: ('0.047735805615350235',), 1350256367: ('0.047735805615350235',), 1350256304: ('0.047735805615350235',), 1350256301: ('0.047735805615350235',), 1350256293: ('0.047735805615350235',), 1350256287: ('0.047735805615350235',), 1350256280: ('0.047735805615350235',), 1350256265: ('0.047735805615350235',), 1350256212: ('0.047735805615350235',), 1350256119: ('0.047735805615350235',), 1350256115: ('0.047735805615350235',), 1350256105: ('0.047735805615350235',), 1350256025: ('0.047735805615350235',), 1350256020: ('0.047735805615350235',), 1350256013: ('0.047735805615350235',)} args : 1350256460 depend.output_id : 0 input_args_next_step : {1350257335: ('0.047735805615350235',), 1350257223: ('0.047735805615350235',), 1350257217: ('0.047735805615350235',), 1350257205: ('0.047735805615350235',), 1350257158: ('0.047735805615350235',), 1350256934: ('0.047735805615350235',), 1350256930: ('0.047735805615350235',), 1350256746: ('0.047735805615350235',), 1350256740: ('0.047735805615350235',), 1350256729: ('0.047735805615350235',), 1350256720: ('0.047735805615350235',), 1350256712: ('0.047735805615350235',), 1350256583: ('0.047735805615350235',), 1350256578: ('0.047735805615350235',), 1350256574: ('0.047735805615350235',), 1350256570: ('0.047735805615350235',), 1350256564: ('0.047735805615350235',), 1350256475: ('0.047735805615350235',), 1350256467: ('0.047735805615350235',), 1350256460: ('0.047735805615350235',), 1350256429: ()} output_args : {1350257335: ('0.047735805615350235',), 1350257223: ('0.047735805615350235',), 1350257217: ('0.047735805615350235',), 1350257205: ('0.047735805615350235',), 1350257158: ('0.047735805615350235',), 1350256934: ('0.047735805615350235',), 1350256930: ('0.047735805615350235',), 1350256746: ('0.047735805615350235',), 1350256740: ('0.047735805615350235',), 1350256729: ('0.047735805615350235',), 1350256720: ('0.047735805615350235',), 1350256712: ('0.047735805615350235',), 1350256583: ('0.047735805615350235',), 1350256578: ('0.047735805615350235',), 1350256574: ('0.047735805615350235',), 1350256570: ('0.047735805615350235',), 1350256564: ('0.047735805615350235',), 1350256475: ('0.047735805615350235',), 1350256467: ('0.047735805615350235',), 1350256460: ('0.047735805615350235',), 1350256429: ('0.047735805615350235',), 1350256382: ('0.047735805615350235',), 1350256379: ('0.047735805615350235',), 1350256367: ('0.047735805615350235',), 1350256304: ('0.047735805615350235',), 1350256301: ('0.047735805615350235',), 1350256293: ('0.047735805615350235',), 1350256287: ('0.047735805615350235',), 1350256280: ('0.047735805615350235',), 1350256265: ('0.047735805615350235',), 1350256212: ('0.047735805615350235',), 1350256119: ('0.047735805615350235',), 1350256115: ('0.047735805615350235',), 1350256105: ('0.047735805615350235',), 1350256025: ('0.047735805615350235',), 1350256020: ('0.047735805615350235',), 1350256013: ('0.047735805615350235',)} args : 1350256429 depend.output_id : 0 input_args_next_step : {1350257335: ('0.047735805615350235',), 1350257223: ('0.047735805615350235',), 1350257217: ('0.047735805615350235',), 1350257205: ('0.047735805615350235',), 1350257158: ('0.047735805615350235',), 1350256934: ('0.047735805615350235',), 1350256930: ('0.047735805615350235',), 1350256746: ('0.047735805615350235',), 1350256740: ('0.047735805615350235',), 1350256729: ('0.047735805615350235',), 1350256720: ('0.047735805615350235',), 1350256712: ('0.047735805615350235',), 1350256583: ('0.047735805615350235',), 1350256578: ('0.047735805615350235',), 1350256574: ('0.047735805615350235',), 1350256570: ('0.047735805615350235',), 1350256564: ('0.047735805615350235',), 1350256475: ('0.047735805615350235',), 1350256467: ('0.047735805615350235',), 1350256460: ('0.047735805615350235',), 1350256429: ('0.047735805615350235',), 1350256382: ()} output_args : {1350257335: ('0.047735805615350235',), 1350257223: ('0.047735805615350235',), 1350257217: ('0.047735805615350235',), 1350257205: ('0.047735805615350235',), 1350257158: ('0.047735805615350235',), 1350256934: ('0.047735805615350235',), 1350256930: ('0.047735805615350235',), 1350256746: ('0.047735805615350235',), 1350256740: ('0.047735805615350235',), 1350256729: ('0.047735805615350235',), 1350256720: ('0.047735805615350235',), 1350256712: ('0.047735805615350235',), 1350256583: ('0.047735805615350235',), 1350256578: ('0.047735805615350235',), 1350256574: ('0.047735805615350235',), 1350256570: ('0.047735805615350235',), 1350256564: ('0.047735805615350235',), 1350256475: ('0.047735805615350235',), 1350256467: ('0.047735805615350235',), 1350256460: ('0.047735805615350235',), 1350256429: ('0.047735805615350235',), 1350256382: ('0.047735805615350235',), 1350256379: ('0.047735805615350235',), 1350256367: ('0.047735805615350235',), 1350256304: ('0.047735805615350235',), 1350256301: ('0.047735805615350235',), 1350256293: ('0.047735805615350235',), 1350256287: ('0.047735805615350235',), 1350256280: ('0.047735805615350235',), 1350256265: ('0.047735805615350235',), 1350256212: ('0.047735805615350235',), 1350256119: ('0.047735805615350235',), 1350256115: ('0.047735805615350235',), 1350256105: ('0.047735805615350235',), 1350256025: ('0.047735805615350235',), 1350256020: ('0.047735805615350235',), 1350256013: ('0.047735805615350235',)} args : 1350256382 depend.output_id : 0 input_args_next_step : {1350257335: ('0.047735805615350235',), 1350257223: ('0.047735805615350235',), 1350257217: ('0.047735805615350235',), 1350257205: ('0.047735805615350235',), 1350257158: ('0.047735805615350235',), 1350256934: ('0.047735805615350235',), 1350256930: ('0.047735805615350235',), 1350256746: ('0.047735805615350235',), 1350256740: ('0.047735805615350235',), 1350256729: ('0.047735805615350235',), 1350256720: ('0.047735805615350235',), 1350256712: ('0.047735805615350235',), 1350256583: ('0.047735805615350235',), 1350256578: ('0.047735805615350235',), 1350256574: ('0.047735805615350235',), 1350256570: ('0.047735805615350235',), 1350256564: ('0.047735805615350235',), 1350256475: ('0.047735805615350235',), 1350256467: ('0.047735805615350235',), 1350256460: ('0.047735805615350235',), 1350256429: ('0.047735805615350235',), 1350256382: ('0.047735805615350235',), 1350256379: ()} output_args : {1350257335: ('0.047735805615350235',), 1350257223: ('0.047735805615350235',), 1350257217: ('0.047735805615350235',), 1350257205: ('0.047735805615350235',), 1350257158: ('0.047735805615350235',), 1350256934: ('0.047735805615350235',), 1350256930: ('0.047735805615350235',), 1350256746: ('0.047735805615350235',), 1350256740: ('0.047735805615350235',), 1350256729: ('0.047735805615350235',), 1350256720: ('0.047735805615350235',), 1350256712: ('0.047735805615350235',), 1350256583: ('0.047735805615350235',), 1350256578: ('0.047735805615350235',), 1350256574: ('0.047735805615350235',), 1350256570: ('0.047735805615350235',), 1350256564: ('0.047735805615350235',), 1350256475: ('0.047735805615350235',), 1350256467: ('0.047735805615350235',), 1350256460: ('0.047735805615350235',), 1350256429: ('0.047735805615350235',), 1350256382: ('0.047735805615350235',), 1350256379: ('0.047735805615350235',), 1350256367: ('0.047735805615350235',), 1350256304: ('0.047735805615350235',), 1350256301: ('0.047735805615350235',), 1350256293: ('0.047735805615350235',), 1350256287: ('0.047735805615350235',), 1350256280: ('0.047735805615350235',), 1350256265: ('0.047735805615350235',), 1350256212: ('0.047735805615350235',), 1350256119: ('0.047735805615350235',), 1350256115: ('0.047735805615350235',), 1350256105: ('0.047735805615350235',), 1350256025: ('0.047735805615350235',), 1350256020: ('0.047735805615350235',), 1350256013: ('0.047735805615350235',)} args : 1350256379 depend.output_id : 0 input_args_next_step : {1350257335: ('0.047735805615350235',), 1350257223: ('0.047735805615350235',), 1350257217: ('0.047735805615350235',), 1350257205: ('0.047735805615350235',), 1350257158: ('0.047735805615350235',), 1350256934: ('0.047735805615350235',), 1350256930: ('0.047735805615350235',), 1350256746: ('0.047735805615350235',), 1350256740: ('0.047735805615350235',), 1350256729: ('0.047735805615350235',), 1350256720: ('0.047735805615350235',), 1350256712: ('0.047735805615350235',), 1350256583: ('0.047735805615350235',), 1350256578: ('0.047735805615350235',), 1350256574: ('0.047735805615350235',), 1350256570: ('0.047735805615350235',), 1350256564: ('0.047735805615350235',), 1350256475: ('0.047735805615350235',), 1350256467: ('0.047735805615350235',), 1350256460: ('0.047735805615350235',), 1350256429: ('0.047735805615350235',), 1350256382: ('0.047735805615350235',), 1350256379: ('0.047735805615350235',), 1350256367: ()} output_args : {1350257335: ('0.047735805615350235',), 1350257223: ('0.047735805615350235',), 1350257217: ('0.047735805615350235',), 1350257205: ('0.047735805615350235',), 1350257158: ('0.047735805615350235',), 1350256934: ('0.047735805615350235',), 1350256930: ('0.047735805615350235',), 1350256746: ('0.047735805615350235',), 1350256740: ('0.047735805615350235',), 1350256729: ('0.047735805615350235',), 1350256720: ('0.047735805615350235',), 1350256712: ('0.047735805615350235',), 1350256583: ('0.047735805615350235',), 1350256578: ('0.047735805615350235',), 1350256574: ('0.047735805615350235',), 1350256570: ('0.047735805615350235',), 1350256564: ('0.047735805615350235',), 1350256475: ('0.047735805615350235',), 1350256467: ('0.047735805615350235',), 1350256460: ('0.047735805615350235',), 1350256429: ('0.047735805615350235',), 1350256382: ('0.047735805615350235',), 1350256379: ('0.047735805615350235',), 1350256367: ('0.047735805615350235',), 1350256304: ('0.047735805615350235',), 1350256301: ('0.047735805615350235',), 1350256293: ('0.047735805615350235',), 1350256287: ('0.047735805615350235',), 1350256280: ('0.047735805615350235',), 1350256265: ('0.047735805615350235',), 1350256212: ('0.047735805615350235',), 1350256119: ('0.047735805615350235',), 1350256115: ('0.047735805615350235',), 1350256105: ('0.047735805615350235',), 1350256025: ('0.047735805615350235',), 1350256020: ('0.047735805615350235',), 1350256013: ('0.047735805615350235',)} args : 1350256367 depend.output_id : 0 input_args_next_step : {1350257335: ('0.047735805615350235',), 1350257223: ('0.047735805615350235',), 1350257217: ('0.047735805615350235',), 1350257205: ('0.047735805615350235',), 1350257158: ('0.047735805615350235',), 1350256934: ('0.047735805615350235',), 1350256930: ('0.047735805615350235',), 1350256746: ('0.047735805615350235',), 1350256740: ('0.047735805615350235',), 1350256729: ('0.047735805615350235',), 1350256720: ('0.047735805615350235',), 1350256712: ('0.047735805615350235',), 1350256583: ('0.047735805615350235',), 1350256578: ('0.047735805615350235',), 1350256574: ('0.047735805615350235',), 1350256570: ('0.047735805615350235',), 1350256564: ('0.047735805615350235',), 1350256475: ('0.047735805615350235',), 1350256467: ('0.047735805615350235',), 1350256460: ('0.047735805615350235',), 1350256429: ('0.047735805615350235',), 1350256382: ('0.047735805615350235',), 1350256379: ('0.047735805615350235',), 1350256367: ('0.047735805615350235',), 1350256304: ()} output_args : {1350257335: ('0.047735805615350235',), 1350257223: ('0.047735805615350235',), 1350257217: ('0.047735805615350235',), 1350257205: ('0.047735805615350235',), 1350257158: ('0.047735805615350235',), 1350256934: ('0.047735805615350235',), 1350256930: ('0.047735805615350235',), 1350256746: ('0.047735805615350235',), 1350256740: ('0.047735805615350235',), 1350256729: ('0.047735805615350235',), 1350256720: ('0.047735805615350235',), 1350256712: ('0.047735805615350235',), 1350256583: ('0.047735805615350235',), 1350256578: ('0.047735805615350235',), 1350256574: ('0.047735805615350235',), 1350256570: ('0.047735805615350235',), 1350256564: ('0.047735805615350235',), 1350256475: ('0.047735805615350235',), 1350256467: ('0.047735805615350235',), 1350256460: ('0.047735805615350235',), 1350256429: ('0.047735805615350235',), 1350256382: ('0.047735805615350235',), 1350256379: ('0.047735805615350235',), 1350256367: ('0.047735805615350235',), 1350256304: ('0.047735805615350235',), 1350256301: ('0.047735805615350235',), 1350256293: ('0.047735805615350235',), 1350256287: ('0.047735805615350235',), 1350256280: ('0.047735805615350235',), 1350256265: ('0.047735805615350235',), 1350256212: ('0.047735805615350235',), 1350256119: ('0.047735805615350235',), 1350256115: ('0.047735805615350235',), 1350256105: ('0.047735805615350235',), 1350256025: ('0.047735805615350235',), 1350256020: ('0.047735805615350235',), 1350256013: ('0.047735805615350235',)} args : 1350256304 depend.output_id : 0 input_args_next_step : {1350257335: ('0.047735805615350235',), 1350257223: ('0.047735805615350235',), 1350257217: ('0.047735805615350235',), 1350257205: ('0.047735805615350235',), 1350257158: ('0.047735805615350235',), 1350256934: ('0.047735805615350235',), 1350256930: ('0.047735805615350235',), 1350256746: ('0.047735805615350235',), 1350256740: ('0.047735805615350235',), 1350256729: ('0.047735805615350235',), 1350256720: ('0.047735805615350235',), 1350256712: ('0.047735805615350235',), 1350256583: ('0.047735805615350235',), 1350256578: ('0.047735805615350235',), 1350256574: ('0.047735805615350235',), 1350256570: ('0.047735805615350235',), 1350256564: ('0.047735805615350235',), 1350256475: ('0.047735805615350235',), 1350256467: ('0.047735805615350235',), 1350256460: ('0.047735805615350235',), 1350256429: ('0.047735805615350235',), 1350256382: ('0.047735805615350235',), 1350256379: ('0.047735805615350235',), 1350256367: ('0.047735805615350235',), 1350256304: ('0.047735805615350235',), 1350256301: ()} output_args : {1350257335: ('0.047735805615350235',), 1350257223: ('0.047735805615350235',), 1350257217: ('0.047735805615350235',), 1350257205: ('0.047735805615350235',), 1350257158: ('0.047735805615350235',), 1350256934: ('0.047735805615350235',), 1350256930: ('0.047735805615350235',), 1350256746: ('0.047735805615350235',), 1350256740: ('0.047735805615350235',), 1350256729: ('0.047735805615350235',), 1350256720: ('0.047735805615350235',), 1350256712: ('0.047735805615350235',), 1350256583: ('0.047735805615350235',), 1350256578: ('0.047735805615350235',), 1350256574: ('0.047735805615350235',), 1350256570: ('0.047735805615350235',), 1350256564: ('0.047735805615350235',), 1350256475: ('0.047735805615350235',), 1350256467: ('0.047735805615350235',), 1350256460: ('0.047735805615350235',), 1350256429: ('0.047735805615350235',), 1350256382: ('0.047735805615350235',), 1350256379: ('0.047735805615350235',), 1350256367: ('0.047735805615350235',), 1350256304: ('0.047735805615350235',), 1350256301: ('0.047735805615350235',), 1350256293: ('0.047735805615350235',), 1350256287: ('0.047735805615350235',), 1350256280: ('0.047735805615350235',), 1350256265: ('0.047735805615350235',), 1350256212: ('0.047735805615350235',), 1350256119: ('0.047735805615350235',), 1350256115: ('0.047735805615350235',), 1350256105: ('0.047735805615350235',), 1350256025: ('0.047735805615350235',), 1350256020: ('0.047735805615350235',), 1350256013: ('0.047735805615350235',)} args : 1350256301 depend.output_id : 0 input_args_next_step : {1350257335: ('0.047735805615350235',), 1350257223: ('0.047735805615350235',), 1350257217: ('0.047735805615350235',), 1350257205: ('0.047735805615350235',), 1350257158: ('0.047735805615350235',), 1350256934: ('0.047735805615350235',), 1350256930: ('0.047735805615350235',), 1350256746: ('0.047735805615350235',), 1350256740: ('0.047735805615350235',), 1350256729: ('0.047735805615350235',), 1350256720: ('0.047735805615350235',), 1350256712: ('0.047735805615350235',), 1350256583: ('0.047735805615350235',), 1350256578: ('0.047735805615350235',), 1350256574: ('0.047735805615350235',), 1350256570: ('0.047735805615350235',), 1350256564: ('0.047735805615350235',), 1350256475: ('0.047735805615350235',), 1350256467: ('0.047735805615350235',), 1350256460: ('0.047735805615350235',), 1350256429: ('0.047735805615350235',), 1350256382: ('0.047735805615350235',), 1350256379: ('0.047735805615350235',), 1350256367: ('0.047735805615350235',), 1350256304: ('0.047735805615350235',), 1350256301: ('0.047735805615350235',), 1350256293: ()} output_args : {1350257335: ('0.047735805615350235',), 1350257223: ('0.047735805615350235',), 1350257217: ('0.047735805615350235',), 1350257205: ('0.047735805615350235',), 1350257158: ('0.047735805615350235',), 1350256934: ('0.047735805615350235',), 1350256930: ('0.047735805615350235',), 1350256746: ('0.047735805615350235',), 1350256740: ('0.047735805615350235',), 1350256729: ('0.047735805615350235',), 1350256720: ('0.047735805615350235',), 1350256712: ('0.047735805615350235',), 1350256583: ('0.047735805615350235',), 1350256578: ('0.047735805615350235',), 1350256574: ('0.047735805615350235',), 1350256570: ('0.047735805615350235',), 1350256564: ('0.047735805615350235',), 1350256475: ('0.047735805615350235',), 1350256467: ('0.047735805615350235',), 1350256460: ('0.047735805615350235',), 1350256429: ('0.047735805615350235',), 1350256382: ('0.047735805615350235',), 1350256379: ('0.047735805615350235',), 1350256367: ('0.047735805615350235',), 1350256304: ('0.047735805615350235',), 1350256301: ('0.047735805615350235',), 1350256293: ('0.047735805615350235',), 1350256287: ('0.047735805615350235',), 1350256280: ('0.047735805615350235',), 1350256265: ('0.047735805615350235',), 1350256212: ('0.047735805615350235',), 1350256119: ('0.047735805615350235',), 1350256115: ('0.047735805615350235',), 1350256105: ('0.047735805615350235',), 1350256025: ('0.047735805615350235',), 1350256020: ('0.047735805615350235',), 1350256013: ('0.047735805615350235',)} args : 1350256293 depend.output_id : 0 input_args_next_step : {1350257335: ('0.047735805615350235',), 1350257223: ('0.047735805615350235',), 1350257217: ('0.047735805615350235',), 1350257205: ('0.047735805615350235',), 1350257158: ('0.047735805615350235',), 1350256934: ('0.047735805615350235',), 1350256930: ('0.047735805615350235',), 1350256746: ('0.047735805615350235',), 1350256740: ('0.047735805615350235',), 1350256729: ('0.047735805615350235',), 1350256720: ('0.047735805615350235',), 1350256712: ('0.047735805615350235',), 1350256583: ('0.047735805615350235',), 1350256578: ('0.047735805615350235',), 1350256574: ('0.047735805615350235',), 1350256570: ('0.047735805615350235',), 1350256564: ('0.047735805615350235',), 1350256475: ('0.047735805615350235',), 1350256467: ('0.047735805615350235',), 1350256460: ('0.047735805615350235',), 1350256429: ('0.047735805615350235',), 1350256382: ('0.047735805615350235',), 1350256379: ('0.047735805615350235',), 1350256367: ('0.047735805615350235',), 1350256304: ('0.047735805615350235',), 1350256301: ('0.047735805615350235',), 1350256293: ('0.047735805615350235',), 1350256287: ()} output_args : {1350257335: ('0.047735805615350235',), 1350257223: ('0.047735805615350235',), 1350257217: ('0.047735805615350235',), 1350257205: ('0.047735805615350235',), 1350257158: ('0.047735805615350235',), 1350256934: ('0.047735805615350235',), 1350256930: ('0.047735805615350235',), 1350256746: ('0.047735805615350235',), 1350256740: ('0.047735805615350235',), 1350256729: ('0.047735805615350235',), 1350256720: ('0.047735805615350235',), 1350256712: ('0.047735805615350235',), 1350256583: ('0.047735805615350235',), 1350256578: ('0.047735805615350235',), 1350256574: ('0.047735805615350235',), 1350256570: ('0.047735805615350235',), 1350256564: ('0.047735805615350235',), 1350256475: ('0.047735805615350235',), 1350256467: ('0.047735805615350235',), 1350256460: ('0.047735805615350235',), 1350256429: ('0.047735805615350235',), 1350256382: ('0.047735805615350235',), 1350256379: ('0.047735805615350235',), 1350256367: ('0.047735805615350235',), 1350256304: ('0.047735805615350235',), 1350256301: ('0.047735805615350235',), 1350256293: ('0.047735805615350235',), 1350256287: ('0.047735805615350235',), 1350256280: ('0.047735805615350235',), 1350256265: ('0.047735805615350235',), 1350256212: ('0.047735805615350235',), 1350256119: ('0.047735805615350235',), 1350256115: ('0.047735805615350235',), 1350256105: ('0.047735805615350235',), 1350256025: ('0.047735805615350235',), 1350256020: ('0.047735805615350235',), 1350256013: ('0.047735805615350235',)} args : 1350256287 depend.output_id : 0 input_args_next_step : {1350257335: ('0.047735805615350235',), 1350257223: ('0.047735805615350235',), 1350257217: ('0.047735805615350235',), 1350257205: ('0.047735805615350235',), 1350257158: ('0.047735805615350235',), 1350256934: ('0.047735805615350235',), 1350256930: ('0.047735805615350235',), 1350256746: ('0.047735805615350235',), 1350256740: ('0.047735805615350235',), 1350256729: ('0.047735805615350235',), 1350256720: ('0.047735805615350235',), 1350256712: ('0.047735805615350235',), 1350256583: ('0.047735805615350235',), 1350256578: ('0.047735805615350235',), 1350256574: ('0.047735805615350235',), 1350256570: ('0.047735805615350235',), 1350256564: ('0.047735805615350235',), 1350256475: ('0.047735805615350235',), 1350256467: ('0.047735805615350235',), 1350256460: ('0.047735805615350235',), 1350256429: ('0.047735805615350235',), 1350256382: ('0.047735805615350235',), 1350256379: ('0.047735805615350235',), 1350256367: ('0.047735805615350235',), 1350256304: ('0.047735805615350235',), 1350256301: ('0.047735805615350235',), 1350256293: ('0.047735805615350235',), 1350256287: ('0.047735805615350235',), 1350256280: ()} output_args : {1350257335: ('0.047735805615350235',), 1350257223: ('0.047735805615350235',), 1350257217: ('0.047735805615350235',), 1350257205: ('0.047735805615350235',), 1350257158: ('0.047735805615350235',), 1350256934: ('0.047735805615350235',), 1350256930: ('0.047735805615350235',), 1350256746: ('0.047735805615350235',), 1350256740: ('0.047735805615350235',), 1350256729: ('0.047735805615350235',), 1350256720: ('0.047735805615350235',), 1350256712: ('0.047735805615350235',), 1350256583: ('0.047735805615350235',), 1350256578: ('0.047735805615350235',), 1350256574: ('0.047735805615350235',), 1350256570: ('0.047735805615350235',), 1350256564: ('0.047735805615350235',), 1350256475: ('0.047735805615350235',), 1350256467: ('0.047735805615350235',), 1350256460: ('0.047735805615350235',), 1350256429: ('0.047735805615350235',), 1350256382: ('0.047735805615350235',), 1350256379: ('0.047735805615350235',), 1350256367: ('0.047735805615350235',), 1350256304: ('0.047735805615350235',), 1350256301: ('0.047735805615350235',), 1350256293: ('0.047735805615350235',), 1350256287: ('0.047735805615350235',), 1350256280: ('0.047735805615350235',), 1350256265: ('0.047735805615350235',), 1350256212: ('0.047735805615350235',), 1350256119: ('0.047735805615350235',), 1350256115: ('0.047735805615350235',), 1350256105: ('0.047735805615350235',), 1350256025: ('0.047735805615350235',), 1350256020: ('0.047735805615350235',), 1350256013: ('0.047735805615350235',)} args : 1350256280 depend.output_id : 0 input_args_next_step : {1350257335: ('0.047735805615350235',), 1350257223: ('0.047735805615350235',), 1350257217: ('0.047735805615350235',), 1350257205: ('0.047735805615350235',), 1350257158: ('0.047735805615350235',), 1350256934: ('0.047735805615350235',), 1350256930: ('0.047735805615350235',), 1350256746: ('0.047735805615350235',), 1350256740: ('0.047735805615350235',), 1350256729: ('0.047735805615350235',), 1350256720: ('0.047735805615350235',), 1350256712: ('0.047735805615350235',), 1350256583: ('0.047735805615350235',), 1350256578: ('0.047735805615350235',), 1350256574: ('0.047735805615350235',), 1350256570: ('0.047735805615350235',), 1350256564: ('0.047735805615350235',), 1350256475: ('0.047735805615350235',), 1350256467: ('0.047735805615350235',), 1350256460: ('0.047735805615350235',), 1350256429: ('0.047735805615350235',), 1350256382: ('0.047735805615350235',), 1350256379: ('0.047735805615350235',), 1350256367: ('0.047735805615350235',), 1350256304: ('0.047735805615350235',), 1350256301: ('0.047735805615350235',), 1350256293: ('0.047735805615350235',), 1350256287: ('0.047735805615350235',), 1350256280: ('0.047735805615350235',), 1350256265: ()} output_args : {1350257335: ('0.047735805615350235',), 1350257223: ('0.047735805615350235',), 1350257217: ('0.047735805615350235',), 1350257205: ('0.047735805615350235',), 1350257158: ('0.047735805615350235',), 1350256934: ('0.047735805615350235',), 1350256930: ('0.047735805615350235',), 1350256746: ('0.047735805615350235',), 1350256740: ('0.047735805615350235',), 1350256729: ('0.047735805615350235',), 1350256720: ('0.047735805615350235',), 1350256712: ('0.047735805615350235',), 1350256583: ('0.047735805615350235',), 1350256578: ('0.047735805615350235',), 1350256574: ('0.047735805615350235',), 1350256570: ('0.047735805615350235',), 1350256564: ('0.047735805615350235',), 1350256475: ('0.047735805615350235',), 1350256467: ('0.047735805615350235',), 1350256460: ('0.047735805615350235',), 1350256429: ('0.047735805615350235',), 1350256382: ('0.047735805615350235',), 1350256379: ('0.047735805615350235',), 1350256367: ('0.047735805615350235',), 1350256304: ('0.047735805615350235',), 1350256301: ('0.047735805615350235',), 1350256293: ('0.047735805615350235',), 1350256287: ('0.047735805615350235',), 1350256280: ('0.047735805615350235',), 1350256265: ('0.047735805615350235',), 1350256212: ('0.047735805615350235',), 1350256119: ('0.047735805615350235',), 1350256115: ('0.047735805615350235',), 1350256105: ('0.047735805615350235',), 1350256025: ('0.047735805615350235',), 1350256020: ('0.047735805615350235',), 1350256013: ('0.047735805615350235',)} args : 1350256265 depend.output_id : 0 input_args_next_step : {1350257335: ('0.047735805615350235',), 1350257223: ('0.047735805615350235',), 1350257217: ('0.047735805615350235',), 1350257205: ('0.047735805615350235',), 1350257158: ('0.047735805615350235',), 1350256934: ('0.047735805615350235',), 1350256930: ('0.047735805615350235',), 1350256746: ('0.047735805615350235',), 1350256740: ('0.047735805615350235',), 1350256729: ('0.047735805615350235',), 1350256720: ('0.047735805615350235',), 1350256712: ('0.047735805615350235',), 1350256583: ('0.047735805615350235',), 1350256578: ('0.047735805615350235',), 1350256574: ('0.047735805615350235',), 1350256570: ('0.047735805615350235',), 1350256564: ('0.047735805615350235',), 1350256475: ('0.047735805615350235',), 1350256467: ('0.047735805615350235',), 1350256460: ('0.047735805615350235',), 1350256429: ('0.047735805615350235',), 1350256382: ('0.047735805615350235',), 1350256379: ('0.047735805615350235',), 1350256367: ('0.047735805615350235',), 1350256304: ('0.047735805615350235',), 1350256301: ('0.047735805615350235',), 1350256293: ('0.047735805615350235',), 1350256287: ('0.047735805615350235',), 1350256280: ('0.047735805615350235',), 1350256265: ('0.047735805615350235',), 1350256212: ()} output_args : {1350257335: ('0.047735805615350235',), 1350257223: ('0.047735805615350235',), 1350257217: ('0.047735805615350235',), 1350257205: ('0.047735805615350235',), 1350257158: ('0.047735805615350235',), 1350256934: ('0.047735805615350235',), 1350256930: ('0.047735805615350235',), 1350256746: ('0.047735805615350235',), 1350256740: ('0.047735805615350235',), 1350256729: ('0.047735805615350235',), 1350256720: ('0.047735805615350235',), 1350256712: ('0.047735805615350235',), 1350256583: ('0.047735805615350235',), 1350256578: ('0.047735805615350235',), 1350256574: ('0.047735805615350235',), 1350256570: ('0.047735805615350235',), 1350256564: ('0.047735805615350235',), 1350256475: ('0.047735805615350235',), 1350256467: ('0.047735805615350235',), 1350256460: ('0.047735805615350235',), 1350256429: ('0.047735805615350235',), 1350256382: ('0.047735805615350235',), 1350256379: ('0.047735805615350235',), 1350256367: ('0.047735805615350235',), 1350256304: ('0.047735805615350235',), 1350256301: ('0.047735805615350235',), 1350256293: ('0.047735805615350235',), 1350256287: ('0.047735805615350235',), 1350256280: ('0.047735805615350235',), 1350256265: ('0.047735805615350235',), 1350256212: ('0.047735805615350235',), 1350256119: ('0.047735805615350235',), 1350256115: ('0.047735805615350235',), 1350256105: ('0.047735805615350235',), 1350256025: ('0.047735805615350235',), 1350256020: ('0.047735805615350235',), 1350256013: ('0.047735805615350235',)} args : 1350256212 depend.output_id : 0 input_args_next_step : {1350257335: ('0.047735805615350235',), 1350257223: ('0.047735805615350235',), 1350257217: ('0.047735805615350235',), 1350257205: ('0.047735805615350235',), 1350257158: ('0.047735805615350235',), 1350256934: ('0.047735805615350235',), 1350256930: ('0.047735805615350235',), 1350256746: ('0.047735805615350235',), 1350256740: ('0.047735805615350235',), 1350256729: ('0.047735805615350235',), 1350256720: ('0.047735805615350235',), 1350256712: ('0.047735805615350235',), 1350256583: ('0.047735805615350235',), 1350256578: ('0.047735805615350235',), 1350256574: ('0.047735805615350235',), 1350256570: ('0.047735805615350235',), 1350256564: ('0.047735805615350235',), 1350256475: ('0.047735805615350235',), 1350256467: ('0.047735805615350235',), 1350256460: ('0.047735805615350235',), 1350256429: ('0.047735805615350235',), 1350256382: ('0.047735805615350235',), 1350256379: ('0.047735805615350235',), 1350256367: ('0.047735805615350235',), 1350256304: ('0.047735805615350235',), 1350256301: ('0.047735805615350235',), 1350256293: ('0.047735805615350235',), 1350256287: ('0.047735805615350235',), 1350256280: ('0.047735805615350235',), 1350256265: ('0.047735805615350235',), 1350256212: ('0.047735805615350235',), 1350256119: ()} output_args : {1350257335: ('0.047735805615350235',), 1350257223: ('0.047735805615350235',), 1350257217: ('0.047735805615350235',), 1350257205: ('0.047735805615350235',), 1350257158: ('0.047735805615350235',), 1350256934: ('0.047735805615350235',), 1350256930: ('0.047735805615350235',), 1350256746: ('0.047735805615350235',), 1350256740: ('0.047735805615350235',), 1350256729: ('0.047735805615350235',), 1350256720: ('0.047735805615350235',), 1350256712: ('0.047735805615350235',), 1350256583: ('0.047735805615350235',), 1350256578: ('0.047735805615350235',), 1350256574: ('0.047735805615350235',), 1350256570: ('0.047735805615350235',), 1350256564: ('0.047735805615350235',), 1350256475: ('0.047735805615350235',), 1350256467: ('0.047735805615350235',), 1350256460: ('0.047735805615350235',), 1350256429: ('0.047735805615350235',), 1350256382: ('0.047735805615350235',), 1350256379: ('0.047735805615350235',), 1350256367: ('0.047735805615350235',), 1350256304: ('0.047735805615350235',), 1350256301: ('0.047735805615350235',), 1350256293: ('0.047735805615350235',), 1350256287: ('0.047735805615350235',), 1350256280: ('0.047735805615350235',), 1350256265: ('0.047735805615350235',), 1350256212: ('0.047735805615350235',), 1350256119: ('0.047735805615350235',), 1350256115: ('0.047735805615350235',), 1350256105: ('0.047735805615350235',), 1350256025: ('0.047735805615350235',), 1350256020: ('0.047735805615350235',), 1350256013: ('0.047735805615350235',)} args : 1350256119 depend.output_id : 0 input_args_next_step : {1350257335: ('0.047735805615350235',), 1350257223: ('0.047735805615350235',), 1350257217: ('0.047735805615350235',), 1350257205: ('0.047735805615350235',), 1350257158: ('0.047735805615350235',), 1350256934: ('0.047735805615350235',), 1350256930: ('0.047735805615350235',), 1350256746: ('0.047735805615350235',), 1350256740: ('0.047735805615350235',), 1350256729: ('0.047735805615350235',), 1350256720: ('0.047735805615350235',), 1350256712: ('0.047735805615350235',), 1350256583: ('0.047735805615350235',), 1350256578: ('0.047735805615350235',), 1350256574: ('0.047735805615350235',), 1350256570: ('0.047735805615350235',), 1350256564: ('0.047735805615350235',), 1350256475: ('0.047735805615350235',), 1350256467: ('0.047735805615350235',), 1350256460: ('0.047735805615350235',), 1350256429: ('0.047735805615350235',), 1350256382: ('0.047735805615350235',), 1350256379: ('0.047735805615350235',), 1350256367: ('0.047735805615350235',), 1350256304: ('0.047735805615350235',), 1350256301: ('0.047735805615350235',), 1350256293: ('0.047735805615350235',), 1350256287: ('0.047735805615350235',), 1350256280: ('0.047735805615350235',), 1350256265: ('0.047735805615350235',), 1350256212: ('0.047735805615350235',), 1350256119: ('0.047735805615350235',), 1350256115: ()} output_args : {1350257335: ('0.047735805615350235',), 1350257223: ('0.047735805615350235',), 1350257217: ('0.047735805615350235',), 1350257205: ('0.047735805615350235',), 1350257158: ('0.047735805615350235',), 1350256934: ('0.047735805615350235',), 1350256930: ('0.047735805615350235',), 1350256746: ('0.047735805615350235',), 1350256740: ('0.047735805615350235',), 1350256729: ('0.047735805615350235',), 1350256720: ('0.047735805615350235',), 1350256712: ('0.047735805615350235',), 1350256583: ('0.047735805615350235',), 1350256578: ('0.047735805615350235',), 1350256574: ('0.047735805615350235',), 1350256570: ('0.047735805615350235',), 1350256564: ('0.047735805615350235',), 1350256475: ('0.047735805615350235',), 1350256467: ('0.047735805615350235',), 1350256460: ('0.047735805615350235',), 1350256429: ('0.047735805615350235',), 1350256382: ('0.047735805615350235',), 1350256379: ('0.047735805615350235',), 1350256367: ('0.047735805615350235',), 1350256304: ('0.047735805615350235',), 1350256301: ('0.047735805615350235',), 1350256293: ('0.047735805615350235',), 1350256287: ('0.047735805615350235',), 1350256280: ('0.047735805615350235',), 1350256265: ('0.047735805615350235',), 1350256212: ('0.047735805615350235',), 1350256119: ('0.047735805615350235',), 1350256115: ('0.047735805615350235',), 1350256105: ('0.047735805615350235',), 1350256025: ('0.047735805615350235',), 1350256020: ('0.047735805615350235',), 1350256013: ('0.047735805615350235',)} args : 1350256115 depend.output_id : 0 input_args_next_step : {1350257335: ('0.047735805615350235',), 1350257223: ('0.047735805615350235',), 1350257217: ('0.047735805615350235',), 1350257205: ('0.047735805615350235',), 1350257158: ('0.047735805615350235',), 1350256934: ('0.047735805615350235',), 1350256930: ('0.047735805615350235',), 1350256746: ('0.047735805615350235',), 1350256740: ('0.047735805615350235',), 1350256729: ('0.047735805615350235',), 1350256720: ('0.047735805615350235',), 1350256712: ('0.047735805615350235',), 1350256583: ('0.047735805615350235',), 1350256578: ('0.047735805615350235',), 1350256574: ('0.047735805615350235',), 1350256570: ('0.047735805615350235',), 1350256564: ('0.047735805615350235',), 1350256475: ('0.047735805615350235',), 1350256467: ('0.047735805615350235',), 1350256460: ('0.047735805615350235',), 1350256429: ('0.047735805615350235',), 1350256382: ('0.047735805615350235',), 1350256379: ('0.047735805615350235',), 1350256367: ('0.047735805615350235',), 1350256304: ('0.047735805615350235',), 1350256301: ('0.047735805615350235',), 1350256293: ('0.047735805615350235',), 1350256287: ('0.047735805615350235',), 1350256280: ('0.047735805615350235',), 1350256265: ('0.047735805615350235',), 1350256212: ('0.047735805615350235',), 1350256119: ('0.047735805615350235',), 1350256115: ('0.047735805615350235',), 1350256105: ()} output_args : {1350257335: ('0.047735805615350235',), 1350257223: ('0.047735805615350235',), 1350257217: ('0.047735805615350235',), 1350257205: ('0.047735805615350235',), 1350257158: ('0.047735805615350235',), 1350256934: ('0.047735805615350235',), 1350256930: ('0.047735805615350235',), 1350256746: ('0.047735805615350235',), 1350256740: ('0.047735805615350235',), 1350256729: ('0.047735805615350235',), 1350256720: ('0.047735805615350235',), 1350256712: ('0.047735805615350235',), 1350256583: ('0.047735805615350235',), 1350256578: ('0.047735805615350235',), 1350256574: ('0.047735805615350235',), 1350256570: ('0.047735805615350235',), 1350256564: ('0.047735805615350235',), 1350256475: ('0.047735805615350235',), 1350256467: ('0.047735805615350235',), 1350256460: ('0.047735805615350235',), 1350256429: ('0.047735805615350235',), 1350256382: ('0.047735805615350235',), 1350256379: ('0.047735805615350235',), 1350256367: ('0.047735805615350235',), 1350256304: ('0.047735805615350235',), 1350256301: ('0.047735805615350235',), 1350256293: ('0.047735805615350235',), 1350256287: ('0.047735805615350235',), 1350256280: ('0.047735805615350235',), 1350256265: ('0.047735805615350235',), 1350256212: ('0.047735805615350235',), 1350256119: ('0.047735805615350235',), 1350256115: ('0.047735805615350235',), 1350256105: ('0.047735805615350235',), 1350256025: ('0.047735805615350235',), 1350256020: ('0.047735805615350235',), 1350256013: ('0.047735805615350235',)} args : 1350256105 depend.output_id : 0 input_args_next_step : {1350257335: ('0.047735805615350235',), 1350257223: ('0.047735805615350235',), 1350257217: ('0.047735805615350235',), 1350257205: ('0.047735805615350235',), 1350257158: ('0.047735805615350235',), 1350256934: ('0.047735805615350235',), 1350256930: ('0.047735805615350235',), 1350256746: ('0.047735805615350235',), 1350256740: ('0.047735805615350235',), 1350256729: ('0.047735805615350235',), 1350256720: ('0.047735805615350235',), 1350256712: ('0.047735805615350235',), 1350256583: ('0.047735805615350235',), 1350256578: ('0.047735805615350235',), 1350256574: ('0.047735805615350235',), 1350256570: ('0.047735805615350235',), 1350256564: ('0.047735805615350235',), 1350256475: ('0.047735805615350235',), 1350256467: ('0.047735805615350235',), 1350256460: ('0.047735805615350235',), 1350256429: ('0.047735805615350235',), 1350256382: ('0.047735805615350235',), 1350256379: ('0.047735805615350235',), 1350256367: ('0.047735805615350235',), 1350256304: ('0.047735805615350235',), 1350256301: ('0.047735805615350235',), 1350256293: ('0.047735805615350235',), 1350256287: ('0.047735805615350235',), 1350256280: ('0.047735805615350235',), 1350256265: ('0.047735805615350235',), 1350256212: ('0.047735805615350235',), 1350256119: ('0.047735805615350235',), 1350256115: ('0.047735805615350235',), 1350256105: ('0.047735805615350235',), 1350256025: ()} output_args : {1350257335: ('0.047735805615350235',), 1350257223: ('0.047735805615350235',), 1350257217: ('0.047735805615350235',), 1350257205: ('0.047735805615350235',), 1350257158: ('0.047735805615350235',), 1350256934: ('0.047735805615350235',), 1350256930: ('0.047735805615350235',), 1350256746: ('0.047735805615350235',), 1350256740: ('0.047735805615350235',), 1350256729: ('0.047735805615350235',), 1350256720: ('0.047735805615350235',), 1350256712: ('0.047735805615350235',), 1350256583: ('0.047735805615350235',), 1350256578: ('0.047735805615350235',), 1350256574: ('0.047735805615350235',), 1350256570: ('0.047735805615350235',), 1350256564: ('0.047735805615350235',), 1350256475: ('0.047735805615350235',), 1350256467: ('0.047735805615350235',), 1350256460: ('0.047735805615350235',), 1350256429: ('0.047735805615350235',), 1350256382: ('0.047735805615350235',), 1350256379: ('0.047735805615350235',), 1350256367: ('0.047735805615350235',), 1350256304: ('0.047735805615350235',), 1350256301: ('0.047735805615350235',), 1350256293: ('0.047735805615350235',), 1350256287: ('0.047735805615350235',), 1350256280: ('0.047735805615350235',), 1350256265: ('0.047735805615350235',), 1350256212: ('0.047735805615350235',), 1350256119: ('0.047735805615350235',), 1350256115: ('0.047735805615350235',), 1350256105: ('0.047735805615350235',), 1350256025: ('0.047735805615350235',), 1350256020: ('0.047735805615350235',), 1350256013: ('0.047735805615350235',)} args : 1350256025 depend.output_id : 0 input_args_next_step : {1350257335: ('0.047735805615350235',), 1350257223: ('0.047735805615350235',), 1350257217: ('0.047735805615350235',), 1350257205: ('0.047735805615350235',), 1350257158: ('0.047735805615350235',), 1350256934: ('0.047735805615350235',), 1350256930: ('0.047735805615350235',), 1350256746: ('0.047735805615350235',), 1350256740: ('0.047735805615350235',), 1350256729: ('0.047735805615350235',), 1350256720: ('0.047735805615350235',), 1350256712: ('0.047735805615350235',), 1350256583: ('0.047735805615350235',), 1350256578: ('0.047735805615350235',), 1350256574: ('0.047735805615350235',), 1350256570: ('0.047735805615350235',), 1350256564: ('0.047735805615350235',), 1350256475: ('0.047735805615350235',), 1350256467: ('0.047735805615350235',), 1350256460: ('0.047735805615350235',), 1350256429: ('0.047735805615350235',), 1350256382: ('0.047735805615350235',), 1350256379: ('0.047735805615350235',), 1350256367: ('0.047735805615350235',), 1350256304: ('0.047735805615350235',), 1350256301: ('0.047735805615350235',), 1350256293: ('0.047735805615350235',), 1350256287: ('0.047735805615350235',), 1350256280: ('0.047735805615350235',), 1350256265: ('0.047735805615350235',), 1350256212: ('0.047735805615350235',), 1350256119: ('0.047735805615350235',), 1350256115: ('0.047735805615350235',), 1350256105: ('0.047735805615350235',), 1350256025: ('0.047735805615350235',), 1350256020: ()} output_args : {1350257335: ('0.047735805615350235',), 1350257223: ('0.047735805615350235',), 1350257217: ('0.047735805615350235',), 1350257205: ('0.047735805615350235',), 1350257158: ('0.047735805615350235',), 1350256934: ('0.047735805615350235',), 1350256930: ('0.047735805615350235',), 1350256746: ('0.047735805615350235',), 1350256740: ('0.047735805615350235',), 1350256729: ('0.047735805615350235',), 1350256720: ('0.047735805615350235',), 1350256712: ('0.047735805615350235',), 1350256583: ('0.047735805615350235',), 1350256578: ('0.047735805615350235',), 1350256574: ('0.047735805615350235',), 1350256570: ('0.047735805615350235',), 1350256564: ('0.047735805615350235',), 1350256475: ('0.047735805615350235',), 1350256467: ('0.047735805615350235',), 1350256460: ('0.047735805615350235',), 1350256429: ('0.047735805615350235',), 1350256382: ('0.047735805615350235',), 1350256379: ('0.047735805615350235',), 1350256367: ('0.047735805615350235',), 1350256304: ('0.047735805615350235',), 1350256301: ('0.047735805615350235',), 1350256293: ('0.047735805615350235',), 1350256287: ('0.047735805615350235',), 1350256280: ('0.047735805615350235',), 1350256265: ('0.047735805615350235',), 1350256212: ('0.047735805615350235',), 1350256119: ('0.047735805615350235',), 1350256115: ('0.047735805615350235',), 1350256105: ('0.047735805615350235',), 1350256025: ('0.047735805615350235',), 1350256020: ('0.047735805615350235',), 1350256013: ('0.047735805615350235',)} args : 1350256020 depend.output_id : 0 input_args_next_step : {1350257335: ('0.047735805615350235',), 1350257223: ('0.047735805615350235',), 1350257217: ('0.047735805615350235',), 1350257205: ('0.047735805615350235',), 1350257158: ('0.047735805615350235',), 1350256934: ('0.047735805615350235',), 1350256930: ('0.047735805615350235',), 1350256746: ('0.047735805615350235',), 1350256740: ('0.047735805615350235',), 1350256729: ('0.047735805615350235',), 1350256720: ('0.047735805615350235',), 1350256712: ('0.047735805615350235',), 1350256583: ('0.047735805615350235',), 1350256578: ('0.047735805615350235',), 1350256574: ('0.047735805615350235',), 1350256570: ('0.047735805615350235',), 1350256564: ('0.047735805615350235',), 1350256475: ('0.047735805615350235',), 1350256467: ('0.047735805615350235',), 1350256460: ('0.047735805615350235',), 1350256429: ('0.047735805615350235',), 1350256382: ('0.047735805615350235',), 1350256379: ('0.047735805615350235',), 1350256367: ('0.047735805615350235',), 1350256304: ('0.047735805615350235',), 1350256301: ('0.047735805615350235',), 1350256293: ('0.047735805615350235',), 1350256287: ('0.047735805615350235',), 1350256280: ('0.047735805615350235',), 1350256265: ('0.047735805615350235',), 1350256212: ('0.047735805615350235',), 1350256119: ('0.047735805615350235',), 1350256115: ('0.047735805615350235',), 1350256105: ('0.047735805615350235',), 1350256025: ('0.047735805615350235',), 1350256020: ('0.047735805615350235',), 1350256013: ()} output_args : {1350257335: ('0.047735805615350235',), 1350257223: ('0.047735805615350235',), 1350257217: ('0.047735805615350235',), 1350257205: ('0.047735805615350235',), 1350257158: ('0.047735805615350235',), 1350256934: ('0.047735805615350235',), 1350256930: ('0.047735805615350235',), 1350256746: ('0.047735805615350235',), 1350256740: ('0.047735805615350235',), 1350256729: ('0.047735805615350235',), 1350256720: ('0.047735805615350235',), 1350256712: ('0.047735805615350235',), 1350256583: ('0.047735805615350235',), 1350256578: ('0.047735805615350235',), 1350256574: ('0.047735805615350235',), 1350256570: ('0.047735805615350235',), 1350256564: ('0.047735805615350235',), 1350256475: ('0.047735805615350235',), 1350256467: ('0.047735805615350235',), 1350256460: ('0.047735805615350235',), 1350256429: ('0.047735805615350235',), 1350256382: ('0.047735805615350235',), 1350256379: ('0.047735805615350235',), 1350256367: ('0.047735805615350235',), 1350256304: ('0.047735805615350235',), 1350256301: ('0.047735805615350235',), 1350256293: ('0.047735805615350235',), 1350256287: ('0.047735805615350235',), 1350256280: ('0.047735805615350235',), 1350256265: ('0.047735805615350235',), 1350256212: ('0.047735805615350235',), 1350256119: ('0.047735805615350235',), 1350256115: ('0.047735805615350235',), 1350256105: ('0.047735805615350235',), 1350256025: ('0.047735805615350235',), 1350256020: ('0.047735805615350235',), 1350256013: ('0.047735805615350235',)} args : 1350256013 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 : {22094762: [{'Carton_brun': 22094766, 'papier': 22094767, 'autre_refus': 22094768, 'cartonnette': 22094769, 'kraft': 22094770, 'metal': 22094771, 'Teint_Dans_La_Masse': 22094772, 'mal_croppe': 22094773, 'Carton_gris': 22094774, 'plastique': 22094775, 'flou': 22094776, 'environnement': 22094777}]} input_args_next_step : {1350257335: ('0.047735805615350235',), 1350257223: ('0.047735805615350235',), 1350257217: ('0.047735805615350235',), 1350257205: ('0.047735805615350235',), 1350257158: ('0.047735805615350235',), 1350256934: ('0.047735805615350235',), 1350256930: ('0.047735805615350235',), 1350256746: ('0.047735805615350235',), 1350256740: ('0.047735805615350235',), 1350256729: ('0.047735805615350235',), 1350256720: ('0.047735805615350235',), 1350256712: ('0.047735805615350235',), 1350256583: ('0.047735805615350235',), 1350256578: ('0.047735805615350235',), 1350256574: ('0.047735805615350235',), 1350256570: ('0.047735805615350235',), 1350256564: ('0.047735805615350235',), 1350256475: ('0.047735805615350235',), 1350256467: ('0.047735805615350235',), 1350256460: ('0.047735805615350235',), 1350256429: ('0.047735805615350235',), 1350256382: ('0.047735805615350235',), 1350256379: ('0.047735805615350235',), 1350256367: ('0.047735805615350235',), 1350256304: ('0.047735805615350235',), 1350256301: ('0.047735805615350235',), 1350256293: ('0.047735805615350235',), 1350256287: ('0.047735805615350235',), 1350256280: ('0.047735805615350235',), 1350256265: ('0.047735805615350235',), 1350256212: ('0.047735805615350235',), 1350256119: ('0.047735805615350235',), 1350256115: ('0.047735805615350235',), 1350256105: ('0.047735805615350235',), 1350256025: ('0.047735805615350235',), 1350256020: ('0.047735805615350235',), 1350256013: ('0.047735805615350235',), 22094762: ()} output_args : {22094762: [{'Carton_brun': 22094766, 'papier': 22094767, 'autre_refus': 22094768, 'cartonnette': 22094769, 'kraft': 22094770, 'metal': 22094771, 'Teint_Dans_La_Masse': 22094772, 'mal_croppe': 22094773, 'Carton_gris': 22094774, 'plastique': 22094775, 'flou': 22094776, 'environnement': 22094777}]} args : 22094762 depend.output_id : 0 We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :38, first value : ('0.047735805615350235',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22094762) 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 (1350257335,1350257223,1350257217,1350257205,1350257158,1350256934,1350256930,1350256746,1350256740,1350256729,1350256720,1350256712,1350256583,1350256578,1350256574,1350256570,1350256564,1350256475,1350256467,1350256460,1350256429,1350256382,1350256379,1350256367,1350256304,1350256301,1350256293,1350256287,1350256280,1350256265,1350256212,1350256119,1350256115,1350256105,1350256025,1350256020,1350256013) Found this number of photos: 37 ##### Call download_photos : nb_thread : 5 begin to download photo : 1350256013 begin to download photo : 1350256280 begin to download photo : 1350256429 begin to download photo : 1350256583 begin to download photo : 1350257158 download finish for photo 1350256280 begin to download photo : 1350256287 download finish for photo 1350256013 begin to download photo : 1350256020 download finish for photo 1350257158 begin to download photo : 1350257205 download finish for photo 1350256583 begin to download photo : 1350256712 download finish for photo 1350256020 begin to download photo : 1350256025 download finish for photo 1350257205 begin to download photo : 1350257217 download finish for photo 1350256712 begin to download photo : 1350256720 download finish for photo 1350257217 begin to download photo : 1350257223 download finish for photo 1350256025 begin to download photo : 1350256105 download finish for photo 1350256720 begin to download photo : 1350256729 download finish for photo 1350256287 begin to download photo : 1350256293 download finish for photo 1350256105 begin to download photo : 1350256115 download finish for photo 1350256729 begin to download photo : 1350256740 download finish for photo 1350257223 begin to download photo : 1350257335 download finish for photo 1350256293 begin to download photo : 1350256301 download finish for photo 1350257335 download finish for photo 1350256740 begin to download photo : 1350256746 download finish for photo 1350256115 begin to download photo : 1350256119 download finish for photo 1350256301 begin to download photo : 1350256304 download finish for photo 1350256119 begin to download photo : 1350256212 download finish for photo 1350256746 begin to download photo : 1350256930 download finish for photo 1350256304 begin to download photo : 1350256367 download finish for photo 1350256212 begin to download photo : 1350256265 download finish for photo 1350256930 begin to download photo : 1350256934 download finish for photo 1350256367 begin to download photo : 1350256379 download finish for photo 1350256265 download finish for photo 1350256379 begin to download photo : 1350256382 download finish for photo 1350256934 download finish for photo 1350256382 download finish for photo 1350256429 begin to download photo : 1350256460 download finish for photo 1350256460 begin to download photo : 1350256467 download finish for photo 1350256467 begin to download photo : 1350256475 download finish for photo 1350256475 begin to download photo : 1350256564 download finish for photo 1350256564 begin to download photo : 1350256570 download finish for photo 1350256570 begin to download photo : 1350256574 download finish for photo 1350256574 begin to download photo : 1350256578 download finish for photo 1350256578 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos length of list_filenames : 37 ; length of list_pids : 37 ; length of list_args : 37 results_Auto_P22094762_08-04-2025_05_42_09.pdf 22094768 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=22094768 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1350256622: '1744011673_795439_1350256367_78123689991ffcd56e68cc25ee8b8acb_rle_crop_3748653901_0.png', 1350256631: '1744011661_795272_1350256301_42dcb1343bcd9982d05c3eb24053da4c_rle_crop_3748653834_0.png', 1350256632: '1744011661_795272_1350256293_f1361f0b151769e0ed63cc96f662f2b4_rle_crop_3748653887_0.png', 1350256696: '1744011693_795678_1350256429_b3089febe99724a53a86ea9c27325eb4_rle_crop_3748654049_0.png', 1350256697: '1744011693_795678_1350256429_b3089febe99724a53a86ea9c27325eb4_rle_crop_3748654047_0.png', 1350257363: '1744011932_798152_1350256720_7a1e85bae1f14241a012ea38dbfba328_rle_crop_3748655463_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/b926787dbd4d9277168ee3b1b7a3f8f3_46899613.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/47d8dc26984c8c7eccb4e157541e3921_72462572.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/dfb807a654f4e79ac2be15dce0276eb9_10020977.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/f14b3e0c6ea679c8424fbd541745955c_81669609.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/9b84090f0b6b6b7efd41e4d2fd0733c5_20018938.png change filename to text .imagette220947681744083729/ imagette220947681744083729/1744011661_795272_1350256293_f1361f0b151769e0ed63cc96f662f2b4_rle_crop_3748653887_0.png.png imagette220947681744083729/1744011693_795678_1350256429_b3089febe99724a53a86ea9c27325eb4_rle_crop_3748654049_0.png.png imagette220947681744083729/1744011932_798152_1350256720_7a1e85bae1f14241a012ea38dbfba328_rle_crop_3748655463_0.png.png imagette220947681744083729/1744011661_795272_1350256301_42dcb1343bcd9982d05c3eb24053da4c_rle_crop_3748653834_0.png.png imagette220947681744083729/1744011673_795439_1350256367_78123689991ffcd56e68cc25ee8b8acb_rle_crop_3748653901_0.png.png imagette220947681744083729/1744011693_795678_1350256429_b3089febe99724a53a86ea9c27325eb4_rle_crop_3748654047_0.png.png wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/78446f703bfa3573652a9823f074f1c2_67260517.png imagette220947681744083729 22094769 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=22094769 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1350256377: '1744011532_793848_1350256212_cf86d1964e7ec5df2475aa14f1667cc3_rle_crop_3748651675_0.png', 1350256624: '1744011673_795439_1350256367_78123689991ffcd56e68cc25ee8b8acb_rle_crop_3748653897_0.png', 1350256703: '1744011693_795678_1350256429_b3089febe99724a53a86ea9c27325eb4_rle_crop_3748654041_0.png', 1350256984: '1744011771_796567_1350256578_ee2fc61534e5da87609a1f5ade035805_rle_crop_3748654247_0.png', 1350256985: '1744011771_796567_1350256578_ee2fc61534e5da87609a1f5ade035805_rle_crop_3748654245_0.png', 1350257374: '1744011932_798152_1350256740_9c65137e9205cde0605690d04db0be57_rle_crop_3748655421_0.png', 1350257375: '1744011932_798152_1350256729_670e10cc710ec43f9e8b55e063199231_rle_crop_3748655448_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/2bd8d580fb5de4e9227606957130db5c_89759009.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/7da2a1a743b8adb983e13bf9ebaa3572_83011097.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/a0dbd95db1fdeaf58f232441a032f3f8_52211752.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/6802cae4e7354e4eaccd6d798e9dcf85_53717409.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/ed6754e07c07c2ef7680aee128160b4c_18014465.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/7d146025eca666b8aea7f7ee43219d3b_90190042.png change filename to text .imagette220947691744083730/ imagette220947691744083730/1744011932_798152_1350256740_9c65137e9205cde0605690d04db0be57_rle_crop_3748655421_0.png.png imagette220947691744083730/1744011771_796567_1350256578_ee2fc61534e5da87609a1f5ade035805_rle_crop_3748654245_0.png.png imagette220947691744083730/1744011693_795678_1350256429_b3089febe99724a53a86ea9c27325eb4_rle_crop_3748654041_0.png.png imagette220947691744083730/1744011673_795439_1350256367_78123689991ffcd56e68cc25ee8b8acb_rle_crop_3748653897_0.png.png imagette220947691744083730/1744011532_793848_1350256212_cf86d1964e7ec5df2475aa14f1667cc3_rle_crop_3748651675_0.png.png imagette220947691744083730/1744011932_798152_1350256729_670e10cc710ec43f9e8b55e063199231_rle_crop_3748655448_0.png.png imagette220947691744083730/1744011771_796567_1350256578_ee2fc61534e5da87609a1f5ade035805_rle_crop_3748654247_0.png.png wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/399662a749bb4f59c74eda340ee0bfec_82208759.png imagette220947691744083730 22094770 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=22094770 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1350256633: '1744011661_795272_1350256301_42dcb1343bcd9982d05c3eb24053da4c_rle_crop_3748653830_0.png'} change filename to text .imagette220947701744083731/ imagette220947701744083731/1744011661_795272_1350256301_42dcb1343bcd9982d05c3eb24053da4c_rle_crop_3748653830_0.png.png imagette220947711744083731/ imagette220947731744083731/ wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/115fa534afc06743b21f7e1a8938a869_98238275.png imagette220947701744083731 22094771 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=22094771 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette220947711744083731 22094773 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=22094773 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette220947731744083731 22094775 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=22094775 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1350256628: '1744011673_795439_1350256367_78123689991ffcd56e68cc25ee8b8acb_rle_crop_3748653900_0.png'} change filename to text .imagette220947751744083731/ imagette220947751744083731/1744011673_795439_1350256367_78123689991ffcd56e68cc25ee8b8acb_rle_crop_3748653900_0.png.png imagette220947761744083731/ wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/b00ba01c25f60b14969f99afe7528f32_61485431.png imagette220947751744083731 22094776 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=22094776 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette220947761744083731 22094766 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=22094766 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1350257294: '1744011892_797459_1350257158_89b50974566692203b3e0194f719a87c_rle_crop_3748654386_0.png', 1350257381: '1744011932_798152_1350256712_449126735ccf6f4533b28f3d339fde57_rle_crop_3748655479_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/8f492e57ece9c2d21b10a2031b756809_41789741.png change filename to text .imagette220947661744083731/ imagette220947661744083731/1744011932_798152_1350256712_449126735ccf6f4533b28f3d339fde57_rle_crop_3748655479_0.png.png imagette220947661744083731/1744011892_797459_1350257158_89b50974566692203b3e0194f719a87c_rle_crop_3748654386_0.png.png wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/e97ac65bbfe37f92c76e1eacec6c9044_63633399.png imagette220947661744083731 22094772 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=22094772 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1350256225: '1744011412_792806_1350256115_3850cc55d1f26ad000f177558866f330_rle_crop_3748649549_0.png', 1350256226: '1744011412_792806_1350256115_3850cc55d1f26ad000f177558866f330_rle_crop_3748649551_0.png', 1350256227: '1744011412_792806_1350256115_3850cc55d1f26ad000f177558866f330_rle_crop_3748649548_0.png', 1350256228: '1744011412_792806_1350256105_25d49c38fe3133dfd886b0f46db9db44_rle_crop_3748649562_0.png', 1350256244: '1744011431_793053_1350256119_7bd3d203474d8bedd12d94f63350f293_rle_crop_3748649653_0.png', 1350256245: '1744011431_793053_1350256013_443fc9e2717ab0a5ecb4d2b09e8e2e5c_rle_crop_3748649664_0.png', 1350256621: '1744011673_795439_1350256367_78123689991ffcd56e68cc25ee8b8acb_rle_crop_3748653905_0.png', 1350256625: '1744011661_795272_1350256382_ea4687caeb47b860688408e2f97bae91_rle_crop_3748653821_0.png', 1350256626: '1744011661_795272_1350256265_31480fccfa38a6394607af7e5b364b14_rle_crop_3748653932_0.png', 1350256627: '1744011661_795272_1350256265_31480fccfa38a6394607af7e5b364b14_rle_crop_3748653934_0.png', 1350256982: '1744011771_796567_1350256564_3479aa86dbe0ffed907bbe2a4abe18d4_rle_crop_3748654283_0.png', 1350257310: '1744011912_797781_1350256930_1e587868b130b6b193c2bccc2d60d907_rle_crop_3748654440_0.png', 1350257311: '1744011912_797781_1350256930_1e587868b130b6b193c2bccc2d60d907_rle_crop_3748654433_0.png', 1350257351: '1744011952_798425_1350256746_9016faa87b4954928d1201797b6dc232_rle_crop_3748655438_0.png', 1350257359: '1744011932_798152_1350256934_f7710928e3bc53e5d253013ebb157f45_rle_crop_3748655418_0.png', 1350257360: '1744011932_798152_1350256712_449126735ccf6f4533b28f3d339fde57_rle_crop_3748655475_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/33e2d40a0a2625f0f66b8f6f89fad45d_60390755.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/13a1e5c94bd443ad42fc90cead8cdeae_57901179.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/79202536b637059057f624187297598f_9105373.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/098d4504af6acc3a049f6da86a97e22e_85269683.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/6d7c8ed67534aa01460b34c630c5ecbb_29119451.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/529df625d25abe846f56aa7987e24a9e_39438499.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/4857007f21693cc7cab4142251422bd5_92074273.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/e994a05ad5965f5a8eeda2b065f6fe69_18230018.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/749b532815e9d7232327b1ac3ac9cecd_33076001.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/ca0e99fb20aee25708b7c3b6b080fd3e_49261641.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/41b0075f5089241dfbbb82db6d886741_32567887.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/446c16229b52df87696938eab7b1194b_17250503.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/0d52f22ef6bb4a01561fb34b72474c13_4063955.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/73c6d46b8adb1b1572f8a16d65e9a8d1_57639219.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/ec452e736e6d163104321a1ec432a64c_59897207.png change filename to text .imagette220947721744083731/ imagette220947721744083731/1744011912_797781_1350256930_1e587868b130b6b193c2bccc2d60d907_rle_crop_3748654433_0.png.png imagette220947721744083731/1744011431_793053_1350256119_7bd3d203474d8bedd12d94f63350f293_rle_crop_3748649653_0.png.png imagette220947721744083731/1744011771_796567_1350256564_3479aa86dbe0ffed907bbe2a4abe18d4_rle_crop_3748654283_0.png.png imagette220947721744083731/1744011412_792806_1350256115_3850cc55d1f26ad000f177558866f330_rle_crop_3748649548_0.png.png imagette220947721744083731/1744011673_795439_1350256367_78123689991ffcd56e68cc25ee8b8acb_rle_crop_3748653905_0.png.png imagette220947721744083731/1744011412_792806_1350256105_25d49c38fe3133dfd886b0f46db9db44_rle_crop_3748649562_0.png.png imagette220947721744083731/1744011932_798152_1350256934_f7710928e3bc53e5d253013ebb157f45_rle_crop_3748655418_0.png.png imagette220947721744083731/1744011431_793053_1350256013_443fc9e2717ab0a5ecb4d2b09e8e2e5c_rle_crop_3748649664_0.png.png imagette220947721744083731/1744011952_798425_1350256746_9016faa87b4954928d1201797b6dc232_rle_crop_3748655438_0.png.png imagette220947721744083731/1744011661_795272_1350256265_31480fccfa38a6394607af7e5b364b14_rle_crop_3748653934_0.png.png imagette220947721744083731/1744011412_792806_1350256115_3850cc55d1f26ad000f177558866f330_rle_crop_3748649551_0.png.png imagette220947721744083731/1744011661_795272_1350256265_31480fccfa38a6394607af7e5b364b14_rle_crop_3748653932_0.png.png imagette220947721744083731/1744011412_792806_1350256115_3850cc55d1f26ad000f177558866f330_rle_crop_3748649549_0.png.png imagette220947721744083731/1744011661_795272_1350256382_ea4687caeb47b860688408e2f97bae91_rle_crop_3748653821_0.png.png imagette220947721744083731/1744011932_798152_1350256712_449126735ccf6f4533b28f3d339fde57_rle_crop_3748655475_0.png.png imagette220947721744083731/1744011912_797781_1350256930_1e587868b130b6b193c2bccc2d60d907_rle_crop_3748654440_0.png.png wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/da89681ced353e4945f192fd84b5cc7d_66885952.png imagette220947721744083731 22094774 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=22094774 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1350256246: '1744011431_793053_1350256020_3615b1867220bdfe70acace9d562823e_rle_crop_3748649658_0.png', 1350257288: '1744011892_797459_1350257158_89b50974566692203b3e0194f719a87c_rle_crop_3748654383_0.png', 1350257312: '1744011912_797781_1350256930_1e587868b130b6b193c2bccc2d60d907_rle_crop_3748654435_0.png', 1350257365: '1744011932_798152_1350256720_7a1e85bae1f14241a012ea38dbfba328_rle_crop_3748655461_0.png', 1350257366: '1744011932_798152_1350256720_7a1e85bae1f14241a012ea38dbfba328_rle_crop_3748655460_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/11a524bb6f4bf9dc593ffb204c407336_80452880.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/d51d5b6fbac7f9c29c8f506a070a9b8a_5346238.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/39f3067a5f9845732a2516cfa805828e_72017799.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/683392c68605a29437c41b03a8622b3b_48875199.png change filename to text .imagette220947741744083734/ imagette220947741744083734/1744011932_798152_1350256720_7a1e85bae1f14241a012ea38dbfba328_rle_crop_3748655461_0.png.png imagette220947741744083734/1744011431_793053_1350256020_3615b1867220bdfe70acace9d562823e_rle_crop_3748649658_0.png.png imagette220947741744083734/1744011932_798152_1350256720_7a1e85bae1f14241a012ea38dbfba328_rle_crop_3748655460_0.png.png imagette220947741744083734/1744011892_797459_1350257158_89b50974566692203b3e0194f719a87c_rle_crop_3748654383_0.png.png imagette220947741744083734/1744011912_797781_1350256930_1e587868b130b6b193c2bccc2d60d907_rle_crop_3748654435_0.png.png wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/bec977b1b81f8cbe2cb51e6f87b6df47_89507715.png imagette220947741744083734 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=22094762 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/22094778,22094779,22094780,22094781,22094782,22094783,22094784,22094785,22094786,22094787,22094788,22094789?tags=Carton_brun,papier,autre_refus,cartonnette,kraft,metal,Teint_Dans_La_Masse,mal_croppe,Carton_gris,plastique,flou,environnement your option no_mail is active, we will not send the real mail to your client args[1350257335] : ('0.047735805615350235',) no score found for photo 1350257335 We are sending mail with results at report@fotonower.com args[1350257223] : ('0.047735805615350235',) no score found for photo 1350257223 We are sending mail with results at report@fotonower.com args[1350257217] : ('0.047735805615350235',) no score found for photo 1350257217 We are sending mail with results at report@fotonower.com args[1350257205] : ('0.047735805615350235',) no score found for photo 1350257205 We are sending mail with results at report@fotonower.com args[1350257158] : ('0.047735805615350235',) no score found for photo 1350257158 We are sending mail with results at report@fotonower.com args[1350256934] : ('0.047735805615350235',) no score found for photo 1350256934 We are sending mail with results at report@fotonower.com args[1350256930] : ('0.047735805615350235',) no score found for photo 1350256930 We are sending mail with results at report@fotonower.com args[1350256746] : ('0.047735805615350235',) no score found for photo 1350256746 We are sending mail with results at report@fotonower.com args[1350256740] : ('0.047735805615350235',) no score found for photo 1350256740 We are sending mail with results at report@fotonower.com args[1350256729] : ('0.047735805615350235',) no score found for photo 1350256729 We are sending mail with results at report@fotonower.com args[1350256720] : ('0.047735805615350235',) no score found for photo 1350256720 We are sending mail with results at report@fotonower.com args[1350256712] : ('0.047735805615350235',) no score found for photo 1350256712 We are sending mail with results at report@fotonower.com args[1350256583] : ('0.047735805615350235',) no score found for photo 1350256583 We are sending mail with results at report@fotonower.com args[1350256578] : ('0.047735805615350235',) no score found for photo 1350256578 We are sending mail with results at report@fotonower.com args[1350256574] : ('0.047735805615350235',) no score found for photo 1350256574 We are sending mail with results at report@fotonower.com args[1350256570] : ('0.047735805615350235',) no score found for photo 1350256570 We are sending mail with results at report@fotonower.com args[1350256564] : ('0.047735805615350235',) no score found for photo 1350256564 We are sending mail with results at report@fotonower.com args[1350256475] : ('0.047735805615350235',) no score found for photo 1350256475 We are sending mail with results at report@fotonower.com args[1350256467] : ('0.047735805615350235',) no score found for photo 1350256467 We are sending mail with results at report@fotonower.com args[1350256460] : ('0.047735805615350235',) no score found for photo 1350256460 We are sending mail with results at report@fotonower.com args[1350256429] : ('0.047735805615350235',) no score found for photo 1350256429 We are sending mail with results at report@fotonower.com args[1350256382] : ('0.047735805615350235',) no score found for photo 1350256382 We are sending mail with results at report@fotonower.com args[1350256379] : ('0.047735805615350235',) no score found for photo 1350256379 We are sending mail with results at report@fotonower.com args[1350256367] : ('0.047735805615350235',) no score found for photo 1350256367 We are sending mail with results at report@fotonower.com args[1350256304] : ('0.047735805615350235',) no score found for photo 1350256304 We are sending mail with results at report@fotonower.com args[1350256301] : ('0.047735805615350235',) no score found for photo 1350256301 We are sending mail with results at report@fotonower.com args[1350256293] : ('0.047735805615350235',) no score found for photo 1350256293 We are sending mail with results at report@fotonower.com args[1350256287] : ('0.047735805615350235',) no score found for photo 1350256287 We are sending mail with results at report@fotonower.com args[1350256280] : ('0.047735805615350235',) no score found for photo 1350256280 We are sending mail with results at report@fotonower.com args[1350256265] : ('0.047735805615350235',) no score found for photo 1350256265 We are sending mail with results at report@fotonower.com args[1350256212] : ('0.047735805615350235',) no score found for photo 1350256212 We are sending mail with results at report@fotonower.com args[1350256119] : ('0.047735805615350235',) no score found for photo 1350256119 We are sending mail with results at report@fotonower.com args[1350256115] : ('0.047735805615350235',) no score found for photo 1350256115 We are sending mail with results at report@fotonower.com args[1350256105] : ('0.047735805615350235',) no score found for photo 1350256105 We are sending mail with results at report@fotonower.com args[1350256025] : ('0.047735805615350235',) no score found for photo 1350256025 We are sending mail with results at report@fotonower.com args[1350256020] : ('0.047735805615350235',) no score found for photo 1350256020 We are sending mail with results at report@fotonower.com args[1350256013] : ('0.047735805615350235',) no score found for photo 1350256013 We are sending mail with results at report@fotonower.com refus_total : 0.047735805615350235 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=22094762 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_P22094762_08-04-2025_05_42_09.pdf results_Auto_P22094762_08-04-2025_05_42_09.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22094762_08-04-2025_05_42_09.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','22094762','results_Auto_P22094762_08-04-2025_05_42_09.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22094762_08-04-2025_05_42_09.pdf','pdf','','0.4','0.047735805615350235') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22094762]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1350257335, 1350257223, 1350257217, 1350257205, 1350257158, 1350256934, 1350256930, 1350256746, 1350256740, 1350256729, 1350256720, 1350256712, 1350256583, 1350256578, 1350256574, 1350256570, 1350256564, 1350256475, 1350256467, 1350256460, 1350256429, 1350256382, 1350256379, 1350256367, 1350256304, 1350256301, 1350256293, 1350256287, 1350256280, 1350256265, 1350256212, 1350256119, 1350256115, 1350256105, 1350256025, 1350256020, 1350256013] map_info['map_portfolio_photo'] : {22094762: [1350257335, 1350257223, 1350257217, 1350257205, 1350257158, 1350256934, 1350256930, 1350256746, 1350256740, 1350256729, 1350256720, 1350256712, 1350256583, 1350256578, 1350256574, 1350256570, 1350256564, 1350256475, 1350256467, 1350256460, 1350256429, 1350256382, 1350256379, 1350256367, 1350256304, 1350256301, 1350256293, 1350256287, 1350256280, 1350256265, 1350256212, 1350256119, 1350256115, 1350256105, 1350256025, 1350256020, 1350256013]} final : False mtd_id 4302 list_pids : [1350257335, 1350257223, 1350257217, 1350257205, 1350257158, 1350256934, 1350256930, 1350256746, 1350256740, 1350256729, 1350256720, 1350256712, 1350256583, 1350256578, 1350256574, 1350256570, 1350256564, 1350256475, 1350256467, 1350256460, 1350256429, 1350256382, 1350256379, 1350256367, 1350256304, 1350256301, 1350256293, 1350256287, 1350256280, 1350256265, 1350256212, 1350256119, 1350256115, 1350256105, 1350256025, 1350256020, 1350256013] 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, '2731232') ('4302', '22094762', '1350257335', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350257223', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350257217', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350257205', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350257158', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256934', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256930', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256746', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256740', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256729', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256720', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256712', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256583', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256578', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256574', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256570', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256564', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256475', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256467', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256460', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256429', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256382', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256379', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256367', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256304', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256301', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256293', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256287', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256280', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256265', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256212', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256119', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256115', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256105', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256025', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256020', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256013', None, None, None, None, None, '2731232') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 37 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '22094762', '1350257335', None, None, None, None, None, '2731232'), ('4302', '22094762', '1350257223', None, None, None, None, None, '2731232'), ('4302', '22094762', '1350257217', None, None, None, None, None, '2731232'), ('4302', '22094762', '1350257205', None, None, None, None, None, '2731232'), ('4302', '22094762', '1350257158', None, None, None, None, None, '2731232'), ('4302', '22094762', '1350256934', None, None, None, None, None, '2731232'), ('4302', '22094762', '1350256930', None, None, None, None, None, '2731232'), ('4302', '22094762', '1350256746', None, None, None, None, None, '2731232'), ('4302', '22094762', '1350256740', None, None, None, None, None, '2731232'), ('4302', '22094762', '1350256729', None, None, None, None, None, '2731232'), ('4302', '22094762', '1350256720', None, None, None, None, None, '2731232'), ('4302', '22094762', '1350256712', None, None, None, None, None, '2731232'), ('4302', '22094762', '1350256583', None, None, None, None, None, '2731232'), ('4302', '22094762', '1350256578', None, None, None, None, None, '2731232'), ('4302', '22094762', '1350256574', None, None, None, None, None, '2731232'), ('4302', '22094762', '1350256570', None, None, None, None, None, '2731232'), ('4302', '22094762', '1350256564', None, None, None, None, None, '2731232'), ('4302', '22094762', '1350256475', None, None, None, None, None, '2731232'), ('4302', '22094762', '1350256467', None, None, None, None, None, '2731232'), ('4302', '22094762', '1350256460', None, None, None, None, None, '2731232'), ('4302', '22094762', '1350256429', None, None, None, None, None, '2731232'), ('4302', '22094762', '1350256382', None, None, None, None, None, '2731232'), ('4302', '22094762', '1350256379', None, None, None, None, None, '2731232'), ('4302', '22094762', '1350256367', None, None, None, None, None, '2731232'), ('4302', '22094762', '1350256304', None, None, None, None, None, '2731232'), ('4302', '22094762', '1350256301', None, None, None, None, None, '2731232'), ('4302', '22094762', '1350256293', None, None, None, None, None, '2731232'), ('4302', '22094762', '1350256287', None, None, None, None, None, '2731232'), ('4302', '22094762', '1350256280', None, None, None, None, None, '2731232'), ('4302', '22094762', '1350256265', None, None, None, None, None, '2731232'), ('4302', '22094762', '1350256212', None, None, None, None, None, '2731232'), ('4302', '22094762', '1350256119', None, None, None, None, None, '2731232'), ('4302', '22094762', '1350256115', None, None, None, None, None, '2731232'), ('4302', '22094762', '1350256105', None, None, None, None, None, '2731232'), ('4302', '22094762', '1350256025', None, None, None, None, None, '2731232'), ('4302', '22094762', '1350256020', None, None, None, None, None, '2731232'), ('4302', '22094762', '1350256013', None, None, None, None, None, '2731232')] time used for this insertion : 1.3006346225738525 save_final save missing photos in datou_result : time spend for datou_step_exec : 12.699388980865479 time spend to save output : 1.3010141849517822 total time spend for step 4 : 14.00040316581726 step5:split_time_score Tue Apr 8 05:42:18 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 : ['22094762'] 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 : [('22094762',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22094762) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1350257158: {'path': 'temp/1744083724_3952296_1350257158_89b50974566692203b3e0194f719a87c.jpg', 'extension': 'jpg'}, 1350257205: {'path': 'temp/1744083724_3952296_1350257205_b8f6244be6350aaf3b264016f1a49196.jpg', 'extension': 'jpg'}, 1350257217: {'path': 'temp/1744083724_3952296_1350257217_0ad9d423f8d696c4342064b5043550e0.jpg', 'extension': 'jpg'}, 1350257223: {'path': 'temp/1744083724_3952296_1350257223_e5f2a67dc3a97167ed78895db093441c.jpg', 'extension': 'jpg'}, 1350257335: {'path': 'temp/1744083724_3952296_1350257335_bb6035ff66e2f62ebee8dad802541f56.jpg', 'extension': 'jpg'}, 1350256013: {'path': 'temp/1744083724_3952296_1350256013_443fc9e2717ab0a5ecb4d2b09e8e2e5c.jpg', 'extension': 'jpg'}, 1350256020: {'path': 'temp/1744083724_3952296_1350256020_3615b1867220bdfe70acace9d562823e.jpg', 'extension': 'jpg'}, 1350256025: {'path': 'temp/1744083724_3952296_1350256025_3a7d87a71b757df1d22247c842e90bc2.jpg', 'extension': 'jpg'}, 1350256105: {'path': 'temp/1744083724_3952296_1350256105_25d49c38fe3133dfd886b0f46db9db44.jpg', 'extension': 'jpg'}, 1350256115: {'path': 'temp/1744083724_3952296_1350256115_3850cc55d1f26ad000f177558866f330.jpg', 'extension': 'jpg'}, 1350256119: {'path': 'temp/1744083724_3952296_1350256119_7bd3d203474d8bedd12d94f63350f293.jpg', 'extension': 'jpg'}, 1350256212: {'path': 'temp/1744083724_3952296_1350256212_cf86d1964e7ec5df2475aa14f1667cc3.jpg', 'extension': 'jpg'}, 1350256265: {'path': 'temp/1744083724_3952296_1350256265_31480fccfa38a6394607af7e5b364b14.jpg', 'extension': 'jpg'}, 1350256583: {'path': 'temp/1744083724_3952296_1350256583_ad7b8d0924b82859ac02cc25913c9f7d.jpg', 'extension': 'jpg'}, 1350256712: {'path': 'temp/1744083724_3952296_1350256712_449126735ccf6f4533b28f3d339fde57.jpg', 'extension': 'jpg'}, 1350256720: {'path': 'temp/1744083724_3952296_1350256720_7a1e85bae1f14241a012ea38dbfba328.jpg', 'extension': 'jpg'}, 1350256729: {'path': 'temp/1744083724_3952296_1350256729_670e10cc710ec43f9e8b55e063199231.jpg', 'extension': 'jpg'}, 1350256740: {'path': 'temp/1744083724_3952296_1350256740_9c65137e9205cde0605690d04db0be57.jpg', 'extension': 'jpg'}, 1350256746: {'path': 'temp/1744083724_3952296_1350256746_9016faa87b4954928d1201797b6dc232.jpg', 'extension': 'jpg'}, 1350256930: {'path': 'temp/1744083724_3952296_1350256930_1e587868b130b6b193c2bccc2d60d907.jpg', 'extension': 'jpg'}, 1350256934: {'path': 'temp/1744083724_3952296_1350256934_f7710928e3bc53e5d253013ebb157f45.jpg', 'extension': 'jpg'}, 1350256280: {'path': 'temp/1744083724_3952296_1350256280_5681599eb45af4a58f575a7cb43f552a.jpg', 'extension': 'jpg'}, 1350256287: {'path': 'temp/1744083724_3952296_1350256287_dc207e7c16f8b51160ecbbadd2ec524f.jpg', 'extension': 'jpg'}, 1350256293: {'path': 'temp/1744083724_3952296_1350256293_f1361f0b151769e0ed63cc96f662f2b4.jpg', 'extension': 'jpg'}, 1350256301: {'path': 'temp/1744083724_3952296_1350256301_42dcb1343bcd9982d05c3eb24053da4c.jpg', 'extension': 'jpg'}, 1350256304: {'path': 'temp/1744083724_3952296_1350256304_1409cbfca4761fe9ed93ba9872f4ac24.jpg', 'extension': 'jpg'}, 1350256367: {'path': 'temp/1744083724_3952296_1350256367_78123689991ffcd56e68cc25ee8b8acb.jpg', 'extension': 'jpg'}, 1350256379: {'path': 'temp/1744083724_3952296_1350256379_5a3794bd428e453278f17043c2a6184d.jpg', 'extension': 'jpg'}, 1350256382: {'path': 'temp/1744083724_3952296_1350256382_ea4687caeb47b860688408e2f97bae91.jpg', 'extension': 'jpg'}, 1350256429: {'path': 'temp/1744083724_3952296_1350256429_b3089febe99724a53a86ea9c27325eb4.jpg', 'extension': 'jpg'}, 1350256460: {'path': 'temp/1744083724_3952296_1350256460_cc48f1596a431c82cf18b37138a85a94.jpg', 'extension': 'jpg'}, 1350256467: {'path': 'temp/1744083724_3952296_1350256467_ad1227cc1808d72e0e91bf794f1d8af8.jpg', 'extension': 'jpg'}, 1350256475: {'path': 'temp/1744083724_3952296_1350256475_3fe50712919e069b799f657dfc0dc1b3.jpg', 'extension': 'jpg'}, 1350256564: {'path': 'temp/1744083724_3952296_1350256564_3479aa86dbe0ffed907bbe2a4abe18d4.jpg', 'extension': 'jpg'}, 1350256570: {'path': 'temp/1744083724_3952296_1350256570_eea91d44a5f7197875b4510499ddf481.jpg', 'extension': 'jpg'}, 1350256574: {'path': 'temp/1744083724_3952296_1350256574_0bd5484f970cb0752cab565229aa1b3d.jpg', 'extension': 'jpg'}, 1350256578: {'path': 'temp/1744083724_3952296_1350256578_ee2fc61534e5da87609a1f5ade035805.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 = 22094762; (('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 = 22094762 group by h (('09', 37),) SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=22094762 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 (22094762) 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 (22094762) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 07042025 22094762 Nombre de photos uploadées : 37 / 23040 (0%) 07042025 22094762 Nombre de photos taguées (types de déchets): 0 / 37 (0%) 07042025 22094762 Nombre de photos taguées (volume) : 0 / 37 (0%) [{'photo_id': 1350256025, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/3a7d87a71b757df1d22247c842e90bc2.jpg', 'username': None, 'uploaded_at': 1744011308, 'text': 'image_07042025_09_33_54_10137.jpg'}, {'photo_id': 1350256020, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/3615b1867220bdfe70acace9d562823e.jpg', 'username': None, 'uploaded_at': 1744011308, 'text': 'image_07042025_09_34_35_010142m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1350256013, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/443fc9e2717ab0a5ecb4d2b09e8e2e5c.jpg', 'username': None, 'uploaded_at': 1744011308, 'text': 'image_07042025_09_34_45_010136m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1350256119, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/7bd3d203474d8bedd12d94f63350f293.jpg', 'username': None, 'uploaded_at': 1744011368, 'text': 'image_07042025_09_34_54_009127m0.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 2.6226043701171875e-06 elapsed_time : order_list_meta_photo_and_scores 7.867813110351562e-06 ????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0018651485443115234 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 22094762, '2025-04-07' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1719143,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.03419637680053711 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= 1719143 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1719143, 'dashboard_run_id': 1730600, 'mtr_portfolio_id': 22087245, 'dashboard_result_id': 9923018, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22087245_08-04-2025_05_34_35.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22087246, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22087247, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22087248, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22087249, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22087250, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22087251, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22087252, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22087253, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22087254, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22087255, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22087256, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22087257, 'pht': 3726}}"}, {'dashboat_entry_day': 1719143, 'dashboard_run_id': 1730600, 'mtr_portfolio_id': 22087563, 'dashboard_result_id': 9923019, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22087563_08-04-2025_05_37_12.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22087564, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22087565, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22087566, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22087567, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22087568, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22087569, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22087570, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22087571, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22087572, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22087573, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22087574, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22087575, 'pht': 3726}}"}, {'dashboat_entry_day': 1719143, 'dashboard_run_id': 1730600, 'mtr_portfolio_id': 22087885, 'dashboard_result_id': 9923020, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22087885_08-04-2025_05_37_11.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22087926, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22087927, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22087928, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22087929, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22087930, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22087931, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22087932, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22087933, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22087934, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22087935, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22087936, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22087937, 'pht': 3726}}"}, {'dashboat_entry_day': 1719143, 'dashboard_run_id': 1730600, 'mtr_portfolio_id': 22088566, 'dashboard_result_id': 9923021, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22088566_08-04-2025_05_37_11.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22088569, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22088570, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22088571, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22088572, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22088573, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22088574, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22088575, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22088576, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22088577, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22088578, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22088579, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22088580, 'pht': 3726}}"}, {'dashboat_entry_day': 1719143, 'dashboard_run_id': 1730600, 'mtr_portfolio_id': 22088910, 'dashboard_result_id': 9923022, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22088910_08-04-2025_05_37_11.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22088930, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22088931, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22088932, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22088933, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22088934, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22088935, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22088936, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22088937, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22088938, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22088939, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22088940, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22088941, 'pht': 3726}}"}, {'dashboat_entry_day': 1719143, 'dashboard_run_id': 1730600, 'mtr_portfolio_id': 22089386, 'dashboard_result_id': 9923023, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22089386_08-04-2025_05_37_18.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22089389, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22089390, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22089391, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22089392, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22089393, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22089394, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22089395, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22089396, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22089397, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22089398, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22089399, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22089400, 'pht': 3726}}"}, {'dashboat_entry_day': 1719143, 'dashboard_run_id': 1730600, 'mtr_portfolio_id': 22089569, 'dashboard_result_id': 9923024, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22089569_08-04-2025_05_37_33.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22089573, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22089574, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22089575, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22089576, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22089577, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22089578, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22089579, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22089580, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22089581, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22089582, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22089583, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22089584, 'pht': 3726}}"}, {'dashboat_entry_day': 1719143, 'dashboard_run_id': 1730600, 'mtr_portfolio_id': 22089948, 'dashboard_result_id': 9923025, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22089948_08-04-2025_05_37_48.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22089991, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22089992, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22089993, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22089994, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22089995, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22089996, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22089997, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22089998, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22089999, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22090000, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22090001, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22090002, 'pht': 3726}}"}, {'dashboat_entry_day': 1719143, 'dashboard_run_id': 1730600, 'mtr_portfolio_id': 22090491, 'dashboard_result_id': 9923026, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22090491_08-04-2025_05_38_06.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22090495, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22090496, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22090497, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22090498, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22090499, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22090500, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22090501, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22090502, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22090503, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22090504, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22090505, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22090506, 'pht': 3726}}"}, {'dashboat_entry_day': 1719143, 'dashboard_run_id': 1730600, 'mtr_portfolio_id': 22091054, 'dashboard_result_id': 9923027, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22091054_08-04-2025_05_38_35.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22091058, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22091059, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22091060, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22091061, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22091062, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22091063, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22091064, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22091065, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22091066, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22091067, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22091068, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22091069, 'pht': 3726}}"}, {'dashboat_entry_day': 1719143, 'dashboard_run_id': 1730600, 'mtr_portfolio_id': 22091666, 'dashboard_result_id': 9923028, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22091666_08-04-2025_05_39_33.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22091670, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22091671, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22091672, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22091673, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22091674, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22091675, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22091676, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22091677, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22091678, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22091679, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22091680, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22091681, 'pht': 3726}}"}, {'dashboat_entry_day': 1719143, 'dashboard_run_id': 1730600, 'mtr_portfolio_id': 22092221, 'dashboard_result_id': 9923029, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22092221_08-04-2025_05_40_04.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22092273, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22092274, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22092275, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22092276, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22092277, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22092278, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22092279, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22092280, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22092281, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22092282, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22092283, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22092284, 'pht': 3726}}"}, {'dashboat_entry_day': 1719143, 'dashboard_run_id': 1730600, 'mtr_portfolio_id': 22092677, 'dashboard_result_id': 9923030, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22092677_08-04-2025_05_40_35.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22092682, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22092683, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22092684, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22092685, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22092686, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22092687, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22092688, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22092689, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22092690, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22092691, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22092692, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22092693, 'pht': 3726}}"}, {'dashboat_entry_day': 1719143, 'dashboard_run_id': 1730600, 'mtr_portfolio_id': 22093430, 'dashboard_result_id': 9923031, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22093430_08-04-2025_05_41_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22093459, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22093460, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22093461, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22093462, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22093463, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22093464, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22093465, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22093466, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22093467, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22093468, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22093469, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22093470, 'pht': 3726}}"}, {'dashboat_entry_day': 1719143, 'dashboard_run_id': 1730600, 'mtr_portfolio_id': 22094762, 'dashboard_result_id': 9923032, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22094762_07-04-2025_09_46_29.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22094766, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22094767, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22094768, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22094769, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22094770, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22094771, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22094772, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22094773, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22094774, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22094775, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22094776, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22094777, 'pht': 3726}}"}, {'dashboat_entry_day': 1719143, 'dashboard_run_id': 1730600, 'mtr_portfolio_id': 22095097, 'dashboard_result_id': 9923033, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22095097_07-04-2025_10_03_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22095098, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22095099, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22095100, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22095101, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22095102, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22095103, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22095104, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22095105, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22095106, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22095107, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22095108, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22095109, 'pht': 3726}}"}, {'dashboat_entry_day': 1719143, 'dashboard_run_id': 1730600, 'mtr_portfolio_id': 22096055, 'dashboard_result_id': 9923034, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22096055_07-04-2025_10_17_07.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22096087, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22096088, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22096089, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22096090, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22096091, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22096092, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22096093, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22096094, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22096095, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22096096, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22096097, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22096098, 'pht': 3726}}"}, {'dashboat_entry_day': 1719143, 'dashboard_run_id': 1730600, 'mtr_portfolio_id': 22096580, 'dashboard_result_id': 9923035, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22096580_07-04-2025_10_32_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22096585, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22096586, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22096587, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22096588, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22096589, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22096590, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22096591, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22096592, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22096593, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22096594, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22096595, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22096596, 'pht': 3726}}"}, {'dashboat_entry_day': 1719143, 'dashboard_run_id': 1730600, 'mtr_portfolio_id': 22097368, 'dashboard_result_id': 9923036, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22097368_07-04-2025_10_49_04.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22097396, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22097397, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22097398, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22097399, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22097400, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22097401, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22097402, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22097403, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22097404, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22097405, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22097406, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22097407, 'pht': 3726}}"}, {'dashboat_entry_day': 1719143, 'dashboard_run_id': 1730600, 'mtr_portfolio_id': 22097995, 'dashboard_result_id': 9923037, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22097995_07-04-2025_11_02_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22097998, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22097999, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22098000, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22098001, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22098002, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22098003, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22098004, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22098005, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22098006, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22098007, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22098008, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22098009, 'pht': 3726}}"}, {'dashboat_entry_day': 1719143, 'dashboard_run_id': 1730600, 'mtr_portfolio_id': 22098735, 'dashboard_result_id': 9923038, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22098735_07-04-2025_11_17_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22098762, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22098763, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22098764, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22098765, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22098766, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22098767, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22098768, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22098769, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22098770, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22098771, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22098772, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22098773, 'pht': 3726}}"}, {'dashboat_entry_day': 1719143, 'dashboard_run_id': 1730600, 'mtr_portfolio_id': 22099363, 'dashboard_result_id': 9923039, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22099363_07-04-2025_11_32_35.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22099392, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22099393, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22099394, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22099395, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22099396, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22099397, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22099398, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22099399, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22099400, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22099401, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22099402, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22099403, 'pht': 3726}}"}, {'dashboat_entry_day': 1719143, 'dashboard_run_id': 1730600, 'mtr_portfolio_id': 22100198, 'dashboard_result_id': 9923040, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22100198_07-04-2025_11_48_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22100227, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22100228, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22100229, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22100230, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22100231, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22100232, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22100233, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22100234, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22100235, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22100236, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22100237, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22100238, 'pht': 3726}}"}, {'dashboat_entry_day': 1719143, 'dashboard_run_id': 1730600, 'mtr_portfolio_id': 22100839, 'dashboard_result_id': 9923041, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22100839_07-04-2025_12_05_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22100892, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22100893, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22100894, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22100895, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22100896, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22100897, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22100898, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22100899, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22100900, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22100901, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22100902, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22100903, 'pht': 3726}}"}, {'dashboat_entry_day': 1719143, 'dashboard_run_id': 1730600, 'mtr_portfolio_id': 22101771, 'dashboard_result_id': 9923042, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22101771_08-04-2025_00_25_34.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22101774, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22101775, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22101776, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22101777, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22101778, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22101779, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22101780, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22101781, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22101782, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22101783, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22101784, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22101785, 'pht': 3726}}"}, {'dashboat_entry_day': 1719143, 'dashboard_run_id': 1730600, 'mtr_portfolio_id': 22103934, 'dashboard_result_id': 9923043, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22103934_07-04-2025_14_03_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22103939, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22103940, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22103941, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22103942, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22103943, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22103944, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22103945, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22103946, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22103947, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22103948, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22103949, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22103950, 'pht': 3726}}"}, {'dashboat_entry_day': 1719143, 'dashboard_run_id': 1730600, 'mtr_portfolio_id': 22104316, 'dashboard_result_id': 9923044, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22104316_07-04-2025_14_18_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22104319, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22104320, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22104321, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22104322, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22104323, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22104324, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22104325, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22104326, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22104327, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22104328, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22104329, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22104330, 'pht': 3726}}"}, {'dashboat_entry_day': 1719143, 'dashboard_run_id': 1730600, 'mtr_portfolio_id': 22104988, 'dashboard_result_id': 9923045, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22104988_07-04-2025_14_32_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22104991, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22104992, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22104993, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22104994, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22104995, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22104996, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22104997, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22104998, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22104999, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22105000, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22105001, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22105002, 'pht': 3726}}"}, {'dashboat_entry_day': 1719143, 'dashboard_run_id': 1730600, 'mtr_portfolio_id': 22105620, 'dashboard_result_id': 9923046, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22105620_07-04-2025_14_48_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22105623, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22105624, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22105625, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22105626, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22105627, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22105628, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22105629, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22105630, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22105631, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22105632, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22105633, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22105634, 'pht': 3726}}"}, {'dashboat_entry_day': 1719143, 'dashboard_run_id': 1730600, 'mtr_portfolio_id': 22106129, 'dashboard_result_id': 9923047, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22106129_07-04-2025_15_03_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22106132, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22106133, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22106134, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22106135, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22106136, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22106137, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22106138, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22106139, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22106140, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22106141, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22106142, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22106143, 'pht': 3726}}"}, {'dashboat_entry_day': 1719143, 'dashboard_run_id': 1730600, 'mtr_portfolio_id': 22106775, 'dashboard_result_id': 9923048, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22106775_07-04-2025_15_18_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22106779, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22106780, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22106781, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22106782, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22106783, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22106784, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22106785, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22106786, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22106787, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22106788, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22106789, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22106790, 'pht': 3726}}"}, {'dashboat_entry_day': 1719143, 'dashboard_run_id': 1730600, 'mtr_portfolio_id': 22107458, 'dashboard_result_id': 9923049, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22107458_07-04-2025_15_32_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22107517, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22107518, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22107519, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22107520, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22107521, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22107522, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22107523, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22107524, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22107525, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22107526, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22107527, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22107528, 'pht': 3726}}"}, {'dashboat_entry_day': 1719143, 'dashboard_run_id': 1730600, 'mtr_portfolio_id': 22108240, 'dashboard_result_id': 9923050, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22108240_07-04-2025_15_46_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22108269, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22108270, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22108271, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22108272, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22108273, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22108274, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22108275, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22108276, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22108277, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22108278, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22108279, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22108280, 'pht': 3726}}"}, {'dashboat_entry_day': 1719143, 'dashboard_run_id': 1730600, 'mtr_portfolio_id': 22109025, 'dashboard_result_id': 9923051, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22109025_07-04-2025_16_02_58.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22109031, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22109032, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22109033, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22109034, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22109035, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22109036, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22109037, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22109038, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22109039, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22109040, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22109041, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22109042, 'pht': 3726}}"}, {'dashboat_entry_day': 1719143, 'dashboard_run_id': 1730600, 'mtr_portfolio_id': 22109683, 'dashboard_result_id': 9923052, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22109683_07-04-2025_16_16_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22109686, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22109687, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22109688, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22109689, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22109690, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22109691, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22109692, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22109693, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22109694, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22109695, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22109696, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22109697, 'pht': 3726}}"}, {'dashboat_entry_day': 1719143, 'dashboard_run_id': 1730600, 'mtr_portfolio_id': 22110375, 'dashboard_result_id': 9923053, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22110375_07-04-2025_16_33_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22110378, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22110379, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22110380, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22110381, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22110382, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22110383, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22110384, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22110385, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22110386, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22110387, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22110388, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22110389, 'pht': 3726}}"}, {'dashboat_entry_day': 1719143, 'dashboard_run_id': 1730600, 'mtr_portfolio_id': 22111028, 'dashboard_result_id': 9923054, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22111028_07-04-2025_16_49_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22111070, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22111071, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22111072, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22111073, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22111074, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22111075, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22111076, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22111077, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22111078, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22111079, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22111080, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22111081, 'pht': 3726}}"}, {'dashboat_entry_day': 1719143, 'dashboard_run_id': 1730600, 'mtr_portfolio_id': 22111576, 'dashboard_result_id': 9923055, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22111576_07-04-2025_17_02_57.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22111598, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22111599, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22111600, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22111601, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22111602, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22111603, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22111604, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22111605, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22111606, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22111607, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22111608, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22111609, 'pht': 3726}}"}, {'dashboat_entry_day': 1719143, 'dashboard_run_id': 1730600, 'mtr_portfolio_id': 22112673, 'dashboard_result_id': 9923056, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22112673_07-04-2025_17_16_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22112676, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22112677, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22112678, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22112679, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22112680, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22112681, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22112682, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22112683, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22112684, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22112685, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22112686, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22112687, 'pht': 3726}}"}, {'dashboat_entry_day': 1719143, 'dashboard_run_id': 1730600, 'mtr_portfolio_id': 22113400, 'dashboard_result_id': 9923057, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22113400_07-04-2025_17_33_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22113402, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22113403, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22113404, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22113405, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22113406, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22113407, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22113408, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22113409, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22113410, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22113411, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22113412, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22113413, 'pht': 3726}}"}, {'dashboat_entry_day': 1719143, 'dashboard_run_id': 1730600, 'mtr_portfolio_id': 22114682, 'dashboard_result_id': 9923058, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22114682_07-04-2025_18_16_29.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22114685, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22114686, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22114687, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22114688, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22114689, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22114690, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22114691, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22114692, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22114693, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22114694, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22114695, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22114696, 'pht': 3726}}"}, {'dashboat_entry_day': 1719143, 'dashboard_run_id': 1730600, 'mtr_portfolio_id': 22115261, 'dashboard_result_id': 9923059, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22115261_07-04-2025_18_33_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22115303, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22115304, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22115305, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22115306, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22115307, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22115308, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22115309, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22115310, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22115311, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22115312, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22115313, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22115314, 'pht': 3726}}"}, {'dashboat_entry_day': 1719143, 'dashboard_run_id': 1730600, 'mtr_portfolio_id': 22115863, 'dashboard_result_id': 9923060, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22115863_07-04-2025_18_46_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22115866, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22115867, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22115868, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22115869, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22115870, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22115871, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22115872, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22115873, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22115874, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22115875, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22115876, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22115877, 'pht': 3726}}"}, {'dashboat_entry_day': 1719143, 'dashboard_run_id': 1730600, 'mtr_portfolio_id': 22116683, 'dashboard_result_id': 9923061, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22116683_07-04-2025_19_03_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22116688, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22116689, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22116690, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22116691, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22116692, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22116693, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22116694, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22116695, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22116696, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22116697, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22116698, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22116699, 'pht': 3726}}"}, {'dashboat_entry_day': 1719143, 'dashboard_run_id': 1730600, 'mtr_portfolio_id': 22117242, 'dashboard_result_id': 9923062, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22117242_07-04-2025_19_18_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22117245, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22117246, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22117247, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22117248, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22117249, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22117250, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22117251, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22117252, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22117253, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22117254, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22117255, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22117256, 'pht': 3726}}"}, {'dashboat_entry_day': 1719143, 'dashboard_run_id': 1730600, 'mtr_portfolio_id': 22117993, 'dashboard_result_id': 9923063, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22117993_07-04-2025_19_33_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22117996, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22117997, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22117998, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22117999, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22118000, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22118001, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22118002, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22118003, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22118004, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22118005, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22118006, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22118007, 'pht': 3726}}"}, {'dashboat_entry_day': 1719143, 'dashboard_run_id': 1730600, 'mtr_portfolio_id': 22118404, 'dashboard_result_id': 9923064, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22118404_07-04-2025_19_48_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22118406, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22118407, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22118408, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22118409, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22118410, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22118411, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22118412, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22118413, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22118414, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22118415, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22118416, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22118417, 'pht': 3726}}"}, {'dashboat_entry_day': 1719143, 'dashboard_run_id': 1730600, 'mtr_portfolio_id': 22118961, 'dashboard_result_id': 9923065, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22118961_07-04-2025_20_04_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22119012, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22119013, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22119014, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22119015, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22119016, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22119017, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22119018, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22119019, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22119020, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22119021, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22119022, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22119023, 'pht': 3726}}"}, {'dashboat_entry_day': 1719143, 'dashboard_run_id': 1730600, 'mtr_portfolio_id': 22119603, 'dashboard_result_id': 9923066, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22119603_07-04-2025_20_19_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22119605, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22119606, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22119607, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22119608, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22119609, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22119610, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22119611, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22119612, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22119613, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22119614, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22119615, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22119616, 'pht': 3726}}"}, {'dashboat_entry_day': 1719143, 'dashboard_run_id': 1730600, 'mtr_portfolio_id': 22120163, 'dashboard_result_id': 9923067, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22120163_07-04-2025_20_33_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22120190, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22120191, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22120192, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22120193, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22120194, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22120195, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22120196, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22120197, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22120198, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22120199, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22120200, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22120201, 'pht': 3726}}"}, {'dashboat_entry_day': 1719143, 'dashboard_run_id': 1730600, 'mtr_portfolio_id': 22120874, 'dashboard_result_id': 9923068, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22120874_07-04-2025_21_04_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22120901, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22120902, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22120903, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22120904, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22120905, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22120906, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22120907, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22120908, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22120909, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22120910, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22120911, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22120912, 'pht': 3726}}"}, {'dashboat_entry_day': 1719143, 'dashboard_run_id': 1730600, 'mtr_portfolio_id': 22122008, 'dashboard_result_id': 9923069, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22122008_07-04-2025_21_21_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22122010, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22122011, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22122012, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22122013, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22122014, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22122015, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22122016, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22122017, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22122018, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22122019, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22122020, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22122021, 'pht': 3726}}"}, {'dashboat_entry_day': 1719143, 'dashboard_run_id': 1730600, 'mtr_portfolio_id': 22122792, 'dashboard_result_id': 9923070, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22122792_07-04-2025_21_53_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22122793, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22122794, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22122795, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22122796, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22122797, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22122798, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22122799, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22122800, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22122801, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22122802, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22122803, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22122804, 'pht': 3726}}"}] SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22087245 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2731218, 'mtr_portfolio_id': 22087245, 'created_at': datetime.datetime(2025, 4, 8, 5, 34, 32), 'result': '0.03873668310530549', 'result_long': None, 'result_double': None}] Qualite : 0.03873668310530549 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22087245 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22087245_08-04-2025_05_34_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22087245 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22087245_08-04-2025_05_34_35.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22087246, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22087247, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22087248, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22087249, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22087250, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22087251, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22087252, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22087253, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22087254, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22087255, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22087256, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22087257, 'pht': 3726}}" where mtr_portfolio_id = 22087245 and dashboard_run_id = 1730600 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22087245 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9923018, 0.03873668310530549, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22087245_08-04-2025_05_34_35.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22087246, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22087247, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22087248, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22087249, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22087250, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22087251, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22087252, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22087253, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22087254, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22087255, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22087256, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22087257, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22087563 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2731219, 'mtr_portfolio_id': 22087563, 'created_at': datetime.datetime(2025, 4, 8, 5, 37, 10), 'result': '0.10638804315576386', 'result_long': None, 'result_double': None}] Qualite : 0.10638804315576386 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22087563 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22087563_08-04-2025_05_37_12.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22087563 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22087563_08-04-2025_05_37_12.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22087564, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22087565, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22087566, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22087567, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22087568, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22087569, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22087570, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22087571, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22087572, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22087573, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22087574, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22087575, 'pht': 3726}}" where mtr_portfolio_id = 22087563 and dashboard_run_id = 1730600 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22087563 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9923019, 0.10638804315576386, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22087563_08-04-2025_05_37_12.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22087564, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22087565, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22087566, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22087567, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22087568, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22087569, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22087570, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22087571, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22087572, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22087573, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22087574, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22087575, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22087885 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2731220, 'mtr_portfolio_id': 22087885, 'created_at': datetime.datetime(2025, 4, 8, 5, 37, 8), 'result': '0.06152174887372842', 'result_long': None, 'result_double': None}] Qualite : 0.06152174887372842 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22087885 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22087885_08-04-2025_05_37_11.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22087885 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22087885_08-04-2025_05_37_11.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22087926, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22087927, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22087928, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22087929, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22087930, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22087931, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22087932, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22087933, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22087934, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22087935, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22087936, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22087937, 'pht': 3726}}" where mtr_portfolio_id = 22087885 and dashboard_run_id = 1730600 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22087885 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9923020, 0.06152174887372842, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22087885_08-04-2025_05_37_11.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22087926, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22087927, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22087928, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22087929, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22087930, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22087931, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22087932, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22087933, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22087934, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22087935, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22087936, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22087937, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22088566 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2731221, 'mtr_portfolio_id': 22088566, 'created_at': datetime.datetime(2025, 4, 8, 5, 37, 8), 'result': '0.06914833627382587', 'result_long': None, 'result_double': None}] Qualite : 0.06914833627382587 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22088566 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22088566_08-04-2025_05_37_11.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22088566 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22088566_08-04-2025_05_37_11.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22088569, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22088570, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22088571, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22088572, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22088573, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22088574, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22088575, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22088576, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22088577, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22088578, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22088579, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22088580, 'pht': 3726}}" where mtr_portfolio_id = 22088566 and dashboard_run_id = 1730600 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22088566 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9923021, 0.06914833627382587, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22088566_08-04-2025_05_37_11.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22088569, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22088570, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22088571, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22088572, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22088573, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22088574, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22088575, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22088576, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22088577, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22088578, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22088579, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22088580, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22088910 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2731222, 'mtr_portfolio_id': 22088910, 'created_at': datetime.datetime(2025, 4, 8, 5, 37, 8), 'result': '0.04223080941921585', 'result_long': None, 'result_double': None}] Qualite : 0.04223080941921585 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22088910 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22088910_08-04-2025_05_37_11.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22088910 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22088910_08-04-2025_05_37_11.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22088930, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22088931, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22088932, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22088933, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22088934, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22088935, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22088936, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22088937, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22088938, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22088939, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22088940, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22088941, 'pht': 3726}}" where mtr_portfolio_id = 22088910 and dashboard_run_id = 1730600 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22088910 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9923022, 0.04223080941921585, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22088910_08-04-2025_05_37_11.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22088930, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22088931, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22088932, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22088933, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22088934, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22088935, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22088936, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22088937, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22088938, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22088939, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22088940, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22088941, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22089386 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2731223, 'mtr_portfolio_id': 22089386, 'created_at': datetime.datetime(2025, 4, 8, 5, 37, 8), 'result': '0.08491625305213853', 'result_long': None, 'result_double': None}] Qualite : 0.08491625305213853 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22089386 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22089386_08-04-2025_05_37_18.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22089386 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22089386_08-04-2025_05_37_18.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22089389, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22089390, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22089391, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22089392, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22089393, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22089394, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22089395, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22089396, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22089397, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22089398, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22089399, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22089400, 'pht': 3726}}" where mtr_portfolio_id = 22089386 and dashboard_run_id = 1730600 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22089386 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9923023, 0.08491625305213853, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22089386_08-04-2025_05_37_18.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22089389, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22089390, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22089391, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22089392, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22089393, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22089394, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22089395, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22089396, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22089397, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22089398, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22089399, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22089400, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22089569 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2731224, 'mtr_portfolio_id': 22089569, 'created_at': datetime.datetime(2025, 4, 8, 5, 37, 31), 'result': '0.03563023826952553', 'result_long': None, 'result_double': None}] Qualite : 0.03563023826952553 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22089569 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22089569_08-04-2025_05_37_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22089569 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22089569_08-04-2025_05_37_33.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22089573, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22089574, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22089575, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22089576, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22089577, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22089578, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22089579, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22089580, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22089581, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22089582, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22089583, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22089584, 'pht': 3726}}" where mtr_portfolio_id = 22089569 and dashboard_run_id = 1730600 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22089569 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9923024, 0.03563023826952553, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22089569_08-04-2025_05_37_33.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22089573, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22089574, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22089575, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22089576, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22089577, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22089578, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22089579, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22089580, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22089581, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22089582, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22089583, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22089584, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22089948 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2731225, 'mtr_portfolio_id': 22089948, 'created_at': datetime.datetime(2025, 4, 8, 5, 37, 44), 'result': '0.06217631378278368', 'result_long': None, 'result_double': None}] Qualite : 0.06217631378278368 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22089948 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22089948_08-04-2025_05_37_48.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22089948 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22089948_08-04-2025_05_37_48.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22089991, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22089992, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22089993, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22089994, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22089995, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22089996, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22089997, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22089998, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22089999, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22090000, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22090001, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22090002, 'pht': 3726}}" where mtr_portfolio_id = 22089948 and dashboard_run_id = 1730600 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22089948 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9923025, 0.06217631378278368, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22089948_08-04-2025_05_37_48.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22089991, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22089992, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22089993, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22089994, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22089995, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22089996, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22089997, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22089998, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22089999, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22090000, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22090001, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22090002, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22090491 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2731226, 'mtr_portfolio_id': 22090491, 'created_at': datetime.datetime(2025, 4, 8, 5, 38, 4), 'result': '0.05183391964479114', 'result_long': None, 'result_double': None}] Qualite : 0.05183391964479114 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22090491 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22090491_08-04-2025_05_38_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22090491 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22090491_08-04-2025_05_38_06.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22090495, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22090496, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22090497, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22090498, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22090499, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22090500, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22090501, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22090502, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22090503, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22090504, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22090505, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22090506, 'pht': 3726}}" where mtr_portfolio_id = 22090491 and dashboard_run_id = 1730600 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22090491 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9923026, 0.05183391964479114, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22090491_08-04-2025_05_38_06.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22090495, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22090496, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22090497, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22090498, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22090499, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22090500, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22090501, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22090502, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22090503, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22090504, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22090505, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22090506, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22091054 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2731227, 'mtr_portfolio_id': 22091054, 'created_at': datetime.datetime(2025, 4, 8, 5, 38, 33), 'result': '0.058798979732480564', 'result_long': None, 'result_double': None}] Qualite : 0.058798979732480564 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22091054 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22091054_08-04-2025_05_38_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22091054 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22091054_08-04-2025_05_38_35.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22091058, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22091059, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22091060, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22091061, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22091062, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22091063, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22091064, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22091065, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22091066, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22091067, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22091068, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22091069, 'pht': 3726}}" where mtr_portfolio_id = 22091054 and dashboard_run_id = 1730600 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22091054 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9923027, 0.058798979732480564, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22091054_08-04-2025_05_38_35.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22091058, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22091059, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22091060, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22091061, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22091062, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22091063, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22091064, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22091065, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22091066, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22091067, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22091068, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22091069, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22091666 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2731228, 'mtr_portfolio_id': 22091666, 'created_at': datetime.datetime(2025, 4, 8, 5, 39, 30), 'result': '0.043418233012067306', 'result_long': None, 'result_double': None}] Qualite : 0.043418233012067306 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22091666 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22091666_08-04-2025_05_39_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22091666 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22091666_08-04-2025_05_39_33.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22091670, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22091671, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22091672, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22091673, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22091674, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22091675, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22091676, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22091677, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22091678, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22091679, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22091680, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22091681, 'pht': 3726}}" where mtr_portfolio_id = 22091666 and dashboard_run_id = 1730600 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22091666 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9923028, 0.043418233012067306, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22091666_08-04-2025_05_39_33.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22091670, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22091671, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22091672, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22091673, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22091674, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22091675, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22091676, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22091677, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22091678, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22091679, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22091680, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22091681, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22092221 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2731229, 'mtr_portfolio_id': 22092221, 'created_at': datetime.datetime(2025, 4, 8, 5, 40, 1), 'result': '0.04071573551612584', 'result_long': None, 'result_double': None}] Qualite : 0.04071573551612584 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22092221 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22092221_08-04-2025_05_40_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22092221 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22092221_08-04-2025_05_40_04.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22092273, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22092274, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22092275, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22092276, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22092277, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22092278, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22092279, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22092280, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22092281, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22092282, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22092283, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22092284, 'pht': 3726}}" where mtr_portfolio_id = 22092221 and dashboard_run_id = 1730600 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22092221 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9923029, 0.04071573551612584, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22092221_08-04-2025_05_40_04.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22092273, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22092274, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22092275, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22092276, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22092277, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22092278, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22092279, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22092280, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22092281, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22092282, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22092283, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22092284, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22092677 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2731230, 'mtr_portfolio_id': 22092677, 'created_at': datetime.datetime(2025, 4, 8, 5, 40, 30), 'result': '0.057715875508065645', 'result_long': None, 'result_double': None}] Qualite : 0.057715875508065645 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22092677 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22092677_08-04-2025_05_40_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22092677 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22092677_08-04-2025_05_40_35.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22092682, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22092683, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22092684, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22092685, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22092686, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22092687, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22092688, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22092689, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22092690, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22092691, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22092692, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22092693, 'pht': 3726}}" where mtr_portfolio_id = 22092677 and dashboard_run_id = 1730600 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22092677 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9923030, 0.057715875508065645, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22092677_08-04-2025_05_40_35.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22092682, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22092683, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22092684, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22092685, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22092686, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22092687, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22092688, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22092689, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22092690, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22092691, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22092692, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22092693, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22093430 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2731231, 'mtr_portfolio_id': 22093430, 'created_at': datetime.datetime(2025, 4, 8, 5, 41, 30), 'result': '0.04284199924185977', 'result_long': None, 'result_double': None}] Qualite : 0.04284199924185977 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22093430 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22093430_08-04-2025_05_41_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22093430 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22093430_08-04-2025_05_41_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22093459, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22093460, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22093461, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22093462, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22093463, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22093464, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22093465, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22093466, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22093467, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22093468, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22093469, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22093470, 'pht': 3726}}" where mtr_portfolio_id = 22093430 and dashboard_run_id = 1730600 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22093430 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9923031, 0.04284199924185977, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22093430_08-04-2025_05_41_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22093459, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22093460, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22093461, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22093462, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22093463, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22093464, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22093465, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22093466, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22093467, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22093468, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22093469, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22093470, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22094762 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2731232, 'mtr_portfolio_id': 22094762, 'created_at': datetime.datetime(2025, 4, 8, 5, 42, 4), 'result': '0.047735805615350235', 'result_long': None, 'result_double': None}] Qualite : 0.047735805615350235 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22094762 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22094762_08-04-2025_05_42_09.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22094762 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22094762_08-04-2025_05_42_09.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22094766, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22094767, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22094768, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22094769, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22094770, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22094771, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22094772, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22094773, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22094774, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22094775, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22094776, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22094777, 'pht': 3726}}" where mtr_portfolio_id = 22094762 and dashboard_run_id = 1730600 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22094762 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9923032, 0.047735805615350235, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22094762_08-04-2025_05_42_09.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22094766, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22094767, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22094768, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22094769, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22094770, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22094771, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22094772, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22094773, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22094774, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22094775, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22094776, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22094777, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22095097 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2728212, 'mtr_portfolio_id': 22095097, 'created_at': datetime.datetime(2025, 4, 7, 10, 3, 1), 'result': '0.02667074853988032', 'result_long': None, 'result_double': None}] Qualite : 0.02667074853988032 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22095097 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22095097_07-04-2025_10_03_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22095097 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22095097_07-04-2025_10_03_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22095098, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22095099, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22095100, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22095101, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22095102, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22095103, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22095104, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22095105, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22095106, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22095107, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22095108, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22095109, 'pht': 3726}}" where mtr_portfolio_id = 22095097 and dashboard_run_id = 1730600 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22095097 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9923033, 0.02667074853988032, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22095097_07-04-2025_10_03_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22095098, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22095099, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22095100, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22095101, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22095102, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22095103, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22095104, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22095105, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22095106, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22095107, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22095108, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22095109, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22096055 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2728293, 'mtr_portfolio_id': 22096055, 'created_at': datetime.datetime(2025, 4, 7, 10, 17, 6), 'result': '0.07451960575840277', 'result_long': None, 'result_double': None}] Qualite : 0.07451960575840277 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22096055 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22096055_07-04-2025_10_17_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22096055 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22096055_07-04-2025_10_17_07.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22096087, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22096088, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22096089, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22096090, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22096091, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22096092, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22096093, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22096094, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22096095, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22096096, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22096097, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22096098, 'pht': 3726}}" where mtr_portfolio_id = 22096055 and dashboard_run_id = 1730600 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22096055 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9923034, 0.07451960575840277, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22096055_07-04-2025_10_17_07.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22096087, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22096088, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22096089, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22096090, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22096091, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22096092, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22096093, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22096094, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22096095, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22096096, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22096097, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22096098, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22096580 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2728318, 'mtr_portfolio_id': 22096580, 'created_at': datetime.datetime(2025, 4, 7, 10, 32, 32), 'result': '0.04158433462831996', 'result_long': None, 'result_double': None}] Qualite : 0.04158433462831996 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22096580 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22096580_07-04-2025_10_32_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22096580 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22096580_07-04-2025_10_32_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22096585, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22096586, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22096587, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22096588, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22096589, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22096590, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22096591, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22096592, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22096593, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22096594, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22096595, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22096596, 'pht': 3726}}" where mtr_portfolio_id = 22096580 and dashboard_run_id = 1730600 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22096580 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9923035, 0.04158433462831996, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22096580_07-04-2025_10_32_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22096585, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22096586, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22096587, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22096588, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22096589, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22096590, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22096591, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22096592, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22096593, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22096594, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22096595, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22096596, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22097368 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2728384, 'mtr_portfolio_id': 22097368, 'created_at': datetime.datetime(2025, 4, 7, 10, 49, 2), 'result': '0.04437792218571003', 'result_long': None, 'result_double': None}] Qualite : 0.04437792218571003 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22097368 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22097368_07-04-2025_10_49_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22097368 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22097368_07-04-2025_10_49_04.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22097396, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22097397, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22097398, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22097399, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22097400, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22097401, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22097402, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22097403, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22097404, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22097405, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22097406, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22097407, 'pht': 3726}}" where mtr_portfolio_id = 22097368 and dashboard_run_id = 1730600 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22097368 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9923036, 0.04437792218571003, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22097368_07-04-2025_10_49_04.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22097396, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22097397, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22097398, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22097399, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22097400, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22097401, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22097402, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22097403, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22097404, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22097405, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22097406, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22097407, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22097995 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2728422, 'mtr_portfolio_id': 22097995, 'created_at': datetime.datetime(2025, 4, 7, 11, 2, 31), 'result': '0.04559058438842548', 'result_long': None, 'result_double': None}] Qualite : 0.04559058438842548 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22097995 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22097995_07-04-2025_11_02_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22097995 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22097995_07-04-2025_11_02_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22097998, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22097999, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22098000, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22098001, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22098002, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22098003, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22098004, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22098005, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22098006, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22098007, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22098008, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22098009, 'pht': 3726}}" where mtr_portfolio_id = 22097995 and dashboard_run_id = 1730600 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22097995 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9923037, 0.04559058438842548, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22097995_07-04-2025_11_02_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22097998, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22097999, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22098000, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22098001, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22098002, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22098003, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22098004, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22098005, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22098006, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22098007, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22098008, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22098009, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22098735 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2728493, 'mtr_portfolio_id': 22098735, 'created_at': datetime.datetime(2025, 4, 7, 11, 16, 59), 'result': '0.05181350074261624', 'result_long': None, 'result_double': None}] Qualite : 0.05181350074261624 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22098735 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22098735_07-04-2025_11_17_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22098735 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22098735_07-04-2025_11_17_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22098762, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22098763, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22098764, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22098765, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22098766, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22098767, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22098768, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22098769, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22098770, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22098771, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22098772, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22098773, 'pht': 3726}}" where mtr_portfolio_id = 22098735 and dashboard_run_id = 1730600 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22098735 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9923038, 0.05181350074261624, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22098735_07-04-2025_11_17_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22098762, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22098763, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22098764, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22098765, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22098766, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22098767, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22098768, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22098769, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22098770, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22098771, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22098772, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22098773, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22099363 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2728532, 'mtr_portfolio_id': 22099363, 'created_at': datetime.datetime(2025, 4, 7, 11, 32, 35), 'result': '0.07267822864792925', 'result_long': None, 'result_double': None}] Qualite : 0.07267822864792925 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22099363 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22099363_07-04-2025_11_32_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22099363 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22099363_07-04-2025_11_32_35.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22099392, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22099393, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22099394, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22099395, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22099396, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22099397, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22099398, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22099399, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22099400, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22099401, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22099402, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22099403, 'pht': 3726}}" where mtr_portfolio_id = 22099363 and dashboard_run_id = 1730600 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22099363 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9923039, 0.07267822864792925, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22099363_07-04-2025_11_32_35.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22099392, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22099393, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22099394, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22099395, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22099396, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22099397, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22099398, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22099399, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22099400, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22099401, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22099402, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22099403, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22100198 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2728592, 'mtr_portfolio_id': 22100198, 'created_at': datetime.datetime(2025, 4, 7, 11, 48, 59), 'result': '0.08896608000389293', 'result_long': None, 'result_double': None}] Qualite : 0.08896608000389293 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22100198 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22100198_07-04-2025_11_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22100198 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22100198_07-04-2025_11_48_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22100227, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22100228, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22100229, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22100230, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22100231, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22100232, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22100233, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22100234, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22100235, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22100236, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22100237, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22100238, 'pht': 3726}}" where mtr_portfolio_id = 22100198 and dashboard_run_id = 1730600 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22100198 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9923040, 0.08896608000389293, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22100198_07-04-2025_11_48_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22100227, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22100228, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22100229, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22100230, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22100231, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22100232, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22100233, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22100234, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22100235, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22100236, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22100237, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22100238, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22100839 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2728629, 'mtr_portfolio_id': 22100839, 'created_at': datetime.datetime(2025, 4, 7, 12, 4, 59), 'result': '0.05776291903925126', 'result_long': None, 'result_double': None}] Qualite : 0.05776291903925126 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22100839 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22100839_07-04-2025_12_05_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22100839 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22100839_07-04-2025_12_05_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22100892, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22100893, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22100894, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22100895, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22100896, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22100897, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22100898, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22100899, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22100900, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22100901, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22100902, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22100903, 'pht': 3726}}" where mtr_portfolio_id = 22100839 and dashboard_run_id = 1730600 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22100839 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9923041, 0.05776291903925126, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22100839_07-04-2025_12_05_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22100892, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22100893, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22100894, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22100895, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22100896, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22100897, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22100898, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22100899, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22100900, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22100901, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22100902, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22100903, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22101771 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2728701, 'mtr_portfolio_id': 22101771, 'created_at': datetime.datetime(2025, 4, 8, 0, 25, 33), 'result': '0.03402469608673051', 'result_long': None, 'result_double': None}] Qualite : 0.03402469608673051 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22101771 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22101771_08-04-2025_00_25_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22101771 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22101771_08-04-2025_00_25_34.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22101774, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22101775, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22101776, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22101777, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22101778, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22101779, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22101780, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22101781, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22101782, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22101783, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22101784, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22101785, 'pht': 3726}}" where mtr_portfolio_id = 22101771 and dashboard_run_id = 1730600 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22101771 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9923042, 0.03402469608673051, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22101771_08-04-2025_00_25_34.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22101774, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22101775, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22101776, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22101777, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22101778, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22101779, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22101780, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22101781, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22101782, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22101783, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22101784, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22101785, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22103934 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2729022, 'mtr_portfolio_id': 22103934, 'created_at': datetime.datetime(2025, 4, 7, 14, 2, 59), 'result': '0.06117697663142463', 'result_long': None, 'result_double': None}] Qualite : 0.06117697663142463 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22103934 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22103934_07-04-2025_14_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22103934 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22103934_07-04-2025_14_03_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22103939, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22103940, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22103941, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22103942, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22103943, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22103944, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22103945, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22103946, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22103947, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22103948, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22103949, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22103950, 'pht': 3726}}" where mtr_portfolio_id = 22103934 and dashboard_run_id = 1730600 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22103934 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9923043, 0.06117697663142463, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22103934_07-04-2025_14_03_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22103939, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22103940, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22103941, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22103942, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22103943, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22103944, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22103945, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22103946, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22103947, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22103948, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22103949, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22103950, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22104316 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2729049, 'mtr_portfolio_id': 22104316, 'created_at': datetime.datetime(2025, 4, 7, 14, 18, 29), 'result': '0.0491922554005488', 'result_long': None, 'result_double': None}] Qualite : 0.0491922554005488 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22104316 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22104316_07-04-2025_14_18_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22104316 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22104316_07-04-2025_14_18_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22104319, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22104320, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22104321, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22104322, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22104323, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22104324, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22104325, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22104326, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22104327, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22104328, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22104329, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22104330, 'pht': 3726}}" where mtr_portfolio_id = 22104316 and dashboard_run_id = 1730600 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22104316 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9923044, 0.0491922554005488, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22104316_07-04-2025_14_18_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22104319, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22104320, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22104321, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22104322, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22104323, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22104324, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22104325, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22104326, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22104327, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22104328, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22104329, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22104330, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22104988 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2729095, 'mtr_portfolio_id': 22104988, 'created_at': datetime.datetime(2025, 4, 7, 14, 32, 57), 'result': '0.04974560605100043', 'result_long': None, 'result_double': None}] Qualite : 0.04974560605100043 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22104988 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22104988_07-04-2025_14_32_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22104988 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22104988_07-04-2025_14_32_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22104991, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22104992, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22104993, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22104994, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22104995, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22104996, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22104997, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22104998, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22104999, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22105000, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22105001, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22105002, 'pht': 3726}}" where mtr_portfolio_id = 22104988 and dashboard_run_id = 1730600 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22104988 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9923045, 0.04974560605100043, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22104988_07-04-2025_14_32_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22104991, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22104992, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22104993, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22104994, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22104995, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22104996, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22104997, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22104998, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22104999, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22105000, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22105001, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22105002, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22105620 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2729145, 'mtr_portfolio_id': 22105620, 'created_at': datetime.datetime(2025, 4, 7, 14, 48, 58), 'result': '0.06921743158651834', 'result_long': None, 'result_double': None}] Qualite : 0.06921743158651834 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22105620 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22105620_07-04-2025_14_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22105620 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22105620_07-04-2025_14_48_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22105623, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22105624, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22105625, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22105626, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22105627, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22105628, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22105629, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22105630, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22105631, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22105632, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22105633, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22105634, 'pht': 3726}}" where mtr_portfolio_id = 22105620 and dashboard_run_id = 1730600 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22105620 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9923046, 0.06921743158651834, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22105620_07-04-2025_14_48_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22105623, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22105624, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22105625, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22105626, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22105627, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22105628, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22105629, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22105630, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22105631, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22105632, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22105633, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22105634, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22106129 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2729183, 'mtr_portfolio_id': 22106129, 'created_at': datetime.datetime(2025, 4, 7, 15, 2, 59), 'result': '0.046573715608836566', 'result_long': None, 'result_double': None}] Qualite : 0.046573715608836566 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22106129 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22106129_07-04-2025_15_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22106129 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22106129_07-04-2025_15_03_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22106132, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22106133, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22106134, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22106135, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22106136, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22106137, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22106138, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22106139, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22106140, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22106141, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22106142, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22106143, 'pht': 3726}}" where mtr_portfolio_id = 22106129 and dashboard_run_id = 1730600 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22106129 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9923047, 0.046573715608836566, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22106129_07-04-2025_15_03_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22106132, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22106133, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22106134, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22106135, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22106136, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22106137, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22106138, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22106139, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22106140, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22106141, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22106142, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22106143, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22106775 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2729249, 'mtr_portfolio_id': 22106775, 'created_at': datetime.datetime(2025, 4, 7, 15, 18, 58), 'result': '0.058886222886007346', 'result_long': None, 'result_double': None}] Qualite : 0.058886222886007346 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22106775 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22106775_07-04-2025_15_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22106775 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22106775_07-04-2025_15_18_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22106779, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22106780, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22106781, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22106782, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22106783, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22106784, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22106785, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22106786, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22106787, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22106788, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22106789, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22106790, 'pht': 3726}}" where mtr_portfolio_id = 22106775 and dashboard_run_id = 1730600 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22106775 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9923048, 0.058886222886007346, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22106775_07-04-2025_15_18_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22106779, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22106780, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22106781, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22106782, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22106783, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22106784, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22106785, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22106786, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22106787, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22106788, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22106789, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22106790, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22107458 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2729296, 'mtr_portfolio_id': 22107458, 'created_at': datetime.datetime(2025, 4, 7, 15, 32, 59), 'result': '0.05895099783638643', 'result_long': None, 'result_double': None}] Qualite : 0.05895099783638643 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22107458 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22107458_07-04-2025_15_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22107458 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22107458_07-04-2025_15_32_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22107517, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22107518, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22107519, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22107520, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22107521, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22107522, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22107523, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22107524, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22107525, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22107526, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22107527, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22107528, 'pht': 3726}}" where mtr_portfolio_id = 22107458 and dashboard_run_id = 1730600 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22107458 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9923049, 0.05895099783638643, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22107458_07-04-2025_15_32_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22107517, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22107518, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22107519, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22107520, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22107521, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22107522, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22107523, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22107524, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22107525, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22107526, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22107527, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22107528, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22108240 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2729359, 'mtr_portfolio_id': 22108240, 'created_at': datetime.datetime(2025, 4, 7, 15, 46, 59), 'result': '0.04451422952057321', 'result_long': None, 'result_double': None}] Qualite : 0.04451422952057321 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22108240 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22108240_07-04-2025_15_46_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22108240 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22108240_07-04-2025_15_46_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22108269, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22108270, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22108271, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22108272, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22108273, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22108274, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22108275, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22108276, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22108277, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22108278, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22108279, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22108280, 'pht': 3726}}" where mtr_portfolio_id = 22108240 and dashboard_run_id = 1730600 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22108240 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9923050, 0.04451422952057321, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22108240_07-04-2025_15_46_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22108269, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22108270, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22108271, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22108272, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22108273, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22108274, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22108275, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22108276, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22108277, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22108278, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22108279, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22108280, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22109025 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2729407, 'mtr_portfolio_id': 22109025, 'created_at': datetime.datetime(2025, 4, 7, 16, 2, 57), 'result': '0.08483119642333595', 'result_long': None, 'result_double': None}] Qualite : 0.08483119642333595 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22109025 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22109025_07-04-2025_16_02_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22109025 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22109025_07-04-2025_16_02_58.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22109031, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22109032, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22109033, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22109034, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22109035, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22109036, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22109037, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22109038, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22109039, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22109040, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22109041, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22109042, 'pht': 3726}}" where mtr_portfolio_id = 22109025 and dashboard_run_id = 1730600 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22109025 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9923051, 0.08483119642333595, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22109025_07-04-2025_16_02_58.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22109031, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22109032, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22109033, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22109034, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22109035, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22109036, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22109037, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22109038, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22109039, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22109040, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22109041, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22109042, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22109683 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2729469, 'mtr_portfolio_id': 22109683, 'created_at': datetime.datetime(2025, 4, 7, 16, 16, 57), 'result': '0.052533643540471596', 'result_long': None, 'result_double': None}] Qualite : 0.052533643540471596 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22109683 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22109683_07-04-2025_16_16_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22109683 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22109683_07-04-2025_16_16_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22109686, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22109687, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22109688, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22109689, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22109690, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22109691, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22109692, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22109693, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22109694, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22109695, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22109696, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22109697, 'pht': 3726}}" where mtr_portfolio_id = 22109683 and dashboard_run_id = 1730600 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22109683 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9923052, 0.052533643540471596, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22109683_07-04-2025_16_16_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22109686, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22109687, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22109688, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22109689, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22109690, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22109691, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22109692, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22109693, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22109694, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22109695, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22109696, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22109697, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22110375 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2729511, 'mtr_portfolio_id': 22110375, 'created_at': datetime.datetime(2025, 4, 7, 16, 33), 'result': '0.06027972648338631', 'result_long': None, 'result_double': None}] Qualite : 0.06027972648338631 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22110375 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22110375_07-04-2025_16_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22110375 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22110375_07-04-2025_16_33_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22110378, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22110379, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22110380, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22110381, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22110382, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22110383, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22110384, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22110385, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22110386, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22110387, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22110388, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22110389, 'pht': 3726}}" where mtr_portfolio_id = 22110375 and dashboard_run_id = 1730600 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22110375 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9923053, 0.06027972648338631, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22110375_07-04-2025_16_33_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22110378, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22110379, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22110380, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22110381, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22110382, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22110383, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22110384, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22110385, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22110386, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22110387, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22110388, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22110389, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22111028 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2729567, 'mtr_portfolio_id': 22111028, 'created_at': datetime.datetime(2025, 4, 7, 16, 48, 59), 'result': '0.06934224223004355', 'result_long': None, 'result_double': None}] Qualite : 0.06934224223004355 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22111028 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22111028_07-04-2025_16_49_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22111028 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22111028_07-04-2025_16_49_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22111070, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22111071, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22111072, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22111073, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22111074, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22111075, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22111076, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22111077, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22111078, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22111079, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22111080, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22111081, 'pht': 3726}}" where mtr_portfolio_id = 22111028 and dashboard_run_id = 1730600 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22111028 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9923054, 0.06934224223004355, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22111028_07-04-2025_16_49_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22111070, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22111071, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22111072, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22111073, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22111074, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22111075, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22111076, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22111077, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22111078, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22111079, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22111080, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22111081, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22111576 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2729611, 'mtr_portfolio_id': 22111576, 'created_at': datetime.datetime(2025, 4, 7, 17, 2, 57), 'result': '0.03313230191274701', 'result_long': None, 'result_double': None}] Qualite : 0.03313230191274701 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22111576 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22111576_07-04-2025_17_02_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22111576 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22111576_07-04-2025_17_02_57.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22111598, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22111599, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22111600, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22111601, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22111602, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22111603, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22111604, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22111605, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22111606, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22111607, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22111608, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22111609, 'pht': 3726}}" where mtr_portfolio_id = 22111576 and dashboard_run_id = 1730600 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22111576 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9923055, 0.03313230191274701, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22111576_07-04-2025_17_02_57.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22111598, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22111599, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22111600, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22111601, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22111602, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22111603, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22111604, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22111605, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22111606, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22111607, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22111608, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22111609, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22112673 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2729680, 'mtr_portfolio_id': 22112673, 'created_at': datetime.datetime(2025, 4, 7, 17, 16, 57), 'result': '0.05927717786303368', 'result_long': None, 'result_double': None}] Qualite : 0.05927717786303368 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22112673 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22112673_07-04-2025_17_16_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22112673 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22112673_07-04-2025_17_16_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22112676, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22112677, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22112678, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22112679, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22112680, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22112681, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22112682, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22112683, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22112684, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22112685, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22112686, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22112687, 'pht': 3726}}" where mtr_portfolio_id = 22112673 and dashboard_run_id = 1730600 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22112673 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9923056, 0.05927717786303368, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22112673_07-04-2025_17_16_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22112676, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22112677, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22112678, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22112679, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22112680, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22112681, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22112682, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22112683, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22112684, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22112685, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22112686, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22112687, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22113400 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2729725, 'mtr_portfolio_id': 22113400, 'created_at': datetime.datetime(2025, 4, 7, 17, 33), 'result': '0.05820821448748791', 'result_long': None, 'result_double': None}] Qualite : 0.05820821448748791 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22113400 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22113400_07-04-2025_17_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22113400 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22113400_07-04-2025_17_33_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22113402, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22113403, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22113404, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22113405, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22113406, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22113407, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22113408, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22113409, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22113410, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22113411, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22113412, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22113413, 'pht': 3726}}" where mtr_portfolio_id = 22113400 and dashboard_run_id = 1730600 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22113400 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9923057, 0.05820821448748791, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22113400_07-04-2025_17_33_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22113402, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22113403, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22113404, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22113405, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22113406, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22113407, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22113408, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22113409, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22113410, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22113411, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22113412, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22113413, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22114682 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2729859, 'mtr_portfolio_id': 22114682, 'created_at': datetime.datetime(2025, 4, 7, 18, 16, 28), 'result': '0.0452264832144806', 'result_long': None, 'result_double': None}] Qualite : 0.0452264832144806 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22114682 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22114682_07-04-2025_18_16_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22114682 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22114682_07-04-2025_18_16_29.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22114685, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22114686, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22114687, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22114688, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22114689, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22114690, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22114691, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22114692, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22114693, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22114694, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22114695, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22114696, 'pht': 3726}}" where mtr_portfolio_id = 22114682 and dashboard_run_id = 1730600 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22114682 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9923058, 0.0452264832144806, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22114682_07-04-2025_18_16_29.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22114685, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22114686, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22114687, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22114688, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22114689, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22114690, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22114691, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22114692, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22114693, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22114694, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22114695, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22114696, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22115261 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2729898, 'mtr_portfolio_id': 22115261, 'created_at': datetime.datetime(2025, 4, 7, 18, 33), 'result': '0.07521630136573522', 'result_long': None, 'result_double': None}] Qualite : 0.07521630136573522 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22115261 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22115261_07-04-2025_18_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22115261 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22115261_07-04-2025_18_33_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22115303, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22115304, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22115305, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22115306, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22115307, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22115308, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22115309, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22115310, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22115311, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22115312, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22115313, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22115314, 'pht': 3726}}" where mtr_portfolio_id = 22115261 and dashboard_run_id = 1730600 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22115261 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9923059, 0.07521630136573522, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22115261_07-04-2025_18_33_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22115303, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22115304, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22115305, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22115306, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22115307, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22115308, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22115309, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22115310, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22115311, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22115312, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22115313, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22115314, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22115863 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2729960, 'mtr_portfolio_id': 22115863, 'created_at': datetime.datetime(2025, 4, 7, 18, 46, 57), 'result': '0.051546685918975446', 'result_long': None, 'result_double': None}] Qualite : 0.051546685918975446 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22115863 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22115863_07-04-2025_18_46_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22115863 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22115863_07-04-2025_18_46_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22115866, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22115867, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22115868, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22115869, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22115870, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22115871, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22115872, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22115873, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22115874, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22115875, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22115876, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22115877, 'pht': 3726}}" where mtr_portfolio_id = 22115863 and dashboard_run_id = 1730600 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22115863 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9923060, 0.051546685918975446, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22115863_07-04-2025_18_46_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22115866, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22115867, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22115868, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22115869, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22115870, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22115871, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22115872, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22115873, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22115874, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22115875, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22115876, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22115877, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22116683 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2730007, 'mtr_portfolio_id': 22116683, 'created_at': datetime.datetime(2025, 4, 7, 19, 3), 'result': '0.04850842986034344', 'result_long': None, 'result_double': None}] Qualite : 0.04850842986034344 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22116683 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22116683_07-04-2025_19_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22116683 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22116683_07-04-2025_19_03_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22116688, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22116689, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22116690, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22116691, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22116692, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22116693, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22116694, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22116695, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22116696, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22116697, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22116698, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22116699, 'pht': 3726}}" where mtr_portfolio_id = 22116683 and dashboard_run_id = 1730600 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22116683 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9923061, 0.04850842986034344, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22116683_07-04-2025_19_03_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22116688, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22116689, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22116690, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22116691, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22116692, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22116693, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22116694, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22116695, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22116696, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22116697, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22116698, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22116699, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22117242 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2730057, 'mtr_portfolio_id': 22117242, 'created_at': datetime.datetime(2025, 4, 7, 19, 18, 31), 'result': '0.06002005346110023', 'result_long': None, 'result_double': None}] Qualite : 0.06002005346110023 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22117242 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22117242_07-04-2025_19_18_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22117242 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22117242_07-04-2025_19_18_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22117245, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22117246, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22117247, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22117248, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22117249, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22117250, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22117251, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22117252, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22117253, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22117254, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22117255, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22117256, 'pht': 3726}}" where mtr_portfolio_id = 22117242 and dashboard_run_id = 1730600 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22117242 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9923062, 0.06002005346110023, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22117242_07-04-2025_19_18_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22117245, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22117246, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22117247, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22117248, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22117249, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22117250, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22117251, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22117252, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22117253, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22117254, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22117255, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22117256, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22117993 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2730100, 'mtr_portfolio_id': 22117993, 'created_at': datetime.datetime(2025, 4, 7, 19, 32, 59), 'result': '0.05818949852027168', 'result_long': None, 'result_double': None}] Qualite : 0.05818949852027168 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22117993 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22117993_07-04-2025_19_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22117993 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22117993_07-04-2025_19_33_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22117996, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22117997, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22117998, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22117999, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22118000, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22118001, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22118002, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22118003, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22118004, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22118005, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22118006, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22118007, 'pht': 3726}}" where mtr_portfolio_id = 22117993 and dashboard_run_id = 1730600 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22117993 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9923063, 0.05818949852027168, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22117993_07-04-2025_19_33_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22117996, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22117997, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22117998, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22117999, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22118000, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22118001, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22118002, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22118003, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22118004, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22118005, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22118006, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22118007, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22118404 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2730148, 'mtr_portfolio_id': 22118404, 'created_at': datetime.datetime(2025, 4, 7, 19, 48, 59), 'result': '0.07382460022343797', 'result_long': None, 'result_double': None}] Qualite : 0.07382460022343797 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22118404 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22118404_07-04-2025_19_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22118404 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22118404_07-04-2025_19_48_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22118406, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22118407, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22118408, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22118409, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22118410, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22118411, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22118412, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22118413, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22118414, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22118415, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22118416, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22118417, 'pht': 3726}}" where mtr_portfolio_id = 22118404 and dashboard_run_id = 1730600 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22118404 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9923064, 0.07382460022343797, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22118404_07-04-2025_19_48_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22118406, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22118407, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22118408, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22118409, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22118410, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22118411, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22118412, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22118413, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22118414, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22118415, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22118416, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22118417, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22118961 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2730185, 'mtr_portfolio_id': 22118961, 'created_at': datetime.datetime(2025, 4, 7, 20, 4, 30), 'result': '0.047790102222747016', 'result_long': None, 'result_double': None}] Qualite : 0.047790102222747016 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22118961 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22118961_07-04-2025_20_04_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22118961 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22118961_07-04-2025_20_04_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22119012, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22119013, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22119014, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22119015, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22119016, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22119017, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22119018, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22119019, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22119020, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22119021, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22119022, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22119023, 'pht': 3726}}" where mtr_portfolio_id = 22118961 and dashboard_run_id = 1730600 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22118961 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9923065, 0.047790102222747016, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22118961_07-04-2025_20_04_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22119012, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22119013, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22119014, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22119015, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22119016, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22119017, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22119018, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22119019, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22119020, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22119021, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22119022, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22119023, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22119603 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2730247, 'mtr_portfolio_id': 22119603, 'created_at': datetime.datetime(2025, 4, 7, 20, 19, 1), 'result': '0.041563819891593794', 'result_long': None, 'result_double': None}] Qualite : 0.041563819891593794 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22119603 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22119603_07-04-2025_20_19_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22119603 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22119603_07-04-2025_20_19_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22119605, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22119606, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22119607, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22119608, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22119609, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22119610, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22119611, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22119612, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22119613, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22119614, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22119615, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22119616, 'pht': 3726}}" where mtr_portfolio_id = 22119603 and dashboard_run_id = 1730600 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22119603 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9923066, 0.041563819891593794, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22119603_07-04-2025_20_19_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22119605, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22119606, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22119607, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22119608, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22119609, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22119610, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22119611, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22119612, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22119613, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22119614, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22119615, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22119616, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22120163 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2730281, 'mtr_portfolio_id': 22120163, 'created_at': datetime.datetime(2025, 4, 7, 20, 33, 1), 'result': '0.05074683103433916', 'result_long': None, 'result_double': None}] Qualite : 0.05074683103433916 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22120163 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22120163_07-04-2025_20_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22120163 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22120163_07-04-2025_20_33_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22120190, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22120191, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22120192, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22120193, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22120194, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22120195, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22120196, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22120197, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22120198, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22120199, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22120200, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22120201, 'pht': 3726}}" where mtr_portfolio_id = 22120163 and dashboard_run_id = 1730600 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22120163 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9923067, 0.05074683103433916, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22120163_07-04-2025_20_33_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22120190, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22120191, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22120192, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22120193, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22120194, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22120195, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22120196, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22120197, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22120198, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22120199, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22120200, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22120201, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22120874 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2730349, 'mtr_portfolio_id': 22120874, 'created_at': datetime.datetime(2025, 4, 7, 21, 4, 58), 'result': '0.04545897817085866', 'result_long': None, 'result_double': None}] Qualite : 0.04545897817085866 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22120874 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22120874_07-04-2025_21_04_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22120874 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22120874_07-04-2025_21_04_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22120901, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22120902, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22120903, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22120904, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22120905, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22120906, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22120907, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22120908, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22120909, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22120910, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22120911, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22120912, 'pht': 3726}}" where mtr_portfolio_id = 22120874 and dashboard_run_id = 1730600 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22120874 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9923068, 0.04545897817085866, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22120874_07-04-2025_21_04_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22120901, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22120902, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22120903, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22120904, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22120905, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22120906, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22120907, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22120908, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22120909, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22120910, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22120911, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22120912, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22122008 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2730433, 'mtr_portfolio_id': 22122008, 'created_at': datetime.datetime(2025, 4, 7, 21, 21), 'result': '0.031482606698039', 'result_long': None, 'result_double': None}] Qualite : 0.031482606698039 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22122008 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22122008_07-04-2025_21_21_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22122008 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22122008_07-04-2025_21_21_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22122010, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22122011, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22122012, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22122013, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22122014, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22122015, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22122016, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22122017, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22122018, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22122019, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22122020, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22122021, 'pht': 3726}}" where mtr_portfolio_id = 22122008 and dashboard_run_id = 1730600 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22122008 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9923069, 0.031482606698039, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22122008_07-04-2025_21_21_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22122010, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22122011, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22122012, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22122013, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22122014, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22122015, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22122016, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22122017, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22122018, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22122019, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22122020, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22122021, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22122792 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2730522, 'mtr_portfolio_id': 22122792, 'created_at': datetime.datetime(2025, 4, 7, 21, 53), 'result': '0.018147907977539682', 'result_long': None, 'result_double': None}] Qualite : 0.018147907977539682 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22122792 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22122792_07-04-2025_21_53_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22122792 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22122792_07-04-2025_21_53_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22122793, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22122794, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22122795, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22122796, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22122797, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22122798, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22122799, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22122800, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22122801, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22122802, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22122803, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22122804, 'pht': 3726}}" where mtr_portfolio_id = 22122792 and dashboard_run_id = 1730600 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22122792 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9923070, 0.018147907977539682, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22122792_07-04-2025_21_53_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22122793, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22122794, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22122795, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22122796, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22122797, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22122798, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22122799, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22122800, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22122801, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22122802, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22122803, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22122804, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22087245,22087563,22087885,22088566,22088910,22089386,22089569,22089948,22090491,22091054,22091666,22092221,22092677,22093430,22094762,22095097,22096055,22096580,22097368,22097995,22098735,22099363,22100198,22100839,22101771,22103934,22104316,22104988,22105620,22106129,22106775,22107458,22108240,22109025,22109683,22110375,22111028,22111576,22112673,22113400,22114682,22115261,22115863,22116683,22117242,22117993,22118404,22118961,22119603,22120163,22120874,22122008,22122792) result : ((1350234507,), (1350234570,), (1350234574,), (1350234577,), (1350234614,), (1350234617,), (1350234620,), (1350234622,), (1350234724,), (1350234726,), (1350234728,), (1350234730,), (1350234747,), (1350234748,), (1350234749,), (1350234752,), (1350234754,), (1350234758,), (1350234769,), (1350234780,), (1350234791,), (1350234821,), (1350234825,), (1350234828,), (1350234861,), (1350234862,), (1350234915,), (1350234918,), (1350235079,), (1350235276,), (1350235324,), (1350235579,), (1350235754,), (1350235814,), (1350235811,), (1350235885,), (1350235924,), (1350235929,), (1350235935,), (1350235944,), (1350236046,), (1350236081,), (1350236143,), (1350236173,), (1350236178,), (1350236180,), (1350236205,), (1350236335,), (1350236338,), (1350236341,), (1350236345,), (1350236351,), (1350236774,), (1350236760,), (1350236763,), (1350236770,), (1350236798,), (1350236800,), (1350236803,), (1350236844,), (1350236848,), (1350236853,), (1350236858,), (1350236863,), (1350236868,), (1350236904,), (1350236908,), (1350236914,), (1350236953,), (1350236964,), (1350237392,), (1350237410,), (1350237424,), (1350237608,), (1350237718,), (1350237723,), (1350237725,), (1350237727,), (1350237731,), (1350237734,), (1350237752,), (1350237757,), (1350237761,), (1350237781,), (1350237861,), (1350237864,), (1350237866,), (1350237905,), (1350237907,), (1350237984,), (1350237987,), (1350237989,), (1350238019,), (1350238024,), (1350238027,), (1350238030,), (1350238059,), (1350238095,), (1350238097,), (1350238099,), (1350238101,), (1350238128,), (1350238130,), (1350238162,), (1350238157,), (1350238159,), (1350238200,), (1350238204,), (1350238205,), (1350238207,), (1350238278,), (1350238279,), (1350238280,), (1350238281,), (1350238305,), (1350238308,), (1350238348,), (1350238351,), (1350238354,), (1350238422,), (1350238482,), (1350238486,), (1350238489,), (1350238582,), (1350238585,), (1350238588,), (1350238708,), (1350238710,), (1350238713,), (1350238715,), (1350238718,), (1350238742,), (1350238745,), (1350238747,), (1350238749,), (1350238784,), (1350238792,), (1350238795,), (1350238826,), (1350238828,), (1350238833,), (1350238836,), (1350238888,), (1350238891,), (1350238903,), (1350238905,), (1350238910,), (1350238913,), (1350238969,), (1350238941,), (1350238959,), (1350238964,), (1350239017,), (1350239019,), (1350239021,), (1350239028,), (1350239074,), (1350239076,), (1350239078,), (1350239081,), (1350239088,), (1350239137,), (1350239153,), (1350239166,), (1350239172,), (1350239307,), (1350239310,), (1350239313,), (1350239316,), (1350239320,), (1350239345,), (1350239347,), (1350239353,), (1350239361,), (1350239369,), (1350239396,), (1350239399,), (1350239403,), (1350239408,), (1350239412,), (1350239415,), (1350239437,), (1350239441,), (1350239444,), (1350239447,), (1350239469,), (1350239473,), (1350239498,), (1350239502,), (1350239509,), (1350239516,), (1350239550,), (1350239552,), (1350239600,), (1350239604,), (1350239607,), (1350239610,), (1350239635,), (1350239637,), (1350239664,), (1350239730,), (1350239728,), (1350239829,), (1350239878,), (1350240455,), (1350240458,), (1350240465,), (1350240562,), (1350240573,), (1350240576,), (1350240577,), (1350240710,), (1350240724,), (1350240728,), (1350240790,), (1350240793,), (1350240819,), (1350240821,), (1350240822,), (1350240823,), (1350240853,), (1350240857,), (1350240860,), (1350240908,), (1350240910,), (1350240911,), (1350240912,), (1350240947,), (1350240952,), (1350240958,), (1350240962,), (1350241015,), (1350241002,), (1350241006,), (1350241008,), (1350241011,), (1350241052,), (1350241056,), (1350241060,), (1350241063,), (1350241100,), (1350241104,), (1350241110,), (1350241159,), (1350241165,), (1350241207,), (1350241211,), (1350241213,), (1350241215,), (1350241293,), (1350241302,), (1350241309,), (1350241320,), (1350241363,), (1350241417,), (1350241422,), (1350241463,), (1350241468,), (1350241471,), (1350241478,), (1350241482,), (1350241509,), (1350241513,), (1350241518,), (1350241522,), (1350241526,), (1350241531,), (1350241589,), (1350241593,), (1350241623,), (1350241627,), (1350241629,), (1350241633,), (1350241636,), (1350241676,), (1350241681,), (1350241685,), (1350241687,), (1350241689,), (1350241740,), (1350241726,), (1350241730,), (1350241732,), (1350241775,), (1350241798,), (1350241803,), (1350241810,), (1350241814,), (1350241821,), (1350241852,), (1350241857,), (1350241862,), (1350241867,), (1350242177,), (1350242190,), (1350242196,), (1350242267,), (1350242271,), (1350242273,), (1350242275,), (1350242281,), (1350242286,), (1350242317,), (1350242318,), (1350242327,), (1350242347,), (1350242354,), (1350242381,), (1350242383,), (1350242385,), (1350242387,), (1350242465,), (1350242469,), (1350242473,), (1350242477,), (1350242596,), (1350242640,), (1350242701,), (1350242712,), (1350242716,), (1350242719,), (1350242806,), (1350242812,), (1350242817,), (1350242822,), (1350242862,), (1350242891,), (1350242894,), (1350242954,), (1350242958,), (1350242961,), (1350242996,), (1350243110,), (1350243117,), (1350243122,), (1350243159,), (1350243164,), (1350243173,), (1350243210,), (1350243213,), (1350243260,), (1350243273,), (1350243387,), (1350243372,), (1350243375,), (1350243429,), (1350243431,), (1350243433,), (1350243443,), (1350243451,), (1350243455,), (1350243572,), (1350243577,), (1350243582,), (1350243589,), (1350243597,), (1350243602,), (1350243673,), (1350243685,), (1350243702,), (1350243706,), (1350243866,), (1350243879,), (1350243885,), (1350243891,), (1350243897,), (1350243974,), (1350243983,), (1350243986,), (1350243989,), (1350243997,), (1350244000,), (1350244044,), (1350244049,), (1350244053,), (1350244098,), (1350244102,), (1350244116,), (1350244125,), (1350244191,), (1350244200,), (1350244247,), (1350244256,), (1350244260,), (1350244302,), (1350244305,), (1350244310,), (1350244366,), (1350244372,), (1350244381,), (1350244436,), (1350244448,), (1350244453,), (1350244457,), (1350244461,), (1350244524,), (1350244539,), (1350244543,), (1350244586,), (1350244591,), (1350244598,), (1350244602,), (1350244615,), (1350244618,), (1350244696,), (1350244682,), (1350244689,), (1350244694,), (1350244744,), (1350244747,), (1350244751,), (1350244755,), (1350244812,), (1350244821,), (1350244868,), (1350244872,), (1350244878,), (1350244896,), (1350244929,), (1350244936,), (1350244940,), (1350244946,), (1350244991,), (1350244994,), (1350244997,), (1350245219,), (1350245226,), (1350245232,), (1350245236,), (1350245308,), (1350245313,), (1350245318,), (1350245382,), (1350245388,), (1350245407,), (1350245449,), (1350245451,), (1350245456,), (1350245461,), (1350245506,), (1350245513,), (1350245516,), (1350245521,), (1350245560,), (1350245565,), (1350245568,), (1350245571,), (1350245588,), (1350245704,), (1350245723,), (1350245726,), (1350245892,), (1350245900,), (1350245909,), (1350245956,), (1350245953,), (1350246013,), (1350246134,), (1350246143,), (1350246151,), (1350246212,), (1350246220,), (1350246232,), (1350246444,), (1350246453,), (1350246511,), (1350246515,), (1350246519,), (1350246521,), (1350246584,), (1350246590,), (1350246594,), (1350246755,), (1350246771,), (1350246783,), (1350246787,), (1350246790,), (1350246952,), (1350246963,), (1350246968,), (1350246977,), (1350246985,), (1350247095,), (1350247103,), (1350247115,), (1350247118,), (1350247212,), (1350247221,), (1350247225,), (1350247232,), (1350247298,), (1350247300,), (1350247303,), (1350247304,), (1350247306,), (1350247341,), (1350247355,), (1350247361,), (1350247427,), (1350247429,), (1350247432,), (1350247434,), (1350247439,), (1350247492,), (1350247486,), (1350247488,), (1350247534,), (1350247543,), (1350247547,), (1350247602,), (1350247606,), (1350247651,), (1350247656,), (1350247798,), (1350247805,), (1350247810,), (1350247844,), (1350247863,), (1350247867,), (1350247872,), (1350247909,), (1350247912,), (1350247914,), (1350247916,), (1350247919,), (1350247922,), (1350247963,), (1350247971,), (1350247984,), (1350248002,), (1350248013,), (1350248018,), (1350248114,), (1350248152,), (1350248155,), (1350248162,), (1350248168,), (1350248202,), (1350248206,), (1350248211,), (1350248286,), (1350248290,), (1350248295,), (1350248302,), (1350248335,), (1350248341,), (1350248347,), (1350248353,), (1350248358,), (1350248402,), (1350248848,), (1350248852,), (1350248857,), (1350248971,), (1350249032,), (1350249090,), (1350249075,), (1350249078,), (1350249081,), (1350249085,), (1350249127,), (1350249130,), (1350249135,), (1350249141,), (1350249185,), (1350249189,), (1350249243,), (1350249247,), (1350249254,), (1350249334,), (1350249392,), (1350249720,), (1350249737,), (1350249740,), (1350249744,), (1350249801,), (1350249809,), (1350249821,), (1350249831,), (1350249874,), (1350249879,), (1350249883,), (1350249885,), (1350249932,), (1350249942,), (1350249945,), (1350249949,), (1350249953,), (1350249957,), (1350250081,), (1350250093,), (1350250098,), (1350250105,), (1350250289,), (1350250297,), (1350250305,), (1350250311,), (1350250318,), (1350250327,), (1350250690,), (1350250719,), (1350250723,), (1350250734,), (1350250744,), (1350250749,), (1350250799,), (1350250802,), (1350250844,), (1350250878,), (1350250882,), (1350250885,), (1350250892,), (1350250927,), (1350250931,), (1350250936,), (1350250996,), (1350251000,), (1350251004,), (1350251007,), (1350251011,), (1350251064,), (1350251047,), (1350251052,), (1350251056,), (1350251059,), (1350251062,), (1350251093,), (1350251096,), (1350251117,), (1350251122,), (1350251126,), (1350251161,), (1350251166,), (1350251178,), (1350251241,), (1350251246,), (1350251252,), (1350251255,), (1350251259,), (1350251348,), (1350251418,), (1350251428,), (1350251432,), (1350251468,), (1350251470,), (1350251473,), (1350251499,), (1350251503,), (1350251506,), (1350251510,), (1350251543,), (1350251548,), (1350251550,), (1350251553,), (1350251555,), (1350251875,), (1350251898,), (1350251903,), (1350251906,), (1350251981,), (1350251986,), (1350252096,), (1350252100,), (1350252108,), (1350252113,), (1350252118,), (1350252144,), (1350252147,), (1350252150,), (1350252154,), (1350252204,), (1350252206,), (1350252208,), (1350252210,), (1350252768,), (1350252775,), (1350252782,), (1350252797,), (1350252819,), (1350252893,), (1350256013,), (1350256020,), (1350256025,), (1350256105,), (1350256115,), (1350256119,), (1350256212,), (1350256265,), (1350256280,), (1350256287,), (1350256293,), (1350256301,), (1350256304,), (1350256367,), (1350256379,), (1350256382,), (1350256429,), (1350256460,), (1350256467,), (1350256475,), (1350256564,), (1350256570,), (1350256574,), (1350256578,), (1350256583,), (1350256712,), (1350256720,), (1350256729,), (1350256740,), (1350256746,), (1350256930,), (1350256934,), (1350257158,), (1350257205,), (1350257217,), (1350257223,), (1350257335,), (1350257330,), (1350257423,), (1350257433,), (1350257463,), (1350257496,), (1350257555,), (1350257559,), (1350257562,), (1350257580,), (1350257585,), (1350257611,), (1350257620,), (1350257626,), (1350257696,), (1350257701,), (1350257717,), (1350257721,), (1350257737,), (1350257923,), (1350257928,), (1350257940,), (1350257948,), (1350257987,), (1350257991,), (1350257996,), (1350258000,), (1350258003,), (1350258030,), (1350258079,), (1350258132,), (1350258143,), (1350258148,), (1350258290,), (1350258320,), (1350258343,), (1350258367,), (1350258727,), (1350258740,), (1350258757,), (1350258760,), (1350258764,), (1350258767,), (1350258818,), (1350258889,), (1350258894,), (1350258899,), (1350258902,), (1350258925,), (1350259077,), (1350259133,), (1350259179,), (1350259553,), (1350260072,), (1350260084,), (1350260102,), (1350260116,), (1350260245,), (1350260233,), (1350260238,), (1350260407,), (1350260410,), (1350260416,), (1350260540,), (1350260549,), (1350260560,), (1350260736,), (1350260827,), (1350260838,), (1350261116,), (1350262932,), (1350262961,), (1350263084,), (1350263091,), (1350263110,), (1350263127,), (1350263141,), (1350263250,), (1350263273,), (1350263428,), (1350263440,), (1350263471,), (1350263616,), (1350263640,), (1350263656,), (1350263863,), (1350263889,), (1350263907,), (1350263926,), (1350264079,), (1350264110,), (1350264122,), (1350264203,), (1350264163,), (1350264169,), (1350264179,), (1350264296,), (1350264302,), (1350264321,), (1350264370,), (1350264377,), (1350264427,), (1350264550,), (1350264553,), (1350264560,), (1350264570,), (1350264698,), (1350264722,), (1350264733,), (1350264750,), (1350264755,), (1350264923,), (1350264961,), (1350265007,), (1350265042,), (1350265064,), (1350265106,), (1350265245,), (1350265248,), (1350265251,), (1350265254,), (1350265258,), (1350265319,), (1350265338,), (1350265350,), (1350265354,), (1350265415,), (1350265427,), (1350265431,), (1350265437,), (1350265440,), (1350265539,), (1350265554,), (1350265565,), (1350265633,), (1350265635,), (1350265642,), (1350265646,), (1350265653,), (1350265659,), (1350265718,), (1350265737,), (1350265761,), (1350265799,), (1350266109,), (1350266150,), (1350266202,), (1350266247,), (1350266304,), (1350266679,), (1350266731,), (1350266780,), (1350266835,), (1350266962,), (1350267128,), (1350267148,), (1350267154,), (1350267426,), (1350267466,), (1350267492,), (1350267513,), (1350267542,), (1350267574,), (1350267891,), (1350267789,), (1350267813,), (1350267872,), (1350268331,), (1350268359,), (1350268387,), (1350268501,), (1350268569,), (1350268639,), (1350268694,), (1350268981,), (1350268996,), (1350269004,), (1350269030,), (1350269058,), (1350269250,), (1350269267,), (1350269280,), (1350269307,), (1350269633,), (1350269667,), (1350269704,), (1350269751,), (1350269926,), (1350269931,), (1350269945,), (1350269949,), (1350269952,), (1350270022,), (1350270035,), (1350270042,), (1350270047,), (1350270053,), (1350270188,), (1350270286,), (1350270306,), (1350270352,), (1350270382,), (1350270446,), (1350270450,), (1350270452,), (1350270643,), (1350270648,), (1350270664,), (1350270688,), (1350270702,), (1350270756,), (1350270770,), (1350270785,), (1350270794,), (1350270980,), (1350271007,), (1350271035,), (1350271037,), (1350271115,), (1350271140,), (1350271167,), (1350271196,), (1350271226,), (1350271248,), (1350271314,), (1350271321,), (1350271326,), (1350271346,), (1350271469,), (1350271443,), (1350271447,), (1350271457,), (1350271463,), (1350271675,), (1350271707,), (1350271720,), (1350271747,), (1350271779,), (1350271974,), (1350272003,), (1350272008,), (1350272019,), (1350272379,), (1350272463,), (1350272601,), (1350272629,), (1350273307,), (1350273371,), (1350273421,), (1350273459,), (1350273523,), (1350273606,), (1350273781,), (1350273828,), (1350273879,), (1350273912,), (1350273944,), (1350274019,), (1350274039,), (1350274061,), (1350274330,), (1350274358,), (1350274371,), (1350274377,), (1350274387,), (1350274393,), (1350274433,), (1350274440,), (1350274445,), (1350274448,), (1350274455,), (1350274514,), (1350274519,), (1350274522,), (1350274527,), (1350274674,), (1350274678,), (1350274682,), (1350274687,), (1350274742,), (1350274747,), (1350274751,), (1350274755,), (1350274760,), (1350274766,), (1350274845,), (1350274867,), (1350274885,), (1350275362,), (1350275413,), (1350275462,), (1350275524,), (1350275713,), (1350275781,), (1350275837,), (1350275896,), (1350276520,), (1350276276,), (1350276369,), (1350276440,), (1350277010,), (1350277050,), (1350277082,), (1350277109,), (1350277572,), (1350277597,), (1350277633,), (1350277685,), (1350278157,), (1350278200,), (1350278228,), (1350278329,), (1350278785,), (1350278836,), (1350278913,), (1350278966,), (1350279017,), (1350279200,), (1350279209,), (1350279213,), (1350279275,), (1350279285,), (1350279289,), (1350279294,), (1350279302,), (1350279314,), (1350279503,), (1350279534,), (1350279541,), (1350279560,), (1350279701,), (1350279706,), (1350279717,), (1350279745,), (1350279828,), (1350279833,), (1350279855,), (1350279863,), (1350279869,), (1350279964,), (1350279970,), (1350279975,), (1350279981,), (1350280241,), (1350280258,), (1350280282,), (1350280305,), (1350280334,), (1350280358,), (1350280536,), (1350280545,), (1350280549,), (1350280717,), (1350280743,), (1350280762,), (1350280769,), (1350280777,), (1350280795,), (1350280858,), (1350280861,), (1350280868,), (1350280871,), (1350280932,), (1350280910,), (1350280921,), (1350280928,), (1350281018,), (1350281022,), (1350281039,), (1350281046,), (1350281048,), (1350281153,), (1350281157,), (1350281161,), (1350281170,), (1350281174,), (1350281178,), (1350281292,), (1350281300,), (1350281309,), (1350281315,), (1350281319,), (1350281607,), (1350281617,), (1350281620,), (1350281624,), (1350281631,), (1350281704,), (1350281706,), (1350281710,), (1350281819,), (1350281839,), (1350281872,), (1350281900,), (1350281917,), (1350282001,), (1350282008,), (1350282021,), (1350282248,), (1350282262,), (1350282266,), (1350282270,), (1350282330,), (1350282337,), (1350282339,), (1350282344,), (1350282447,), (1350282453,), (1350282468,), (1350282483,), (1350282498,), (1350282566,), (1350282839,), (1350282914,), (1350282921,), (1350282940,), (1350282947,), (1350283031,), (1350283038,), (1350283078,), (1350283085,), (1350283206,), (1350283234,), (1350283241,), (1350283245,), (1350283314,), (1350283316,), (1350283320,), (1350283332,), (1350283339,), (1350283424,), (1350283408,), (1350283411,), (1350283413,), (1350283720,), (1350283721,), (1350283727,), (1350283889,), (1350283892,), (1350283897,), (1350283954,), (1350283963,), (1350283997,), (1350284155,), (1350284283,), (1350284291,), (1350284312,), (1350284452,), (1350284575,), (1350284589,), (1350284609,), (1350284622,), (1350284683,), (1350284688,), (1350284697,), (1350284703,), (1350284744,), (1350284746,), (1350284750,), (1350284814,), (1350284818,), (1350284960,), (1350284978,), (1350285075,), (1350285084,), (1350285094,), (1350285103,), (1350285411,), (1350285480,), (1350285511,), (1350285551,), (1350285628,), (1350285636,), (1350285641,), (1350285646,), (1350285717,), (1350285707,), (1350285712,), (1350285714,), (1350286014,), (1350286060,), (1350286342,), (1350286355,), (1350286358,), (1350286417,), (1350286421,), (1350286427,), (1350286446,), (1350286449,), (1350286486,), (1350286491,), (1350286495,), (1350286499,), (1350286555,), (1350286560,), (1350286564,), (1350286567,), (1350286585,), (1350286630,), (1350286691,), (1350286695,), (1350286713,), (1350286738,), (1350286804,), (1350286896,), (1350286899,), (1350286903,), (1350286907,), (1350286910,), (1350286959,), (1350286963,), (1350287030,), (1350287039,), (1350287044,), (1350287054,), (1350287167,), (1350287205,), (1350287233,), (1350287245,), (1350287341,), (1350287362,), (1350287384,), (1350287412,), (1350287561,), (1350287594,), (1350287616,), (1350288053,), (1350288066,), (1350288083,), (1350288099,), (1350288106,), (1350288253,), (1350288165,), (1350288235,), (1350288246,), (1350288350,), (1350288401,), (1350288462,), (1350288525,), (1350288711,), (1350288755,), (1350288771,), (1350288817,), (1350289722,), (1350290223,), (1350292294,), (1350292857,), (1350292927,), (1350313776,), (1350315577,), (1350315591,), (1350315601,), (1350315931,), (1350316474,), (1350316498,), (1350316724,), (1350316752,), (1350316755,), (1350316787,), (1350316794,), (1350316800,), (1350316848,), (1350316850,), (1350316853,), (1350317018,), (1350317047,), (1350317110,), (1350317186,), (1350317273,), (1350317361,), (1350318398,), (1350318437,), (1350319142,), (1350319050,), (1350319076,), (1350319474,), (1350319545,), (1350319581,), (1350319606,), (1350319788,), (1350319824,), (1350319867,), (1350319890,), (1350320104,), (1350320132,), (1350320251,), (1350320277,), (1350320304,), (1350320333,), (1350320362,), (1350320492,), (1350320495,), (1350320501,), (1350320625,), (1350320631,), (1350320636,), (1350320640,), (1350320646,), (1350320791,), (1350320816,), (1350320840,), (1350320998,), (1350321006,), (1350321012,), (1350321019,), (1350321254,), (1350321279,), (1350321287,), (1350321293,), (1350321300,), (1350321526,), (1350321540,), (1350321544,), (1350321599,), (1350321604,), (1350321609,), (1350321615,), (1350321674,), (1350321676,), (1350321749,), (1350321773,), (1350321804,), (1350321836,), (1350321867,), (1350321898,), (1350321983,), (1350321986,), (1350321990,), (1350321995,), (1350322001,), (1350322007,), (1350322088,), (1350322072,), (1350322077,), (1350322082,), (1350322260,), (1350322263,), (1350322308,), (1350322353,), (1350322596,), (1350322608,), (1350322612,), (1350322741,), (1350322848,), (1350323309,), (1350323314,), (1350323317,), (1350323320,), (1350323340,), (1350323525,), (1350323530,), (1350323533,), (1350323606,), (1350323612,), (1350323614,), (1350323616,), (1350323622,), (1350323696,), (1350323721,), (1350323737,), (1350323758,), (1350323778,), (1350323818,), (1350323873,), (1350323878,), (1350323907,), (1350323912,), (1350324071,), (1350324086,), (1350324224,), (1350324229,), (1350324233,), (1350324237,), (1350324242,), (1350324248,), (1350324300,), (1350324302,), (1350324307,), (1350324337,), (1350324484,), (1350324538,), (1350324591,), (1350324633,), (1350324638,), (1350324646,), (1350324663,), (1350324706,), (1350324719,), (1350324983,), (1350325011,), (1350325016,), (1350325018,), (1350325022,), (1350325053,), (1350325057,), (1350325063,), (1350325083,), (1350325175,), (1350325132,), (1350325137,), (1350325144,), (1350325169,), (1350325208,), (1350325237,), (1350325480,), (1350325500,), (1350325511,), (1350325523,), (1350325674,), (1350325708,), (1350325746,), (1350325759,), (1350325766,), (1350325893,), (1350325898,), (1350326124,), (1350326129,), (1350326136,), (1350326142,), (1350326147,), (1350326149,), (1350326198,), (1350326201,), (1350326205,), (1350326208,), (1350326384,), (1350326390,), (1350326396,), (1350326402,), (1350326526,), (1350326530,), (1350326535,), (1350326539,), (1350326544,), (1350326557,), (1350326601,), (1350326606,), (1350326625,), (1350326654,), (1350326680,), (1350326804,), (1350326815,), (1350326819,), (1350326926,), (1350326930,), (1350326935,), (1350326941,), (1350327004,), (1350327007,), (1350327014,), (1350327018,), (1350327135,), (1350327154,), (1350327172,), (1350327231,), (1350327235,), (1350327242,), (1350327247,), (1350327361,), (1350327299,), (1350327307,), (1350327316,), (1350327324,), (1350327338,), (1350327501,), (1350327536,), (1350327540,), (1350327544,), (1350327549,), (1350327583,), (1350327587,), (1350327590,), (1350327594,), (1350327682,), (1350327690,), (1350327693,), (1350327739,), (1350327855,), (1350327863,), (1350327869,), (1350327875,), (1350327879,), (1350327883,), (1350327962,), (1350327964,), (1350327968,), (1350327972,), (1350327977,), (1350328039,), (1350328044,), (1350328053,), (1350328126,), (1350328178,), (1350328235,), (1350328256,), (1350328295,), (1350328318,), (1350328399,), (1350328447,), (1350328478,), (1350328501,), (1350328516,), (1350328535,), (1350328706,), (1350328795,), (1350328803,), (1350328809,), (1350328897,), (1350328925,), (1350328955,), (1350328971,), (1350328997,), (1350329065,), (1350329071,), (1350329076,), (1350329078,), (1350329192,), (1350329196,), (1350329199,), (1350329203,), (1350329208,), (1350329297,), (1350330227,), (1350330292,), (1350330323,), (1350330371,), (1350330408,), (1350330461,), (1350330575,), (1350330649,), (1350330700,), (1350330800,), (1350331092,), (1350330963,), (1350331038,), (1350331679,), (1350331766,), (1350331923,), (1350331986,), (1350332051,), (1350332110,), (1350332542,), (1350332610,), (1350332673,), (1350332756,), (1350332832,), (1350332897,), (1350333250,), (1350333307,), (1350333344,), (1350333385,), (1350333997,), (1350334040,), (1350334103,), (1350334162,), (1350334194,), (1350334441,), (1350334462,), (1350334470,), (1350334511,), (1350334533,), (1350334639,), (1350334644,), (1350334648,), (1350334653,), (1350334658,), (1350334703,), (1350334731,), (1350334750,), (1350334777,), (1350334800,), (1350334901,), (1350334904,), (1350334907,), (1350334910,), (1350334914,), (1350335120,), (1350335128,), (1350335133,), (1350335137,), (1350335201,), (1350335205,), (1350335207,), (1350335211,), (1350335217,), (1350335269,), (1350335279,), (1350335287,), (1350335291,), (1350335361,), (1350335364,), (1350335369,), (1350335631,), (1350335663,), (1350335691,), (1350335728,), (1350335742,), (1350335962,), (1350335980,), (1350335998,), (1350336026,), (1350336420,), (1350336310,), (1350336328,), (1350336351,), (1350336393,), (1350336540,), (1350336567,), (1350336601,), (1350336622,), (1350336659,), (1350337060,), (1350337069,), (1350337075,), (1350337237,), (1350337240,), (1350337247,), (1350337251,), (1350337256,), (1350337297,), (1350337477,), (1350337509,), (1350337517,), (1350337521,), (1350337575,), (1350337581,), (1350337591,), (1350337855,), (1350337898,), (1350337901,), (1350337913,), (1350338034,), (1350338040,), (1350338114,), (1350338130,), (1350338173,), (1350338222,), (1350338262,), (1350338396,), (1350338486,), (1350338497,), (1350338520,), (1350338571,), (1350338577,), (1350338583,), (1350338588,), (1350338593,), (1350338614,), (1350338617,), (1350338621,), (1350338625,), (1350338633,), (1350338640,), (1350338715,), (1350338721,), (1350338725,), (1350338746,), (1350338813,), (1350338822,), (1350338949,), (1350338965,), (1350338969,), (1350338972,), (1350339233,), (1350339256,), (1350339262,), (1350339268,), (1350339273,), (1350339360,), (1350339476,), (1350339451,), (1350339454,), (1350339615,), (1350339643,), (1350339677,), (1350339701,), (1350339841,), (1350339852,), (1350339873,), (1350339896,), (1350339912,), (1350339933,), (1350339979,), (1350339982,), (1350339987,), (1350340162,), (1350340171,), (1350340205,), (1350340215,), (1350340222,), (1350340283,), (1350340393,), (1350340402,), (1350340407,), (1350340410,), (1350340413,), (1350340463,), (1350340476,), (1350340484,), (1350340528,), (1350340539,), (1350340559,), (1350340568,), (1350340585,), (1350340694,), (1350340704,), (1350340720,), (1350340739,), (1350340748,), (1350340751,), (1350340886,), (1350340889,), (1350340915,), (1350340921,), (1350340967,), (1350340979,), (1350341007,), (1350341037,), (1350341070,), (1350341205,), (1350341221,), (1350341234,), (1350341243,), (1350341250,), (1350341334,), (1350341363,), (1350341396,), (1350341566,), (1350341569,), (1350341573,), (1350341575,), (1350341577,), (1350341616,), (1350341620,), (1350341623,), (1350341626,), (1350341629,), (1350341631,), (1350341699,), (1350341686,), (1350341691,), (1350341697,), (1350341933,), (1350341935,), (1350342079,), (1350342094,), (1350342098,), (1350342102,), (1350342107,), (1350342208,), (1350342217,), (1350342221,), (1350342227,), (1350342281,), (1350342383,), (1350342386,), (1350342389,), (1350342392,), (1350342396,), (1350342469,), (1350342472,), (1350342474,), (1350342546,), (1350342550,), (1350342554,), (1350342578,), (1350342605,), (1350342789,), (1350342791,), (1350342794,), (1350342797,), (1350342928,), (1350342933,), (1350342935,), (1350342940,), (1350342944,), (1350342947,), (1350343140,), (1350343144,), (1350343155,), (1350343174,), (1350343331,), (1350343343,), (1350343347,), (1350343352,), (1350343357,), (1350343373,), (1350343429,), (1350343459,), (1350343471,), (1350343479,), (1350343486,), (1350343684,), (1350343709,), (1350343731,), (1350343821,), (1350344467,), (1350344497,), (1350344520,), (1350344544,), (1350344586,), (1350344631,), (1350345111,), (1350345053,), (1350345698,), (1350345732,), (1350345750,), (1350345787,), (1350346296,), (1350346384,), (1350346565,), (1350346622,), (1350346669,), (1350346698,), (1350346930,), (1350346968,), (1350347021,), (1350347610,), (1350347621,), (1350347662,), (1350347669,), (1350347681,), (1350347791,), (1350347800,), (1350347809,), (1350347820,), (1350347831,), (1350347932,), (1350347937,), (1350347942,), (1350347947,), (1350347951,), (1350348015,), (1350348018,), (1350348023,), (1350348169,), (1350348193,), (1350348241,), (1350348281,), (1350348332,), (1350348363,), (1350348475,), (1350348485,), (1350348510,), (1350348530,), (1350348542,), (1350348619,), (1350348625,), (1350348631,), (1350348746,), (1350348831,), (1350348885,), (1350348911,), (1350349186,), (1350349217,), (1350349234,), (1350349604,), (1350349609,), (1350349619,), (1350349623,), (1350349627,), (1350349660,), (1350349664,), (1350349668,), (1350349670,), (1350349675,), (1350349726,), (1350349713,), (1350349717,), (1350349721,), (1350349844,), (1350349868,), (1350349943,), (1350349952,), (1350349974,), (1350350070,), (1350350072,), (1350350075,), (1350350078,), (1350350082,), (1350350086,), (1350350142,), (1350350145,), (1350350154,), (1350350167,), (1350350423,), (1350350451,), (1350350457,), (1350350461,), (1350350476,), (1350350487,), (1350350647,), (1350350680,), (1350350685,), (1350350690,), (1350350694,), (1350350698,), (1350350799,), (1350350816,), (1350350821,), (1350350937,), (1350350943,), (1350350948,), (1350350955,), (1350350966,), (1350350972,), (1350351029,), (1350351032,), (1350351038,), (1350351049,), (1350351062,), (1350351070,), (1350351358,), (1350352087,), (1350352104,), (1350352269,), (1350352273,), (1350352276,), (1350352279,), (1350352281,), (1350352287,), (1350352376,), (1350352631,), (1350352643,), (1350352653,), (1350352744,), (1350352747,), (1350352753,), (1350352756,), (1350352760,), (1350352764,), (1350352860,), (1350352864,), (1350352878,), (1350352892,), (1350352928,), (1350353181,), (1350353234,), (1350353238,), (1350353241,), (1350353280,), (1350353313,), (1350353320,), (1350353328,), (1350353331,), (1350353361,), (1350353367,), (1350353388,), (1350353394,), (1350353398,), (1350353402,), (1350353590,), (1350353596,), (1350353600,), (1350353605,), (1350353635,), (1350353641,), (1350353646,), (1350353650,), (1350353654,), (1350353658,), (1350353716,), (1350353719,), (1350353727,), (1350353732,), (1350353746,), (1350353756,), (1350354043,), (1350354084,), (1350354131,), (1350354173,), (1350354345,), (1350354348,), (1350354353,), (1350354356,), (1350354366,), (1350354375,), (1350354419,), (1350354422,), (1350354428,), (1350354433,), (1350354542,), (1350354567,), (1350354589,), (1350354679,), (1350354684,), (1350354686,), (1350354702,), (1350354707,), (1350354712,), (1350354823,), (1350354800,), (1350354803,), (1350354807,), (1350354812,), (1350354999,), (1350355015,), (1350355018,), (1350355023,), (1350355208,), (1350355212,), (1350355216,), (1350355219,), (1350355225,), (1350355426,), (1350355462,), (1350355497,), (1350355541,), (1350355581,), (1350355865,), (1350355881,), (1350355885,), (1350355963,), (1350355973,), (1350355983,), (1350356250,), (1350356257,), (1350356267,), (1350356281,), (1350356290,), (1350356337,), (1350356343,), (1350356360,), (1350356404,), (1350356668,), (1350356995,), (1350357025,), (1350357040,), (1350357057,), (1350357060,), (1350357279,), (1350357295,), (1350357323,), (1350357326,), (1350357331,), (1350357337,), (1350357379,), (1350357397,), (1350357400,), (1350357514,), (1350357532,), (1350357539,), (1350357545,), (1350357551,), (1350357595,), (1350357948,), (1350358023,), (1350358099,), (1350358930,), (1350358936,), (1350358943,), (1350358964,), (1350358972,), (1350358978,), (1350358982,), (1350358990,), (1350359135,), (1350359067,), (1350359096,), (1350359102,), (1350359105,), (1350359379,), (1350359430,), (1350359492,), (1350359545,), (1350359625,), (1350359669,), (1350359848,), (1350359966,), (1350359993,), (1350360030,), (1350360190,), (1350360218,), (1350360248,), (1350360274,), (1350360276,), (1350360299,), (1350360396,), (1350360400,), (1350360403,), (1350360407,), (1350360411,), (1350360634,), (1350360649,), (1350360657,), (1350360663,), (1350360725,), (1350360729,), (1350360742,), (1350361015,), (1350361020,), (1350361023,), (1350361031,), (1350361095,), (1350361099,), (1350361103,), (1350361107,), (1350361116,), (1350361252,), (1350361270,), (1350361283,), (1350361307,), (1350361561,), (1350361570,), (1350361573,), (1350361625,), (1350361678,), (1350361700,), (1350361739,), (1350361769,), (1350361792,), (1350361798,), (1350361821,), (1350361827,), (1350361831,), (1350361838,), (1350361845,), (1350361901,), (1350361904,), (1350361909,), (1350361922,), (1350362016,), (1350362022,), (1350362027,), (1350362033,), (1350362082,), (1350362076,), (1350362192,), (1350362204,), (1350362216,), (1350362289,), (1350362308,), (1350362332,), (1350362496,), (1350362516,), (1350362549,), (1350362554,), (1350362588,), (1350362690,), (1350362717,), (1350362745,), (1350362780,), (1350362814,), (1350362823,), (1350362894,), (1350362898,), (1350362909,), (1350362914,), (1350362920,), (1350362979,), (1350362987,), (1350363243,), (1350363251,), (1350363259,), (1350363346,), (1350363542,), (1350363546,), (1350363552,), (1350363556,), (1350363562,), (1350363567,), (1350363580,), (1350363587,), (1350363594,), (1350363601,), (1350363607,), (1350363640,), (1350363648,), (1350363653,), (1350363664,), (1350363674,), (1350363677,), (1350363696,), (1350363704,), (1350363739,), (1350363744,), (1350363776,), (1350363913,), (1350363970,), (1350363986,), (1350363994,), (1350364042,), (1350364126,), (1350364534,), (1350364540,), (1350364544,), (1350364804,), (1350364821,), (1350364833,), (1350364837,), (1350364842,), (1350364847,), (1350364934,), (1350372603,), (1350372622,), (1350372650,), (1350372857,), (1350372880,), (1350372898,), (1350372905,), (1350372943,), (1350373025,), (1350373037,), (1350373204,), (1350373268,), (1350373273,), (1350373278,), (1350373284,), (1350373326,), (1350373330,), (1350373335,), (1350373341,), (1350373347,), (1350373352,), (1350373434,), (1350373447,), (1350373454,), (1350373600,), (1350373618,), (1350373693,), (1350373729,), (1350373737,), (1350373747,), (1350373869,), (1350373880,), (1350373891,), (1350373902,), (1350373906,), (1350373911,), (1350374210,), (1350374235,), (1350374265,), (1350374511,), (1350374516,), (1350374521,), (1350374525,), (1350374536,), (1350374553,), (1350374683,), (1350374713,), (1350374744,), (1350374784,), (1350374851,), (1350375108,), (1350375113,), (1350375125,), (1350375140,), (1350375319,), (1350375323,), (1350375329,), (1350375334,), (1350375341,), (1350375347,), (1350375400,), (1350375393,), (1350375395,), (1350375585,), (1350375613,), (1350375618,), (1350375644,), (1350375650,), (1350375678,), (1350375768,), (1350375798,), (1350375838,), (1350375849,), (1350375856,), (1350375995,), (1350376001,), (1350376006,), (1350376300,), (1350376309,), (1350376312,), (1350376315,), (1350376344,), (1350376349,), (1350376450,), (1350376455,), (1350376460,), (1350376465,), (1350376472,), (1350376485,), (1350376555,), (1350376559,), (1350376742,), (1350376747,), (1350376751,), (1350376776,), (1350376797,), (1350376903,), (1350376912,), (1350376926,), (1350376928,), (1350376939,), (1350377042,), (1350377048,), (1350377071,), (1350377081,), (1350377185,), (1350377231,), (1350377262,), (1350377267,), (1350377270,), (1350377273,), (1350377292,), (1350377305,), (1350377310,), (1350377358,), (1350377375,), (1350377396,), (1350377404,), (1350377415,), (1350377425,), (1350377548,), (1350377571,), (1350377598,), (1350377600,), (1350377605,), (1350377665,), (1350377674,), (1350377678,), (1350377683,), (1350377836,), (1350377742,), (1350377748,), (1350377760,), (1350377787,), (1350377811,), (1350377944,), (1350377950,), (1350377954,), (1350377959,), (1350378023,), (1350378326,), (1350378659,), (1350378699,), (1350378703,), (1350378715,), (1350378721,), (1350378724,), (1350378789,), (1350378793,), (1350378796,), (1350378810,), (1350378814,), (1350378970,), (1350379000,), (1350379035,), (1350379354,), (1350379389,), (1350379432,), (1350379461,), (1350379474,), (1350379488,), (1350379592,), (1350379621,), (1350379631,), (1350379653,), (1350379664,), (1350379719,), (1350379733,), (1350379746,), (1350379963,), (1350379984,), (1350379988,), (1350379996,), (1350380106,), (1350380256,), (1350380294,), (1350380298,), (1350380302,), (1350380648,), (1350380709,), (1350380738,), (1350380887,), (1350381083,), (1350381086,), (1350381224,), (1350381228,), (1350381232,), (1350381250,), (1350381268,), (1350381562,), (1350381641,), (1350381671,), (1350381705,), (1350381734,), (1350382020,), (1350382027,), (1350382037,), (1350382044,), (1350382147,), (1350382151,), (1350382155,), (1350382186,), (1350382192,), (1350382207,), (1350382212,), (1350382221,), (1350382231,), (1350382282,), (1350382303,), (1350382309,), (1350382314,), (1350382318,), (1350382324,), (1350382368,), (1350382370,), (1350382374,), (1350382409,), (1350382412,), (1350382414,), (1350382416,), (1350382418,), (1350382421,), (1350382456,), (1350382461,), (1350382469,), (1350382646,), (1350382670,), (1350382698,), (1350382724,), (1350382750,), (1350383084,), (1350383087,), (1350383107,), (1350383138,), (1350383167,), (1350383398,), (1350383411,), (1350383419,), (1350384177,), (1350383922,), (1350384164,), (1350384167,), (1350384172,), (1350384707,), (1350384804,), (1350384827,), (1350384889,), (1350384916,), (1350385172,), (1350385207,), (1350385235,), (1350385268,), (1350385298,), (1350385597,), (1350385646,), (1350385677,), (1350385711,), (1350385792,), (1350385812,), (1350385978,), (1350386003,), (1350386030,), (1350386057,), (1350386252,), (1350386257,), (1350386285,), (1350386316,), (1350386331,), (1350386339,), (1350386365,), (1350386370,), (1350386373,), (1350386378,), (1350386439,), (1350386450,), (1350386454,), (1350386469,), (1350386473,), (1350386478,), (1350386500,), (1350386506,), (1350386513,), (1350386515,), (1350386579,), (1350386583,), (1350386587,), (1350386592,), (1350386598,), (1350386611,), (1350387014,), (1350387029,), (1350387058,), (1350387067,), (1350387075,), (1350387161,), (1350387642,), (1350387662,), (1350387729,), (1350387736,), (1350387991,), (1350388011,), (1350388022,), (1350388034,), (1350388040,), (1350388051,), (1350388101,), (1350388132,), (1350388159,), (1350388184,), (1350388218,), (1350388237,), (1350388341,), (1350388323,), (1350388332,), (1350388335,), (1350388530,), (1350388572,), (1350388581,), (1350388762,), (1350388768,), (1350388779,), (1350388791,), (1350388794,), (1350388934,), (1350388956,), (1350388973,), (1350389059,), (1350389093,), (1350389108,), (1350389251,), (1350389252,), (1350389254,), (1350389257,), (1350389314,), (1350389320,), (1350389826,), (1350389842,), (1350390060,), (1350390086,), (1350390276,), (1350390427,), (1350390470,), (1350390473,), (1350390696,), (1350390699,), (1350390701,), (1350390703,), (1350390715,), (1350390721,), (1350390751,), (1350390768,), (1350390786,), (1350390793,), (1350391000,), (1350390925,), (1350390955,), (1350390982,), (1350390993,), (1350390997,), (1350391033,), (1350391044,), (1350391054,), (1350391068,), (1350391084,), (1350391144,), (1350391146,), (1350391148,), (1350391151,), (1350391155,), (1350391237,), (1350391289,), (1350391327,), (1350391358,), (1350391381,), (1350391542,), (1350391547,), (1350391552,), (1350391556,), (1350391623,), (1350391626,), (1350391631,), (1350391635,), (1350391638,), (1350391641,), (1350391685,), (1350391688,), (1350391692,), (1350391865,), (1350391909,), (1350391917,), (1350391920,), (1350391925,), (1350391930,), (1350392052,), (1350392056,), (1350392059,), (1350392068,), (1350392151,), (1350392276,), (1350392290,), (1350392313,), (1350392343,), (1350392372,), (1350392457,), (1350392459,), (1350392464,), (1350392468,), (1350392472,), (1350392849,), (1350392900,), (1350392946,), (1350393094,), (1350393130,), (1350393314,), (1350393323,), (1350393328,), (1350393382,), (1350393386,), (1350393390,), (1350393395,), (1350393398,), (1350393544,), (1350393495,), (1350393529,), (1350393535,), (1350393709,), (1350393712,), (1350393715,), (1350393751,), (1350393796,), (1350393809,), (1350393887,), (1350393890,), (1350393894,), (1350393899,), (1350394031,), (1350394038,), (1350394056,), (1350394342,), (1350394347,), (1350394350,), (1350394397,), (1350394402,), (1350394405,), (1350394408,), (1350394412,), (1350394418,), (1350394571,), (1350394576,), (1350394582,), (1350394592,), (1350394655,), (1350394746,), (1350394800,), (1350394805,), (1350394811,), (1350394887,), (1350394892,), (1350394895,), (1350394898,), (1350394942,), (1350395015,), (1350395061,), (1350395064,), (1350395078,), (1350395107,), (1350395227,), (1350395230,), (1350395233,), (1350395236,), (1350395299,), (1350395304,), (1350395707,), (1350395731,), (1350395737,), (1350395760,), (1350395782,), (1350396406,), (1350396457,), (1350399294,), (1350399254,), (1350399258,), (1350399267,), (1350399633,), (1350399651,), (1350399694,), (1350399707,), (1350399781,), (1350399793,), (1350399866,), (1350399870,), (1350399894,), (1350399905,), (1350399970,), (1350400082,), (1350400109,), (1350400135,), (1350400194,), (1350400318,), (1350400440,), (1350400462,), (1350400488,), (1350400513,), (1350400630,), (1350400648,), (1350400668,), (1350400678,), (1350400684,), (1350400688,), (1350400741,), (1350400747,), (1350400750,), (1350400752,), (1350400862,), (1350400865,), (1350400871,), (1350400883,), (1350400887,), (1350400891,), (1350400914,), (1350400916,), (1350400918,), (1350400922,), (1350400926,), (1350400935,), (1350400968,), (1350400981,), (1350401052,), (1350401157,), (1350401161,), (1350401165,), (1350401169,), (1350401177,), (1350401180,), (1350401364,), (1350401236,), (1350401239,), (1350401242,), (1350401248,), (1350401254,), (1350401534,), (1350401548,), (1350401559,), (1350401643,), (1350401647,), (1350401650,), (1350401652,), (1350401655,), (1350401725,), (1350401732,), (1350401735,), (1350401744,), (1350401750,), (1350401929,), (1350401933,), (1350401936,), (1350401940,), (1350401997,), (1350402001,), (1350402013,), (1350402023,), (1350402051,), (1350402174,), (1350402179,), (1350402190,), (1350402341,), (1350403174,), (1350403205,), (1350403206,), (1350403209,), (1350403211,), (1350403351,), (1350403353,), (1350403432,), (1350403441,), (1350403449,), (1350403569,), (1350403588,), (1350403615,), (1350403642,), (1350403687,), (1350403758,), (1350403761,), (1350403764,), (1350403766,), (1350403768,), (1350403770,), (1350403816,), (1350403819,), (1350403822,), (1350403824,), (1350403827,), (1350404034,), (1350403968,), (1350403975,), (1350403980,), (1350404005,), (1350404201,), (1350404203,), (1350404205,), (1350404336,), (1350404339,), (1350404342,), (1350404345,), (1350404348,), (1350404353,), (1350404373,), (1350404377,), (1350404378,), (1350404390,), (1350404396,), (1350404400,), (1350404463,), (1350404465,), (1350404467,), (1350404521,), (1350404522,), (1350404526,), (1350404528,), (1350404530,), (1350404532,), (1350404576,), (1350404588,), (1350404604,), (1350404629,), (1350404644,), (1350404651,), (1350404811,), (1350404836,), (1350404848,), (1350404947,), (1350404949,), (1350404953,), (1350404956,), (1350404959,), (1350404962,), (1350405034,), (1350405062,), (1350405097,), (1350405131,), (1350405158,), (1350405161,), (1350405210,), (1350405213,), (1350405216,), (1350405589,), (1350411449,), (1350410865,), (1350411379,), (1350411806,), (1350411820,), (1350411837,), (1350413203,), (1350413204,), (1350413231,), (1350413397,), (1350413467,), (1350414077,), (1350414083,), (1350414794,), (1350415898,), (1350415969,), (1350416484,), (1350416499,), (1350416504,), (1350416511,), (1350416911,), (1350418897,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'07042025': {'nb_upload': 37, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22094762]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1350257335, 1350257223, 1350257217, 1350257205, 1350257158, 1350256934, 1350256930, 1350256746, 1350256740, 1350256729, 1350256720, 1350256712, 1350256583, 1350256578, 1350256574, 1350256570, 1350256564, 1350256475, 1350256467, 1350256460, 1350256429, 1350256382, 1350256379, 1350256367, 1350256304, 1350256301, 1350256293, 1350256287, 1350256280, 1350256265, 1350256212, 1350256119, 1350256115, 1350256105, 1350256025, 1350256020, 1350256013] map_info['map_portfolio_photo'] : {22094762: [1350257335, 1350257223, 1350257217, 1350257205, 1350257158, 1350256934, 1350256930, 1350256746, 1350256740, 1350256729, 1350256720, 1350256712, 1350256583, 1350256578, 1350256574, 1350256570, 1350256564, 1350256475, 1350256467, 1350256460, 1350256429, 1350256382, 1350256379, 1350256367, 1350256304, 1350256301, 1350256293, 1350256287, 1350256280, 1350256265, 1350256212, 1350256119, 1350256115, 1350256105, 1350256025, 1350256020, 1350256013]} final : True mtd_id 4302 list_pids : [1350257335, 1350257223, 1350257217, 1350257205, 1350257158, 1350256934, 1350256930, 1350256746, 1350256740, 1350256729, 1350256720, 1350256712, 1350256583, 1350256578, 1350256574, 1350256570, 1350256564, 1350256475, 1350256467, 1350256460, 1350256429, 1350256382, 1350256379, 1350256367, 1350256304, 1350256301, 1350256293, 1350256287, 1350256280, 1350256265, 1350256212, 1350256119, 1350256115, 1350256105, 1350256025, 1350256020, 1350256013] Looping around the photos to save general results len do output : 1 /22094762Didn'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, '2731232') ('4302', '22094762', '1350257335', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350257223', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350257217', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350257205', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350257158', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256934', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256930', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256746', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256740', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256729', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256720', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256712', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256583', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256578', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256574', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256570', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256564', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256475', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256467', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256460', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256429', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256382', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256379', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256367', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256304', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256301', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256293', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256287', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256280', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256265', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256212', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256119', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256115', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256105', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256025', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256020', None, None, None, None, None, '2731232') ('4302', None, None, None, None, None, None, None, '2731232') ('4302', '22094762', '1350256013', None, None, None, None, None, '2731232') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 38 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '22094762', 'None', None, None, None, None, '2731232'), ('4302', '22094762', '1350257335', None, None, None, None, None, '2731232'), ('4302', '22094762', '1350257223', None, None, None, None, None, '2731232'), ('4302', '22094762', '1350257217', None, None, None, None, None, '2731232'), ('4302', '22094762', '1350257205', None, None, None, None, None, '2731232'), ('4302', '22094762', '1350257158', None, None, None, None, None, '2731232'), ('4302', '22094762', '1350256934', None, None, None, None, None, '2731232'), ('4302', '22094762', '1350256930', None, None, None, None, None, '2731232'), ('4302', '22094762', '1350256746', None, None, None, None, None, '2731232'), ('4302', '22094762', '1350256740', None, None, None, None, None, '2731232'), ('4302', '22094762', '1350256729', None, None, None, None, None, '2731232'), ('4302', '22094762', '1350256720', None, None, None, None, None, '2731232'), ('4302', '22094762', '1350256712', None, None, None, None, None, '2731232'), ('4302', '22094762', '1350256583', None, None, None, None, None, '2731232'), ('4302', '22094762', '1350256578', None, None, None, None, None, '2731232'), ('4302', '22094762', '1350256574', None, None, None, None, None, '2731232'), ('4302', '22094762', '1350256570', None, None, None, None, None, '2731232'), ('4302', '22094762', '1350256564', None, None, None, None, None, '2731232'), ('4302', '22094762', '1350256475', None, None, None, None, None, '2731232'), ('4302', '22094762', '1350256467', None, None, None, None, None, '2731232'), ('4302', '22094762', '1350256460', None, None, None, None, None, '2731232'), ('4302', '22094762', '1350256429', None, None, None, None, None, '2731232'), ('4302', '22094762', '1350256382', None, None, None, None, None, '2731232'), ('4302', '22094762', '1350256379', None, None, None, None, None, '2731232'), ('4302', '22094762', '1350256367', None, None, None, None, None, '2731232'), ('4302', '22094762', '1350256304', None, None, None, None, None, '2731232'), ('4302', '22094762', '1350256301', None, None, None, None, None, '2731232'), ('4302', '22094762', '1350256293', None, None, None, None, None, '2731232'), ('4302', '22094762', '1350256287', None, None, None, None, None, '2731232'), ('4302', '22094762', '1350256280', None, None, None, None, None, '2731232'), ('4302', '22094762', '1350256265', None, None, None, None, None, '2731232'), ('4302', '22094762', '1350256212', None, None, None, None, None, '2731232'), ('4302', '22094762', '1350256119', None, None, None, None, None, '2731232'), ('4302', '22094762', '1350256115', None, None, None, None, None, '2731232'), ('4302', '22094762', '1350256105', None, None, None, None, None, '2731232'), ('4302', '22094762', '1350256025', None, None, None, None, None, '2731232'), ('4302', '22094762', '1350256020', None, None, None, None, None, '2731232'), ('4302', '22094762', '1350256013', None, None, None, None, None, '2731232')] time used for this insertion : 0.06695723533630371 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.072797775268555 time spend to save output : 0.06734037399291992 total time spend for step 5 : 4.140138149261475 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 (2731232) 2.94user 2.39system 0:26.40elapsed 20%CPU (0avgtext+0avgdata 167088maxresident)k 224inputs+26640outputs (3major+80251minor)pagefaults 0swaps