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 : 804116 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 (2900952) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2900952) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23136821 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2900952'] with mtr_portfolio_ids : ['23136821'] and first list_photo_ids : [] new path : /proc/804116/ Name: python3 Umask: 0002 State: R (running) Tgid: 804116 Ngid: 0 Pid: 804116 PPid: 804115 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 804116 NSpid: 804116 NSpgid: 803307 NSsid: 803307 VmPeak: 1107228 kB VmSize: 1107228 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 98456 kB VmRSS: 98456 kB RssAnon: 60176 kB RssFile: 38280 kB RssShmem: 0 kB VmData: 865976 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 548 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 1/63054 SigPnd: 0000000000000000 ShdPnd: 0000000000000000 SigBlk: 0000000000000000 SigIgn: 0000000001001000 SigCgt: 0000000180000002 CapInh: 0000000000000000 CapPrm: 0000000000000000 CapEff: 0000000000000000 CapBnd: 000001ffffffffff CapAmb: 0000000000000000 NoNewPrivs: 0 Seccomp: 0 Seccomp_filters: 0 Speculation_Store_Bypass: thread vulnerable SpeculationIndirectBranch: conditional enabled Cpus_allowed: ffffffff,ffffffff,ffffffff,ffffffff Cpus_allowed_list: 0-127 Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001 Mems_allowed_list: 0 voluntary_ctxt_switches: 51 nonvoluntary_ctxt_switches: 115 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '804116', 'Ngid': '0', 'Pid': '804116', 'PPid': '804115', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '804116', 'NSpid': '804116', 'NSpgid': '803307', 'NSsid': '803307', 'VmPeak': '1107228 kB', 'VmSize': '1107228 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '98456 kB', 'VmRSS': '98456 kB', 'RssAnon': '60176 kB', 'RssFile': '38280 kB', 'RssShmem': '0 kB', 'VmData': '865976 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '548 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '1/63054', 'SigPnd': '0000000000000000', 'ShdPnd': '0000000000000000', 'SigBlk': '0000000000000000', 'SigIgn': '0000000001001000', 'SigCgt': '0000000180000002', 'CapInh': '0000000000000000', 'CapPrm': '0000000000000000', 'CapEff': '0000000000000000', 'CapBnd': '000001ffffffffff', 'CapAmb': '0000000000000000', 'NoNewPrivs': '0', 'Seccomp': '0', 'Seccomp_filters': '0', 'Speculation_Store_Bypass': 'thread vulnerable', 'SpeculationIndirectBranch': 'conditional enabled', 'Cpus_allowed': 'ffffffff,ffffffff,ffffffff,ffffffff', 'Cpus_allowed_list': '0-127', 'Mems_allowed': '00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001', 'Mems_allowed_list': '0', 'voluntary_ctxt_switches': '51', 'nonvoluntary_ctxt_switches': '115'} ('datou_batch_current', '804116', '1107228', '0', '1107228', '865976', '98456', b'', 'marlene', '2900952') 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 (23136821) 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 (2900952 ) ) 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 (23136821) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1359518931, 'portfolio_id': 23136821}, {'photo_id': 1359517408, 'portfolio_id': 23136821}, {'photo_id': 1359515222, 'portfolio_id': 23136821}, {'photo_id': 1359515157, 'portfolio_id': 23136821}, {'photo_id': 1359515152, 'portfolio_id': 23136821}, {'photo_id': 1359515147, 'portfolio_id': 23136821}, {'photo_id': 1359515142, 'portfolio_id': 23136821}, {'photo_id': 1359515136, 'portfolio_id': 23136821}, {'photo_id': 1359514820, 'portfolio_id': 23136821}, {'photo_id': 1359514759, 'portfolio_id': 23136821}, {'photo_id': 1359514542, 'portfolio_id': 23136821}, {'photo_id': 1359513915, 'portfolio_id': 23136821}, {'photo_id': 1359513885, 'portfolio_id': 23136821}, {'photo_id': 1359513882, 'portfolio_id': 23136821}, {'photo_id': 1359513878, 'portfolio_id': 23136821}, {'photo_id': 1359513873, 'portfolio_id': 23136821}, {'photo_id': 1359513868, 'portfolio_id': 23136821}, {'photo_id': 1359513846, 'portfolio_id': 23136821}, {'photo_id': 1359513843, 'portfolio_id': 23136821}, {'photo_id': 1359513839, 'portfolio_id': 23136821}, {'photo_id': 1359513830, 'portfolio_id': 23136821}, {'photo_id': 1359513821, 'portfolio_id': 23136821}, {'photo_id': 1359513761, 'portfolio_id': 23136821}, {'photo_id': 1359513715, 'portfolio_id': 23136821}, {'photo_id': 1359513710, 'portfolio_id': 23136821}, {'photo_id': 1359513698, 'portfolio_id': 23136821}, {'photo_id': 1359513667, 'portfolio_id': 23136821}, {'photo_id': 1359513464, 'portfolio_id': 23136821}, {'photo_id': 1359513440, 'portfolio_id': 23136821}, {'photo_id': 1359513408, 'portfolio_id': 23136821}, {'photo_id': 1359513396, 'portfolio_id': 23136821}, {'photo_id': 1359513276, 'portfolio_id': 23136821}, {'photo_id': 1359513274, 'portfolio_id': 23136821}, {'photo_id': 1359513270, 'portfolio_id': 23136821}, {'photo_id': 1359513266, 'portfolio_id': 23136821}, {'photo_id': 1359513263, 'portfolio_id': 23136821}] map_portfolio_id_photo_id: {23136821: [1359518931, 1359517408, 1359515222, 1359515157, 1359515152, 1359515147, 1359515142, 1359515136, 1359514820, 1359514759, 1359514542, 1359513915, 1359513885, 1359513882, 1359513878, 1359513873, 1359513868, 1359513846, 1359513843, 1359513839, 1359513830, 1359513821, 1359513761, 1359513715, 1359513710, 1359513698, 1359513667, 1359513464, 1359513440, 1359513408, 1359513396, 1359513276, 1359513274, 1359513270, 1359513266, 1359513263]} ##### 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.049265146255493164 #### 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 May 20 05:55:28 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 (23136821) 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 : 23136821 get user id for portfolio 23136821 get sub ptf for main ptf 23136821, type 3726 and hashtags ['kraft', 'cartonnette', 'Teint_Dans_La_Masse', 'plastique', 'papier', 'metal', 'Carton_gris', 'environnement', 'flou', 'Carton_brun', 'autre_refus', 'mal_croppe'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23136821 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','cartonnette','Teint_Dans_La_Masse','plastique','papier','metal','Carton_gris','environnement','flou','Carton_brun','autre_refus','mal_croppe')) 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`=23136821 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','cartonnette','Teint_Dans_La_Masse','plastique','papier','metal','Carton_gris','environnement','flou','Carton_brun','autre_refus','mal_croppe')) AND mptpi.`min_score`=0.5 To do returned map {'Teint_Dans_La_Masse': {'main_port_id': 23136821, 'sub_port_id': 23136932, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15436763, 'last_updated_at': datetime.datetime(2025, 5, 19, 20, 33, 1), 'last_updated_at_desc': datetime.datetime(2025, 5, 19, 20, 33, 1), 'last_updated_at_asc': datetime.datetime(2025, 5, 19, 20, 19, 29)}, 'cartonnette': {'main_port_id': 23136821, 'sub_port_id': 23136933, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15436764, 'last_updated_at': datetime.datetime(2025, 5, 19, 20, 33, 1), 'last_updated_at_desc': datetime.datetime(2025, 5, 19, 20, 33, 1), 'last_updated_at_asc': datetime.datetime(2025, 5, 19, 20, 19, 29)}, 'kraft': {'main_port_id': 23136821, 'sub_port_id': 23136934, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15436765, 'last_updated_at': datetime.datetime(2025, 5, 19, 20, 33, 1), 'last_updated_at_desc': datetime.datetime(2025, 5, 19, 20, 33, 1), 'last_updated_at_asc': datetime.datetime(2025, 5, 19, 20, 19, 29)}, 'papier': {'main_port_id': 23136821, 'sub_port_id': 23136935, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15436766, 'last_updated_at': datetime.datetime(2025, 5, 19, 20, 33, 1), 'last_updated_at_desc': datetime.datetime(2025, 5, 19, 20, 33, 1), 'last_updated_at_asc': datetime.datetime(2025, 5, 19, 20, 19, 29)}, 'Carton_gris': {'main_port_id': 23136821, 'sub_port_id': 23136936, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15436767, 'last_updated_at': datetime.datetime(2025, 5, 19, 20, 33, 1), 'last_updated_at_desc': datetime.datetime(2025, 5, 19, 20, 33, 1), 'last_updated_at_asc': datetime.datetime(2025, 5, 19, 20, 19, 29)}, 'metal': {'main_port_id': 23136821, 'sub_port_id': 23136937, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15436768, 'last_updated_at': datetime.datetime(2025, 5, 19, 20, 33, 1), 'last_updated_at_desc': datetime.datetime(2025, 5, 19, 20, 33, 1), 'last_updated_at_asc': datetime.datetime(2025, 5, 19, 20, 19, 29)}, 'Carton_brun': {'main_port_id': 23136821, 'sub_port_id': 23136938, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15436769, 'last_updated_at': datetime.datetime(2025, 5, 19, 20, 33, 1), 'last_updated_at_desc': datetime.datetime(2025, 5, 19, 20, 33, 1), 'last_updated_at_asc': datetime.datetime(2025, 5, 19, 20, 19, 29)}, 'plastique': {'main_port_id': 23136821, 'sub_port_id': 23136939, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15436770, 'last_updated_at': datetime.datetime(2025, 5, 19, 20, 33, 1), 'last_updated_at_desc': datetime.datetime(2025, 5, 19, 20, 33, 1), 'last_updated_at_asc': datetime.datetime(2025, 5, 19, 20, 19, 29)}, 'mal_croppe': {'main_port_id': 23136821, 'sub_port_id': 23136940, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15436771, 'last_updated_at': datetime.datetime(2025, 5, 19, 20, 33, 1), 'last_updated_at_desc': datetime.datetime(2025, 5, 19, 20, 33, 1), 'last_updated_at_asc': datetime.datetime(2025, 5, 19, 20, 19, 29)}, 'autre_refus': {'main_port_id': 23136821, 'sub_port_id': 23136941, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15436772, 'last_updated_at': datetime.datetime(2025, 5, 19, 20, 33, 1), 'last_updated_at_desc': datetime.datetime(2025, 5, 19, 20, 33, 1), 'last_updated_at_asc': datetime.datetime(2025, 5, 19, 20, 19, 29)}, 'environnement': {'main_port_id': 23136821, 'sub_port_id': 23136942, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15436773, 'last_updated_at': datetime.datetime(2025, 5, 19, 20, 33, 1), 'last_updated_at_desc': datetime.datetime(2025, 5, 19, 20, 33, 1), 'last_updated_at_asc': datetime.datetime(2025, 5, 19, 20, 19, 29)}, 'flou': {'main_port_id': 23136821, 'sub_port_id': 23136943, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15436774, 'last_updated_at': datetime.datetime(2025, 5, 19, 20, 33, 1), 'last_updated_at_desc': datetime.datetime(2025, 5, 19, 20, 33, 1), 'last_updated_at_asc': datetime.datetime(2025, 5, 19, 20, 19, 29)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 23136932 , 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=23136821 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 (23136932) result : ((1359515185,), (1359518357,), (1359522648,), (1359522649,), (1359531966,), (1359532408,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23136821) result : ((1359513263,), (1359513266,), (1359513270,), (1359513274,), (1359513276,), (1359513396,), (1359513408,), (1359513440,), (1359513464,), (1359513667,), (1359513698,), (1359513710,), (1359513715,), (1359513761,), (1359513821,), (1359513830,), (1359513839,), (1359513843,), (1359513846,), (1359513868,), (1359513873,), (1359513878,), (1359513882,), (1359513885,), (1359513915,), (1359514542,), (1359514759,), (1359514820,), (1359515136,), (1359515142,), (1359515147,), (1359515152,), (1359515157,), (1359515222,), (1359517408,), (1359518931,)) 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 23136933 , 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=23136821 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 (23136933) result : ((1359514844,), (1359515187,), (1359515188,), (1359518402,), (1359531451,), (1359531996,), (1359531998,), (1359532000,), (1359532002,), (1359532004,), (1359532006,), (1359532008,), (1359532425,), (1359532427,), (1359532429,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23136821) result : ((1359513263,), (1359513266,), (1359513270,), (1359513274,), (1359513276,), (1359513396,), (1359513408,), (1359513440,), (1359513464,), (1359513667,), (1359513698,), (1359513710,), (1359513715,), (1359513761,), (1359513821,), (1359513830,), (1359513839,), (1359513843,), (1359513846,), (1359513868,), (1359513873,), (1359513878,), (1359513882,), (1359513885,), (1359513915,), (1359514542,), (1359514759,), (1359514820,), (1359515136,), (1359515142,), (1359515147,), (1359515152,), (1359515157,), (1359515222,), (1359517408,), (1359518931,)) 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 23136934 , 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=23136821 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 (23136934) result : ((1359521192,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23136821) result : ((1359513263,), (1359513266,), (1359513270,), (1359513274,), (1359513276,), (1359513396,), (1359513408,), (1359513440,), (1359513464,), (1359513667,), (1359513698,), (1359513710,), (1359513715,), (1359513761,), (1359513821,), (1359513830,), (1359513839,), (1359513843,), (1359513846,), (1359513868,), (1359513873,), (1359513878,), (1359513882,), (1359513885,), (1359513915,), (1359514542,), (1359514759,), (1359514820,), (1359515136,), (1359515142,), (1359515147,), (1359515152,), (1359515157,), (1359515222,), (1359517408,), (1359518931,)) 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 23136935 , 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=23136821 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 (23136935) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23136821) result : ((1359513263,), (1359513266,), (1359513270,), (1359513274,), (1359513276,), (1359513396,), (1359513408,), (1359513440,), (1359513464,), (1359513667,), (1359513698,), (1359513710,), (1359513715,), (1359513761,), (1359513821,), (1359513830,), (1359513839,), (1359513843,), (1359513846,), (1359513868,), (1359513873,), (1359513878,), (1359513882,), (1359513885,), (1359513915,), (1359514542,), (1359514759,), (1359514820,), (1359515136,), (1359515142,), (1359515147,), (1359515152,), (1359515157,), (1359515222,), (1359517408,), (1359518931,)) 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 23136936 , 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=23136821 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 (23136936) result : ((1359514814,), (1359514819,), (1359518378,), (1359518382,), (1359522651,), (1359531447,), (1359531448,), (1359531981,), (1359532416,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23136821) result : ((1359513263,), (1359513266,), (1359513270,), (1359513274,), (1359513276,), (1359513396,), (1359513408,), (1359513440,), (1359513464,), (1359513667,), (1359513698,), (1359513710,), (1359513715,), (1359513761,), (1359513821,), (1359513830,), (1359513839,), (1359513843,), (1359513846,), (1359513868,), (1359513873,), (1359513878,), (1359513882,), (1359513885,), (1359513915,), (1359514542,), (1359514759,), (1359514820,), (1359515136,), (1359515142,), (1359515147,), (1359515152,), (1359515157,), (1359515222,), (1359517408,), (1359518931,)) 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 23136937 , 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=23136821 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 (23136937) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23136821) result : ((1359513263,), (1359513266,), (1359513270,), (1359513274,), (1359513276,), (1359513396,), (1359513408,), (1359513440,), (1359513464,), (1359513667,), (1359513698,), (1359513710,), (1359513715,), (1359513761,), (1359513821,), (1359513830,), (1359513839,), (1359513843,), (1359513846,), (1359513868,), (1359513873,), (1359513878,), (1359513882,), (1359513885,), (1359513915,), (1359514542,), (1359514759,), (1359514820,), (1359515136,), (1359515142,), (1359515147,), (1359515152,), (1359515157,), (1359515222,), (1359517408,), (1359518931,)) 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 23136938 , 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=23136821 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 (23136938) result : ((1359514871,), (1359514875,), (1359515190,), (1359518421,), (1359522652,), (1359522653,), (1359531457,), (1359531459,), (1359532015,), (1359532016,), (1359532017,), (1359532439,), (1359532441,), (1359532443,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23136821) result : ((1359513263,), (1359513266,), (1359513270,), (1359513274,), (1359513276,), (1359513396,), (1359513408,), (1359513440,), (1359513464,), (1359513667,), (1359513698,), (1359513710,), (1359513715,), (1359513761,), (1359513821,), (1359513830,), (1359513839,), (1359513843,), (1359513846,), (1359513868,), (1359513873,), (1359513878,), (1359513882,), (1359513885,), (1359513915,), (1359514542,), (1359514759,), (1359514820,), (1359515136,), (1359515142,), (1359515147,), (1359515152,), (1359515157,), (1359515222,), (1359517408,), (1359518931,)) 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 23136939 , 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=23136821 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 (23136939) result : ((1359518439,), (1359522654,), (1359532022,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23136821) result : ((1359513263,), (1359513266,), (1359513270,), (1359513274,), (1359513276,), (1359513396,), (1359513408,), (1359513440,), (1359513464,), (1359513667,), (1359513698,), (1359513710,), (1359513715,), (1359513761,), (1359513821,), (1359513830,), (1359513839,), (1359513843,), (1359513846,), (1359513868,), (1359513873,), (1359513878,), (1359513882,), (1359513885,), (1359513915,), (1359514542,), (1359514759,), (1359514820,), (1359515136,), (1359515142,), (1359515147,), (1359515152,), (1359515157,), (1359515222,), (1359517408,), (1359518931,)) 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 23136940 , 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=23136821 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 (23136940) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23136821) result : ((1359513263,), (1359513266,), (1359513270,), (1359513274,), (1359513276,), (1359513396,), (1359513408,), (1359513440,), (1359513464,), (1359513667,), (1359513698,), (1359513710,), (1359513715,), (1359513761,), (1359513821,), (1359513830,), (1359513839,), (1359513843,), (1359513846,), (1359513868,), (1359513873,), (1359513878,), (1359513882,), (1359513885,), (1359513915,), (1359514542,), (1359514759,), (1359514820,), (1359515136,), (1359515142,), (1359515147,), (1359515152,), (1359515157,), (1359515222,), (1359517408,), (1359518931,)) 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 23136941 , 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=23136821 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 (23136941) result : ((1359531973,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23136821) result : ((1359513263,), (1359513266,), (1359513270,), (1359513274,), (1359513276,), (1359513396,), (1359513408,), (1359513440,), (1359513464,), (1359513667,), (1359513698,), (1359513710,), (1359513715,), (1359513761,), (1359513821,), (1359513830,), (1359513839,), (1359513843,), (1359513846,), (1359513868,), (1359513873,), (1359513878,), (1359513882,), (1359513885,), (1359513915,), (1359514542,), (1359514759,), (1359514820,), (1359515136,), (1359515142,), (1359515147,), (1359515152,), (1359515157,), (1359515222,), (1359517408,), (1359518931,)) 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 23136942 , 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=23136821 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 (23136942) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23136821) result : ((1359513263,), (1359513266,), (1359513270,), (1359513274,), (1359513276,), (1359513396,), (1359513408,), (1359513440,), (1359513464,), (1359513667,), (1359513698,), (1359513710,), (1359513715,), (1359513761,), (1359513821,), (1359513830,), (1359513839,), (1359513843,), (1359513846,), (1359513868,), (1359513873,), (1359513878,), (1359513882,), (1359513885,), (1359513915,), (1359514542,), (1359514759,), (1359514820,), (1359515136,), (1359515142,), (1359515147,), (1359515152,), (1359515157,), (1359515222,), (1359517408,), (1359518931,)) 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 23136943 , 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=23136821 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 (23136943) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23136821) result : ((1359513263,), (1359513266,), (1359513270,), (1359513274,), (1359513276,), (1359513396,), (1359513408,), (1359513440,), (1359513464,), (1359513667,), (1359513698,), (1359513710,), (1359513715,), (1359513761,), (1359513821,), (1359513830,), (1359513839,), (1359513843,), (1359513846,), (1359513868,), (1359513873,), (1359513878,), (1359513882,), (1359513885,), (1359513915,), (1359514542,), (1359514759,), (1359514820,), (1359515136,), (1359515142,), (1359515147,), (1359515152,), (1359515157,), (1359515222,), (1359517408,), (1359518931,)) 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`=23136821 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','cartonnette','Teint_Dans_La_Masse','plastique','papier','metal','Carton_gris','environnement','flou','Carton_brun','autre_refus','mal_croppe')) 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`=23136821 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','cartonnette','Teint_Dans_La_Masse','plastique','papier','metal','Carton_gris','environnement','flou','Carton_brun','autre_refus','mal_croppe')) AND mptpi.`min_score`=0.5 To do returned map {'Teint_Dans_La_Masse': {'main_port_id': 23136821, 'sub_port_id': 23136952, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15436775, 'last_updated_at': datetime.datetime(2025, 5, 19, 20, 19, 30), 'last_updated_at_desc': datetime.datetime(2025, 5, 19, 20, 19, 30), 'last_updated_at_asc': datetime.datetime(2025, 5, 19, 20, 19, 30)}, 'cartonnette': {'main_port_id': 23136821, 'sub_port_id': 23136954, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15436776, 'last_updated_at': datetime.datetime(2025, 5, 19, 20, 19, 30), 'last_updated_at_desc': datetime.datetime(2025, 5, 19, 20, 19, 30), 'last_updated_at_asc': datetime.datetime(2025, 5, 19, 20, 19, 30)}, 'kraft': {'main_port_id': 23136821, 'sub_port_id': 23136955, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15436777, 'last_updated_at': datetime.datetime(2025, 5, 19, 20, 19, 30), 'last_updated_at_desc': datetime.datetime(2025, 5, 19, 20, 19, 30), 'last_updated_at_asc': datetime.datetime(2025, 5, 19, 20, 19, 30)}, 'papier': {'main_port_id': 23136821, 'sub_port_id': 23136956, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15436778, 'last_updated_at': datetime.datetime(2025, 5, 19, 20, 19, 30), 'last_updated_at_desc': datetime.datetime(2025, 5, 19, 20, 19, 30), 'last_updated_at_asc': datetime.datetime(2025, 5, 19, 20, 19, 30)}, 'Carton_gris': {'main_port_id': 23136821, 'sub_port_id': 23136957, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15436779, 'last_updated_at': datetime.datetime(2025, 5, 19, 20, 19, 30), 'last_updated_at_desc': datetime.datetime(2025, 5, 19, 20, 19, 30), 'last_updated_at_asc': datetime.datetime(2025, 5, 19, 20, 19, 30)}, 'metal': {'main_port_id': 23136821, 'sub_port_id': 23136959, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15436780, 'last_updated_at': datetime.datetime(2025, 5, 19, 20, 19, 30), 'last_updated_at_desc': datetime.datetime(2025, 5, 19, 20, 19, 30), 'last_updated_at_asc': datetime.datetime(2025, 5, 19, 20, 19, 30)}, 'Carton_brun': {'main_port_id': 23136821, 'sub_port_id': 23136960, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15436781, 'last_updated_at': datetime.datetime(2025, 5, 19, 20, 19, 30), 'last_updated_at_desc': datetime.datetime(2025, 5, 19, 20, 19, 30), 'last_updated_at_asc': datetime.datetime(2025, 5, 19, 20, 19, 30)}, 'plastique': {'main_port_id': 23136821, 'sub_port_id': 23136961, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15436782, 'last_updated_at': datetime.datetime(2025, 5, 19, 20, 19, 30), 'last_updated_at_desc': datetime.datetime(2025, 5, 19, 20, 19, 30), 'last_updated_at_asc': datetime.datetime(2025, 5, 19, 20, 19, 30)}, 'mal_croppe': {'main_port_id': 23136821, 'sub_port_id': 23136963, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15436783, 'last_updated_at': datetime.datetime(2025, 5, 19, 20, 19, 30), 'last_updated_at_desc': datetime.datetime(2025, 5, 19, 20, 19, 30), 'last_updated_at_asc': datetime.datetime(2025, 5, 19, 20, 19, 30)}, 'autre_refus': {'main_port_id': 23136821, 'sub_port_id': 23136964, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15436784, 'last_updated_at': datetime.datetime(2025, 5, 19, 20, 19, 30), 'last_updated_at_desc': datetime.datetime(2025, 5, 19, 20, 19, 30), 'last_updated_at_asc': datetime.datetime(2025, 5, 19, 20, 19, 30)}, 'environnement': {'main_port_id': 23136821, 'sub_port_id': 23136965, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15436785, 'last_updated_at': datetime.datetime(2025, 5, 19, 20, 19, 30), 'last_updated_at_desc': datetime.datetime(2025, 5, 19, 20, 19, 30), 'last_updated_at_asc': datetime.datetime(2025, 5, 19, 20, 19, 30)}, 'flou': {'main_port_id': 23136821, 'sub_port_id': 23136966, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15436786, 'last_updated_at': datetime.datetime(2025, 5, 19, 20, 33, 1), 'last_updated_at_desc': datetime.datetime(2025, 5, 19, 20, 33, 1), 'last_updated_at_asc': datetime.datetime(2025, 5, 19, 20, 19, 30)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23136952,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23136932 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23136954,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23136933 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23136955,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23136934 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23136956,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23136935 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23136957,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23136936 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23136959,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23136937 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23136960,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23136938 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23136961,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23136939 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23136963,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23136940 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23136964,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23136941 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23136965,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23136942 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23136966,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23136943 lien utilise dans velours : https://www.fotonower.com/velours/23136952,23136954,23136955,23136956,23136957,23136959,23136960,23136961,23136963,23136964,23136965,23136966?tags=Teint_Dans_La_Masse,cartonnette,kraft,papier,Carton_gris,metal,Carton_brun,plastique,mal_croppe,autre_refus,environnement,flou After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([23136821]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1359518931, 1359517408, 1359515222, 1359515157, 1359515152, 1359515147, 1359515142, 1359515136, 1359514820, 1359514759, 1359514542, 1359513915, 1359513885, 1359513882, 1359513878, 1359513873, 1359513868, 1359513846, 1359513843, 1359513839, 1359513830, 1359513821, 1359513761, 1359513715, 1359513710, 1359513698, 1359513667, 1359513464, 1359513440, 1359513408, 1359513396, 1359513276, 1359513274, 1359513270, 1359513266, 1359513263] map_info['map_portfolio_photo'] : {23136821: [1359518931, 1359517408, 1359515222, 1359515157, 1359515152, 1359515147, 1359515142, 1359515136, 1359514820, 1359514759, 1359514542, 1359513915, 1359513885, 1359513882, 1359513878, 1359513873, 1359513868, 1359513846, 1359513843, 1359513839, 1359513830, 1359513821, 1359513761, 1359513715, 1359513710, 1359513698, 1359513667, 1359513464, 1359513440, 1359513408, 1359513396, 1359513276, 1359513274, 1359513270, 1359513266, 1359513263]} final : False mtd_id 4302 list_pids : [1359518931, 1359517408, 1359515222, 1359515157, 1359515152, 1359515147, 1359515142, 1359515136, 1359514820, 1359514759, 1359514542, 1359513915, 1359513885, 1359513882, 1359513878, 1359513873, 1359513868, 1359513846, 1359513843, 1359513839, 1359513830, 1359513821, 1359513761, 1359513715, 1359513710, 1359513698, 1359513667, 1359513464, 1359513440, 1359513408, 1359513396, 1359513276, 1359513274, 1359513270, 1359513266, 1359513263] Looping around the photos to save general results len do output : 1 /23136821. 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, '2900952') ('4302', '23136821', '1359518931', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359517408', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359515222', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359515157', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359515152', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359515147', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359515142', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359515136', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359514820', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359514759', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359514542', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359513915', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359513885', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359513882', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359513878', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359513873', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359513868', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359513846', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359513843', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359513839', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359513830', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359513821', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359513761', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359513715', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359513710', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359513698', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359513667', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359513464', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359513440', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359513408', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359513396', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359513276', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359513274', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359513270', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359513266', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359513263', None, None, None, None, None, '2900952') 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', None, '23136821', "{'Teint_Dans_La_Masse': 23136932, 'cartonnette': 23136933, 'kraft': 23136934, 'papier': 23136935, 'Carton_gris': 23136936, 'metal': 23136937, 'Carton_brun': 23136938, 'plastique': 23136939, 'mal_croppe': 23136940, 'autre_refus': 23136941, 'environnement': 23136942, 'flou': 23136943}", None, None, None, None, '2900952'), ('4302', '23136821', '1359518931', None, None, None, None, None, '2900952'), ('4302', '23136821', '1359517408', None, None, None, None, None, '2900952'), ('4302', '23136821', '1359515222', None, None, None, None, None, '2900952'), ('4302', '23136821', '1359515157', None, None, None, None, None, '2900952'), ('4302', '23136821', '1359515152', None, None, None, None, None, '2900952'), ('4302', '23136821', '1359515147', None, None, None, None, None, '2900952'), ('4302', '23136821', '1359515142', None, None, None, None, None, '2900952'), ('4302', '23136821', '1359515136', None, None, None, None, None, '2900952'), ('4302', '23136821', '1359514820', None, None, None, None, None, '2900952'), ('4302', '23136821', '1359514759', None, None, None, None, None, '2900952'), ('4302', '23136821', '1359514542', None, None, None, None, None, '2900952'), ('4302', '23136821', '1359513915', None, None, None, None, None, '2900952'), ('4302', '23136821', '1359513885', None, None, None, None, None, '2900952'), ('4302', '23136821', '1359513882', None, None, None, None, None, '2900952'), ('4302', '23136821', '1359513878', None, None, None, None, None, '2900952'), ('4302', '23136821', '1359513873', None, None, None, None, None, '2900952'), ('4302', '23136821', '1359513868', None, None, None, None, None, '2900952'), ('4302', '23136821', '1359513846', None, None, None, None, None, '2900952'), ('4302', '23136821', '1359513843', None, None, None, None, None, '2900952'), ('4302', '23136821', '1359513839', None, None, None, None, None, '2900952'), ('4302', '23136821', '1359513830', None, None, None, None, None, '2900952'), ('4302', '23136821', '1359513821', None, None, None, None, None, '2900952'), ('4302', '23136821', '1359513761', None, None, None, None, None, '2900952'), ('4302', '23136821', '1359513715', None, None, None, None, None, '2900952'), ('4302', '23136821', '1359513710', None, None, None, None, None, '2900952'), ('4302', '23136821', '1359513698', None, None, None, None, None, '2900952'), ('4302', '23136821', '1359513667', None, None, None, None, None, '2900952'), ('4302', '23136821', '1359513464', None, None, None, None, None, '2900952'), ('4302', '23136821', '1359513440', None, None, None, None, None, '2900952'), ('4302', '23136821', '1359513408', None, None, None, None, None, '2900952'), ('4302', '23136821', '1359513396', None, None, None, None, None, '2900952'), ('4302', '23136821', '1359513276', None, None, None, None, None, '2900952'), ('4302', '23136821', '1359513274', None, None, None, None, None, '2900952'), ('4302', '23136821', '1359513270', None, None, None, None, None, '2900952'), ('4302', '23136821', '1359513266', None, None, None, None, None, '2900952'), ('4302', '23136821', '1359513263', None, None, None, None, None, '2900952')] time used for this insertion : 0.09052681922912598 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.8924312591552734 time spend to save output : 0.09102320671081543 total time spend for step 1 : 1.9834544658660889 step2:final Tue May 20 05:55:30 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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 (23136821) 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 23136821 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1359513276,1359513274,1359513270,1359513266,1359513263,1359513464,1359513440,1359513408,1359513396,1359513761,1359513715,1359513710,1359513698,1359513667,1359513846,1359513843,1359513839,1359513830,1359513821,1359513915,1359513885,1359513882,1359513878,1359513873,1359513868,1359514542,1359514820,1359514759,1359515157,1359515152,1359515147,1359515142,1359515136,1359517408,1359515222,1359518931); 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([23136821]) Inside saveOutput : final : False verbose : True original output for save of step final : {1359518931: ('0.046805074690918345',), 1359517408: ('0.046805074690918345',), 1359515222: ('0.046805074690918345',), 1359515157: ('0.046805074690918345',), 1359515152: ('0.046805074690918345',), 1359515147: ('0.046805074690918345',), 1359515142: ('0.046805074690918345',), 1359515136: ('0.046805074690918345',), 1359514820: ('0.046805074690918345',), 1359514759: ('0.046805074690918345',), 1359514542: ('0.046805074690918345',), 1359513915: ('0.046805074690918345',), 1359513885: ('0.046805074690918345',), 1359513882: ('0.046805074690918345',), 1359513878: ('0.046805074690918345',), 1359513873: ('0.046805074690918345',), 1359513868: ('0.046805074690918345',), 1359513846: ('0.046805074690918345',), 1359513843: ('0.046805074690918345',), 1359513839: ('0.046805074690918345',), 1359513830: ('0.046805074690918345',), 1359513821: ('0.046805074690918345',), 1359513761: ('0.046805074690918345',), 1359513715: ('0.046805074690918345',), 1359513710: ('0.046805074690918345',), 1359513698: ('0.046805074690918345',), 1359513667: ('0.046805074690918345',), 1359513464: ('0.046805074690918345',), 1359513440: ('0.046805074690918345',), 1359513408: ('0.046805074690918345',), 1359513396: ('0.046805074690918345',), 1359513276: ('0.046805074690918345',), 1359513274: ('0.046805074690918345',), 1359513270: ('0.046805074690918345',), 1359513266: ('0.046805074690918345',), 1359513263: ('0.046805074690918345',)} new output for save of step final : {1359518931: ('0.046805074690918345',), 1359517408: ('0.046805074690918345',), 1359515222: ('0.046805074690918345',), 1359515157: ('0.046805074690918345',), 1359515152: ('0.046805074690918345',), 1359515147: ('0.046805074690918345',), 1359515142: ('0.046805074690918345',), 1359515136: ('0.046805074690918345',), 1359514820: ('0.046805074690918345',), 1359514759: ('0.046805074690918345',), 1359514542: ('0.046805074690918345',), 1359513915: ('0.046805074690918345',), 1359513885: ('0.046805074690918345',), 1359513882: ('0.046805074690918345',), 1359513878: ('0.046805074690918345',), 1359513873: ('0.046805074690918345',), 1359513868: ('0.046805074690918345',), 1359513846: ('0.046805074690918345',), 1359513843: ('0.046805074690918345',), 1359513839: ('0.046805074690918345',), 1359513830: ('0.046805074690918345',), 1359513821: ('0.046805074690918345',), 1359513761: ('0.046805074690918345',), 1359513715: ('0.046805074690918345',), 1359513710: ('0.046805074690918345',), 1359513698: ('0.046805074690918345',), 1359513667: ('0.046805074690918345',), 1359513464: ('0.046805074690918345',), 1359513440: ('0.046805074690918345',), 1359513408: ('0.046805074690918345',), 1359513396: ('0.046805074690918345',), 1359513276: ('0.046805074690918345',), 1359513274: ('0.046805074690918345',), 1359513270: ('0.046805074690918345',), 1359513266: ('0.046805074690918345',), 1359513263: ('0.046805074690918345',)} [1359518931, 1359517408, 1359515222, 1359515157, 1359515152, 1359515147, 1359515142, 1359515136, 1359514820, 1359514759, 1359514542, 1359513915, 1359513885, 1359513882, 1359513878, 1359513873, 1359513868, 1359513846, 1359513843, 1359513839, 1359513830, 1359513821, 1359513761, 1359513715, 1359513710, 1359513698, 1359513667, 1359513464, 1359513440, 1359513408, 1359513396, 1359513276, 1359513274, 1359513270, 1359513266, 1359513263] map_info['map_portfolio_photo'] : {23136821: [1359518931, 1359517408, 1359515222, 1359515157, 1359515152, 1359515147, 1359515142, 1359515136, 1359514820, 1359514759, 1359514542, 1359513915, 1359513885, 1359513882, 1359513878, 1359513873, 1359513868, 1359513846, 1359513843, 1359513839, 1359513830, 1359513821, 1359513761, 1359513715, 1359513710, 1359513698, 1359513667, 1359513464, 1359513440, 1359513408, 1359513396, 1359513276, 1359513274, 1359513270, 1359513266, 1359513263]} final : False mtd_id 4302 list_pids : [1359518931, 1359517408, 1359515222, 1359515157, 1359515152, 1359515147, 1359515142, 1359515136, 1359514820, 1359514759, 1359514542, 1359513915, 1359513885, 1359513882, 1359513878, 1359513873, 1359513868, 1359513846, 1359513843, 1359513839, 1359513830, 1359513821, 1359513761, 1359513715, 1359513710, 1359513698, 1359513667, 1359513464, 1359513440, 1359513408, 1359513396, 1359513276, 1359513274, 1359513270, 1359513266, 1359513263] Looping around the photos to save general results len do output : 36 /1359518931.Didn't retrieve data . /1359517408.Didn't retrieve data . /1359515222.Didn't retrieve data . /1359515157.Didn't retrieve data . /1359515152.Didn't retrieve data . /1359515147.Didn't retrieve data . /1359515142.Didn't retrieve data . /1359515136.Didn't retrieve data . /1359514820.Didn't retrieve data . /1359514759.Didn't retrieve data . /1359514542.Didn't retrieve data . /1359513915.Didn't retrieve data . /1359513885.Didn't retrieve data . /1359513882.Didn't retrieve data . /1359513878.Didn't retrieve data . /1359513873.Didn't retrieve data . /1359513868.Didn't retrieve data . /1359513846.Didn't retrieve data . /1359513843.Didn't retrieve data . /1359513839.Didn't retrieve data . /1359513830.Didn't retrieve data . /1359513821.Didn't retrieve data . /1359513761.Didn't retrieve data . /1359513715.Didn't retrieve data . /1359513710.Didn't retrieve data . /1359513698.Didn't retrieve data . /1359513667.Didn't retrieve data . /1359513464.Didn't retrieve data . /1359513440.Didn't retrieve data . /1359513408.Didn't retrieve data . /1359513396.Didn't retrieve data . /1359513276.Didn't retrieve data . /1359513274.Didn't retrieve data . /1359513270.Didn't retrieve data . /1359513266.Didn't retrieve data . /1359513263.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, '2900952') ('4302', '23136821', '1359518931', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359517408', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359515222', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359515157', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359515152', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359515147', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359515142', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359515136', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359514820', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359514759', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359514542', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359513915', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359513885', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359513882', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359513878', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359513873', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359513868', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359513846', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359513843', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359513839', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359513830', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359513821', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359513761', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359513715', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359513710', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359513698', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359513667', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359513464', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359513440', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359513408', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359513396', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359513276', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359513274', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359513270', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359513266', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359513263', None, None, None, None, None, '2900952') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 108 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', '23136821', '1359518931', '0.046805074690918345', None, None, None, None, '2900952'), ('4302', '23136821', '1359517408', '0.046805074690918345', None, None, None, None, '2900952'), ('4302', '23136821', '1359515222', '0.046805074690918345', None, None, None, None, '2900952'), ('4302', '23136821', '1359515157', '0.046805074690918345', None, None, None, None, '2900952'), ('4302', '23136821', '1359515152', '0.046805074690918345', None, None, None, None, '2900952'), ('4302', '23136821', '1359515147', '0.046805074690918345', None, None, None, None, '2900952'), ('4302', '23136821', '1359515142', '0.046805074690918345', None, None, None, None, '2900952'), ('4302', '23136821', '1359515136', '0.046805074690918345', None, None, None, None, '2900952'), ('4302', '23136821', '1359514820', '0.046805074690918345', None, None, None, None, '2900952'), ('4302', '23136821', '1359514759', '0.046805074690918345', None, None, None, None, '2900952'), ('4302', '23136821', '1359514542', '0.046805074690918345', None, None, None, None, '2900952'), ('4302', '23136821', '1359513915', '0.046805074690918345', None, None, None, None, '2900952'), ('4302', '23136821', '1359513885', '0.046805074690918345', None, None, None, None, '2900952'), ('4302', '23136821', '1359513882', '0.046805074690918345', None, None, None, None, '2900952'), ('4302', '23136821', '1359513878', '0.046805074690918345', None, None, None, None, '2900952'), ('4302', '23136821', '1359513873', '0.046805074690918345', None, None, None, None, '2900952'), ('4302', '23136821', '1359513868', '0.046805074690918345', None, None, None, None, '2900952'), ('4302', '23136821', '1359513846', '0.046805074690918345', None, None, None, None, '2900952'), ('4302', '23136821', '1359513843', '0.046805074690918345', None, None, None, None, '2900952'), ('4302', '23136821', '1359513839', '0.046805074690918345', None, None, None, None, '2900952'), ('4302', '23136821', '1359513830', '0.046805074690918345', None, None, None, None, '2900952'), ('4302', '23136821', '1359513821', '0.046805074690918345', None, None, None, None, '2900952'), ('4302', '23136821', '1359513761', '0.046805074690918345', None, None, None, None, '2900952'), ('4302', '23136821', '1359513715', '0.046805074690918345', None, None, None, None, '2900952'), ('4302', '23136821', '1359513710', '0.046805074690918345', None, None, None, None, '2900952'), ('4302', '23136821', '1359513698', '0.046805074690918345', None, None, None, None, '2900952'), ('4302', '23136821', '1359513667', '0.046805074690918345', None, None, None, None, '2900952'), ('4302', '23136821', '1359513464', '0.046805074690918345', None, None, None, None, '2900952'), ('4302', '23136821', '1359513440', '0.046805074690918345', None, None, None, None, '2900952'), ('4302', '23136821', '1359513408', '0.046805074690918345', None, None, None, None, '2900952'), ('4302', '23136821', '1359513396', '0.046805074690918345', None, None, None, None, '2900952'), ('4302', '23136821', '1359513276', '0.046805074690918345', None, None, None, None, '2900952'), ('4302', '23136821', '1359513274', '0.046805074690918345', None, None, None, None, '2900952'), ('4302', '23136821', '1359513270', '0.046805074690918345', None, None, None, None, '2900952'), ('4302', '23136821', '1359513266', '0.046805074690918345', None, None, None, None, '2900952'), ('4302', '23136821', '1359513263', '0.046805074690918345', None, None, None, None, '2900952')] time used for this insertion : 0.08284115791320801 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.19045400619506836 time spend to save output : 0.08504486083984375 total time spend for step 2 : 0.2754988670349121 step3:velours_tree Tue May 20 05:55:30 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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 : {23136821: [{'Teint_Dans_La_Masse': 23136932, 'cartonnette': 23136933, 'kraft': 23136934, 'papier': 23136935, 'Carton_gris': 23136936, 'metal': 23136937, 'Carton_brun': 23136938, 'plastique': 23136939, 'mal_croppe': 23136940, 'autre_refus': 23136941, 'environnement': 23136942, 'flou': 23136943}]} input_args_next_step : {23136821: ()} output_args : {23136821: [{'Teint_Dans_La_Masse': 23136932, 'cartonnette': 23136933, 'kraft': 23136934, 'papier': 23136935, 'Carton_gris': 23136936, 'metal': 23136937, 'Carton_brun': 23136938, 'plastique': 23136939, 'mal_croppe': 23136940, 'autre_refus': 23136941, 'environnement': 23136942, 'flou': 23136943}]} args : 23136821 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 : ({'Teint_Dans_La_Masse': 23136932, 'cartonnette': 23136933, 'kraft': 23136934, 'papier': 23136935, 'Carton_gris': 23136936, 'metal': 23136937, 'Carton_brun': 23136938, 'plastique': 23136939, 'mal_croppe': 23136940, 'autre_refus': 23136941, 'environnement': 23136942, 'flou': 23136943},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (23136821) 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([23136821]) 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.3220090866088867 time spend to save output : 7.43865966796875e-05 total time spend for step 3 : 0.3220834732055664 step4:send_mail_cod Tue May 20 05:55:30 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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 : {1359518931: ('0.046805074690918345',), 1359517408: ('0.046805074690918345',), 1359515222: ('0.046805074690918345',), 1359515157: ('0.046805074690918345',), 1359515152: ('0.046805074690918345',), 1359515147: ('0.046805074690918345',), 1359515142: ('0.046805074690918345',), 1359515136: ('0.046805074690918345',), 1359514820: ('0.046805074690918345',), 1359514759: ('0.046805074690918345',), 1359514542: ('0.046805074690918345',), 1359513915: ('0.046805074690918345',), 1359513885: ('0.046805074690918345',), 1359513882: ('0.046805074690918345',), 1359513878: ('0.046805074690918345',), 1359513873: ('0.046805074690918345',), 1359513868: ('0.046805074690918345',), 1359513846: ('0.046805074690918345',), 1359513843: ('0.046805074690918345',), 1359513839: ('0.046805074690918345',), 1359513830: ('0.046805074690918345',), 1359513821: ('0.046805074690918345',), 1359513761: ('0.046805074690918345',), 1359513715: ('0.046805074690918345',), 1359513710: ('0.046805074690918345',), 1359513698: ('0.046805074690918345',), 1359513667: ('0.046805074690918345',), 1359513464: ('0.046805074690918345',), 1359513440: ('0.046805074690918345',), 1359513408: ('0.046805074690918345',), 1359513396: ('0.046805074690918345',), 1359513276: ('0.046805074690918345',), 1359513274: ('0.046805074690918345',), 1359513270: ('0.046805074690918345',), 1359513266: ('0.046805074690918345',), 1359513263: ('0.046805074690918345',)} input_args_next_step : {1359518931: ()} output_args : {1359518931: ('0.046805074690918345',), 1359517408: ('0.046805074690918345',), 1359515222: ('0.046805074690918345',), 1359515157: ('0.046805074690918345',), 1359515152: ('0.046805074690918345',), 1359515147: ('0.046805074690918345',), 1359515142: ('0.046805074690918345',), 1359515136: ('0.046805074690918345',), 1359514820: ('0.046805074690918345',), 1359514759: ('0.046805074690918345',), 1359514542: ('0.046805074690918345',), 1359513915: ('0.046805074690918345',), 1359513885: ('0.046805074690918345',), 1359513882: ('0.046805074690918345',), 1359513878: ('0.046805074690918345',), 1359513873: ('0.046805074690918345',), 1359513868: ('0.046805074690918345',), 1359513846: ('0.046805074690918345',), 1359513843: ('0.046805074690918345',), 1359513839: ('0.046805074690918345',), 1359513830: ('0.046805074690918345',), 1359513821: ('0.046805074690918345',), 1359513761: ('0.046805074690918345',), 1359513715: ('0.046805074690918345',), 1359513710: ('0.046805074690918345',), 1359513698: ('0.046805074690918345',), 1359513667: ('0.046805074690918345',), 1359513464: ('0.046805074690918345',), 1359513440: ('0.046805074690918345',), 1359513408: ('0.046805074690918345',), 1359513396: ('0.046805074690918345',), 1359513276: ('0.046805074690918345',), 1359513274: ('0.046805074690918345',), 1359513270: ('0.046805074690918345',), 1359513266: ('0.046805074690918345',), 1359513263: ('0.046805074690918345',)} args : 1359518931 depend.output_id : 0 input_args_next_step : {1359518931: ('0.046805074690918345',), 1359517408: ()} output_args : {1359518931: ('0.046805074690918345',), 1359517408: ('0.046805074690918345',), 1359515222: ('0.046805074690918345',), 1359515157: ('0.046805074690918345',), 1359515152: ('0.046805074690918345',), 1359515147: ('0.046805074690918345',), 1359515142: ('0.046805074690918345',), 1359515136: ('0.046805074690918345',), 1359514820: ('0.046805074690918345',), 1359514759: ('0.046805074690918345',), 1359514542: ('0.046805074690918345',), 1359513915: ('0.046805074690918345',), 1359513885: ('0.046805074690918345',), 1359513882: ('0.046805074690918345',), 1359513878: ('0.046805074690918345',), 1359513873: ('0.046805074690918345',), 1359513868: ('0.046805074690918345',), 1359513846: ('0.046805074690918345',), 1359513843: ('0.046805074690918345',), 1359513839: ('0.046805074690918345',), 1359513830: ('0.046805074690918345',), 1359513821: ('0.046805074690918345',), 1359513761: ('0.046805074690918345',), 1359513715: ('0.046805074690918345',), 1359513710: ('0.046805074690918345',), 1359513698: ('0.046805074690918345',), 1359513667: ('0.046805074690918345',), 1359513464: ('0.046805074690918345',), 1359513440: ('0.046805074690918345',), 1359513408: ('0.046805074690918345',), 1359513396: ('0.046805074690918345',), 1359513276: ('0.046805074690918345',), 1359513274: ('0.046805074690918345',), 1359513270: ('0.046805074690918345',), 1359513266: ('0.046805074690918345',), 1359513263: ('0.046805074690918345',)} args : 1359517408 depend.output_id : 0 input_args_next_step : {1359518931: ('0.046805074690918345',), 1359517408: ('0.046805074690918345',), 1359515222: ()} output_args : {1359518931: ('0.046805074690918345',), 1359517408: ('0.046805074690918345',), 1359515222: ('0.046805074690918345',), 1359515157: ('0.046805074690918345',), 1359515152: ('0.046805074690918345',), 1359515147: ('0.046805074690918345',), 1359515142: ('0.046805074690918345',), 1359515136: ('0.046805074690918345',), 1359514820: ('0.046805074690918345',), 1359514759: ('0.046805074690918345',), 1359514542: ('0.046805074690918345',), 1359513915: ('0.046805074690918345',), 1359513885: ('0.046805074690918345',), 1359513882: ('0.046805074690918345',), 1359513878: ('0.046805074690918345',), 1359513873: ('0.046805074690918345',), 1359513868: ('0.046805074690918345',), 1359513846: ('0.046805074690918345',), 1359513843: ('0.046805074690918345',), 1359513839: ('0.046805074690918345',), 1359513830: ('0.046805074690918345',), 1359513821: ('0.046805074690918345',), 1359513761: ('0.046805074690918345',), 1359513715: ('0.046805074690918345',), 1359513710: ('0.046805074690918345',), 1359513698: ('0.046805074690918345',), 1359513667: ('0.046805074690918345',), 1359513464: ('0.046805074690918345',), 1359513440: ('0.046805074690918345',), 1359513408: ('0.046805074690918345',), 1359513396: ('0.046805074690918345',), 1359513276: ('0.046805074690918345',), 1359513274: ('0.046805074690918345',), 1359513270: ('0.046805074690918345',), 1359513266: ('0.046805074690918345',), 1359513263: ('0.046805074690918345',)} args : 1359515222 depend.output_id : 0 input_args_next_step : {1359518931: ('0.046805074690918345',), 1359517408: ('0.046805074690918345',), 1359515222: ('0.046805074690918345',), 1359515157: ()} output_args : {1359518931: ('0.046805074690918345',), 1359517408: ('0.046805074690918345',), 1359515222: ('0.046805074690918345',), 1359515157: ('0.046805074690918345',), 1359515152: ('0.046805074690918345',), 1359515147: ('0.046805074690918345',), 1359515142: ('0.046805074690918345',), 1359515136: ('0.046805074690918345',), 1359514820: ('0.046805074690918345',), 1359514759: ('0.046805074690918345',), 1359514542: ('0.046805074690918345',), 1359513915: ('0.046805074690918345',), 1359513885: ('0.046805074690918345',), 1359513882: ('0.046805074690918345',), 1359513878: ('0.046805074690918345',), 1359513873: ('0.046805074690918345',), 1359513868: ('0.046805074690918345',), 1359513846: ('0.046805074690918345',), 1359513843: ('0.046805074690918345',), 1359513839: ('0.046805074690918345',), 1359513830: ('0.046805074690918345',), 1359513821: ('0.046805074690918345',), 1359513761: ('0.046805074690918345',), 1359513715: ('0.046805074690918345',), 1359513710: ('0.046805074690918345',), 1359513698: ('0.046805074690918345',), 1359513667: ('0.046805074690918345',), 1359513464: ('0.046805074690918345',), 1359513440: ('0.046805074690918345',), 1359513408: ('0.046805074690918345',), 1359513396: ('0.046805074690918345',), 1359513276: ('0.046805074690918345',), 1359513274: ('0.046805074690918345',), 1359513270: ('0.046805074690918345',), 1359513266: ('0.046805074690918345',), 1359513263: ('0.046805074690918345',)} args : 1359515157 depend.output_id : 0 input_args_next_step : {1359518931: ('0.046805074690918345',), 1359517408: ('0.046805074690918345',), 1359515222: ('0.046805074690918345',), 1359515157: ('0.046805074690918345',), 1359515152: ()} output_args : {1359518931: ('0.046805074690918345',), 1359517408: ('0.046805074690918345',), 1359515222: ('0.046805074690918345',), 1359515157: ('0.046805074690918345',), 1359515152: ('0.046805074690918345',), 1359515147: ('0.046805074690918345',), 1359515142: ('0.046805074690918345',), 1359515136: ('0.046805074690918345',), 1359514820: ('0.046805074690918345',), 1359514759: ('0.046805074690918345',), 1359514542: ('0.046805074690918345',), 1359513915: ('0.046805074690918345',), 1359513885: ('0.046805074690918345',), 1359513882: ('0.046805074690918345',), 1359513878: ('0.046805074690918345',), 1359513873: ('0.046805074690918345',), 1359513868: ('0.046805074690918345',), 1359513846: ('0.046805074690918345',), 1359513843: ('0.046805074690918345',), 1359513839: ('0.046805074690918345',), 1359513830: ('0.046805074690918345',), 1359513821: ('0.046805074690918345',), 1359513761: ('0.046805074690918345',), 1359513715: ('0.046805074690918345',), 1359513710: ('0.046805074690918345',), 1359513698: ('0.046805074690918345',), 1359513667: ('0.046805074690918345',), 1359513464: ('0.046805074690918345',), 1359513440: ('0.046805074690918345',), 1359513408: ('0.046805074690918345',), 1359513396: ('0.046805074690918345',), 1359513276: ('0.046805074690918345',), 1359513274: ('0.046805074690918345',), 1359513270: ('0.046805074690918345',), 1359513266: ('0.046805074690918345',), 1359513263: ('0.046805074690918345',)} args : 1359515152 depend.output_id : 0 input_args_next_step : {1359518931: ('0.046805074690918345',), 1359517408: ('0.046805074690918345',), 1359515222: ('0.046805074690918345',), 1359515157: ('0.046805074690918345',), 1359515152: ('0.046805074690918345',), 1359515147: ()} output_args : {1359518931: ('0.046805074690918345',), 1359517408: ('0.046805074690918345',), 1359515222: ('0.046805074690918345',), 1359515157: ('0.046805074690918345',), 1359515152: ('0.046805074690918345',), 1359515147: ('0.046805074690918345',), 1359515142: ('0.046805074690918345',), 1359515136: ('0.046805074690918345',), 1359514820: ('0.046805074690918345',), 1359514759: ('0.046805074690918345',), 1359514542: ('0.046805074690918345',), 1359513915: ('0.046805074690918345',), 1359513885: ('0.046805074690918345',), 1359513882: ('0.046805074690918345',), 1359513878: ('0.046805074690918345',), 1359513873: ('0.046805074690918345',), 1359513868: ('0.046805074690918345',), 1359513846: ('0.046805074690918345',), 1359513843: ('0.046805074690918345',), 1359513839: ('0.046805074690918345',), 1359513830: ('0.046805074690918345',), 1359513821: ('0.046805074690918345',), 1359513761: ('0.046805074690918345',), 1359513715: ('0.046805074690918345',), 1359513710: ('0.046805074690918345',), 1359513698: ('0.046805074690918345',), 1359513667: ('0.046805074690918345',), 1359513464: ('0.046805074690918345',), 1359513440: ('0.046805074690918345',), 1359513408: ('0.046805074690918345',), 1359513396: ('0.046805074690918345',), 1359513276: ('0.046805074690918345',), 1359513274: ('0.046805074690918345',), 1359513270: ('0.046805074690918345',), 1359513266: ('0.046805074690918345',), 1359513263: ('0.046805074690918345',)} args : 1359515147 depend.output_id : 0 input_args_next_step : {1359518931: ('0.046805074690918345',), 1359517408: ('0.046805074690918345',), 1359515222: ('0.046805074690918345',), 1359515157: ('0.046805074690918345',), 1359515152: ('0.046805074690918345',), 1359515147: ('0.046805074690918345',), 1359515142: ()} output_args : {1359518931: ('0.046805074690918345',), 1359517408: ('0.046805074690918345',), 1359515222: ('0.046805074690918345',), 1359515157: ('0.046805074690918345',), 1359515152: ('0.046805074690918345',), 1359515147: ('0.046805074690918345',), 1359515142: ('0.046805074690918345',), 1359515136: ('0.046805074690918345',), 1359514820: ('0.046805074690918345',), 1359514759: ('0.046805074690918345',), 1359514542: ('0.046805074690918345',), 1359513915: ('0.046805074690918345',), 1359513885: ('0.046805074690918345',), 1359513882: ('0.046805074690918345',), 1359513878: ('0.046805074690918345',), 1359513873: ('0.046805074690918345',), 1359513868: ('0.046805074690918345',), 1359513846: ('0.046805074690918345',), 1359513843: ('0.046805074690918345',), 1359513839: ('0.046805074690918345',), 1359513830: ('0.046805074690918345',), 1359513821: ('0.046805074690918345',), 1359513761: ('0.046805074690918345',), 1359513715: ('0.046805074690918345',), 1359513710: ('0.046805074690918345',), 1359513698: ('0.046805074690918345',), 1359513667: ('0.046805074690918345',), 1359513464: ('0.046805074690918345',), 1359513440: ('0.046805074690918345',), 1359513408: ('0.046805074690918345',), 1359513396: ('0.046805074690918345',), 1359513276: ('0.046805074690918345',), 1359513274: ('0.046805074690918345',), 1359513270: ('0.046805074690918345',), 1359513266: ('0.046805074690918345',), 1359513263: ('0.046805074690918345',)} args : 1359515142 depend.output_id : 0 input_args_next_step : {1359518931: ('0.046805074690918345',), 1359517408: ('0.046805074690918345',), 1359515222: ('0.046805074690918345',), 1359515157: ('0.046805074690918345',), 1359515152: ('0.046805074690918345',), 1359515147: ('0.046805074690918345',), 1359515142: ('0.046805074690918345',), 1359515136: ()} output_args : {1359518931: ('0.046805074690918345',), 1359517408: ('0.046805074690918345',), 1359515222: ('0.046805074690918345',), 1359515157: ('0.046805074690918345',), 1359515152: ('0.046805074690918345',), 1359515147: ('0.046805074690918345',), 1359515142: ('0.046805074690918345',), 1359515136: ('0.046805074690918345',), 1359514820: ('0.046805074690918345',), 1359514759: ('0.046805074690918345',), 1359514542: ('0.046805074690918345',), 1359513915: ('0.046805074690918345',), 1359513885: ('0.046805074690918345',), 1359513882: ('0.046805074690918345',), 1359513878: ('0.046805074690918345',), 1359513873: ('0.046805074690918345',), 1359513868: ('0.046805074690918345',), 1359513846: ('0.046805074690918345',), 1359513843: ('0.046805074690918345',), 1359513839: ('0.046805074690918345',), 1359513830: ('0.046805074690918345',), 1359513821: ('0.046805074690918345',), 1359513761: ('0.046805074690918345',), 1359513715: ('0.046805074690918345',), 1359513710: ('0.046805074690918345',), 1359513698: ('0.046805074690918345',), 1359513667: ('0.046805074690918345',), 1359513464: ('0.046805074690918345',), 1359513440: ('0.046805074690918345',), 1359513408: ('0.046805074690918345',), 1359513396: ('0.046805074690918345',), 1359513276: ('0.046805074690918345',), 1359513274: ('0.046805074690918345',), 1359513270: ('0.046805074690918345',), 1359513266: ('0.046805074690918345',), 1359513263: ('0.046805074690918345',)} args : 1359515136 depend.output_id : 0 input_args_next_step : {1359518931: ('0.046805074690918345',), 1359517408: ('0.046805074690918345',), 1359515222: ('0.046805074690918345',), 1359515157: ('0.046805074690918345',), 1359515152: ('0.046805074690918345',), 1359515147: ('0.046805074690918345',), 1359515142: ('0.046805074690918345',), 1359515136: ('0.046805074690918345',), 1359514820: ()} output_args : {1359518931: ('0.046805074690918345',), 1359517408: ('0.046805074690918345',), 1359515222: ('0.046805074690918345',), 1359515157: ('0.046805074690918345',), 1359515152: ('0.046805074690918345',), 1359515147: ('0.046805074690918345',), 1359515142: ('0.046805074690918345',), 1359515136: ('0.046805074690918345',), 1359514820: ('0.046805074690918345',), 1359514759: ('0.046805074690918345',), 1359514542: ('0.046805074690918345',), 1359513915: ('0.046805074690918345',), 1359513885: ('0.046805074690918345',), 1359513882: ('0.046805074690918345',), 1359513878: ('0.046805074690918345',), 1359513873: ('0.046805074690918345',), 1359513868: ('0.046805074690918345',), 1359513846: ('0.046805074690918345',), 1359513843: ('0.046805074690918345',), 1359513839: ('0.046805074690918345',), 1359513830: ('0.046805074690918345',), 1359513821: ('0.046805074690918345',), 1359513761: ('0.046805074690918345',), 1359513715: ('0.046805074690918345',), 1359513710: ('0.046805074690918345',), 1359513698: ('0.046805074690918345',), 1359513667: ('0.046805074690918345',), 1359513464: ('0.046805074690918345',), 1359513440: ('0.046805074690918345',), 1359513408: ('0.046805074690918345',), 1359513396: ('0.046805074690918345',), 1359513276: ('0.046805074690918345',), 1359513274: ('0.046805074690918345',), 1359513270: ('0.046805074690918345',), 1359513266: ('0.046805074690918345',), 1359513263: ('0.046805074690918345',)} args : 1359514820 depend.output_id : 0 input_args_next_step : {1359518931: ('0.046805074690918345',), 1359517408: ('0.046805074690918345',), 1359515222: ('0.046805074690918345',), 1359515157: ('0.046805074690918345',), 1359515152: ('0.046805074690918345',), 1359515147: ('0.046805074690918345',), 1359515142: ('0.046805074690918345',), 1359515136: ('0.046805074690918345',), 1359514820: ('0.046805074690918345',), 1359514759: ()} output_args : {1359518931: ('0.046805074690918345',), 1359517408: ('0.046805074690918345',), 1359515222: ('0.046805074690918345',), 1359515157: ('0.046805074690918345',), 1359515152: ('0.046805074690918345',), 1359515147: ('0.046805074690918345',), 1359515142: ('0.046805074690918345',), 1359515136: ('0.046805074690918345',), 1359514820: ('0.046805074690918345',), 1359514759: ('0.046805074690918345',), 1359514542: ('0.046805074690918345',), 1359513915: ('0.046805074690918345',), 1359513885: ('0.046805074690918345',), 1359513882: ('0.046805074690918345',), 1359513878: ('0.046805074690918345',), 1359513873: ('0.046805074690918345',), 1359513868: ('0.046805074690918345',), 1359513846: ('0.046805074690918345',), 1359513843: ('0.046805074690918345',), 1359513839: ('0.046805074690918345',), 1359513830: ('0.046805074690918345',), 1359513821: ('0.046805074690918345',), 1359513761: ('0.046805074690918345',), 1359513715: ('0.046805074690918345',), 1359513710: ('0.046805074690918345',), 1359513698: ('0.046805074690918345',), 1359513667: ('0.046805074690918345',), 1359513464: ('0.046805074690918345',), 1359513440: ('0.046805074690918345',), 1359513408: ('0.046805074690918345',), 1359513396: ('0.046805074690918345',), 1359513276: ('0.046805074690918345',), 1359513274: ('0.046805074690918345',), 1359513270: ('0.046805074690918345',), 1359513266: ('0.046805074690918345',), 1359513263: ('0.046805074690918345',)} args : 1359514759 depend.output_id : 0 input_args_next_step : {1359518931: ('0.046805074690918345',), 1359517408: ('0.046805074690918345',), 1359515222: ('0.046805074690918345',), 1359515157: ('0.046805074690918345',), 1359515152: ('0.046805074690918345',), 1359515147: ('0.046805074690918345',), 1359515142: ('0.046805074690918345',), 1359515136: ('0.046805074690918345',), 1359514820: ('0.046805074690918345',), 1359514759: ('0.046805074690918345',), 1359514542: ()} output_args : {1359518931: ('0.046805074690918345',), 1359517408: ('0.046805074690918345',), 1359515222: ('0.046805074690918345',), 1359515157: ('0.046805074690918345',), 1359515152: ('0.046805074690918345',), 1359515147: ('0.046805074690918345',), 1359515142: ('0.046805074690918345',), 1359515136: ('0.046805074690918345',), 1359514820: ('0.046805074690918345',), 1359514759: ('0.046805074690918345',), 1359514542: ('0.046805074690918345',), 1359513915: ('0.046805074690918345',), 1359513885: ('0.046805074690918345',), 1359513882: ('0.046805074690918345',), 1359513878: ('0.046805074690918345',), 1359513873: ('0.046805074690918345',), 1359513868: ('0.046805074690918345',), 1359513846: ('0.046805074690918345',), 1359513843: ('0.046805074690918345',), 1359513839: ('0.046805074690918345',), 1359513830: ('0.046805074690918345',), 1359513821: ('0.046805074690918345',), 1359513761: ('0.046805074690918345',), 1359513715: ('0.046805074690918345',), 1359513710: ('0.046805074690918345',), 1359513698: ('0.046805074690918345',), 1359513667: ('0.046805074690918345',), 1359513464: ('0.046805074690918345',), 1359513440: ('0.046805074690918345',), 1359513408: ('0.046805074690918345',), 1359513396: ('0.046805074690918345',), 1359513276: ('0.046805074690918345',), 1359513274: ('0.046805074690918345',), 1359513270: ('0.046805074690918345',), 1359513266: ('0.046805074690918345',), 1359513263: ('0.046805074690918345',)} args : 1359514542 depend.output_id : 0 input_args_next_step : {1359518931: ('0.046805074690918345',), 1359517408: ('0.046805074690918345',), 1359515222: ('0.046805074690918345',), 1359515157: ('0.046805074690918345',), 1359515152: ('0.046805074690918345',), 1359515147: ('0.046805074690918345',), 1359515142: ('0.046805074690918345',), 1359515136: ('0.046805074690918345',), 1359514820: ('0.046805074690918345',), 1359514759: ('0.046805074690918345',), 1359514542: ('0.046805074690918345',), 1359513915: ()} output_args : {1359518931: ('0.046805074690918345',), 1359517408: ('0.046805074690918345',), 1359515222: ('0.046805074690918345',), 1359515157: ('0.046805074690918345',), 1359515152: ('0.046805074690918345',), 1359515147: ('0.046805074690918345',), 1359515142: ('0.046805074690918345',), 1359515136: ('0.046805074690918345',), 1359514820: ('0.046805074690918345',), 1359514759: ('0.046805074690918345',), 1359514542: ('0.046805074690918345',), 1359513915: ('0.046805074690918345',), 1359513885: ('0.046805074690918345',), 1359513882: ('0.046805074690918345',), 1359513878: ('0.046805074690918345',), 1359513873: ('0.046805074690918345',), 1359513868: ('0.046805074690918345',), 1359513846: ('0.046805074690918345',), 1359513843: ('0.046805074690918345',), 1359513839: ('0.046805074690918345',), 1359513830: ('0.046805074690918345',), 1359513821: ('0.046805074690918345',), 1359513761: ('0.046805074690918345',), 1359513715: ('0.046805074690918345',), 1359513710: ('0.046805074690918345',), 1359513698: ('0.046805074690918345',), 1359513667: ('0.046805074690918345',), 1359513464: ('0.046805074690918345',), 1359513440: ('0.046805074690918345',), 1359513408: ('0.046805074690918345',), 1359513396: ('0.046805074690918345',), 1359513276: ('0.046805074690918345',), 1359513274: ('0.046805074690918345',), 1359513270: ('0.046805074690918345',), 1359513266: ('0.046805074690918345',), 1359513263: ('0.046805074690918345',)} args : 1359513915 depend.output_id : 0 input_args_next_step : {1359518931: ('0.046805074690918345',), 1359517408: ('0.046805074690918345',), 1359515222: ('0.046805074690918345',), 1359515157: ('0.046805074690918345',), 1359515152: ('0.046805074690918345',), 1359515147: ('0.046805074690918345',), 1359515142: ('0.046805074690918345',), 1359515136: ('0.046805074690918345',), 1359514820: ('0.046805074690918345',), 1359514759: ('0.046805074690918345',), 1359514542: ('0.046805074690918345',), 1359513915: ('0.046805074690918345',), 1359513885: ()} output_args : {1359518931: ('0.046805074690918345',), 1359517408: ('0.046805074690918345',), 1359515222: ('0.046805074690918345',), 1359515157: ('0.046805074690918345',), 1359515152: ('0.046805074690918345',), 1359515147: ('0.046805074690918345',), 1359515142: ('0.046805074690918345',), 1359515136: ('0.046805074690918345',), 1359514820: ('0.046805074690918345',), 1359514759: ('0.046805074690918345',), 1359514542: ('0.046805074690918345',), 1359513915: ('0.046805074690918345',), 1359513885: ('0.046805074690918345',), 1359513882: ('0.046805074690918345',), 1359513878: ('0.046805074690918345',), 1359513873: ('0.046805074690918345',), 1359513868: ('0.046805074690918345',), 1359513846: ('0.046805074690918345',), 1359513843: ('0.046805074690918345',), 1359513839: ('0.046805074690918345',), 1359513830: ('0.046805074690918345',), 1359513821: ('0.046805074690918345',), 1359513761: ('0.046805074690918345',), 1359513715: ('0.046805074690918345',), 1359513710: ('0.046805074690918345',), 1359513698: ('0.046805074690918345',), 1359513667: ('0.046805074690918345',), 1359513464: ('0.046805074690918345',), 1359513440: ('0.046805074690918345',), 1359513408: ('0.046805074690918345',), 1359513396: ('0.046805074690918345',), 1359513276: ('0.046805074690918345',), 1359513274: ('0.046805074690918345',), 1359513270: ('0.046805074690918345',), 1359513266: ('0.046805074690918345',), 1359513263: ('0.046805074690918345',)} args : 1359513885 depend.output_id : 0 input_args_next_step : {1359518931: ('0.046805074690918345',), 1359517408: ('0.046805074690918345',), 1359515222: ('0.046805074690918345',), 1359515157: ('0.046805074690918345',), 1359515152: ('0.046805074690918345',), 1359515147: ('0.046805074690918345',), 1359515142: ('0.046805074690918345',), 1359515136: ('0.046805074690918345',), 1359514820: ('0.046805074690918345',), 1359514759: ('0.046805074690918345',), 1359514542: ('0.046805074690918345',), 1359513915: ('0.046805074690918345',), 1359513885: ('0.046805074690918345',), 1359513882: ()} output_args : {1359518931: ('0.046805074690918345',), 1359517408: ('0.046805074690918345',), 1359515222: ('0.046805074690918345',), 1359515157: ('0.046805074690918345',), 1359515152: ('0.046805074690918345',), 1359515147: ('0.046805074690918345',), 1359515142: ('0.046805074690918345',), 1359515136: ('0.046805074690918345',), 1359514820: ('0.046805074690918345',), 1359514759: ('0.046805074690918345',), 1359514542: ('0.046805074690918345',), 1359513915: ('0.046805074690918345',), 1359513885: ('0.046805074690918345',), 1359513882: ('0.046805074690918345',), 1359513878: ('0.046805074690918345',), 1359513873: ('0.046805074690918345',), 1359513868: ('0.046805074690918345',), 1359513846: ('0.046805074690918345',), 1359513843: ('0.046805074690918345',), 1359513839: ('0.046805074690918345',), 1359513830: ('0.046805074690918345',), 1359513821: ('0.046805074690918345',), 1359513761: ('0.046805074690918345',), 1359513715: ('0.046805074690918345',), 1359513710: ('0.046805074690918345',), 1359513698: ('0.046805074690918345',), 1359513667: ('0.046805074690918345',), 1359513464: ('0.046805074690918345',), 1359513440: ('0.046805074690918345',), 1359513408: ('0.046805074690918345',), 1359513396: ('0.046805074690918345',), 1359513276: ('0.046805074690918345',), 1359513274: ('0.046805074690918345',), 1359513270: ('0.046805074690918345',), 1359513266: ('0.046805074690918345',), 1359513263: ('0.046805074690918345',)} args : 1359513882 depend.output_id : 0 input_args_next_step : {1359518931: ('0.046805074690918345',), 1359517408: ('0.046805074690918345',), 1359515222: ('0.046805074690918345',), 1359515157: ('0.046805074690918345',), 1359515152: ('0.046805074690918345',), 1359515147: ('0.046805074690918345',), 1359515142: ('0.046805074690918345',), 1359515136: ('0.046805074690918345',), 1359514820: ('0.046805074690918345',), 1359514759: ('0.046805074690918345',), 1359514542: ('0.046805074690918345',), 1359513915: ('0.046805074690918345',), 1359513885: ('0.046805074690918345',), 1359513882: ('0.046805074690918345',), 1359513878: ()} output_args : {1359518931: ('0.046805074690918345',), 1359517408: ('0.046805074690918345',), 1359515222: ('0.046805074690918345',), 1359515157: ('0.046805074690918345',), 1359515152: ('0.046805074690918345',), 1359515147: ('0.046805074690918345',), 1359515142: ('0.046805074690918345',), 1359515136: ('0.046805074690918345',), 1359514820: ('0.046805074690918345',), 1359514759: ('0.046805074690918345',), 1359514542: ('0.046805074690918345',), 1359513915: ('0.046805074690918345',), 1359513885: ('0.046805074690918345',), 1359513882: ('0.046805074690918345',), 1359513878: ('0.046805074690918345',), 1359513873: ('0.046805074690918345',), 1359513868: ('0.046805074690918345',), 1359513846: ('0.046805074690918345',), 1359513843: ('0.046805074690918345',), 1359513839: ('0.046805074690918345',), 1359513830: ('0.046805074690918345',), 1359513821: ('0.046805074690918345',), 1359513761: ('0.046805074690918345',), 1359513715: ('0.046805074690918345',), 1359513710: ('0.046805074690918345',), 1359513698: ('0.046805074690918345',), 1359513667: ('0.046805074690918345',), 1359513464: ('0.046805074690918345',), 1359513440: ('0.046805074690918345',), 1359513408: ('0.046805074690918345',), 1359513396: ('0.046805074690918345',), 1359513276: ('0.046805074690918345',), 1359513274: ('0.046805074690918345',), 1359513270: ('0.046805074690918345',), 1359513266: ('0.046805074690918345',), 1359513263: ('0.046805074690918345',)} args : 1359513878 depend.output_id : 0 input_args_next_step : {1359518931: ('0.046805074690918345',), 1359517408: ('0.046805074690918345',), 1359515222: ('0.046805074690918345',), 1359515157: ('0.046805074690918345',), 1359515152: ('0.046805074690918345',), 1359515147: ('0.046805074690918345',), 1359515142: ('0.046805074690918345',), 1359515136: ('0.046805074690918345',), 1359514820: ('0.046805074690918345',), 1359514759: ('0.046805074690918345',), 1359514542: ('0.046805074690918345',), 1359513915: ('0.046805074690918345',), 1359513885: ('0.046805074690918345',), 1359513882: ('0.046805074690918345',), 1359513878: ('0.046805074690918345',), 1359513873: ()} output_args : {1359518931: ('0.046805074690918345',), 1359517408: ('0.046805074690918345',), 1359515222: ('0.046805074690918345',), 1359515157: ('0.046805074690918345',), 1359515152: ('0.046805074690918345',), 1359515147: ('0.046805074690918345',), 1359515142: ('0.046805074690918345',), 1359515136: ('0.046805074690918345',), 1359514820: ('0.046805074690918345',), 1359514759: ('0.046805074690918345',), 1359514542: ('0.046805074690918345',), 1359513915: ('0.046805074690918345',), 1359513885: ('0.046805074690918345',), 1359513882: ('0.046805074690918345',), 1359513878: ('0.046805074690918345',), 1359513873: ('0.046805074690918345',), 1359513868: ('0.046805074690918345',), 1359513846: ('0.046805074690918345',), 1359513843: ('0.046805074690918345',), 1359513839: ('0.046805074690918345',), 1359513830: ('0.046805074690918345',), 1359513821: ('0.046805074690918345',), 1359513761: ('0.046805074690918345',), 1359513715: ('0.046805074690918345',), 1359513710: ('0.046805074690918345',), 1359513698: ('0.046805074690918345',), 1359513667: ('0.046805074690918345',), 1359513464: ('0.046805074690918345',), 1359513440: ('0.046805074690918345',), 1359513408: ('0.046805074690918345',), 1359513396: ('0.046805074690918345',), 1359513276: ('0.046805074690918345',), 1359513274: ('0.046805074690918345',), 1359513270: ('0.046805074690918345',), 1359513266: ('0.046805074690918345',), 1359513263: ('0.046805074690918345',)} args : 1359513873 depend.output_id : 0 input_args_next_step : {1359518931: ('0.046805074690918345',), 1359517408: ('0.046805074690918345',), 1359515222: ('0.046805074690918345',), 1359515157: ('0.046805074690918345',), 1359515152: ('0.046805074690918345',), 1359515147: ('0.046805074690918345',), 1359515142: ('0.046805074690918345',), 1359515136: ('0.046805074690918345',), 1359514820: ('0.046805074690918345',), 1359514759: ('0.046805074690918345',), 1359514542: ('0.046805074690918345',), 1359513915: ('0.046805074690918345',), 1359513885: ('0.046805074690918345',), 1359513882: ('0.046805074690918345',), 1359513878: ('0.046805074690918345',), 1359513873: ('0.046805074690918345',), 1359513868: ()} output_args : {1359518931: ('0.046805074690918345',), 1359517408: ('0.046805074690918345',), 1359515222: ('0.046805074690918345',), 1359515157: ('0.046805074690918345',), 1359515152: ('0.046805074690918345',), 1359515147: ('0.046805074690918345',), 1359515142: ('0.046805074690918345',), 1359515136: ('0.046805074690918345',), 1359514820: ('0.046805074690918345',), 1359514759: ('0.046805074690918345',), 1359514542: ('0.046805074690918345',), 1359513915: ('0.046805074690918345',), 1359513885: ('0.046805074690918345',), 1359513882: ('0.046805074690918345',), 1359513878: ('0.046805074690918345',), 1359513873: ('0.046805074690918345',), 1359513868: ('0.046805074690918345',), 1359513846: ('0.046805074690918345',), 1359513843: ('0.046805074690918345',), 1359513839: ('0.046805074690918345',), 1359513830: ('0.046805074690918345',), 1359513821: ('0.046805074690918345',), 1359513761: ('0.046805074690918345',), 1359513715: ('0.046805074690918345',), 1359513710: ('0.046805074690918345',), 1359513698: ('0.046805074690918345',), 1359513667: ('0.046805074690918345',), 1359513464: ('0.046805074690918345',), 1359513440: ('0.046805074690918345',), 1359513408: ('0.046805074690918345',), 1359513396: ('0.046805074690918345',), 1359513276: ('0.046805074690918345',), 1359513274: ('0.046805074690918345',), 1359513270: ('0.046805074690918345',), 1359513266: ('0.046805074690918345',), 1359513263: ('0.046805074690918345',)} args : 1359513868 depend.output_id : 0 input_args_next_step : {1359518931: ('0.046805074690918345',), 1359517408: ('0.046805074690918345',), 1359515222: ('0.046805074690918345',), 1359515157: ('0.046805074690918345',), 1359515152: ('0.046805074690918345',), 1359515147: ('0.046805074690918345',), 1359515142: ('0.046805074690918345',), 1359515136: ('0.046805074690918345',), 1359514820: ('0.046805074690918345',), 1359514759: ('0.046805074690918345',), 1359514542: ('0.046805074690918345',), 1359513915: ('0.046805074690918345',), 1359513885: ('0.046805074690918345',), 1359513882: ('0.046805074690918345',), 1359513878: ('0.046805074690918345',), 1359513873: ('0.046805074690918345',), 1359513868: ('0.046805074690918345',), 1359513846: ()} output_args : {1359518931: ('0.046805074690918345',), 1359517408: ('0.046805074690918345',), 1359515222: ('0.046805074690918345',), 1359515157: ('0.046805074690918345',), 1359515152: ('0.046805074690918345',), 1359515147: ('0.046805074690918345',), 1359515142: ('0.046805074690918345',), 1359515136: ('0.046805074690918345',), 1359514820: ('0.046805074690918345',), 1359514759: ('0.046805074690918345',), 1359514542: ('0.046805074690918345',), 1359513915: ('0.046805074690918345',), 1359513885: ('0.046805074690918345',), 1359513882: ('0.046805074690918345',), 1359513878: ('0.046805074690918345',), 1359513873: ('0.046805074690918345',), 1359513868: ('0.046805074690918345',), 1359513846: ('0.046805074690918345',), 1359513843: ('0.046805074690918345',), 1359513839: ('0.046805074690918345',), 1359513830: ('0.046805074690918345',), 1359513821: ('0.046805074690918345',), 1359513761: ('0.046805074690918345',), 1359513715: ('0.046805074690918345',), 1359513710: ('0.046805074690918345',), 1359513698: ('0.046805074690918345',), 1359513667: ('0.046805074690918345',), 1359513464: ('0.046805074690918345',), 1359513440: ('0.046805074690918345',), 1359513408: ('0.046805074690918345',), 1359513396: ('0.046805074690918345',), 1359513276: ('0.046805074690918345',), 1359513274: ('0.046805074690918345',), 1359513270: ('0.046805074690918345',), 1359513266: ('0.046805074690918345',), 1359513263: ('0.046805074690918345',)} args : 1359513846 depend.output_id : 0 input_args_next_step : {1359518931: ('0.046805074690918345',), 1359517408: ('0.046805074690918345',), 1359515222: ('0.046805074690918345',), 1359515157: ('0.046805074690918345',), 1359515152: ('0.046805074690918345',), 1359515147: ('0.046805074690918345',), 1359515142: ('0.046805074690918345',), 1359515136: ('0.046805074690918345',), 1359514820: ('0.046805074690918345',), 1359514759: ('0.046805074690918345',), 1359514542: ('0.046805074690918345',), 1359513915: ('0.046805074690918345',), 1359513885: ('0.046805074690918345',), 1359513882: ('0.046805074690918345',), 1359513878: ('0.046805074690918345',), 1359513873: ('0.046805074690918345',), 1359513868: ('0.046805074690918345',), 1359513846: ('0.046805074690918345',), 1359513843: ()} output_args : {1359518931: ('0.046805074690918345',), 1359517408: ('0.046805074690918345',), 1359515222: ('0.046805074690918345',), 1359515157: ('0.046805074690918345',), 1359515152: ('0.046805074690918345',), 1359515147: ('0.046805074690918345',), 1359515142: ('0.046805074690918345',), 1359515136: ('0.046805074690918345',), 1359514820: ('0.046805074690918345',), 1359514759: ('0.046805074690918345',), 1359514542: ('0.046805074690918345',), 1359513915: ('0.046805074690918345',), 1359513885: ('0.046805074690918345',), 1359513882: ('0.046805074690918345',), 1359513878: ('0.046805074690918345',), 1359513873: ('0.046805074690918345',), 1359513868: ('0.046805074690918345',), 1359513846: ('0.046805074690918345',), 1359513843: ('0.046805074690918345',), 1359513839: ('0.046805074690918345',), 1359513830: ('0.046805074690918345',), 1359513821: ('0.046805074690918345',), 1359513761: ('0.046805074690918345',), 1359513715: ('0.046805074690918345',), 1359513710: ('0.046805074690918345',), 1359513698: ('0.046805074690918345',), 1359513667: ('0.046805074690918345',), 1359513464: ('0.046805074690918345',), 1359513440: ('0.046805074690918345',), 1359513408: ('0.046805074690918345',), 1359513396: ('0.046805074690918345',), 1359513276: ('0.046805074690918345',), 1359513274: ('0.046805074690918345',), 1359513270: ('0.046805074690918345',), 1359513266: ('0.046805074690918345',), 1359513263: ('0.046805074690918345',)} args : 1359513843 depend.output_id : 0 input_args_next_step : {1359518931: ('0.046805074690918345',), 1359517408: ('0.046805074690918345',), 1359515222: ('0.046805074690918345',), 1359515157: ('0.046805074690918345',), 1359515152: ('0.046805074690918345',), 1359515147: ('0.046805074690918345',), 1359515142: ('0.046805074690918345',), 1359515136: ('0.046805074690918345',), 1359514820: ('0.046805074690918345',), 1359514759: ('0.046805074690918345',), 1359514542: ('0.046805074690918345',), 1359513915: ('0.046805074690918345',), 1359513885: ('0.046805074690918345',), 1359513882: ('0.046805074690918345',), 1359513878: ('0.046805074690918345',), 1359513873: ('0.046805074690918345',), 1359513868: ('0.046805074690918345',), 1359513846: ('0.046805074690918345',), 1359513843: ('0.046805074690918345',), 1359513839: ()} output_args : {1359518931: ('0.046805074690918345',), 1359517408: ('0.046805074690918345',), 1359515222: ('0.046805074690918345',), 1359515157: ('0.046805074690918345',), 1359515152: ('0.046805074690918345',), 1359515147: ('0.046805074690918345',), 1359515142: ('0.046805074690918345',), 1359515136: ('0.046805074690918345',), 1359514820: ('0.046805074690918345',), 1359514759: ('0.046805074690918345',), 1359514542: ('0.046805074690918345',), 1359513915: ('0.046805074690918345',), 1359513885: ('0.046805074690918345',), 1359513882: ('0.046805074690918345',), 1359513878: ('0.046805074690918345',), 1359513873: ('0.046805074690918345',), 1359513868: ('0.046805074690918345',), 1359513846: ('0.046805074690918345',), 1359513843: ('0.046805074690918345',), 1359513839: ('0.046805074690918345',), 1359513830: ('0.046805074690918345',), 1359513821: ('0.046805074690918345',), 1359513761: ('0.046805074690918345',), 1359513715: ('0.046805074690918345',), 1359513710: ('0.046805074690918345',), 1359513698: ('0.046805074690918345',), 1359513667: ('0.046805074690918345',), 1359513464: ('0.046805074690918345',), 1359513440: ('0.046805074690918345',), 1359513408: ('0.046805074690918345',), 1359513396: ('0.046805074690918345',), 1359513276: ('0.046805074690918345',), 1359513274: ('0.046805074690918345',), 1359513270: ('0.046805074690918345',), 1359513266: ('0.046805074690918345',), 1359513263: ('0.046805074690918345',)} args : 1359513839 depend.output_id : 0 input_args_next_step : {1359518931: ('0.046805074690918345',), 1359517408: ('0.046805074690918345',), 1359515222: ('0.046805074690918345',), 1359515157: ('0.046805074690918345',), 1359515152: ('0.046805074690918345',), 1359515147: ('0.046805074690918345',), 1359515142: ('0.046805074690918345',), 1359515136: ('0.046805074690918345',), 1359514820: ('0.046805074690918345',), 1359514759: ('0.046805074690918345',), 1359514542: ('0.046805074690918345',), 1359513915: ('0.046805074690918345',), 1359513885: ('0.046805074690918345',), 1359513882: ('0.046805074690918345',), 1359513878: ('0.046805074690918345',), 1359513873: ('0.046805074690918345',), 1359513868: ('0.046805074690918345',), 1359513846: ('0.046805074690918345',), 1359513843: ('0.046805074690918345',), 1359513839: ('0.046805074690918345',), 1359513830: ()} output_args : {1359518931: ('0.046805074690918345',), 1359517408: ('0.046805074690918345',), 1359515222: ('0.046805074690918345',), 1359515157: ('0.046805074690918345',), 1359515152: ('0.046805074690918345',), 1359515147: ('0.046805074690918345',), 1359515142: ('0.046805074690918345',), 1359515136: ('0.046805074690918345',), 1359514820: ('0.046805074690918345',), 1359514759: ('0.046805074690918345',), 1359514542: ('0.046805074690918345',), 1359513915: ('0.046805074690918345',), 1359513885: ('0.046805074690918345',), 1359513882: ('0.046805074690918345',), 1359513878: ('0.046805074690918345',), 1359513873: ('0.046805074690918345',), 1359513868: ('0.046805074690918345',), 1359513846: ('0.046805074690918345',), 1359513843: ('0.046805074690918345',), 1359513839: ('0.046805074690918345',), 1359513830: ('0.046805074690918345',), 1359513821: ('0.046805074690918345',), 1359513761: ('0.046805074690918345',), 1359513715: ('0.046805074690918345',), 1359513710: ('0.046805074690918345',), 1359513698: ('0.046805074690918345',), 1359513667: ('0.046805074690918345',), 1359513464: ('0.046805074690918345',), 1359513440: ('0.046805074690918345',), 1359513408: ('0.046805074690918345',), 1359513396: ('0.046805074690918345',), 1359513276: ('0.046805074690918345',), 1359513274: ('0.046805074690918345',), 1359513270: ('0.046805074690918345',), 1359513266: ('0.046805074690918345',), 1359513263: ('0.046805074690918345',)} args : 1359513830 depend.output_id : 0 input_args_next_step : {1359518931: ('0.046805074690918345',), 1359517408: ('0.046805074690918345',), 1359515222: ('0.046805074690918345',), 1359515157: ('0.046805074690918345',), 1359515152: ('0.046805074690918345',), 1359515147: ('0.046805074690918345',), 1359515142: ('0.046805074690918345',), 1359515136: ('0.046805074690918345',), 1359514820: ('0.046805074690918345',), 1359514759: ('0.046805074690918345',), 1359514542: ('0.046805074690918345',), 1359513915: ('0.046805074690918345',), 1359513885: ('0.046805074690918345',), 1359513882: ('0.046805074690918345',), 1359513878: ('0.046805074690918345',), 1359513873: ('0.046805074690918345',), 1359513868: ('0.046805074690918345',), 1359513846: ('0.046805074690918345',), 1359513843: ('0.046805074690918345',), 1359513839: ('0.046805074690918345',), 1359513830: ('0.046805074690918345',), 1359513821: ()} output_args : {1359518931: ('0.046805074690918345',), 1359517408: ('0.046805074690918345',), 1359515222: ('0.046805074690918345',), 1359515157: ('0.046805074690918345',), 1359515152: ('0.046805074690918345',), 1359515147: ('0.046805074690918345',), 1359515142: ('0.046805074690918345',), 1359515136: ('0.046805074690918345',), 1359514820: ('0.046805074690918345',), 1359514759: ('0.046805074690918345',), 1359514542: ('0.046805074690918345',), 1359513915: ('0.046805074690918345',), 1359513885: ('0.046805074690918345',), 1359513882: ('0.046805074690918345',), 1359513878: ('0.046805074690918345',), 1359513873: ('0.046805074690918345',), 1359513868: ('0.046805074690918345',), 1359513846: ('0.046805074690918345',), 1359513843: ('0.046805074690918345',), 1359513839: ('0.046805074690918345',), 1359513830: ('0.046805074690918345',), 1359513821: ('0.046805074690918345',), 1359513761: ('0.046805074690918345',), 1359513715: ('0.046805074690918345',), 1359513710: ('0.046805074690918345',), 1359513698: ('0.046805074690918345',), 1359513667: ('0.046805074690918345',), 1359513464: ('0.046805074690918345',), 1359513440: ('0.046805074690918345',), 1359513408: ('0.046805074690918345',), 1359513396: ('0.046805074690918345',), 1359513276: ('0.046805074690918345',), 1359513274: ('0.046805074690918345',), 1359513270: ('0.046805074690918345',), 1359513266: ('0.046805074690918345',), 1359513263: ('0.046805074690918345',)} args : 1359513821 depend.output_id : 0 input_args_next_step : {1359518931: ('0.046805074690918345',), 1359517408: ('0.046805074690918345',), 1359515222: ('0.046805074690918345',), 1359515157: ('0.046805074690918345',), 1359515152: ('0.046805074690918345',), 1359515147: ('0.046805074690918345',), 1359515142: ('0.046805074690918345',), 1359515136: ('0.046805074690918345',), 1359514820: ('0.046805074690918345',), 1359514759: ('0.046805074690918345',), 1359514542: ('0.046805074690918345',), 1359513915: ('0.046805074690918345',), 1359513885: ('0.046805074690918345',), 1359513882: ('0.046805074690918345',), 1359513878: ('0.046805074690918345',), 1359513873: ('0.046805074690918345',), 1359513868: ('0.046805074690918345',), 1359513846: ('0.046805074690918345',), 1359513843: ('0.046805074690918345',), 1359513839: ('0.046805074690918345',), 1359513830: ('0.046805074690918345',), 1359513821: ('0.046805074690918345',), 1359513761: ()} output_args : {1359518931: ('0.046805074690918345',), 1359517408: ('0.046805074690918345',), 1359515222: ('0.046805074690918345',), 1359515157: ('0.046805074690918345',), 1359515152: ('0.046805074690918345',), 1359515147: ('0.046805074690918345',), 1359515142: ('0.046805074690918345',), 1359515136: ('0.046805074690918345',), 1359514820: ('0.046805074690918345',), 1359514759: ('0.046805074690918345',), 1359514542: ('0.046805074690918345',), 1359513915: ('0.046805074690918345',), 1359513885: ('0.046805074690918345',), 1359513882: ('0.046805074690918345',), 1359513878: ('0.046805074690918345',), 1359513873: ('0.046805074690918345',), 1359513868: ('0.046805074690918345',), 1359513846: ('0.046805074690918345',), 1359513843: ('0.046805074690918345',), 1359513839: ('0.046805074690918345',), 1359513830: ('0.046805074690918345',), 1359513821: ('0.046805074690918345',), 1359513761: ('0.046805074690918345',), 1359513715: ('0.046805074690918345',), 1359513710: ('0.046805074690918345',), 1359513698: ('0.046805074690918345',), 1359513667: ('0.046805074690918345',), 1359513464: ('0.046805074690918345',), 1359513440: ('0.046805074690918345',), 1359513408: ('0.046805074690918345',), 1359513396: ('0.046805074690918345',), 1359513276: ('0.046805074690918345',), 1359513274: ('0.046805074690918345',), 1359513270: ('0.046805074690918345',), 1359513266: ('0.046805074690918345',), 1359513263: ('0.046805074690918345',)} args : 1359513761 depend.output_id : 0 input_args_next_step : {1359518931: ('0.046805074690918345',), 1359517408: ('0.046805074690918345',), 1359515222: ('0.046805074690918345',), 1359515157: ('0.046805074690918345',), 1359515152: ('0.046805074690918345',), 1359515147: ('0.046805074690918345',), 1359515142: ('0.046805074690918345',), 1359515136: ('0.046805074690918345',), 1359514820: ('0.046805074690918345',), 1359514759: ('0.046805074690918345',), 1359514542: ('0.046805074690918345',), 1359513915: ('0.046805074690918345',), 1359513885: ('0.046805074690918345',), 1359513882: ('0.046805074690918345',), 1359513878: ('0.046805074690918345',), 1359513873: ('0.046805074690918345',), 1359513868: ('0.046805074690918345',), 1359513846: ('0.046805074690918345',), 1359513843: ('0.046805074690918345',), 1359513839: ('0.046805074690918345',), 1359513830: ('0.046805074690918345',), 1359513821: ('0.046805074690918345',), 1359513761: ('0.046805074690918345',), 1359513715: ()} output_args : {1359518931: ('0.046805074690918345',), 1359517408: ('0.046805074690918345',), 1359515222: ('0.046805074690918345',), 1359515157: ('0.046805074690918345',), 1359515152: ('0.046805074690918345',), 1359515147: ('0.046805074690918345',), 1359515142: ('0.046805074690918345',), 1359515136: ('0.046805074690918345',), 1359514820: ('0.046805074690918345',), 1359514759: ('0.046805074690918345',), 1359514542: ('0.046805074690918345',), 1359513915: ('0.046805074690918345',), 1359513885: ('0.046805074690918345',), 1359513882: ('0.046805074690918345',), 1359513878: ('0.046805074690918345',), 1359513873: ('0.046805074690918345',), 1359513868: ('0.046805074690918345',), 1359513846: ('0.046805074690918345',), 1359513843: ('0.046805074690918345',), 1359513839: ('0.046805074690918345',), 1359513830: ('0.046805074690918345',), 1359513821: ('0.046805074690918345',), 1359513761: ('0.046805074690918345',), 1359513715: ('0.046805074690918345',), 1359513710: ('0.046805074690918345',), 1359513698: ('0.046805074690918345',), 1359513667: ('0.046805074690918345',), 1359513464: ('0.046805074690918345',), 1359513440: ('0.046805074690918345',), 1359513408: ('0.046805074690918345',), 1359513396: ('0.046805074690918345',), 1359513276: ('0.046805074690918345',), 1359513274: ('0.046805074690918345',), 1359513270: ('0.046805074690918345',), 1359513266: ('0.046805074690918345',), 1359513263: ('0.046805074690918345',)} args : 1359513715 depend.output_id : 0 input_args_next_step : {1359518931: ('0.046805074690918345',), 1359517408: ('0.046805074690918345',), 1359515222: ('0.046805074690918345',), 1359515157: ('0.046805074690918345',), 1359515152: ('0.046805074690918345',), 1359515147: ('0.046805074690918345',), 1359515142: ('0.046805074690918345',), 1359515136: ('0.046805074690918345',), 1359514820: ('0.046805074690918345',), 1359514759: ('0.046805074690918345',), 1359514542: ('0.046805074690918345',), 1359513915: ('0.046805074690918345',), 1359513885: ('0.046805074690918345',), 1359513882: ('0.046805074690918345',), 1359513878: ('0.046805074690918345',), 1359513873: ('0.046805074690918345',), 1359513868: ('0.046805074690918345',), 1359513846: ('0.046805074690918345',), 1359513843: ('0.046805074690918345',), 1359513839: ('0.046805074690918345',), 1359513830: ('0.046805074690918345',), 1359513821: ('0.046805074690918345',), 1359513761: ('0.046805074690918345',), 1359513715: ('0.046805074690918345',), 1359513710: ()} output_args : {1359518931: ('0.046805074690918345',), 1359517408: ('0.046805074690918345',), 1359515222: ('0.046805074690918345',), 1359515157: ('0.046805074690918345',), 1359515152: ('0.046805074690918345',), 1359515147: ('0.046805074690918345',), 1359515142: ('0.046805074690918345',), 1359515136: ('0.046805074690918345',), 1359514820: ('0.046805074690918345',), 1359514759: ('0.046805074690918345',), 1359514542: ('0.046805074690918345',), 1359513915: ('0.046805074690918345',), 1359513885: ('0.046805074690918345',), 1359513882: ('0.046805074690918345',), 1359513878: ('0.046805074690918345',), 1359513873: ('0.046805074690918345',), 1359513868: ('0.046805074690918345',), 1359513846: ('0.046805074690918345',), 1359513843: ('0.046805074690918345',), 1359513839: ('0.046805074690918345',), 1359513830: ('0.046805074690918345',), 1359513821: ('0.046805074690918345',), 1359513761: ('0.046805074690918345',), 1359513715: ('0.046805074690918345',), 1359513710: ('0.046805074690918345',), 1359513698: ('0.046805074690918345',), 1359513667: ('0.046805074690918345',), 1359513464: ('0.046805074690918345',), 1359513440: ('0.046805074690918345',), 1359513408: ('0.046805074690918345',), 1359513396: ('0.046805074690918345',), 1359513276: ('0.046805074690918345',), 1359513274: ('0.046805074690918345',), 1359513270: ('0.046805074690918345',), 1359513266: ('0.046805074690918345',), 1359513263: ('0.046805074690918345',)} args : 1359513710 depend.output_id : 0 input_args_next_step : {1359518931: ('0.046805074690918345',), 1359517408: ('0.046805074690918345',), 1359515222: ('0.046805074690918345',), 1359515157: ('0.046805074690918345',), 1359515152: ('0.046805074690918345',), 1359515147: ('0.046805074690918345',), 1359515142: ('0.046805074690918345',), 1359515136: ('0.046805074690918345',), 1359514820: ('0.046805074690918345',), 1359514759: ('0.046805074690918345',), 1359514542: ('0.046805074690918345',), 1359513915: ('0.046805074690918345',), 1359513885: ('0.046805074690918345',), 1359513882: ('0.046805074690918345',), 1359513878: ('0.046805074690918345',), 1359513873: ('0.046805074690918345',), 1359513868: ('0.046805074690918345',), 1359513846: ('0.046805074690918345',), 1359513843: ('0.046805074690918345',), 1359513839: ('0.046805074690918345',), 1359513830: ('0.046805074690918345',), 1359513821: ('0.046805074690918345',), 1359513761: ('0.046805074690918345',), 1359513715: ('0.046805074690918345',), 1359513710: ('0.046805074690918345',), 1359513698: ()} output_args : {1359518931: ('0.046805074690918345',), 1359517408: ('0.046805074690918345',), 1359515222: ('0.046805074690918345',), 1359515157: ('0.046805074690918345',), 1359515152: ('0.046805074690918345',), 1359515147: ('0.046805074690918345',), 1359515142: ('0.046805074690918345',), 1359515136: ('0.046805074690918345',), 1359514820: ('0.046805074690918345',), 1359514759: ('0.046805074690918345',), 1359514542: ('0.046805074690918345',), 1359513915: ('0.046805074690918345',), 1359513885: ('0.046805074690918345',), 1359513882: ('0.046805074690918345',), 1359513878: ('0.046805074690918345',), 1359513873: ('0.046805074690918345',), 1359513868: ('0.046805074690918345',), 1359513846: ('0.046805074690918345',), 1359513843: ('0.046805074690918345',), 1359513839: ('0.046805074690918345',), 1359513830: ('0.046805074690918345',), 1359513821: ('0.046805074690918345',), 1359513761: ('0.046805074690918345',), 1359513715: ('0.046805074690918345',), 1359513710: ('0.046805074690918345',), 1359513698: ('0.046805074690918345',), 1359513667: ('0.046805074690918345',), 1359513464: ('0.046805074690918345',), 1359513440: ('0.046805074690918345',), 1359513408: ('0.046805074690918345',), 1359513396: ('0.046805074690918345',), 1359513276: ('0.046805074690918345',), 1359513274: ('0.046805074690918345',), 1359513270: ('0.046805074690918345',), 1359513266: ('0.046805074690918345',), 1359513263: ('0.046805074690918345',)} args : 1359513698 depend.output_id : 0 input_args_next_step : {1359518931: ('0.046805074690918345',), 1359517408: ('0.046805074690918345',), 1359515222: ('0.046805074690918345',), 1359515157: ('0.046805074690918345',), 1359515152: ('0.046805074690918345',), 1359515147: ('0.046805074690918345',), 1359515142: ('0.046805074690918345',), 1359515136: ('0.046805074690918345',), 1359514820: ('0.046805074690918345',), 1359514759: ('0.046805074690918345',), 1359514542: ('0.046805074690918345',), 1359513915: ('0.046805074690918345',), 1359513885: ('0.046805074690918345',), 1359513882: ('0.046805074690918345',), 1359513878: ('0.046805074690918345',), 1359513873: ('0.046805074690918345',), 1359513868: ('0.046805074690918345',), 1359513846: ('0.046805074690918345',), 1359513843: ('0.046805074690918345',), 1359513839: ('0.046805074690918345',), 1359513830: ('0.046805074690918345',), 1359513821: ('0.046805074690918345',), 1359513761: ('0.046805074690918345',), 1359513715: ('0.046805074690918345',), 1359513710: ('0.046805074690918345',), 1359513698: ('0.046805074690918345',), 1359513667: ()} output_args : {1359518931: ('0.046805074690918345',), 1359517408: ('0.046805074690918345',), 1359515222: ('0.046805074690918345',), 1359515157: ('0.046805074690918345',), 1359515152: ('0.046805074690918345',), 1359515147: ('0.046805074690918345',), 1359515142: ('0.046805074690918345',), 1359515136: ('0.046805074690918345',), 1359514820: ('0.046805074690918345',), 1359514759: ('0.046805074690918345',), 1359514542: ('0.046805074690918345',), 1359513915: ('0.046805074690918345',), 1359513885: ('0.046805074690918345',), 1359513882: ('0.046805074690918345',), 1359513878: ('0.046805074690918345',), 1359513873: ('0.046805074690918345',), 1359513868: ('0.046805074690918345',), 1359513846: ('0.046805074690918345',), 1359513843: ('0.046805074690918345',), 1359513839: ('0.046805074690918345',), 1359513830: ('0.046805074690918345',), 1359513821: ('0.046805074690918345',), 1359513761: ('0.046805074690918345',), 1359513715: ('0.046805074690918345',), 1359513710: ('0.046805074690918345',), 1359513698: ('0.046805074690918345',), 1359513667: ('0.046805074690918345',), 1359513464: ('0.046805074690918345',), 1359513440: ('0.046805074690918345',), 1359513408: ('0.046805074690918345',), 1359513396: ('0.046805074690918345',), 1359513276: ('0.046805074690918345',), 1359513274: ('0.046805074690918345',), 1359513270: ('0.046805074690918345',), 1359513266: ('0.046805074690918345',), 1359513263: ('0.046805074690918345',)} args : 1359513667 depend.output_id : 0 input_args_next_step : {1359518931: ('0.046805074690918345',), 1359517408: ('0.046805074690918345',), 1359515222: ('0.046805074690918345',), 1359515157: ('0.046805074690918345',), 1359515152: ('0.046805074690918345',), 1359515147: ('0.046805074690918345',), 1359515142: ('0.046805074690918345',), 1359515136: ('0.046805074690918345',), 1359514820: ('0.046805074690918345',), 1359514759: ('0.046805074690918345',), 1359514542: ('0.046805074690918345',), 1359513915: ('0.046805074690918345',), 1359513885: ('0.046805074690918345',), 1359513882: ('0.046805074690918345',), 1359513878: ('0.046805074690918345',), 1359513873: ('0.046805074690918345',), 1359513868: ('0.046805074690918345',), 1359513846: ('0.046805074690918345',), 1359513843: ('0.046805074690918345',), 1359513839: ('0.046805074690918345',), 1359513830: ('0.046805074690918345',), 1359513821: ('0.046805074690918345',), 1359513761: ('0.046805074690918345',), 1359513715: ('0.046805074690918345',), 1359513710: ('0.046805074690918345',), 1359513698: ('0.046805074690918345',), 1359513667: ('0.046805074690918345',), 1359513464: ()} output_args : {1359518931: ('0.046805074690918345',), 1359517408: ('0.046805074690918345',), 1359515222: ('0.046805074690918345',), 1359515157: ('0.046805074690918345',), 1359515152: ('0.046805074690918345',), 1359515147: ('0.046805074690918345',), 1359515142: ('0.046805074690918345',), 1359515136: ('0.046805074690918345',), 1359514820: ('0.046805074690918345',), 1359514759: ('0.046805074690918345',), 1359514542: ('0.046805074690918345',), 1359513915: ('0.046805074690918345',), 1359513885: ('0.046805074690918345',), 1359513882: ('0.046805074690918345',), 1359513878: ('0.046805074690918345',), 1359513873: ('0.046805074690918345',), 1359513868: ('0.046805074690918345',), 1359513846: ('0.046805074690918345',), 1359513843: ('0.046805074690918345',), 1359513839: ('0.046805074690918345',), 1359513830: ('0.046805074690918345',), 1359513821: ('0.046805074690918345',), 1359513761: ('0.046805074690918345',), 1359513715: ('0.046805074690918345',), 1359513710: ('0.046805074690918345',), 1359513698: ('0.046805074690918345',), 1359513667: ('0.046805074690918345',), 1359513464: ('0.046805074690918345',), 1359513440: ('0.046805074690918345',), 1359513408: ('0.046805074690918345',), 1359513396: ('0.046805074690918345',), 1359513276: ('0.046805074690918345',), 1359513274: ('0.046805074690918345',), 1359513270: ('0.046805074690918345',), 1359513266: ('0.046805074690918345',), 1359513263: ('0.046805074690918345',)} args : 1359513464 depend.output_id : 0 input_args_next_step : {1359518931: ('0.046805074690918345',), 1359517408: ('0.046805074690918345',), 1359515222: ('0.046805074690918345',), 1359515157: ('0.046805074690918345',), 1359515152: ('0.046805074690918345',), 1359515147: ('0.046805074690918345',), 1359515142: ('0.046805074690918345',), 1359515136: ('0.046805074690918345',), 1359514820: ('0.046805074690918345',), 1359514759: ('0.046805074690918345',), 1359514542: ('0.046805074690918345',), 1359513915: ('0.046805074690918345',), 1359513885: ('0.046805074690918345',), 1359513882: ('0.046805074690918345',), 1359513878: ('0.046805074690918345',), 1359513873: ('0.046805074690918345',), 1359513868: ('0.046805074690918345',), 1359513846: ('0.046805074690918345',), 1359513843: ('0.046805074690918345',), 1359513839: ('0.046805074690918345',), 1359513830: ('0.046805074690918345',), 1359513821: ('0.046805074690918345',), 1359513761: ('0.046805074690918345',), 1359513715: ('0.046805074690918345',), 1359513710: ('0.046805074690918345',), 1359513698: ('0.046805074690918345',), 1359513667: ('0.046805074690918345',), 1359513464: ('0.046805074690918345',), 1359513440: ()} output_args : {1359518931: ('0.046805074690918345',), 1359517408: ('0.046805074690918345',), 1359515222: ('0.046805074690918345',), 1359515157: ('0.046805074690918345',), 1359515152: ('0.046805074690918345',), 1359515147: ('0.046805074690918345',), 1359515142: ('0.046805074690918345',), 1359515136: ('0.046805074690918345',), 1359514820: ('0.046805074690918345',), 1359514759: ('0.046805074690918345',), 1359514542: ('0.046805074690918345',), 1359513915: ('0.046805074690918345',), 1359513885: ('0.046805074690918345',), 1359513882: ('0.046805074690918345',), 1359513878: ('0.046805074690918345',), 1359513873: ('0.046805074690918345',), 1359513868: ('0.046805074690918345',), 1359513846: ('0.046805074690918345',), 1359513843: ('0.046805074690918345',), 1359513839: ('0.046805074690918345',), 1359513830: ('0.046805074690918345',), 1359513821: ('0.046805074690918345',), 1359513761: ('0.046805074690918345',), 1359513715: ('0.046805074690918345',), 1359513710: ('0.046805074690918345',), 1359513698: ('0.046805074690918345',), 1359513667: ('0.046805074690918345',), 1359513464: ('0.046805074690918345',), 1359513440: ('0.046805074690918345',), 1359513408: ('0.046805074690918345',), 1359513396: ('0.046805074690918345',), 1359513276: ('0.046805074690918345',), 1359513274: ('0.046805074690918345',), 1359513270: ('0.046805074690918345',), 1359513266: ('0.046805074690918345',), 1359513263: ('0.046805074690918345',)} args : 1359513440 depend.output_id : 0 input_args_next_step : {1359518931: ('0.046805074690918345',), 1359517408: ('0.046805074690918345',), 1359515222: ('0.046805074690918345',), 1359515157: ('0.046805074690918345',), 1359515152: ('0.046805074690918345',), 1359515147: ('0.046805074690918345',), 1359515142: ('0.046805074690918345',), 1359515136: ('0.046805074690918345',), 1359514820: ('0.046805074690918345',), 1359514759: ('0.046805074690918345',), 1359514542: ('0.046805074690918345',), 1359513915: ('0.046805074690918345',), 1359513885: ('0.046805074690918345',), 1359513882: ('0.046805074690918345',), 1359513878: ('0.046805074690918345',), 1359513873: ('0.046805074690918345',), 1359513868: ('0.046805074690918345',), 1359513846: ('0.046805074690918345',), 1359513843: ('0.046805074690918345',), 1359513839: ('0.046805074690918345',), 1359513830: ('0.046805074690918345',), 1359513821: ('0.046805074690918345',), 1359513761: ('0.046805074690918345',), 1359513715: ('0.046805074690918345',), 1359513710: ('0.046805074690918345',), 1359513698: ('0.046805074690918345',), 1359513667: ('0.046805074690918345',), 1359513464: ('0.046805074690918345',), 1359513440: ('0.046805074690918345',), 1359513408: ()} output_args : {1359518931: ('0.046805074690918345',), 1359517408: ('0.046805074690918345',), 1359515222: ('0.046805074690918345',), 1359515157: ('0.046805074690918345',), 1359515152: ('0.046805074690918345',), 1359515147: ('0.046805074690918345',), 1359515142: ('0.046805074690918345',), 1359515136: ('0.046805074690918345',), 1359514820: ('0.046805074690918345',), 1359514759: ('0.046805074690918345',), 1359514542: ('0.046805074690918345',), 1359513915: ('0.046805074690918345',), 1359513885: ('0.046805074690918345',), 1359513882: ('0.046805074690918345',), 1359513878: ('0.046805074690918345',), 1359513873: ('0.046805074690918345',), 1359513868: ('0.046805074690918345',), 1359513846: ('0.046805074690918345',), 1359513843: ('0.046805074690918345',), 1359513839: ('0.046805074690918345',), 1359513830: ('0.046805074690918345',), 1359513821: ('0.046805074690918345',), 1359513761: ('0.046805074690918345',), 1359513715: ('0.046805074690918345',), 1359513710: ('0.046805074690918345',), 1359513698: ('0.046805074690918345',), 1359513667: ('0.046805074690918345',), 1359513464: ('0.046805074690918345',), 1359513440: ('0.046805074690918345',), 1359513408: ('0.046805074690918345',), 1359513396: ('0.046805074690918345',), 1359513276: ('0.046805074690918345',), 1359513274: ('0.046805074690918345',), 1359513270: ('0.046805074690918345',), 1359513266: ('0.046805074690918345',), 1359513263: ('0.046805074690918345',)} args : 1359513408 depend.output_id : 0 input_args_next_step : {1359518931: ('0.046805074690918345',), 1359517408: ('0.046805074690918345',), 1359515222: ('0.046805074690918345',), 1359515157: ('0.046805074690918345',), 1359515152: ('0.046805074690918345',), 1359515147: ('0.046805074690918345',), 1359515142: ('0.046805074690918345',), 1359515136: ('0.046805074690918345',), 1359514820: ('0.046805074690918345',), 1359514759: ('0.046805074690918345',), 1359514542: ('0.046805074690918345',), 1359513915: ('0.046805074690918345',), 1359513885: ('0.046805074690918345',), 1359513882: ('0.046805074690918345',), 1359513878: ('0.046805074690918345',), 1359513873: ('0.046805074690918345',), 1359513868: ('0.046805074690918345',), 1359513846: ('0.046805074690918345',), 1359513843: ('0.046805074690918345',), 1359513839: ('0.046805074690918345',), 1359513830: ('0.046805074690918345',), 1359513821: ('0.046805074690918345',), 1359513761: ('0.046805074690918345',), 1359513715: ('0.046805074690918345',), 1359513710: ('0.046805074690918345',), 1359513698: ('0.046805074690918345',), 1359513667: ('0.046805074690918345',), 1359513464: ('0.046805074690918345',), 1359513440: ('0.046805074690918345',), 1359513408: ('0.046805074690918345',), 1359513396: ()} output_args : {1359518931: ('0.046805074690918345',), 1359517408: ('0.046805074690918345',), 1359515222: ('0.046805074690918345',), 1359515157: ('0.046805074690918345',), 1359515152: ('0.046805074690918345',), 1359515147: ('0.046805074690918345',), 1359515142: ('0.046805074690918345',), 1359515136: ('0.046805074690918345',), 1359514820: ('0.046805074690918345',), 1359514759: ('0.046805074690918345',), 1359514542: ('0.046805074690918345',), 1359513915: ('0.046805074690918345',), 1359513885: ('0.046805074690918345',), 1359513882: ('0.046805074690918345',), 1359513878: ('0.046805074690918345',), 1359513873: ('0.046805074690918345',), 1359513868: ('0.046805074690918345',), 1359513846: ('0.046805074690918345',), 1359513843: ('0.046805074690918345',), 1359513839: ('0.046805074690918345',), 1359513830: ('0.046805074690918345',), 1359513821: ('0.046805074690918345',), 1359513761: ('0.046805074690918345',), 1359513715: ('0.046805074690918345',), 1359513710: ('0.046805074690918345',), 1359513698: ('0.046805074690918345',), 1359513667: ('0.046805074690918345',), 1359513464: ('0.046805074690918345',), 1359513440: ('0.046805074690918345',), 1359513408: ('0.046805074690918345',), 1359513396: ('0.046805074690918345',), 1359513276: ('0.046805074690918345',), 1359513274: ('0.046805074690918345',), 1359513270: ('0.046805074690918345',), 1359513266: ('0.046805074690918345',), 1359513263: ('0.046805074690918345',)} args : 1359513396 depend.output_id : 0 input_args_next_step : {1359518931: ('0.046805074690918345',), 1359517408: ('0.046805074690918345',), 1359515222: ('0.046805074690918345',), 1359515157: ('0.046805074690918345',), 1359515152: ('0.046805074690918345',), 1359515147: ('0.046805074690918345',), 1359515142: ('0.046805074690918345',), 1359515136: ('0.046805074690918345',), 1359514820: ('0.046805074690918345',), 1359514759: ('0.046805074690918345',), 1359514542: ('0.046805074690918345',), 1359513915: ('0.046805074690918345',), 1359513885: ('0.046805074690918345',), 1359513882: ('0.046805074690918345',), 1359513878: ('0.046805074690918345',), 1359513873: ('0.046805074690918345',), 1359513868: ('0.046805074690918345',), 1359513846: ('0.046805074690918345',), 1359513843: ('0.046805074690918345',), 1359513839: ('0.046805074690918345',), 1359513830: ('0.046805074690918345',), 1359513821: ('0.046805074690918345',), 1359513761: ('0.046805074690918345',), 1359513715: ('0.046805074690918345',), 1359513710: ('0.046805074690918345',), 1359513698: ('0.046805074690918345',), 1359513667: ('0.046805074690918345',), 1359513464: ('0.046805074690918345',), 1359513440: ('0.046805074690918345',), 1359513408: ('0.046805074690918345',), 1359513396: ('0.046805074690918345',), 1359513276: ()} output_args : {1359518931: ('0.046805074690918345',), 1359517408: ('0.046805074690918345',), 1359515222: ('0.046805074690918345',), 1359515157: ('0.046805074690918345',), 1359515152: ('0.046805074690918345',), 1359515147: ('0.046805074690918345',), 1359515142: ('0.046805074690918345',), 1359515136: ('0.046805074690918345',), 1359514820: ('0.046805074690918345',), 1359514759: ('0.046805074690918345',), 1359514542: ('0.046805074690918345',), 1359513915: ('0.046805074690918345',), 1359513885: ('0.046805074690918345',), 1359513882: ('0.046805074690918345',), 1359513878: ('0.046805074690918345',), 1359513873: ('0.046805074690918345',), 1359513868: ('0.046805074690918345',), 1359513846: ('0.046805074690918345',), 1359513843: ('0.046805074690918345',), 1359513839: ('0.046805074690918345',), 1359513830: ('0.046805074690918345',), 1359513821: ('0.046805074690918345',), 1359513761: ('0.046805074690918345',), 1359513715: ('0.046805074690918345',), 1359513710: ('0.046805074690918345',), 1359513698: ('0.046805074690918345',), 1359513667: ('0.046805074690918345',), 1359513464: ('0.046805074690918345',), 1359513440: ('0.046805074690918345',), 1359513408: ('0.046805074690918345',), 1359513396: ('0.046805074690918345',), 1359513276: ('0.046805074690918345',), 1359513274: ('0.046805074690918345',), 1359513270: ('0.046805074690918345',), 1359513266: ('0.046805074690918345',), 1359513263: ('0.046805074690918345',)} args : 1359513276 depend.output_id : 0 input_args_next_step : {1359518931: ('0.046805074690918345',), 1359517408: ('0.046805074690918345',), 1359515222: ('0.046805074690918345',), 1359515157: ('0.046805074690918345',), 1359515152: ('0.046805074690918345',), 1359515147: ('0.046805074690918345',), 1359515142: ('0.046805074690918345',), 1359515136: ('0.046805074690918345',), 1359514820: ('0.046805074690918345',), 1359514759: ('0.046805074690918345',), 1359514542: ('0.046805074690918345',), 1359513915: ('0.046805074690918345',), 1359513885: ('0.046805074690918345',), 1359513882: ('0.046805074690918345',), 1359513878: ('0.046805074690918345',), 1359513873: ('0.046805074690918345',), 1359513868: ('0.046805074690918345',), 1359513846: ('0.046805074690918345',), 1359513843: ('0.046805074690918345',), 1359513839: ('0.046805074690918345',), 1359513830: ('0.046805074690918345',), 1359513821: ('0.046805074690918345',), 1359513761: ('0.046805074690918345',), 1359513715: ('0.046805074690918345',), 1359513710: ('0.046805074690918345',), 1359513698: ('0.046805074690918345',), 1359513667: ('0.046805074690918345',), 1359513464: ('0.046805074690918345',), 1359513440: ('0.046805074690918345',), 1359513408: ('0.046805074690918345',), 1359513396: ('0.046805074690918345',), 1359513276: ('0.046805074690918345',), 1359513274: ()} output_args : {1359518931: ('0.046805074690918345',), 1359517408: ('0.046805074690918345',), 1359515222: ('0.046805074690918345',), 1359515157: ('0.046805074690918345',), 1359515152: ('0.046805074690918345',), 1359515147: ('0.046805074690918345',), 1359515142: ('0.046805074690918345',), 1359515136: ('0.046805074690918345',), 1359514820: ('0.046805074690918345',), 1359514759: ('0.046805074690918345',), 1359514542: ('0.046805074690918345',), 1359513915: ('0.046805074690918345',), 1359513885: ('0.046805074690918345',), 1359513882: ('0.046805074690918345',), 1359513878: ('0.046805074690918345',), 1359513873: ('0.046805074690918345',), 1359513868: ('0.046805074690918345',), 1359513846: ('0.046805074690918345',), 1359513843: ('0.046805074690918345',), 1359513839: ('0.046805074690918345',), 1359513830: ('0.046805074690918345',), 1359513821: ('0.046805074690918345',), 1359513761: ('0.046805074690918345',), 1359513715: ('0.046805074690918345',), 1359513710: ('0.046805074690918345',), 1359513698: ('0.046805074690918345',), 1359513667: ('0.046805074690918345',), 1359513464: ('0.046805074690918345',), 1359513440: ('0.046805074690918345',), 1359513408: ('0.046805074690918345',), 1359513396: ('0.046805074690918345',), 1359513276: ('0.046805074690918345',), 1359513274: ('0.046805074690918345',), 1359513270: ('0.046805074690918345',), 1359513266: ('0.046805074690918345',), 1359513263: ('0.046805074690918345',)} args : 1359513274 depend.output_id : 0 input_args_next_step : {1359518931: ('0.046805074690918345',), 1359517408: ('0.046805074690918345',), 1359515222: ('0.046805074690918345',), 1359515157: ('0.046805074690918345',), 1359515152: ('0.046805074690918345',), 1359515147: ('0.046805074690918345',), 1359515142: ('0.046805074690918345',), 1359515136: ('0.046805074690918345',), 1359514820: ('0.046805074690918345',), 1359514759: ('0.046805074690918345',), 1359514542: ('0.046805074690918345',), 1359513915: ('0.046805074690918345',), 1359513885: ('0.046805074690918345',), 1359513882: ('0.046805074690918345',), 1359513878: ('0.046805074690918345',), 1359513873: ('0.046805074690918345',), 1359513868: ('0.046805074690918345',), 1359513846: ('0.046805074690918345',), 1359513843: ('0.046805074690918345',), 1359513839: ('0.046805074690918345',), 1359513830: ('0.046805074690918345',), 1359513821: ('0.046805074690918345',), 1359513761: ('0.046805074690918345',), 1359513715: ('0.046805074690918345',), 1359513710: ('0.046805074690918345',), 1359513698: ('0.046805074690918345',), 1359513667: ('0.046805074690918345',), 1359513464: ('0.046805074690918345',), 1359513440: ('0.046805074690918345',), 1359513408: ('0.046805074690918345',), 1359513396: ('0.046805074690918345',), 1359513276: ('0.046805074690918345',), 1359513274: ('0.046805074690918345',), 1359513270: ()} output_args : {1359518931: ('0.046805074690918345',), 1359517408: ('0.046805074690918345',), 1359515222: ('0.046805074690918345',), 1359515157: ('0.046805074690918345',), 1359515152: ('0.046805074690918345',), 1359515147: ('0.046805074690918345',), 1359515142: ('0.046805074690918345',), 1359515136: ('0.046805074690918345',), 1359514820: ('0.046805074690918345',), 1359514759: ('0.046805074690918345',), 1359514542: ('0.046805074690918345',), 1359513915: ('0.046805074690918345',), 1359513885: ('0.046805074690918345',), 1359513882: ('0.046805074690918345',), 1359513878: ('0.046805074690918345',), 1359513873: ('0.046805074690918345',), 1359513868: ('0.046805074690918345',), 1359513846: ('0.046805074690918345',), 1359513843: ('0.046805074690918345',), 1359513839: ('0.046805074690918345',), 1359513830: ('0.046805074690918345',), 1359513821: ('0.046805074690918345',), 1359513761: ('0.046805074690918345',), 1359513715: ('0.046805074690918345',), 1359513710: ('0.046805074690918345',), 1359513698: ('0.046805074690918345',), 1359513667: ('0.046805074690918345',), 1359513464: ('0.046805074690918345',), 1359513440: ('0.046805074690918345',), 1359513408: ('0.046805074690918345',), 1359513396: ('0.046805074690918345',), 1359513276: ('0.046805074690918345',), 1359513274: ('0.046805074690918345',), 1359513270: ('0.046805074690918345',), 1359513266: ('0.046805074690918345',), 1359513263: ('0.046805074690918345',)} args : 1359513270 depend.output_id : 0 input_args_next_step : {1359518931: ('0.046805074690918345',), 1359517408: ('0.046805074690918345',), 1359515222: ('0.046805074690918345',), 1359515157: ('0.046805074690918345',), 1359515152: ('0.046805074690918345',), 1359515147: ('0.046805074690918345',), 1359515142: ('0.046805074690918345',), 1359515136: ('0.046805074690918345',), 1359514820: ('0.046805074690918345',), 1359514759: ('0.046805074690918345',), 1359514542: ('0.046805074690918345',), 1359513915: ('0.046805074690918345',), 1359513885: ('0.046805074690918345',), 1359513882: ('0.046805074690918345',), 1359513878: ('0.046805074690918345',), 1359513873: ('0.046805074690918345',), 1359513868: ('0.046805074690918345',), 1359513846: ('0.046805074690918345',), 1359513843: ('0.046805074690918345',), 1359513839: ('0.046805074690918345',), 1359513830: ('0.046805074690918345',), 1359513821: ('0.046805074690918345',), 1359513761: ('0.046805074690918345',), 1359513715: ('0.046805074690918345',), 1359513710: ('0.046805074690918345',), 1359513698: ('0.046805074690918345',), 1359513667: ('0.046805074690918345',), 1359513464: ('0.046805074690918345',), 1359513440: ('0.046805074690918345',), 1359513408: ('0.046805074690918345',), 1359513396: ('0.046805074690918345',), 1359513276: ('0.046805074690918345',), 1359513274: ('0.046805074690918345',), 1359513270: ('0.046805074690918345',), 1359513266: ()} output_args : {1359518931: ('0.046805074690918345',), 1359517408: ('0.046805074690918345',), 1359515222: ('0.046805074690918345',), 1359515157: ('0.046805074690918345',), 1359515152: ('0.046805074690918345',), 1359515147: ('0.046805074690918345',), 1359515142: ('0.046805074690918345',), 1359515136: ('0.046805074690918345',), 1359514820: ('0.046805074690918345',), 1359514759: ('0.046805074690918345',), 1359514542: ('0.046805074690918345',), 1359513915: ('0.046805074690918345',), 1359513885: ('0.046805074690918345',), 1359513882: ('0.046805074690918345',), 1359513878: ('0.046805074690918345',), 1359513873: ('0.046805074690918345',), 1359513868: ('0.046805074690918345',), 1359513846: ('0.046805074690918345',), 1359513843: ('0.046805074690918345',), 1359513839: ('0.046805074690918345',), 1359513830: ('0.046805074690918345',), 1359513821: ('0.046805074690918345',), 1359513761: ('0.046805074690918345',), 1359513715: ('0.046805074690918345',), 1359513710: ('0.046805074690918345',), 1359513698: ('0.046805074690918345',), 1359513667: ('0.046805074690918345',), 1359513464: ('0.046805074690918345',), 1359513440: ('0.046805074690918345',), 1359513408: ('0.046805074690918345',), 1359513396: ('0.046805074690918345',), 1359513276: ('0.046805074690918345',), 1359513274: ('0.046805074690918345',), 1359513270: ('0.046805074690918345',), 1359513266: ('0.046805074690918345',), 1359513263: ('0.046805074690918345',)} args : 1359513266 depend.output_id : 0 input_args_next_step : {1359518931: ('0.046805074690918345',), 1359517408: ('0.046805074690918345',), 1359515222: ('0.046805074690918345',), 1359515157: ('0.046805074690918345',), 1359515152: ('0.046805074690918345',), 1359515147: ('0.046805074690918345',), 1359515142: ('0.046805074690918345',), 1359515136: ('0.046805074690918345',), 1359514820: ('0.046805074690918345',), 1359514759: ('0.046805074690918345',), 1359514542: ('0.046805074690918345',), 1359513915: ('0.046805074690918345',), 1359513885: ('0.046805074690918345',), 1359513882: ('0.046805074690918345',), 1359513878: ('0.046805074690918345',), 1359513873: ('0.046805074690918345',), 1359513868: ('0.046805074690918345',), 1359513846: ('0.046805074690918345',), 1359513843: ('0.046805074690918345',), 1359513839: ('0.046805074690918345',), 1359513830: ('0.046805074690918345',), 1359513821: ('0.046805074690918345',), 1359513761: ('0.046805074690918345',), 1359513715: ('0.046805074690918345',), 1359513710: ('0.046805074690918345',), 1359513698: ('0.046805074690918345',), 1359513667: ('0.046805074690918345',), 1359513464: ('0.046805074690918345',), 1359513440: ('0.046805074690918345',), 1359513408: ('0.046805074690918345',), 1359513396: ('0.046805074690918345',), 1359513276: ('0.046805074690918345',), 1359513274: ('0.046805074690918345',), 1359513270: ('0.046805074690918345',), 1359513266: ('0.046805074690918345',), 1359513263: ()} output_args : {1359518931: ('0.046805074690918345',), 1359517408: ('0.046805074690918345',), 1359515222: ('0.046805074690918345',), 1359515157: ('0.046805074690918345',), 1359515152: ('0.046805074690918345',), 1359515147: ('0.046805074690918345',), 1359515142: ('0.046805074690918345',), 1359515136: ('0.046805074690918345',), 1359514820: ('0.046805074690918345',), 1359514759: ('0.046805074690918345',), 1359514542: ('0.046805074690918345',), 1359513915: ('0.046805074690918345',), 1359513885: ('0.046805074690918345',), 1359513882: ('0.046805074690918345',), 1359513878: ('0.046805074690918345',), 1359513873: ('0.046805074690918345',), 1359513868: ('0.046805074690918345',), 1359513846: ('0.046805074690918345',), 1359513843: ('0.046805074690918345',), 1359513839: ('0.046805074690918345',), 1359513830: ('0.046805074690918345',), 1359513821: ('0.046805074690918345',), 1359513761: ('0.046805074690918345',), 1359513715: ('0.046805074690918345',), 1359513710: ('0.046805074690918345',), 1359513698: ('0.046805074690918345',), 1359513667: ('0.046805074690918345',), 1359513464: ('0.046805074690918345',), 1359513440: ('0.046805074690918345',), 1359513408: ('0.046805074690918345',), 1359513396: ('0.046805074690918345',), 1359513276: ('0.046805074690918345',), 1359513274: ('0.046805074690918345',), 1359513270: ('0.046805074690918345',), 1359513266: ('0.046805074690918345',), 1359513263: ('0.046805074690918345',)} args : 1359513263 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 : {23136821: [{'Teint_Dans_La_Masse': 23136932, 'cartonnette': 23136933, 'kraft': 23136934, 'papier': 23136935, 'Carton_gris': 23136936, 'metal': 23136937, 'Carton_brun': 23136938, 'plastique': 23136939, 'mal_croppe': 23136940, 'autre_refus': 23136941, 'environnement': 23136942, 'flou': 23136943}]} input_args_next_step : {1359518931: ('0.046805074690918345',), 1359517408: ('0.046805074690918345',), 1359515222: ('0.046805074690918345',), 1359515157: ('0.046805074690918345',), 1359515152: ('0.046805074690918345',), 1359515147: ('0.046805074690918345',), 1359515142: ('0.046805074690918345',), 1359515136: ('0.046805074690918345',), 1359514820: ('0.046805074690918345',), 1359514759: ('0.046805074690918345',), 1359514542: ('0.046805074690918345',), 1359513915: ('0.046805074690918345',), 1359513885: ('0.046805074690918345',), 1359513882: ('0.046805074690918345',), 1359513878: ('0.046805074690918345',), 1359513873: ('0.046805074690918345',), 1359513868: ('0.046805074690918345',), 1359513846: ('0.046805074690918345',), 1359513843: ('0.046805074690918345',), 1359513839: ('0.046805074690918345',), 1359513830: ('0.046805074690918345',), 1359513821: ('0.046805074690918345',), 1359513761: ('0.046805074690918345',), 1359513715: ('0.046805074690918345',), 1359513710: ('0.046805074690918345',), 1359513698: ('0.046805074690918345',), 1359513667: ('0.046805074690918345',), 1359513464: ('0.046805074690918345',), 1359513440: ('0.046805074690918345',), 1359513408: ('0.046805074690918345',), 1359513396: ('0.046805074690918345',), 1359513276: ('0.046805074690918345',), 1359513274: ('0.046805074690918345',), 1359513270: ('0.046805074690918345',), 1359513266: ('0.046805074690918345',), 1359513263: ('0.046805074690918345',), 23136821: ()} output_args : {23136821: [{'Teint_Dans_La_Masse': 23136932, 'cartonnette': 23136933, 'kraft': 23136934, 'papier': 23136935, 'Carton_gris': 23136936, 'metal': 23136937, 'Carton_brun': 23136938, 'plastique': 23136939, 'mal_croppe': 23136940, 'autre_refus': 23136941, 'environnement': 23136942, 'flou': 23136943}]} args : 23136821 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 :37, first value : ('0.046805074690918345',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (23136821) 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 (1359518931,1359517408,1359515222,1359515157,1359515152,1359515147,1359515142,1359515136,1359514820,1359514759,1359514542,1359513915,1359513885,1359513882,1359513878,1359513873,1359513868,1359513846,1359513843,1359513839,1359513830,1359513821,1359513761,1359513715,1359513710,1359513698,1359513667,1359513464,1359513440,1359513408,1359513396,1359513276,1359513274,1359513270,1359513266,1359513263) Found this number of photos: 36 ##### Call download_photos : nb_thread : 5 begin to download photo : 1359513263 begin to download photo : 1359513464 begin to download photo : 1359513839 begin to download photo : 1359513915 begin to download photo : 1359515157 download finish for photo 1359513263 begin to download photo : 1359513266 download finish for photo 1359513839 begin to download photo : 1359513843 download finish for photo 1359515157 begin to download photo : 1359515222 download finish for photo 1359513464 begin to download photo : 1359513667 download finish for photo 1359513915 begin to download photo : 1359514542 download finish for photo 1359513266 begin to download photo : 1359513270 download finish for photo 1359513843 begin to download photo : 1359513846 download finish for photo 1359514542 begin to download photo : 1359514759 download finish for photo 1359515222 begin to download photo : 1359517408 download finish for photo 1359513667 begin to download photo : 1359513698 download finish for photo 1359513270 begin to download photo : 1359513274 download finish for photo 1359514759 begin to download photo : 1359514820 download finish for photo 1359513698 begin to download photo : 1359513710 download finish for photo 1359513846 begin to download photo : 1359513868 download finish for photo 1359517408 begin to download photo : 1359518931 download finish for photo 1359513274 begin to download photo : 1359513276 download finish for photo 1359514820 begin to download photo : 1359515136 download finish for photo 1359513868 begin to download photo : 1359513873 download finish for photo 1359513710 begin to download photo : 1359513715 download finish for photo 1359518931 download finish for photo 1359513276 begin to download photo : 1359513396 download finish for photo 1359513873 begin to download photo : 1359513878 download finish for photo 1359515136 begin to download photo : 1359515142 download finish for photo 1359513715 begin to download photo : 1359513761 download finish for photo 1359513396 begin to download photo : 1359513408 download finish for photo 1359513761 begin to download photo : 1359513821 download finish for photo 1359513878 begin to download photo : 1359513882 download finish for photo 1359515142 begin to download photo : 1359515147 download finish for photo 1359513408 begin to download photo : 1359513440 download finish for photo 1359513882 begin to download photo : 1359513885 download finish for photo 1359513821 begin to download photo : 1359513830 download finish for photo 1359513440 download finish for photo 1359515147 begin to download photo : 1359515152 download finish for photo 1359513885 download finish for photo 1359513830 download finish for photo 1359515152 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 : 36 ; length of list_pids : 36 ; length of list_args : 36 results_Auto_P23136821_20-05-2025_05_55_32.pdf 23136933 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=23136933 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1359514844: '1747678908_1216541_1359513761_e4bbc1d55fd86160c7752a633e5c2c15_rle_crop_3804611215_0.png', 1359515187: '1747679022_1220277_1359513843_2521107978452d968434ee07bca4a756_rle_crop_3804621837_0.png', 1359515188: '1747679022_1220277_1359513839_481ce92312a2816520a1256d39159408_rle_crop_3804622083_0.png', 1359518402: '1747679382_1227483_1359515142_f9cf75e1433ce877adc8d13a43dd4335_rle_crop_3804634815_0.png', 1359531451: '1747681284_1107865_1359513846_5f43fd367fafec84bd89b81b66e11e0f_rle_crop_3804714287_0.png', 1359531996: '1747681324_1267856_1359513276_6c1a1aaeaebae036b8706b40ab7bfbd3_rle_crop_3804723131_0.png', 1359531998: '1747681324_1267856_1359513274_d1b8f441e348fbadfea7183d64258f53_rle_crop_3804723296_0.png', 1359532000: '1747681324_1267856_1359513274_d1b8f441e348fbadfea7183d64258f53_rle_crop_3804723295_0.png', 1359532002: '1747681324_1267856_1359513274_d1b8f441e348fbadfea7183d64258f53_rle_crop_3804723290_0.png', 1359532004: '1747681324_1267856_1359513274_d1b8f441e348fbadfea7183d64258f53_rle_crop_3804723297_0.png', 1359532006: '1747681324_1267856_1359513270_034b7571256dc359a998e0720461aaae_rle_crop_3804723555_0.png', 1359532008: '1747681324_1267856_1359513263_0e1bc24dd36a5d91699c90c426663a23_rle_crop_3804723828_0.png', 1359532425: '1747681421_1270243_1359513915_f8a34896399aff3edd292579d21bf2e5_rle_crop_3804735515_0.png', 1359532427: '1747681421_1270243_1359513843_2521107978452d968434ee07bca4a756_rle_crop_3804621837_0.png', 1359532429: '1747681421_1270243_1359513839_481ce92312a2816520a1256d39159408_rle_crop_3804622083_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/19/334a0bcdc8b811d3900697bced767401_37030172.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/19/fb6c20446f26b2918751be1c486cb92c_67922440.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/19/d954cb51305a9db8224176742ad3ccc2_90507007.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/19/23ca88809b90866dd21e72c44cc4ed84_44459560.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/19/1bb3de6cae4e33a455e520ffb627fc5d_51488820.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/19/52b5cd5c414dcf277f7cb0856f9f8f7b_90426868.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/19/563858cab22515a3c3aa64a9864cb521_70122344.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/19/dd9938bfc118637c0285d8d5f5562ade_94078736.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/19/303b847760e1d9f24b49e8a781d6c0c1_21550837.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/19/97d33e629afc57f7de09875ac3da5585_65488022.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/19/71d5d466dd8cb638491d65d2b8bcd55c_9100321.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/19/e8ebc679d9aac0ef4d6e2ca1400a8374_40565708.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/19/70f27ed84ffa484171f0f800ca1e6e7c_90694678.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/19/fb6c20446f26b2918751be1c486cb92c_43756195.png change filename to text .imagette231369331747713332/ imagette231369331747713332/1747681324_1267856_1359513274_d1b8f441e348fbadfea7183d64258f53_rle_crop_3804723295_0.png.png imagette231369331747713332/1747678908_1216541_1359513761_e4bbc1d55fd86160c7752a633e5c2c15_rle_crop_3804611215_0.png.png imagette231369331747713332/1747681421_1270243_1359513839_481ce92312a2816520a1256d39159408_rle_crop_3804622083_0.png.png imagette231369331747713332/1747681324_1267856_1359513274_d1b8f441e348fbadfea7183d64258f53_rle_crop_3804723290_0.png.png imagette231369331747713332/1747681324_1267856_1359513263_0e1bc24dd36a5d91699c90c426663a23_rle_crop_3804723828_0.png.png imagette231369331747713332/1747679022_1220277_1359513843_2521107978452d968434ee07bca4a756_rle_crop_3804621837_0.png.png imagette231369331747713332/1747681324_1267856_1359513276_6c1a1aaeaebae036b8706b40ab7bfbd3_rle_crop_3804723131_0.png.png imagette231369331747713332/1747681421_1270243_1359513843_2521107978452d968434ee07bca4a756_rle_crop_3804621837_0.png.png imagette231369331747713332/1747681421_1270243_1359513915_f8a34896399aff3edd292579d21bf2e5_rle_crop_3804735515_0.png.png imagette231369331747713332/1747681324_1267856_1359513274_d1b8f441e348fbadfea7183d64258f53_rle_crop_3804723296_0.png.png imagette231369331747713332/1747681284_1107865_1359513846_5f43fd367fafec84bd89b81b66e11e0f_rle_crop_3804714287_0.png.png imagette231369331747713332/1747679022_1220277_1359513839_481ce92312a2816520a1256d39159408_rle_crop_3804622083_0.png.png imagette231369331747713332/1747681324_1267856_1359513270_034b7571256dc359a998e0720461aaae_rle_crop_3804723555_0.png.png imagette231369331747713332/1747679382_1227483_1359515142_f9cf75e1433ce877adc8d13a43dd4335_rle_crop_3804634815_0.png.png imagette231369331747713332/1747681324_1267856_1359513274_d1b8f441e348fbadfea7183d64258f53_rle_crop_3804723297_0.png.png wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/19/d954cb51305a9db8224176742ad3ccc2_75753047.png imagette231369331747713332 23136934 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=23136934 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1359521192: '1747679622_1231768_1359517408_68c67fc861e5ab763a87f655781277f8_rle_crop_3804640174_0.png'} change filename to text .imagette231369341747713333/ imagette231369341747713333/1747679622_1231768_1359517408_68c67fc861e5ab763a87f655781277f8_rle_crop_3804640174_0.png.png imagette231369371747713333/ wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/19/eabd72acceb122f17de06af736864460_6315991.png imagette231369341747713333 23136937 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=23136937 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette231369371747713333 23136939 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=23136939 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1359518439: '1747679382_1227483_1359515147_7a6be70c302c5ab0cb7452c6636bb074_rle_crop_3804634805_0.png', 1359522654: '1747679868_1237604_1359513868_221e3dc13c8fbd953d351fb00a66f271_rle_crop_3804647498_0.png', 1359532022: '1747681324_1267856_1359513266_2864a53296060b16801c6f475144a751_rle_crop_3804723815_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/19/b1897a55fbe0561f9d8fe3397db2aeb9_39896518.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/19/d04ae61466685980313f7ec0394bebf5_93912415.png change filename to text .imagette231369391747713333/ imagette231369391747713333/1747679382_1227483_1359515147_7a6be70c302c5ab0cb7452c6636bb074_rle_crop_3804634805_0.png.png imagette231369391747713333/1747681324_1267856_1359513266_2864a53296060b16801c6f475144a751_rle_crop_3804723815_0.png.png imagette231369391747713333/1747679868_1237604_1359513868_221e3dc13c8fbd953d351fb00a66f271_rle_crop_3804647498_0.png.png imagette231369401747713333/ wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/19/6454fc28cfefac19c25435add2c1c44c_29460760.png imagette231369391747713333 23136940 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=23136940 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette231369401747713333 23136941 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=23136941 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1359531973: '1747681324_1267856_1359513266_2864a53296060b16801c6f475144a751_rle_crop_3804723807_0.png'} change filename to text .imagette231369411747713333/ imagette231369411747713333/1747681324_1267856_1359513266_2864a53296060b16801c6f475144a751_rle_crop_3804723807_0.png.png imagette231369431747713333/ wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/19/43a1f3a4b5055555e850654185d736ce_87338868.png imagette231369411747713333 23136943 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=23136943 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette231369431747713333 23136932 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=23136932 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1359515185: '1747679022_1220277_1359513830_627ab9d07d13cbd2d5d4af13ed575f49_rle_crop_3804622096_0.png', 1359518357: '1747679382_1227483_1359515152_c7b571b2810acc330afcbec8afbd9913_rle_crop_3804634789_0.png', 1359522648: '1747679868_1237604_1359513885_d4ac5a960db88641545b14bb9386e374_rle_crop_3804647434_0.png', 1359522649: '1747679868_1237604_1359513882_23b0a4adc762e72ffbe95b1c90e78071_rle_crop_3804647453_0.png', 1359531966: '1747681324_1267856_1359513266_2864a53296060b16801c6f475144a751_rle_crop_3804723812_0.png', 1359532408: '1747681421_1270243_1359513830_627ab9d07d13cbd2d5d4af13ed575f49_rle_crop_3804622096_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/19/81656ce11843b4a97c731d4870fc64b8_80325825.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/19/4393ae9d8e4331cf8020bf58ea1bf4ef_13198576.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/19/ae3c5f8f1d718cb662c783f3d623e20a_99571629.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/19/44dbf72c7341631e7bb3d15cff76307e_95257694.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/19/8d7a9dbbba89d440f25c432c33467de8_86768179.png change filename to text .imagette231369321747713333/ imagette231369321747713333/1747679022_1220277_1359513830_627ab9d07d13cbd2d5d4af13ed575f49_rle_crop_3804622096_0.png.png imagette231369321747713333/1747679868_1237604_1359513882_23b0a4adc762e72ffbe95b1c90e78071_rle_crop_3804647453_0.png.png imagette231369321747713333/1747681421_1270243_1359513830_627ab9d07d13cbd2d5d4af13ed575f49_rle_crop_3804622096_0.png.png imagette231369321747713333/1747681324_1267856_1359513266_2864a53296060b16801c6f475144a751_rle_crop_3804723812_0.png.png imagette231369321747713333/1747679382_1227483_1359515152_c7b571b2810acc330afcbec8afbd9913_rle_crop_3804634789_0.png.png imagette231369321747713333/1747679868_1237604_1359513885_d4ac5a960db88641545b14bb9386e374_rle_crop_3804647434_0.png.png wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/19/81656ce11843b4a97c731d4870fc64b8_66895975.png imagette231369321747713333 23136936 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=23136936 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1359514814: '1747678908_1216541_1359513440_9e82372222824f4ee3e23f0241866c2e_rle_crop_3804611474_0.png', 1359514819: '1747678908_1216541_1359513440_9e82372222824f4ee3e23f0241866c2e_rle_crop_3804611473_0.png', 1359518378: '1747679382_1227483_1359515147_7a6be70c302c5ab0cb7452c6636bb074_rle_crop_3804634798_0.png', 1359518382: '1747679382_1227483_1359515147_7a6be70c302c5ab0cb7452c6636bb074_rle_crop_3804634801_0.png', 1359522651: '1747679868_1237604_1359513873_2857973fe63530c9ee853a3911de459c_rle_crop_3804647490_0.png', 1359531447: '1747681284_1107865_1359513698_d39d52943fe5a647785678b42bce51b1_rle_crop_3804714328_0.png', 1359531448: '1747681284_1107865_1359513698_d39d52943fe5a647785678b42bce51b1_rle_crop_3804714326_0.png', 1359531981: '1747681324_1267856_1359513276_6c1a1aaeaebae036b8706b40ab7bfbd3_rle_crop_3804723134_0.png', 1359532416: '1747681421_1270243_1359513915_f8a34896399aff3edd292579d21bf2e5_rle_crop_3804735518_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/19/b320fa97243254539990f1f22fd37cfc_99332341.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/19/2037785a22ed56b9fe498343937fd66a_80890351.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/19/7bd3b97eba6252bfc05cd29d8bc5584c_22096579.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/19/7b9c2aa8e700ed408bd5423fb3b775c0_20464172.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/19/599f47ea76ee4fbfa35101c136e2003c_44953377.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/19/695cea2c8ef5cb1c2822bb7cef170de3_95710061.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/19/57b6653ced7d36e24372b26e0c57bc6b_84753587.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/19/8d8608f1907a3bea4ba0789853b438be_72385395.png change filename to text .imagette231369361747713334/ imagette231369361747713334/1747679868_1237604_1359513873_2857973fe63530c9ee853a3911de459c_rle_crop_3804647490_0.png.png imagette231369361747713334/1747681324_1267856_1359513276_6c1a1aaeaebae036b8706b40ab7bfbd3_rle_crop_3804723134_0.png.png imagette231369361747713334/1747679382_1227483_1359515147_7a6be70c302c5ab0cb7452c6636bb074_rle_crop_3804634801_0.png.png imagette231369361747713334/1747681284_1107865_1359513698_d39d52943fe5a647785678b42bce51b1_rle_crop_3804714328_0.png.png imagette231369361747713334/1747679382_1227483_1359515147_7a6be70c302c5ab0cb7452c6636bb074_rle_crop_3804634798_0.png.png imagette231369361747713334/1747678908_1216541_1359513440_9e82372222824f4ee3e23f0241866c2e_rle_crop_3804611474_0.png.png imagette231369361747713334/1747681284_1107865_1359513698_d39d52943fe5a647785678b42bce51b1_rle_crop_3804714326_0.png.png imagette231369361747713334/1747678908_1216541_1359513440_9e82372222824f4ee3e23f0241866c2e_rle_crop_3804611473_0.png.png imagette231369361747713334/1747681421_1270243_1359513915_f8a34896399aff3edd292579d21bf2e5_rle_crop_3804735518_0.png.png wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/19/2498619dadda529a931fbd1e924c0342_74838724.png imagette231369361747713334 23136938 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=23136938 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1359514871: '1747678908_1216541_1359513440_9e82372222824f4ee3e23f0241866c2e_rle_crop_3804611471_0.png', 1359514875: '1747678908_1216541_1359513396_466a7be1dd3be6df014e1663c56ce8c7_rle_crop_3804611728_0.png', 1359515190: '1747679022_1220277_1359513821_e91c1188b9653e24fc437720da51d74f_rle_crop_3804622101_0.png', 1359518421: '1747679382_1227483_1359515136_e1d5efa71fb19c15d1a51af88c6f388e_rle_crop_3804634821_0.png', 1359522652: '1747679868_1237604_1359513882_23b0a4adc762e72ffbe95b1c90e78071_rle_crop_3804647455_0.png', 1359522653: '1747679868_1237604_1359513873_2857973fe63530c9ee853a3911de459c_rle_crop_3804647489_0.png', 1359531457: '1747681284_1107865_1359513710_4da5594e0b61201b2f7e2fcf0df93bec_rle_crop_3804714319_0.png', 1359531459: '1747681284_1107865_1359513698_d39d52943fe5a647785678b42bce51b1_rle_crop_3804714331_0.png', 1359532015: '1747681324_1267856_1359513270_034b7571256dc359a998e0720461aaae_rle_crop_3804723565_0.png', 1359532016: '1747681324_1267856_1359513270_034b7571256dc359a998e0720461aaae_rle_crop_3804723560_0.png', 1359532017: '1747681324_1267856_1359513270_034b7571256dc359a998e0720461aaae_rle_crop_3804723559_0.png', 1359532439: '1747681421_1270243_1359513915_f8a34896399aff3edd292579d21bf2e5_rle_crop_3804735523_0.png', 1359532441: '1747681421_1270243_1359513915_f8a34896399aff3edd292579d21bf2e5_rle_crop_3804735519_0.png', 1359532443: '1747681421_1270243_1359513821_e91c1188b9653e24fc437720da51d74f_rle_crop_3804622101_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/19/0d5eaa3864a280ab209f32010814abef_64593094.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/19/d36e3100640cf6b4cba60f89bd38f16f_57200616.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/19/6dad8c2fc7c65199c854950550870514_4716175.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/19/9e64187825d2c1701f0400da8e4e61ed_47827278.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/19/7fc1947ef0ccd3aa0f9f17f72fbb46f8_93059501.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/19/9adc62cfe76d3cf092e9d767bf051b70_97472739.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/19/9ac7493f0ad33bb5ebb08c7b2ca435ed_38677544.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/19/b29f313d8dc53b82b89c9d3d9520d632_21640319.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/19/f6167d6d743d80404cce4554b638847d_22925022.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/19/e4fc6758899a3a67269ea983cadcb7b6_43210843.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/19/4a932345edcb0aead3bfd62b7cf9e944_1783390.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/19/bb8c36fecd445935a4ba112e461d0d6c_91771273.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/19/295b19795205d8261018814ab2117e0f_79293025.png change filename to text .imagette231369381747713335/ imagette231369381747713335/1747681324_1267856_1359513270_034b7571256dc359a998e0720461aaae_rle_crop_3804723559_0.png.png imagette231369381747713335/1747681324_1267856_1359513270_034b7571256dc359a998e0720461aaae_rle_crop_3804723560_0.png.png imagette231369381747713335/1747681324_1267856_1359513270_034b7571256dc359a998e0720461aaae_rle_crop_3804723565_0.png.png imagette231369381747713335/1747679022_1220277_1359513821_e91c1188b9653e24fc437720da51d74f_rle_crop_3804622101_0.png.png imagette231369381747713335/1747681284_1107865_1359513698_d39d52943fe5a647785678b42bce51b1_rle_crop_3804714331_0.png.png imagette231369381747713335/1747681284_1107865_1359513710_4da5594e0b61201b2f7e2fcf0df93bec_rle_crop_3804714319_0.png.png imagette231369381747713335/1747678908_1216541_1359513440_9e82372222824f4ee3e23f0241866c2e_rle_crop_3804611471_0.png.png imagette231369381747713335/1747681421_1270243_1359513915_f8a34896399aff3edd292579d21bf2e5_rle_crop_3804735519_0.png.png imagette231369381747713335/1747679868_1237604_1359513882_23b0a4adc762e72ffbe95b1c90e78071_rle_crop_3804647455_0.png.png imagette231369381747713335/1747678908_1216541_1359513396_466a7be1dd3be6df014e1663c56ce8c7_rle_crop_3804611728_0.png.png imagette231369381747713335/1747681421_1270243_1359513821_e91c1188b9653e24fc437720da51d74f_rle_crop_3804622101_0.png.png imagette231369381747713335/1747681421_1270243_1359513915_f8a34896399aff3edd292579d21bf2e5_rle_crop_3804735523_0.png.png imagette231369381747713335/1747679382_1227483_1359515136_e1d5efa71fb19c15d1a51af88c6f388e_rle_crop_3804634821_0.png.png imagette231369381747713335/1747679868_1237604_1359513873_2857973fe63530c9ee853a3911de459c_rle_crop_3804647489_0.png.png wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/19/6dad8c2fc7c65199c854950550870514_65383779.png imagette231369381747713335 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=23136821 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/23136952,23136954,23136955,23136956,23136957,23136959,23136960,23136961,23136963,23136964,23136965,23136966?tags=Teint_Dans_La_Masse,cartonnette,kraft,papier,Carton_gris,metal,Carton_brun,plastique,mal_croppe,autre_refus,environnement,flou your option no_mail is active, we will not send the real mail to your client args[1359518931] : ('0.046805074690918345',) no score found for photo 1359518931 We are sending mail with results at report@fotonower.com args[1359517408] : ('0.046805074690918345',) no score found for photo 1359517408 We are sending mail with results at report@fotonower.com args[1359515222] : ('0.046805074690918345',) no score found for photo 1359515222 We are sending mail with results at report@fotonower.com args[1359515157] : ('0.046805074690918345',) no score found for photo 1359515157 We are sending mail with results at report@fotonower.com args[1359515152] : ('0.046805074690918345',) no score found for photo 1359515152 We are sending mail with results at report@fotonower.com args[1359515147] : ('0.046805074690918345',) no score found for photo 1359515147 We are sending mail with results at report@fotonower.com args[1359515142] : ('0.046805074690918345',) no score found for photo 1359515142 We are sending mail with results at report@fotonower.com args[1359515136] : ('0.046805074690918345',) no score found for photo 1359515136 We are sending mail with results at report@fotonower.com args[1359514820] : ('0.046805074690918345',) no score found for photo 1359514820 We are sending mail with results at report@fotonower.com args[1359514759] : ('0.046805074690918345',) no score found for photo 1359514759 We are sending mail with results at report@fotonower.com args[1359514542] : ('0.046805074690918345',) no score found for photo 1359514542 We are sending mail with results at report@fotonower.com args[1359513915] : ('0.046805074690918345',) no score found for photo 1359513915 We are sending mail with results at report@fotonower.com args[1359513885] : ('0.046805074690918345',) no score found for photo 1359513885 We are sending mail with results at report@fotonower.com args[1359513882] : ('0.046805074690918345',) no score found for photo 1359513882 We are sending mail with results at report@fotonower.com args[1359513878] : ('0.046805074690918345',) no score found for photo 1359513878 We are sending mail with results at report@fotonower.com args[1359513873] : ('0.046805074690918345',) no score found for photo 1359513873 We are sending mail with results at report@fotonower.com args[1359513868] : ('0.046805074690918345',) no score found for photo 1359513868 We are sending mail with results at report@fotonower.com args[1359513846] : ('0.046805074690918345',) no score found for photo 1359513846 We are sending mail with results at report@fotonower.com args[1359513843] : ('0.046805074690918345',) no score found for photo 1359513843 We are sending mail with results at report@fotonower.com args[1359513839] : ('0.046805074690918345',) no score found for photo 1359513839 We are sending mail with results at report@fotonower.com args[1359513830] : ('0.046805074690918345',) no score found for photo 1359513830 We are sending mail with results at report@fotonower.com args[1359513821] : ('0.046805074690918345',) no score found for photo 1359513821 We are sending mail with results at report@fotonower.com args[1359513761] : ('0.046805074690918345',) no score found for photo 1359513761 We are sending mail with results at report@fotonower.com args[1359513715] : ('0.046805074690918345',) no score found for photo 1359513715 We are sending mail with results at report@fotonower.com args[1359513710] : ('0.046805074690918345',) no score found for photo 1359513710 We are sending mail with results at report@fotonower.com args[1359513698] : ('0.046805074690918345',) no score found for photo 1359513698 We are sending mail with results at report@fotonower.com args[1359513667] : ('0.046805074690918345',) no score found for photo 1359513667 We are sending mail with results at report@fotonower.com args[1359513464] : ('0.046805074690918345',) no score found for photo 1359513464 We are sending mail with results at report@fotonower.com args[1359513440] : ('0.046805074690918345',) no score found for photo 1359513440 We are sending mail with results at report@fotonower.com args[1359513408] : ('0.046805074690918345',) no score found for photo 1359513408 We are sending mail with results at report@fotonower.com args[1359513396] : ('0.046805074690918345',) no score found for photo 1359513396 We are sending mail with results at report@fotonower.com args[1359513276] : ('0.046805074690918345',) no score found for photo 1359513276 We are sending mail with results at report@fotonower.com args[1359513274] : ('0.046805074690918345',) no score found for photo 1359513274 We are sending mail with results at report@fotonower.com args[1359513270] : ('0.046805074690918345',) no score found for photo 1359513270 We are sending mail with results at report@fotonower.com args[1359513266] : ('0.046805074690918345',) no score found for photo 1359513266 We are sending mail with results at report@fotonower.com args[1359513263] : ('0.046805074690918345',) no score found for photo 1359513263 We are sending mail with results at report@fotonower.com refus_total : 0.046805074690918345 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=23136821 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_P23136821_20-05-2025_05_55_32.pdf results_Auto_P23136821_20-05-2025_05_55_32.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23136821_20-05-2025_05_55_32.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('4302','23136821','results_Auto_P23136821_20-05-2025_05_55_32.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23136821_20-05-2025_05_55_32.pdf','pdf','','0.39','0.046805074690918345') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([23136821]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1359518931, 1359517408, 1359515222, 1359515157, 1359515152, 1359515147, 1359515142, 1359515136, 1359514820, 1359514759, 1359514542, 1359513915, 1359513885, 1359513882, 1359513878, 1359513873, 1359513868, 1359513846, 1359513843, 1359513839, 1359513830, 1359513821, 1359513761, 1359513715, 1359513710, 1359513698, 1359513667, 1359513464, 1359513440, 1359513408, 1359513396, 1359513276, 1359513274, 1359513270, 1359513266, 1359513263] map_info['map_portfolio_photo'] : {23136821: [1359518931, 1359517408, 1359515222, 1359515157, 1359515152, 1359515147, 1359515142, 1359515136, 1359514820, 1359514759, 1359514542, 1359513915, 1359513885, 1359513882, 1359513878, 1359513873, 1359513868, 1359513846, 1359513843, 1359513839, 1359513830, 1359513821, 1359513761, 1359513715, 1359513710, 1359513698, 1359513667, 1359513464, 1359513440, 1359513408, 1359513396, 1359513276, 1359513274, 1359513270, 1359513266, 1359513263]} final : False mtd_id 4302 list_pids : [1359518931, 1359517408, 1359515222, 1359515157, 1359515152, 1359515147, 1359515142, 1359515136, 1359514820, 1359514759, 1359514542, 1359513915, 1359513885, 1359513882, 1359513878, 1359513873, 1359513868, 1359513846, 1359513843, 1359513839, 1359513830, 1359513821, 1359513761, 1359513715, 1359513710, 1359513698, 1359513667, 1359513464, 1359513440, 1359513408, 1359513396, 1359513276, 1359513274, 1359513270, 1359513266, 1359513263] 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, '2900952') ('4302', '23136821', '1359518931', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359517408', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359515222', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359515157', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359515152', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359515147', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359515142', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359515136', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359514820', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359514759', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359514542', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359513915', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359513885', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359513882', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359513878', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359513873', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359513868', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359513846', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359513843', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359513839', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359513830', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359513821', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359513761', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359513715', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359513710', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359513698', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359513667', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359513464', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359513440', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359513408', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359513396', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359513276', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359513274', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359513270', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359513266', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359513263', None, None, None, None, None, '2900952') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 36 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', '23136821', '1359518931', None, None, None, None, None, '2900952'), ('4302', '23136821', '1359517408', None, None, None, None, None, '2900952'), ('4302', '23136821', '1359515222', None, None, None, None, None, '2900952'), ('4302', '23136821', '1359515157', None, None, None, None, None, '2900952'), ('4302', '23136821', '1359515152', None, None, None, None, None, '2900952'), ('4302', '23136821', '1359515147', None, None, None, None, None, '2900952'), ('4302', '23136821', '1359515142', None, None, None, None, None, '2900952'), ('4302', '23136821', '1359515136', None, None, None, None, None, '2900952'), ('4302', '23136821', '1359514820', None, None, None, None, None, '2900952'), ('4302', '23136821', '1359514759', None, None, None, None, None, '2900952'), ('4302', '23136821', '1359514542', None, None, None, None, None, '2900952'), ('4302', '23136821', '1359513915', None, None, None, None, None, '2900952'), ('4302', '23136821', '1359513885', None, None, None, None, None, '2900952'), ('4302', '23136821', '1359513882', None, None, None, None, None, '2900952'), ('4302', '23136821', '1359513878', None, None, None, None, None, '2900952'), ('4302', '23136821', '1359513873', None, None, None, None, None, '2900952'), ('4302', '23136821', '1359513868', None, None, None, None, None, '2900952'), ('4302', '23136821', '1359513846', None, None, None, None, None, '2900952'), ('4302', '23136821', '1359513843', None, None, None, None, None, '2900952'), ('4302', '23136821', '1359513839', None, None, None, None, None, '2900952'), ('4302', '23136821', '1359513830', None, None, None, None, None, '2900952'), ('4302', '23136821', '1359513821', None, None, None, None, None, '2900952'), ('4302', '23136821', '1359513761', None, None, None, None, None, '2900952'), ('4302', '23136821', '1359513715', None, None, None, None, None, '2900952'), ('4302', '23136821', '1359513710', None, None, None, None, None, '2900952'), ('4302', '23136821', '1359513698', None, None, None, None, None, '2900952'), ('4302', '23136821', '1359513667', None, None, None, None, None, '2900952'), ('4302', '23136821', '1359513464', None, None, None, None, None, '2900952'), ('4302', '23136821', '1359513440', None, None, None, None, None, '2900952'), ('4302', '23136821', '1359513408', None, None, None, None, None, '2900952'), ('4302', '23136821', '1359513396', None, None, None, None, None, '2900952'), ('4302', '23136821', '1359513276', None, None, None, None, None, '2900952'), ('4302', '23136821', '1359513274', None, None, None, None, None, '2900952'), ('4302', '23136821', '1359513270', None, None, None, None, None, '2900952'), ('4302', '23136821', '1359513266', None, None, None, None, None, '2900952'), ('4302', '23136821', '1359513263', None, None, None, None, None, '2900952')] time used for this insertion : 0.049276113510131836 save_final save missing photos in datou_result : time spend for datou_step_exec : 7.614388465881348 time spend to save output : 0.04977846145629883 total time spend for step 4 : 7.6641669273376465 step5:split_time_score Tue May 20 05:55:38 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 : ['23136821'] 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 : [('23136821',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (23136821) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1359515157: {'path': 'temp/1747713330_804116_1359515157_cb074a1a57b7f5f0fa3d2bef13fe7fc1.jpg', 'extension': 'jpg'}, 1359515222: {'path': 'temp/1747713330_804116_1359515222_db593cf1682499bceca0974076182f6a.jpg', 'extension': 'jpg'}, 1359517408: {'path': 'temp/1747713330_804116_1359517408_68c67fc861e5ab763a87f655781277f8.jpg', 'extension': 'jpg'}, 1359518931: {'path': 'temp/1747713330_804116_1359518931_9644f8075ddf1ff92806ae2ea644bc0d.jpg', 'extension': 'jpg'}, 1359513263: {'path': 'temp/1747713330_804116_1359513263_0e1bc24dd36a5d91699c90c426663a23.jpg', 'extension': 'jpg'}, 1359513266: {'path': 'temp/1747713330_804116_1359513266_2864a53296060b16801c6f475144a751.jpg', 'extension': 'jpg'}, 1359513270: {'path': 'temp/1747713330_804116_1359513270_034b7571256dc359a998e0720461aaae.jpg', 'extension': 'jpg'}, 1359513274: {'path': 'temp/1747713330_804116_1359513274_d1b8f441e348fbadfea7183d64258f53.jpg', 'extension': 'jpg'}, 1359513276: {'path': 'temp/1747713330_804116_1359513276_6c1a1aaeaebae036b8706b40ab7bfbd3.jpg', 'extension': 'jpg'}, 1359513396: {'path': 'temp/1747713330_804116_1359513396_466a7be1dd3be6df014e1663c56ce8c7.jpg', 'extension': 'jpg'}, 1359513408: {'path': 'temp/1747713330_804116_1359513408_17c761de1b0f617430ff540b6dea4e1c.jpg', 'extension': 'jpg'}, 1359513440: {'path': 'temp/1747713330_804116_1359513440_9e82372222824f4ee3e23f0241866c2e.jpg', 'extension': 'jpg'}, 1359513839: {'path': 'temp/1747713330_804116_1359513839_481ce92312a2816520a1256d39159408.jpg', 'extension': 'jpg'}, 1359513843: {'path': 'temp/1747713330_804116_1359513843_2521107978452d968434ee07bca4a756.jpg', 'extension': 'jpg'}, 1359513846: {'path': 'temp/1747713330_804116_1359513846_5f43fd367fafec84bd89b81b66e11e0f.jpg', 'extension': 'jpg'}, 1359513868: {'path': 'temp/1747713330_804116_1359513868_221e3dc13c8fbd953d351fb00a66f271.jpg', 'extension': 'jpg'}, 1359513873: {'path': 'temp/1747713330_804116_1359513873_2857973fe63530c9ee853a3911de459c.jpg', 'extension': 'jpg'}, 1359513878: {'path': 'temp/1747713330_804116_1359513878_83513c369e24959bfc40fbe282a8eac4.jpg', 'extension': 'jpg'}, 1359513882: {'path': 'temp/1747713330_804116_1359513882_23b0a4adc762e72ffbe95b1c90e78071.jpg', 'extension': 'jpg'}, 1359513885: {'path': 'temp/1747713330_804116_1359513885_d4ac5a960db88641545b14bb9386e374.jpg', 'extension': 'jpg'}, 1359513464: {'path': 'temp/1747713330_804116_1359513464_8c1eab8abcf04dbd42778e23a134ee36.jpg', 'extension': 'jpg'}, 1359513667: {'path': 'temp/1747713330_804116_1359513667_8643257a51f9755026f55b06c7bcb31f.jpg', 'extension': 'jpg'}, 1359513698: {'path': 'temp/1747713330_804116_1359513698_d39d52943fe5a647785678b42bce51b1.jpg', 'extension': 'jpg'}, 1359513710: {'path': 'temp/1747713330_804116_1359513710_4da5594e0b61201b2f7e2fcf0df93bec.jpg', 'extension': 'jpg'}, 1359513715: {'path': 'temp/1747713330_804116_1359513715_cc328c106bee2641eca62a444367f5bf.jpg', 'extension': 'jpg'}, 1359513761: {'path': 'temp/1747713330_804116_1359513761_e4bbc1d55fd86160c7752a633e5c2c15.jpg', 'extension': 'jpg'}, 1359513821: {'path': 'temp/1747713330_804116_1359513821_e91c1188b9653e24fc437720da51d74f.jpg', 'extension': 'jpg'}, 1359513830: {'path': 'temp/1747713330_804116_1359513830_627ab9d07d13cbd2d5d4af13ed575f49.jpg', 'extension': 'jpg'}, 1359513915: {'path': 'temp/1747713330_804116_1359513915_f8a34896399aff3edd292579d21bf2e5.jpg', 'extension': 'jpg'}, 1359514542: {'path': 'temp/1747713330_804116_1359514542_784f600145eeda54853547c8c96df3a8.jpg', 'extension': 'jpg'}, 1359514759: {'path': 'temp/1747713330_804116_1359514759_69da724faba43b5e38c2944ea5f7c7a4.jpg', 'extension': 'jpg'}, 1359514820: {'path': 'temp/1747713330_804116_1359514820_4f866cd69c1894d4bda84a705b98300c.jpg', 'extension': 'jpg'}, 1359515136: {'path': 'temp/1747713330_804116_1359515136_e1d5efa71fb19c15d1a51af88c6f388e.jpg', 'extension': 'jpg'}, 1359515142: {'path': 'temp/1747713330_804116_1359515142_f9cf75e1433ce877adc8d13a43dd4335.jpg', 'extension': 'jpg'}, 1359515147: {'path': 'temp/1747713330_804116_1359515147_7a6be70c302c5ab0cb7452c6636bb074.jpg', 'extension': 'jpg'}, 1359515152: {'path': 'temp/1747713330_804116_1359515152_c7b571b2810acc330afcbec8afbd9913.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 = 23136821; (('arc_en_ciel_jrm',), ('arc_en_ciel_jrm_bis',)) TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] select SUBSTRING(ph.text,16,2) as h, count(*) from MTRUser.mtr_portfolio_photos mpp inner join MTRBack.photos ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 23136821 group by h (('20', 36),) 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=23136821 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 (23136821) 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 (23136821) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 19052025 23136821 Nombre de photos uploadées : 36 / 23040 (0%) 19052025 23136821 Nombre de photos taguées (types de déchets): 0 / 36 (0%) 19052025 23136821 Nombre de photos taguées (volume) : 0 / 36 (0%) [{'photo_id': 1359513276, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/19/6c1a1aaeaebae036b8706b40ab7bfbd3.jpg', 'username': None, 'uploaded_at': 1747678567, 'text': 'image_19052025_20_15_03_009138m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1359513274, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/19/d1b8f441e348fbadfea7183d64258f53.jpg', 'username': None, 'uploaded_at': 1747678567, 'text': 'image_19052025_20_15_13_010139m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1359513270, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/19/034b7571256dc359a998e0720461aaae.jpg', 'username': None, 'uploaded_at': 1747678567, 'text': 'image_19052025_20_15_24_010142m0.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1359513266, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/19/2864a53296060b16801c6f475144a751.jpg', 'username': None, 'uploaded_at': 1747678567, 'text': 'image_19052025_20_15_34_010141m0.jpg 4e-05 for time 1, id_amount 3 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 1.6689300537109375e-06 elapsed_time : order_list_meta_photo_and_scores 4.291534423828125e-06 ???????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0013833045959472656 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 23136821, '2025-05-19' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1818689,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.03454232215881348 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= 1818689 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1818689, 'dashboard_run_id': 1828727, 'mtr_portfolio_id': 23101417, 'dashboard_result_id': 10713453, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23101417_20-05-2025_05_34_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23101419, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23101420, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23101421, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23101422, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23101423, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23101424, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23101425, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23101426, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23101427, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23101428, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23101429, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23101430, 'pht': 3726}}"}, {'dashboat_entry_day': 1818689, 'dashboard_run_id': 1828727, 'mtr_portfolio_id': 23101488, 'dashboard_result_id': 10713454, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23101488_19-05-2025_05_33_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23101501, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23101502, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23101503, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23101504, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23101505, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23101506, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23101507, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23101508, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23101509, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23101510, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23101511, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23101512, 'pht': 3726}}"}, {'dashboat_entry_day': 1818689, 'dashboard_run_id': 1828727, 'mtr_portfolio_id': 23101750, 'dashboard_result_id': 10713455, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23101750_20-05-2025_05_36_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23101776, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23101778, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23101779, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23101780, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23101781, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23101782, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23101783, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23101784, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23101785, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23101786, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23101787, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23101788, 'pht': 3726}}"}, {'dashboat_entry_day': 1818689, 'dashboard_run_id': 1828727, 'mtr_portfolio_id': 23102243, 'dashboard_result_id': 10713456, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23102243_20-05-2025_05_36_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23102258, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23102259, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23102260, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23102261, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23102262, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23102263, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23102264, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23102265, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23102266, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23102267, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23102268, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23102269, 'pht': 3726}}"}, {'dashboat_entry_day': 1818689, 'dashboard_run_id': 1828727, 'mtr_portfolio_id': 23107773, 'dashboard_result_id': 10713457, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23107773_20-05-2025_05_37_33.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23107923, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23107924, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23107926, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23107927, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23107928, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23107930, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23107931, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23107932, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23107934, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23107935, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23107936, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23107938, 'pht': 3726}}"}, {'dashboat_entry_day': 1818689, 'dashboard_run_id': 1828727, 'mtr_portfolio_id': 23108470, 'dashboard_result_id': 10713458, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23108470_20-05-2025_05_38_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23108489, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23108491, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23108492, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23108493, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23108494, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23108495, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23108496, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23108497, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23108498, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23108499, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23108500, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23108501, 'pht': 3726}}"}, {'dashboat_entry_day': 1818689, 'dashboard_run_id': 1828727, 'mtr_portfolio_id': 23109021, 'dashboard_result_id': 10713459, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23109021_20-05-2025_05_38_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23109135, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23109136, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23109137, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23109138, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23109139, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23109140, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23109141, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23109142, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23109143, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23109144, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23109145, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23109146, 'pht': 3726}}"}, {'dashboat_entry_day': 1818689, 'dashboard_run_id': 1828727, 'mtr_portfolio_id': 23110229, 'dashboard_result_id': 10713460, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23110229_19-05-2025_12_02_56.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23110241, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23110242, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23110243, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23110244, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23110245, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23110246, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23110247, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23110248, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23110249, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23110250, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23110251, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23110252, 'pht': 3726}}"}, {'dashboat_entry_day': 1818689, 'dashboard_run_id': 1828727, 'mtr_portfolio_id': 23111029, 'dashboard_result_id': 10713461, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23111029_20-05-2025_05_40_04.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23111124, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23111125, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23111126, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23111127, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23111128, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23111129, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23111130, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23111131, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23111132, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23111133, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23111134, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23111135, 'pht': 3726}}"}, {'dashboat_entry_day': 1818689, 'dashboard_run_id': 1828727, 'mtr_portfolio_id': 23111767, 'dashboard_result_id': 10713462, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23111767_20-05-2025_05_40_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23111843, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23111844, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23111845, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23111846, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23111847, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23111848, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23111849, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23111850, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23111851, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23111852, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23111853, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23111854, 'pht': 3726}}"}, {'dashboat_entry_day': 1818689, 'dashboard_run_id': 1828727, 'mtr_portfolio_id': 23115188, 'dashboard_result_id': 10713463, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23115188_20-05-2025_05_41_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23115206, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23115207, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23115208, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23115209, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23115210, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23115211, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23115212, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23115213, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23115214, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23115215, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23115216, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23115217, 'pht': 3726}}"}, {'dashboat_entry_day': 1818689, 'dashboard_run_id': 1828727, 'mtr_portfolio_id': 23115836, 'dashboard_result_id': 10713464, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23115836_20-05-2025_05_42_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23115895, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23115896, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23115897, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23115898, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23115899, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23115900, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23115901, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23115902, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23115903, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23115904, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23115905, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23115906, 'pht': 3726}}"}, {'dashboat_entry_day': 1818689, 'dashboard_run_id': 1828727, 'mtr_portfolio_id': 23116544, 'dashboard_result_id': 10713465, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23116544_20-05-2025_05_42_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23116595, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23116596, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23116597, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23116598, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23116599, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23116600, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23116601, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23116602, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23116603, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23116604, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23116605, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23116606, 'pht': 3726}}"}, {'dashboat_entry_day': 1818689, 'dashboard_run_id': 1828727, 'mtr_portfolio_id': 23119432, 'dashboard_result_id': 10713466, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23119432_20-05-2025_05_43_34.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23119434, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23119435, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23119436, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23119437, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23119438, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23119439, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23119440, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23119441, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23119442, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23119443, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23119444, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23119445, 'pht': 3726}}"}, {'dashboat_entry_day': 1818689, 'dashboard_run_id': 1828727, 'mtr_portfolio_id': 23120072, 'dashboard_result_id': 10713467, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23120072_20-05-2025_05_44_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23120119, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23120120, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23120121, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23120122, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23120123, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23120124, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23120125, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23120126, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23120127, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23120128, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23120129, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23120130, 'pht': 3726}}"}, {'dashboat_entry_day': 1818689, 'dashboard_run_id': 1828727, 'mtr_portfolio_id': 23120710, 'dashboard_result_id': 10713468, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23120710_20-05-2025_05_45_04.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23120741, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23120742, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23120743, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23120744, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23120745, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23120746, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23120748, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23120749, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23120750, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23120751, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23120752, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23120753, 'pht': 3726}}"}, {'dashboat_entry_day': 1818689, 'dashboard_run_id': 1828727, 'mtr_portfolio_id': 23121331, 'dashboard_result_id': 10713469, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23121331_20-05-2025_05_45_36.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23121337, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23121338, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23121339, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23121340, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23121341, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23121342, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23121343, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23121344, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23121345, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23121346, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23121347, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23121348, 'pht': 3726}}"}, {'dashboat_entry_day': 1818689, 'dashboard_run_id': 1828727, 'mtr_portfolio_id': 23122122, 'dashboard_result_id': 10713470, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23122122_20-05-2025_05_46_04.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23122273, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23122274, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23122275, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23122276, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23122277, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23122278, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23122279, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23122280, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23122281, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23122282, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23122283, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23122284, 'pht': 3726}}"}, {'dashboat_entry_day': 1818689, 'dashboard_run_id': 1828727, 'mtr_portfolio_id': 23123109, 'dashboard_result_id': 10713471, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23123109_20-05-2025_05_46_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23123153, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23123154, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23123155, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23123156, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23123157, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23123158, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23123159, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23123160, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23123161, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23123162, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23123163, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23123164, 'pht': 3726}}"}, {'dashboat_entry_day': 1818689, 'dashboard_run_id': 1828727, 'mtr_portfolio_id': 23124152, 'dashboard_result_id': 10713472, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23124152_20-05-2025_05_47_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23124229, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23124230, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23124231, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23124232, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23124233, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23124234, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23124235, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23124236, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23124237, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23124238, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23124239, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23124240, 'pht': 3726}}"}, {'dashboat_entry_day': 1818689, 'dashboard_run_id': 1828727, 'mtr_portfolio_id': 23125442, 'dashboard_result_id': 10713473, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23125442_20-05-2025_05_48_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23125455, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23125456, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23125457, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23125458, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23125459, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23125460, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23125461, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23125462, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23125463, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23125465, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23125466, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23125467, 'pht': 3726}}"}, {'dashboat_entry_day': 1818689, 'dashboard_run_id': 1828727, 'mtr_portfolio_id': 23126030, 'dashboard_result_id': 10713474, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23126030_20-05-2025_05_48_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23126136, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23126137, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23126138, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23126139, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23126140, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23126141, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23126142, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23126143, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23126144, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23126145, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23126146, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23126147, 'pht': 3726}}"}, {'dashboat_entry_day': 1818689, 'dashboard_run_id': 1828727, 'mtr_portfolio_id': 23126969, 'dashboard_result_id': 10713475, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23126969_20-05-2025_05_49_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23126995, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23126996, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23126997, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23126998, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23126999, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23127000, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23127001, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23127002, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23127003, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23127004, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23127005, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23127006, 'pht': 3726}}"}, {'dashboat_entry_day': 1818689, 'dashboard_run_id': 1828727, 'mtr_portfolio_id': 23129121, 'dashboard_result_id': 10713476, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23129121_19-05-2025_18_17_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23129183, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23129184, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23129185, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23129186, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23129187, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23129188, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23129189, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23129190, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23129191, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23129192, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23129193, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23129194, 'pht': 3726}}"}, {'dashboat_entry_day': 1818689, 'dashboard_run_id': 1828727, 'mtr_portfolio_id': 23129938, 'dashboard_result_id': 10713477, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23129938_20-05-2025_05_50_36.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23129950, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23129951, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23129952, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23129953, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23129954, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23129955, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23129956, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23129957, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23129958, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23129960, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23129961, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23129962, 'pht': 3726}}"}, {'dashboat_entry_day': 1818689, 'dashboard_run_id': 1828727, 'mtr_portfolio_id': 23130431, 'dashboard_result_id': 10713478, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23130431_20-05-2025_05_51_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23130484, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23130485, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23130486, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23130487, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23130488, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23130489, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23130490, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23130491, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23130492, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23130493, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23130494, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23130495, 'pht': 3726}}"}, {'dashboat_entry_day': 1818689, 'dashboard_run_id': 1828727, 'mtr_portfolio_id': 23131031, 'dashboard_result_id': 10713479, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23131031_20-05-2025_05_52_03.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23131043, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23131044, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23131045, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23131046, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23131047, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23131048, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23131049, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23131050, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23131051, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23131052, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23131053, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23131054, 'pht': 3726}}"}, {'dashboat_entry_day': 1818689, 'dashboard_run_id': 1828727, 'mtr_portfolio_id': 23131759, 'dashboard_result_id': 10713480, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23131759_20-05-2025_05_52_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23131843, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23131844, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23131845, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23131846, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23131847, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23131848, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23131849, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23131850, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23131851, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23131852, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23131853, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23131854, 'pht': 3726}}"}, {'dashboat_entry_day': 1818689, 'dashboard_run_id': 1828727, 'mtr_portfolio_id': 23132960, 'dashboard_result_id': 10713481, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23132960_20-05-2025_05_53_34.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23132972, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23132973, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23132974, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23132975, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23132976, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23132977, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23132978, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23132979, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23132980, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23132981, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23132982, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23132983, 'pht': 3726}}"}, {'dashboat_entry_day': 1818689, 'dashboard_run_id': 1828727, 'mtr_portfolio_id': 23133702, 'dashboard_result_id': 10713482, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23133702_20-05-2025_05_54_04.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23133820, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23133821, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23133822, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23133823, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23133824, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23133825, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23133826, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23133827, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23133828, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23133829, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23133830, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23133831, 'pht': 3726}}"}, {'dashboat_entry_day': 1818689, 'dashboard_run_id': 1828727, 'mtr_portfolio_id': 23134731, 'dashboard_result_id': 10713483, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23134731_20-05-2025_05_54_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23134773, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23134774, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23134775, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23134776, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23134777, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23134778, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23134779, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23134780, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23134781, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23134782, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23134783, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23134784, 'pht': 3726}}"}, {'dashboat_entry_day': 1818689, 'dashboard_run_id': 1828727, 'mtr_portfolio_id': 23135726, 'dashboard_result_id': 10713484, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23135726_19-05-2025_20_19_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23135816, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23135817, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23135818, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23135819, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23135820, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23135821, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23135822, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23135823, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23135825, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23135826, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23135827, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23135828, 'pht': 3726}}"}, {'dashboat_entry_day': 1818689, 'dashboard_run_id': 1828727, 'mtr_portfolio_id': 23136821, 'dashboard_result_id': 10713485, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23136821_20-05-2025_05_55_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23136932, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23136933, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23136934, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23136935, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23136936, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23136937, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23136938, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23136939, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23136940, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23136941, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23136942, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23136943, 'pht': 3726}}"}, {'dashboat_entry_day': 1818689, 'dashboard_run_id': 1828727, 'mtr_portfolio_id': 23137620, 'dashboard_result_id': 10713486, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23137620_19-05-2025_21_05_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23137632, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23137633, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23137634, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23137635, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23137636, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23137637, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23137638, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23137639, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23137640, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23137641, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23137642, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23137643, 'pht': 3726}}"}, {'dashboat_entry_day': 1818689, 'dashboard_run_id': 1828727, 'mtr_portfolio_id': 23139187, 'dashboard_result_id': 10713487, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23139187_19-05-2025_21_17_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23139195, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23139196, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23139197, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23139198, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23139199, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23139200, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23139201, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23139202, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23139203, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23139204, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23139205, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23139206, 'pht': 3726}}"}, {'dashboat_entry_day': 1818689, 'dashboard_run_id': 1828727, 'mtr_portfolio_id': 23139567, 'dashboard_result_id': 10713488, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23139567_19-05-2025_21_33_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23139571, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23139572, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23139573, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23139574, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23139575, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23139576, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23139577, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23139578, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23139579, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23139580, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23139581, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23139582, '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 = 23101417 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23101417 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 23101417 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23101417 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23101417 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23101417 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23101417_20-05-2025_05_34_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23101417 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23101417_20-05-2025_05_34_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23101419, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23101420, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23101421, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23101422, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23101423, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23101424, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23101425, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23101426, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23101427, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23101428, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23101429, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23101430, 'pht': 3726}}" where mtr_portfolio_id = 23101417 and dashboard_run_id = 1828727 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23101488 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23101488 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23101488 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23101488_19-05-2025_05_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23101488 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23101488_19-05-2025_05_33_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23101501, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23101502, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23101503, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23101504, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23101505, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23101506, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23101507, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23101508, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23101509, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23101510, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23101511, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23101512, 'pht': 3726}}" where mtr_portfolio_id = 23101488 and dashboard_run_id = 1828727 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23101750 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23101750 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 23101750 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23101750 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23101750 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23101750 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23101750_20-05-2025_05_36_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23101750 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23101750_20-05-2025_05_36_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23101776, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23101778, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23101779, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23101780, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23101781, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23101782, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23101783, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23101784, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23101785, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23101786, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23101787, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23101788, 'pht': 3726}}" where mtr_portfolio_id = 23101750 and dashboard_run_id = 1828727 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23102243 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23102243 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 23102243 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23102243 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23102243 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23102243 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23102243_20-05-2025_05_36_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23102243 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23102243_20-05-2025_05_36_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23102258, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23102259, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23102260, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23102261, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23102262, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23102263, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23102264, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23102265, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23102266, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23102267, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23102268, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23102269, 'pht': 3726}}" where mtr_portfolio_id = 23102243 and dashboard_run_id = 1828727 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23107773 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2900924, 'mtr_portfolio_id': 23107773, 'created_at': datetime.datetime(2025, 5, 20, 5, 37, 29), 'result': '0.04810773507642785', 'result_long': None, 'result_double': None}] Qualite : 0.04810773507642785 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23107773 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23107773_20-05-2025_05_37_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23107773 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23107773_20-05-2025_05_37_33.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23107923, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23107924, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23107926, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23107927, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23107928, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23107930, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23107931, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23107932, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23107934, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23107935, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23107936, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23107938, 'pht': 3726}}" where mtr_portfolio_id = 23107773 and dashboard_run_id = 1828727 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23107773 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10713457, 0.04810773507642785, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23107773_20-05-2025_05_37_33.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23107923, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23107924, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23107926, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23107927, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23107928, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23107930, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23107931, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23107932, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23107934, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23107935, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23107936, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23107938, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23108470 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2900925, 'mtr_portfolio_id': 23108470, 'created_at': datetime.datetime(2025, 5, 20, 5, 37, 58), 'result': '0.047421388173446016', 'result_long': None, 'result_double': None}] Qualite : 0.047421388173446016 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23108470 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23108470_20-05-2025_05_38_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23108470 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23108470_20-05-2025_05_38_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23108489, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23108491, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23108492, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23108493, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23108494, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23108495, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23108496, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23108497, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23108498, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23108499, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23108500, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23108501, 'pht': 3726}}" where mtr_portfolio_id = 23108470 and dashboard_run_id = 1828727 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23108470 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10713458, 0.047421388173446016, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23108470_20-05-2025_05_38_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23108489, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23108491, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23108492, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23108493, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23108494, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23108495, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23108496, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23108497, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23108498, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23108499, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23108500, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23108501, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23109021 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2900926, 'mtr_portfolio_id': 23109021, 'created_at': datetime.datetime(2025, 5, 20, 5, 38, 28), 'result': '0.09071440181858023', 'result_long': None, 'result_double': None}] Qualite : 0.09071440181858023 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23109021 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23109021_20-05-2025_05_38_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23109021 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23109021_20-05-2025_05_38_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23109135, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23109136, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23109137, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23109138, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23109139, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23109140, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23109141, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23109142, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23109143, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23109144, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23109145, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23109146, 'pht': 3726}}" where mtr_portfolio_id = 23109021 and dashboard_run_id = 1828727 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23109021 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10713459, 0.09071440181858023, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23109021_20-05-2025_05_38_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23109135, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23109136, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23109137, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23109138, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23109139, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23109140, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23109141, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23109142, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23109143, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23109144, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23109145, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23109146, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23110229 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2900927, 'mtr_portfolio_id': 23110229, 'created_at': datetime.datetime(2025, 5, 20, 5, 39, 31), 'result': '0.027229600762022174', 'result_long': None, 'result_double': None}] Qualite : 0.027229600762022174 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23110229 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23110229_19-05-2025_12_02_56.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23110229 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23110229_19-05-2025_12_02_56.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23110241, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23110242, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23110243, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23110244, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23110245, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23110246, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23110247, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23110248, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23110249, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23110250, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23110251, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23110252, 'pht': 3726}}" where mtr_portfolio_id = 23110229 and dashboard_run_id = 1828727 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23110229 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10713460, 0.027229600762022174, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23110229_19-05-2025_12_02_56.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23110241, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23110242, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23110243, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23110244, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23110245, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23110246, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23110247, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23110248, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23110249, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23110250, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23110251, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23110252, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23111029 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2900928, 'mtr_portfolio_id': 23111029, 'created_at': datetime.datetime(2025, 5, 20, 5, 40, 1), 'result': '0.024182449521650502', 'result_long': None, 'result_double': None}] Qualite : 0.024182449521650502 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23111029 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23111029_20-05-2025_05_40_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23111029 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23111029_20-05-2025_05_40_04.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23111124, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23111125, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23111126, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23111127, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23111128, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23111129, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23111130, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23111131, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23111132, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23111133, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23111134, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23111135, 'pht': 3726}}" where mtr_portfolio_id = 23111029 and dashboard_run_id = 1828727 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23111029 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10713461, 0.024182449521650502, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23111029_20-05-2025_05_40_04.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23111124, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23111125, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23111126, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23111127, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23111128, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23111129, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23111130, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23111131, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23111132, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23111133, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23111134, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23111135, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23111767 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2900929, 'mtr_portfolio_id': 23111767, 'created_at': datetime.datetime(2025, 5, 20, 5, 40, 30), 'result': '0.03839580101495516', 'result_long': None, 'result_double': None}] Qualite : 0.03839580101495516 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23111767 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23111767_20-05-2025_05_40_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23111767 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23111767_20-05-2025_05_40_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23111843, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23111844, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23111845, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23111846, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23111847, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23111848, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23111849, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23111850, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23111851, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23111852, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23111853, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23111854, 'pht': 3726}}" where mtr_portfolio_id = 23111767 and dashboard_run_id = 1828727 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23111767 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10713462, 0.03839580101495516, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23111767_20-05-2025_05_40_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23111843, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23111844, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23111845, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23111846, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23111847, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23111848, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23111849, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23111850, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23111851, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23111852, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23111853, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23111854, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23115188 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2900930, 'mtr_portfolio_id': 23115188, 'created_at': datetime.datetime(2025, 5, 20, 5, 41, 31), 'result': '0.034658387432655355', 'result_long': None, 'result_double': None}] Qualite : 0.034658387432655355 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23115188 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23115188_20-05-2025_05_41_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23115188 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23115188_20-05-2025_05_41_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23115206, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23115207, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23115208, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23115209, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23115210, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23115211, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23115212, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23115213, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23115214, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23115215, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23115216, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23115217, 'pht': 3726}}" where mtr_portfolio_id = 23115188 and dashboard_run_id = 1828727 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23115188 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10713463, 0.034658387432655355, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23115188_20-05-2025_05_41_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23115206, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23115207, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23115208, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23115209, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23115210, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23115211, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23115212, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23115213, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23115214, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23115215, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23115216, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23115217, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23115836 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2900931, 'mtr_portfolio_id': 23115836, 'created_at': datetime.datetime(2025, 5, 20, 5, 41, 59), 'result': '0.024675604687813487', 'result_long': None, 'result_double': None}] Qualite : 0.024675604687813487 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23115836 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23115836_20-05-2025_05_42_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23115836 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23115836_20-05-2025_05_42_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23115895, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23115896, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23115897, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23115898, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23115899, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23115900, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23115901, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23115902, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23115903, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23115904, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23115905, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23115906, 'pht': 3726}}" where mtr_portfolio_id = 23115836 and dashboard_run_id = 1828727 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23115836 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10713464, 0.024675604687813487, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23115836_20-05-2025_05_42_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23115895, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23115896, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23115897, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23115898, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23115899, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23115900, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23115901, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23115902, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23115903, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23115904, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23115905, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23115906, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23116544 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2900932, 'mtr_portfolio_id': 23116544, 'created_at': datetime.datetime(2025, 5, 20, 5, 42, 28), 'result': '0.05866660653029263', 'result_long': None, 'result_double': None}] Qualite : 0.05866660653029263 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23116544 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23116544_20-05-2025_05_42_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23116544 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23116544_20-05-2025_05_42_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23116595, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23116596, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23116597, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23116598, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23116599, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23116600, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23116601, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23116602, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23116603, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23116604, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23116605, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23116606, 'pht': 3726}}" where mtr_portfolio_id = 23116544 and dashboard_run_id = 1828727 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23116544 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10713465, 0.05866660653029263, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23116544_20-05-2025_05_42_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23116595, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23116596, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23116597, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23116598, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23116599, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23116600, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23116601, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23116602, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23116603, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23116604, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23116605, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23116606, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23119432 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2900933, 'mtr_portfolio_id': 23119432, 'created_at': datetime.datetime(2025, 5, 20, 5, 43, 29), 'result': '0.04474385648571392', 'result_long': None, 'result_double': None}] Qualite : 0.04474385648571392 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23119432 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23119432_20-05-2025_05_43_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23119432 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23119432_20-05-2025_05_43_34.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23119434, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23119435, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23119436, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23119437, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23119438, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23119439, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23119440, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23119441, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23119442, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23119443, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23119444, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23119445, 'pht': 3726}}" where mtr_portfolio_id = 23119432 and dashboard_run_id = 1828727 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23119432 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10713466, 0.04474385648571392, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23119432_20-05-2025_05_43_34.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23119434, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23119435, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23119436, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23119437, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23119438, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23119439, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23119440, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23119441, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23119442, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23119443, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23119444, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23119445, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23120072 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2900934, 'mtr_portfolio_id': 23120072, 'created_at': datetime.datetime(2025, 5, 20, 5, 43, 59), 'result': '0.06593790760820234', 'result_long': None, 'result_double': None}] Qualite : 0.06593790760820234 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23120072 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23120072_20-05-2025_05_44_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23120072 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23120072_20-05-2025_05_44_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23120119, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23120120, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23120121, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23120122, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23120123, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23120124, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23120125, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23120126, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23120127, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23120128, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23120129, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23120130, 'pht': 3726}}" where mtr_portfolio_id = 23120072 and dashboard_run_id = 1828727 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23120072 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10713467, 0.06593790760820234, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23120072_20-05-2025_05_44_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23120119, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23120120, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23120121, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23120122, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23120123, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23120124, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23120125, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23120126, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23120127, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23120128, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23120129, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23120130, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23120710 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2900935, 'mtr_portfolio_id': 23120710, 'created_at': datetime.datetime(2025, 5, 20, 5, 45, 1), 'result': '0.029617048201227434', 'result_long': None, 'result_double': None}] Qualite : 0.029617048201227434 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23120710 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23120710_20-05-2025_05_45_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23120710 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23120710_20-05-2025_05_45_04.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23120741, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23120742, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23120743, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23120744, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23120745, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23120746, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23120748, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23120749, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23120750, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23120751, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23120752, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23120753, 'pht': 3726}}" where mtr_portfolio_id = 23120710 and dashboard_run_id = 1828727 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23120710 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10713468, 0.029617048201227434, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23120710_20-05-2025_05_45_04.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23120741, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23120742, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23120743, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23120744, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23120745, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23120746, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23120748, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23120749, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23120750, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23120751, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23120752, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23120753, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23121331 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2900936, 'mtr_portfolio_id': 23121331, 'created_at': datetime.datetime(2025, 5, 20, 5, 45, 33), 'result': '0.05775289186121029', 'result_long': None, 'result_double': None}] Qualite : 0.05775289186121029 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23121331 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23121331_20-05-2025_05_45_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23121331 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23121331_20-05-2025_05_45_36.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23121337, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23121338, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23121339, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23121340, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23121341, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23121342, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23121343, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23121344, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23121345, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23121346, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23121347, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23121348, 'pht': 3726}}" where mtr_portfolio_id = 23121331 and dashboard_run_id = 1828727 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23121331 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10713469, 0.05775289186121029, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23121331_20-05-2025_05_45_36.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23121337, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23121338, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23121339, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23121340, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23121341, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23121342, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23121343, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23121344, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23121345, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23121346, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23121347, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23121348, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23122122 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2900937, 'mtr_portfolio_id': 23122122, 'created_at': datetime.datetime(2025, 5, 20, 5, 46, 2), 'result': '0.03221393819954495', 'result_long': None, 'result_double': None}] Qualite : 0.03221393819954495 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23122122 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23122122_20-05-2025_05_46_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23122122 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23122122_20-05-2025_05_46_04.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23122273, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23122274, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23122275, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23122276, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23122277, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23122278, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23122279, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23122280, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23122281, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23122282, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23122283, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23122284, 'pht': 3726}}" where mtr_portfolio_id = 23122122 and dashboard_run_id = 1828727 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23122122 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10713470, 0.03221393819954495, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23122122_20-05-2025_05_46_04.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23122273, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23122274, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23122275, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23122276, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23122277, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23122278, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23122279, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23122280, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23122281, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23122282, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23122283, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23122284, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23123109 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2900938, 'mtr_portfolio_id': 23123109, 'created_at': datetime.datetime(2025, 5, 20, 5, 46, 29), 'result': '0.03087818115124074', 'result_long': None, 'result_double': None}] Qualite : 0.03087818115124074 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23123109 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23123109_20-05-2025_05_46_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23123109 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23123109_20-05-2025_05_46_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23123153, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23123154, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23123155, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23123156, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23123157, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23123158, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23123159, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23123160, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23123161, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23123162, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23123163, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23123164, 'pht': 3726}}" where mtr_portfolio_id = 23123109 and dashboard_run_id = 1828727 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23123109 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10713471, 0.03087818115124074, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23123109_20-05-2025_05_46_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23123153, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23123154, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23123155, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23123156, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23123157, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23123158, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23123159, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23123160, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23123161, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23123162, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23123163, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23123164, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23124152 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2900939, 'mtr_portfolio_id': 23124152, 'created_at': datetime.datetime(2025, 5, 20, 5, 47, 27), 'result': '0.03499549294189382', 'result_long': None, 'result_double': None}] Qualite : 0.03499549294189382 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23124152 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23124152_20-05-2025_05_47_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23124152 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23124152_20-05-2025_05_47_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23124229, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23124230, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23124231, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23124232, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23124233, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23124234, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23124235, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23124236, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23124237, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23124238, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23124239, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23124240, 'pht': 3726}}" where mtr_portfolio_id = 23124152 and dashboard_run_id = 1828727 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23124152 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10713472, 0.03499549294189382, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23124152_20-05-2025_05_47_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23124229, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23124230, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23124231, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23124232, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23124233, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23124234, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23124235, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23124236, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23124237, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23124238, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23124239, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23124240, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23125442 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2900940, 'mtr_portfolio_id': 23125442, 'created_at': datetime.datetime(2025, 5, 20, 5, 47, 59), 'result': '0.04490673384972508', 'result_long': None, 'result_double': None}] Qualite : 0.04490673384972508 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23125442 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23125442_20-05-2025_05_48_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23125442 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23125442_20-05-2025_05_48_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23125455, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23125456, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23125457, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23125458, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23125459, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23125460, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23125461, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23125462, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23125463, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23125465, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23125466, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23125467, 'pht': 3726}}" where mtr_portfolio_id = 23125442 and dashboard_run_id = 1828727 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23125442 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10713473, 0.04490673384972508, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23125442_20-05-2025_05_48_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23125455, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23125456, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23125457, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23125458, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23125459, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23125460, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23125461, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23125462, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23125463, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23125465, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23125466, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23125467, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23126030 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2900941, 'mtr_portfolio_id': 23126030, 'created_at': datetime.datetime(2025, 5, 20, 5, 48, 29), 'result': '0.04641432016162318', 'result_long': None, 'result_double': None}] Qualite : 0.04641432016162318 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23126030 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23126030_20-05-2025_05_48_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23126030 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23126030_20-05-2025_05_48_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23126136, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23126137, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23126138, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23126139, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23126140, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23126141, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23126142, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23126143, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23126144, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23126145, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23126146, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23126147, 'pht': 3726}}" where mtr_portfolio_id = 23126030 and dashboard_run_id = 1828727 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23126030 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10713474, 0.04641432016162318, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23126030_20-05-2025_05_48_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23126136, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23126137, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23126138, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23126139, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23126140, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23126141, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23126142, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23126143, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23126144, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23126145, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23126146, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23126147, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23126969 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2900942, 'mtr_portfolio_id': 23126969, 'created_at': datetime.datetime(2025, 5, 20, 5, 49, 30), 'result': '0.06189727727822443', 'result_long': None, 'result_double': None}] Qualite : 0.06189727727822443 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23126969 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23126969_20-05-2025_05_49_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23126969 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23126969_20-05-2025_05_49_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23126995, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23126996, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23126997, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23126998, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23126999, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23127000, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23127001, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23127002, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23127003, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23127004, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23127005, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23127006, 'pht': 3726}}" where mtr_portfolio_id = 23126969 and dashboard_run_id = 1828727 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23126969 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10713475, 0.06189727727822443, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23126969_20-05-2025_05_49_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23126995, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23126996, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23126997, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23126998, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23126999, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23127000, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23127001, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23127002, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23127003, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23127004, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23127005, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23127006, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23129121 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2900943, 'mtr_portfolio_id': 23129121, 'created_at': datetime.datetime(2025, 5, 20, 5, 50), 'result': '0.045700683602233144', 'result_long': None, 'result_double': None}] Qualite : 0.045700683602233144 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23129121 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23129121_19-05-2025_18_17_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23129121 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23129121_19-05-2025_18_17_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23129183, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23129184, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23129185, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23129186, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23129187, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23129188, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23129189, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23129190, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23129191, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23129192, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23129193, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23129194, 'pht': 3726}}" where mtr_portfolio_id = 23129121 and dashboard_run_id = 1828727 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23129121 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10713476, 0.045700683602233144, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23129121_19-05-2025_18_17_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23129183, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23129184, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23129185, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23129186, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23129187, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23129188, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23129189, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23129190, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23129191, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23129192, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23129193, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23129194, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23129938 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2900944, 'mtr_portfolio_id': 23129938, 'created_at': datetime.datetime(2025, 5, 20, 5, 50, 32), 'result': '0.06719410278819134', 'result_long': None, 'result_double': None}] Qualite : 0.06719410278819134 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23129938 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23129938_20-05-2025_05_50_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23129938 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23129938_20-05-2025_05_50_36.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23129950, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23129951, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23129952, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23129953, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23129954, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23129955, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23129956, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23129957, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23129958, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23129960, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23129961, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23129962, 'pht': 3726}}" where mtr_portfolio_id = 23129938 and dashboard_run_id = 1828727 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23129938 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10713477, 0.06719410278819134, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23129938_20-05-2025_05_50_36.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23129950, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23129951, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23129952, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23129953, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23129954, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23129955, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23129956, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23129957, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23129958, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23129960, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23129961, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23129962, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23130431 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2900945, 'mtr_portfolio_id': 23130431, 'created_at': datetime.datetime(2025, 5, 20, 5, 51, 30), 'result': '0.05049787413140846', 'result_long': None, 'result_double': None}] Qualite : 0.05049787413140846 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23130431 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23130431_20-05-2025_05_51_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23130431 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23130431_20-05-2025_05_51_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23130484, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23130485, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23130486, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23130487, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23130488, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23130489, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23130490, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23130491, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23130492, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23130493, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23130494, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23130495, 'pht': 3726}}" where mtr_portfolio_id = 23130431 and dashboard_run_id = 1828727 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23130431 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10713478, 0.05049787413140846, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23130431_20-05-2025_05_51_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23130484, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23130485, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23130486, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23130487, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23130488, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23130489, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23130490, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23130491, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23130492, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23130493, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23130494, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23130495, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23131031 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2900946, 'mtr_portfolio_id': 23131031, 'created_at': datetime.datetime(2025, 5, 20, 5, 52), 'result': '0.18612582596254842', 'result_long': None, 'result_double': None}] Qualite : 0.18612582596254842 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23131031 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23131031_20-05-2025_05_52_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23131031 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23131031_20-05-2025_05_52_03.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23131043, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23131044, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23131045, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23131046, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23131047, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23131048, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23131049, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23131050, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23131051, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23131052, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23131053, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23131054, 'pht': 3726}}" where mtr_portfolio_id = 23131031 and dashboard_run_id = 1828727 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23131031 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10713479, 0.18612582596254842, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23131031_20-05-2025_05_52_03.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23131043, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23131044, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23131045, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23131046, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23131047, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23131048, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23131049, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23131050, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23131051, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23131052, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23131053, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23131054, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23131759 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2900947, 'mtr_portfolio_id': 23131759, 'created_at': datetime.datetime(2025, 5, 20, 5, 52, 30), 'result': '0.06660132107655284', 'result_long': None, 'result_double': None}] Qualite : 0.06660132107655284 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23131759 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23131759_20-05-2025_05_52_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23131759 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23131759_20-05-2025_05_52_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23131843, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23131844, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23131845, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23131846, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23131847, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23131848, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23131849, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23131850, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23131851, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23131852, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23131853, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23131854, 'pht': 3726}}" where mtr_portfolio_id = 23131759 and dashboard_run_id = 1828727 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23131759 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10713480, 0.06660132107655284, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23131759_20-05-2025_05_52_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23131843, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23131844, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23131845, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23131846, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23131847, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23131848, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23131849, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23131850, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23131851, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23131852, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23131853, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23131854, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23132960 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2900948, 'mtr_portfolio_id': 23132960, 'created_at': datetime.datetime(2025, 5, 20, 5, 53, 30), 'result': '0.06427107351518031', 'result_long': None, 'result_double': None}] Qualite : 0.06427107351518031 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23132960 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23132960_20-05-2025_05_53_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23132960 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23132960_20-05-2025_05_53_34.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23132972, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23132973, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23132974, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23132975, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23132976, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23132977, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23132978, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23132979, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23132980, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23132981, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23132982, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23132983, 'pht': 3726}}" where mtr_portfolio_id = 23132960 and dashboard_run_id = 1828727 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23132960 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10713481, 0.06427107351518031, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23132960_20-05-2025_05_53_34.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23132972, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23132973, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23132974, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23132975, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23132976, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23132977, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23132978, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23132979, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23132980, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23132981, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23132982, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23132983, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23133702 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2900949, 'mtr_portfolio_id': 23133702, 'created_at': datetime.datetime(2025, 5, 20, 5, 54, 2), 'result': '0.08164035616968505', 'result_long': None, 'result_double': None}] Qualite : 0.08164035616968505 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23133702 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23133702_20-05-2025_05_54_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23133702 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23133702_20-05-2025_05_54_04.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23133820, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23133821, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23133822, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23133823, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23133824, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23133825, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23133826, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23133827, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23133828, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23133829, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23133830, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23133831, 'pht': 3726}}" where mtr_portfolio_id = 23133702 and dashboard_run_id = 1828727 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23133702 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10713482, 0.08164035616968505, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23133702_20-05-2025_05_54_04.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23133820, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23133821, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23133822, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23133823, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23133824, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23133825, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23133826, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23133827, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23133828, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23133829, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23133830, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23133831, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23134731 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2900950, 'mtr_portfolio_id': 23134731, 'created_at': datetime.datetime(2025, 5, 20, 5, 54, 30), 'result': '0.04240578696898662', 'result_long': None, 'result_double': None}] Qualite : 0.04240578696898662 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23134731 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23134731_20-05-2025_05_54_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23134731 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23134731_20-05-2025_05_54_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23134773, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23134774, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23134775, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23134776, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23134777, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23134778, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23134779, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23134780, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23134781, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23134782, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23134783, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23134784, 'pht': 3726}}" where mtr_portfolio_id = 23134731 and dashboard_run_id = 1828727 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23134731 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10713483, 0.04240578696898662, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23134731_20-05-2025_05_54_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23134773, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23134774, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23134775, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23134776, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23134777, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23134778, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23134779, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23134780, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23134781, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23134782, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23134783, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23134784, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23135726 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2900951, 'mtr_portfolio_id': 23135726, 'created_at': datetime.datetime(2025, 5, 20, 5, 54, 59), 'result': '0.04827102703267844', 'result_long': None, 'result_double': None}] Qualite : 0.04827102703267844 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23135726 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23135726_19-05-2025_20_19_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23135726 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23135726_19-05-2025_20_19_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23135816, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23135817, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23135818, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23135819, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23135820, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23135821, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23135822, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23135823, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23135825, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23135826, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23135827, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23135828, 'pht': 3726}}" where mtr_portfolio_id = 23135726 and dashboard_run_id = 1828727 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23135726 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10713484, 0.04827102703267844, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23135726_19-05-2025_20_19_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23135816, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23135817, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23135818, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23135819, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23135820, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23135821, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23135822, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23135823, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23135825, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23135826, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23135827, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23135828, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23136821 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2900952, 'mtr_portfolio_id': 23136821, 'created_at': datetime.datetime(2025, 5, 20, 5, 55, 30), 'result': '0.046805074690918345', 'result_long': None, 'result_double': None}] Qualite : 0.046805074690918345 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23136821 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23136821_20-05-2025_05_55_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23136821 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23136821_20-05-2025_05_55_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23136932, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23136933, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23136934, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23136935, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23136936, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23136937, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23136938, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23136939, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23136940, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23136941, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23136942, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23136943, 'pht': 3726}}" where mtr_portfolio_id = 23136821 and dashboard_run_id = 1828727 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23136821 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10713485, 0.046805074690918345, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23136821_20-05-2025_05_55_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23136932, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23136933, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23136934, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23136935, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23136936, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23136937, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23136938, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23136939, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23136940, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23136941, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23136942, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23136943, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23137620 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2899397, 'mtr_portfolio_id': 23137620, 'created_at': datetime.datetime(2025, 5, 19, 21, 5, 30), 'result': '0.08751886561474126', 'result_long': None, 'result_double': None}] Qualite : 0.08751886561474126 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23137620 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23137620_19-05-2025_21_05_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23137620 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23137620_19-05-2025_21_05_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23137632, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23137633, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23137634, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23137635, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23137636, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23137637, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23137638, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23137639, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23137640, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23137641, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23137642, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23137643, 'pht': 3726}}" where mtr_portfolio_id = 23137620 and dashboard_run_id = 1828727 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23137620 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10713486, 0.08751886561474126, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23137620_19-05-2025_21_05_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23137632, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23137633, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23137634, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23137635, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23137636, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23137637, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23137638, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23137639, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23137640, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23137641, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23137642, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23137643, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23139187 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2899726, 'mtr_portfolio_id': 23139187, 'created_at': datetime.datetime(2025, 5, 19, 21, 16, 59), 'result': '0.012002315290393419', 'result_long': None, 'result_double': None}] Qualite : 0.012002315290393419 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23139187 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23139187_19-05-2025_21_17_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23139187 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23139187_19-05-2025_21_17_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23139195, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23139196, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23139197, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23139198, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23139199, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23139200, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23139201, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23139202, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23139203, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23139204, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23139205, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23139206, 'pht': 3726}}" where mtr_portfolio_id = 23139187 and dashboard_run_id = 1828727 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23139187 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10713487, 0.012002315290393419, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23139187_19-05-2025_21_17_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23139195, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23139196, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23139197, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23139198, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23139199, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23139200, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23139201, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23139202, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23139203, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23139204, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23139205, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23139206, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23139567 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2899772, 'mtr_portfolio_id': 23139567, 'created_at': datetime.datetime(2025, 5, 19, 21, 32, 59), 'result': '0.04706448478641932', 'result_long': None, 'result_double': None}] Qualite : 0.04706448478641932 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23139567 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23139567_19-05-2025_21_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23139567 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23139567_19-05-2025_21_33_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23139571, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23139572, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23139573, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23139574, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23139575, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23139576, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23139577, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23139578, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23139579, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23139580, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23139581, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23139582, 'pht': 3726}}" where mtr_portfolio_id = 23139567 and dashboard_run_id = 1828727 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23139567 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10713488, 0.04706448478641932, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23139567_19-05-2025_21_33_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23139571, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23139572, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23139573, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23139574, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23139575, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23139576, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23139577, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23139578, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23139579, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23139580, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23139581, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23139582, '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 (23101417,23101488,23101750,23102243,23107773,23108470,23109021,23110229,23111029,23111767,23115188,23115836,23116544,23119432,23120072,23120710,23121331,23122122,23123109,23124152,23125442,23126030,23126969,23129121,23129938,23130431,23131031,23131759,23132960,23133702,23134731,23135726,23136821,23137620,23139187,23139567) result : ((1359275991,), (1359275994,), (1359276016,), (1359276018,), (1359276020,), (1359276036,), (1359276052,), (1359276070,), (1359276072,), (1359276075,), (1359276093,), (1359276096,), (1359276098,), (1359276100,), (1359276118,), (1359276139,), (1359276141,), (1359276143,), (1359276145,), (1359276165,), (1359276166,), (1359276168,), (1359276170,), (1359276171,), (1359276172,), (1359276196,), (1359276198,), (1359276200,), (1359276202,), (1359276223,), (1359276226,), (1359276230,), (1359276244,), (1359276247,), (1359276253,), (1359276256,), (1359276259,), (1359276262,), (1359276275,), (1359276278,), (1359276281,), (1359276284,), (1359276286,), (1359276305,), (1359276327,), (1359276330,), (1359276333,), (1359276363,), (1359276358,), (1359276360,), (1359276362,), (1359276381,), (1359276383,), (1359276385,), (1359276387,), (1359276404,), (1359276406,), (1359276408,), (1359276410,), (1359276428,), (1359276430,), (1359276432,), (1359276434,), (1359276464,), (1359276466,), (1359276468,), (1359276470,), (1359276490,), (1359276518,), (1359276521,), (1359276523,), (1359276525,), (1359276527,), (1359276530,), (1359276546,), (1359276548,), (1359276550,), (1359276552,), (1359276568,), (1359276570,), (1359276572,), (1359276574,), (1359276583,), (1359276638,), (1359276639,), (1359276640,), (1359276641,), (1359276642,), (1359276693,), (1359276695,), (1359276697,), (1359276803,), (1359276805,), (1359276807,), (1359276809,), (1359276810,), (1359276848,), (1359276874,), (1359276876,), (1359276878,), (1359276880,), (1359276881,), (1359276882,), (1359276915,), (1359276917,), (1359276919,), (1359276921,), (1359276922,), (1359276936,), (1359276939,), (1359276942,), (1359276960,), (1359276964,), (1359276967,), (1359276970,), (1359276972,), (1359276998,), (1359276987,), (1359276990,), (1359276993,), (1359276996,), (1359277013,), (1359277016,), (1359277020,), (1359277023,), (1359277045,), (1359277049,), (1359277051,), (1359277054,), (1359277056,), (1359277069,), (1359277072,), (1359277074,), (1359277078,), (1359277080,), (1359277092,), (1359277094,), (1359277098,), (1359277101,), (1359277117,), (1359277121,), (1359277124,), (1359277127,), (1359277129,), (1359277131,), (1359277144,), (1359277147,), (1359277150,), (1359277152,), (1359277154,), (1359277169,), (1359277172,), (1359277175,), (1359277194,), (1359277198,), (1359277201,), (1359277206,), (1359277208,), (1359277219,), (1359277222,), (1359277225,), (1359277228,), (1359277246,), (1359277249,), (1359277252,), (1359277254,), (1359277268,), (1359277270,), (1359277273,), (1359277276,), (1359277290,), (1359277292,), (1359277857,), (1359277434,), (1359277848,), (1359277852,), (1359277855,), (1359277879,), (1359277886,), (1359277887,), (1359277888,), (1359323049,), (1359323272,), (1359323290,), (1359323302,), (1359323575,), (1359323577,), (1359323585,), (1359323590,), (1359323611,), (1359323615,), (1359323842,), (1359323869,), (1359323896,), (1359323934,), (1359323990,), (1359324098,), (1359324681,), (1359324758,), (1359324845,), (1359325468,), (1359325496,), (1359325529,), (1359325557,), (1359325585,), (1359325947,), (1359325951,), (1359325971,), (1359325987,), (1359325996,), (1359326320,), (1359326349,), (1359326375,), (1359326394,), (1359326542,), (1359326546,), (1359326550,), (1359326554,), (1359326559,), (1359326600,), (1359326605,), (1359326611,), (1359326615,), (1359326620,), (1359326625,), (1359326663,), (1359326666,), (1359326670,), (1359326784,), (1359326789,), (1359326795,), (1359326799,), (1359326803,), (1359326806,), (1359326832,), (1359326836,), (1359326840,), (1359326845,), (1359326849,), (1359326853,), (1359327003,), (1359327032,), (1359327061,), (1359327088,), (1359327117,), (1359327149,), (1359327396,), (1359327424,), (1359327452,), (1359327762,), (1359327696,), (1359327700,), (1359327728,), (1359327756,), (1359327758,), (1359328046,), (1359328072,), (1359328094,), (1359328102,), (1359328138,), (1359328390,), (1359328394,), (1359328399,), (1359328403,), (1359328440,), (1359328443,), (1359328447,), (1359328471,), (1359328498,), (1359328516,), (1359328615,), (1359328621,), (1359328626,), (1359328630,), (1359328673,), (1359328677,), (1359328681,), (1359328690,), (1359328702,), (1359328706,), (1359328844,), (1359328848,), (1359328853,), (1359329016,), (1359329019,), (1359329022,), (1359329025,), (1359329031,), (1359329035,), (1359329076,), (1359329077,), (1359329108,), (1359329114,), (1359329120,), (1359329151,), (1359329156,), (1359329163,), (1359329168,), (1359329263,), (1359329300,), (1359329330,), (1359329371,), (1359329376,), (1359329384,), (1359329397,), (1359329405,), (1359329411,), (1359329416,), (1359329420,), (1359329424,), (1359329439,), (1359329443,), (1359329471,), (1359329476,), (1359329534,), (1359329561,), (1359329589,), (1359329617,), (1359329743,), (1359329747,), (1359329753,), (1359329780,), (1359329816,), (1359329869,), (1359330102,), (1359330105,), (1359330113,), (1359330116,), (1359330117,), (1359330179,), (1359330166,), (1359330169,), (1359330173,), (1359330176,), (1359330251,), (1359330293,), (1359330322,), (1359330349,), (1359330377,), (1359330401,), (1359330477,), (1359330490,), (1359330491,), (1359330494,), (1359330528,), (1359330532,), (1359330536,), (1359330540,), (1359330544,), (1359330549,), (1359330599,), (1359330602,), (1359330604,), (1359330607,), (1359330792,), (1359330842,), (1359330878,), (1359330905,), (1359330933,), (1359330961,), (1359331410,), (1359331491,), (1359331568,), (1359332193,), (1359332247,), (1359332309,), (1359332359,), (1359332880,), (1359333270,), (1359333587,), (1359334448,), (1359334482,), (1359334509,), (1359334835,), (1359334841,), (1359334873,), (1359334895,), (1359334899,), (1359335128,), (1359335222,), (1359335252,), (1359335279,), (1359335306,), (1359335334,), (1359335570,), (1359335599,), (1359335608,), (1359336025,), (1359336074,), (1359336108,), (1359336150,), (1359336203,), (1359336764,), (1359336800,), (1359336833,), (1359336863,), (1359336913,), (1359336962,), (1359337548,), (1359337598,), (1359337649,), (1359337757,), (1359338264,), (1359338305,), (1359338333,), (1359338374,), (1359338402,), (1359338427,), (1359338547,), (1359338551,), (1359338555,), (1359338558,), (1359338731,), (1359338775,), (1359338809,), (1359338838,), (1359338867,), (1359339303,), (1359339353,), (1359339383,), (1359339410,), (1359339443,), (1359339482,), (1359339721,), (1359339772,), (1359339819,), (1359339848,), (1359340569,), (1359340639,), (1359340702,), (1359340760,), (1359340813,), (1359340874,), (1359342175,), (1359341718,), (1359341831,), (1359341938,), (1359342061,), (1359343085,), (1359343187,), (1359343290,), (1359343390,), (1359344055,), (1359344105,), (1359344155,), (1359344207,), (1359344263,), (1359344334,), (1359344986,), (1359345039,), (1359345113,), (1359345209,), (1359345525,), (1359345569,), (1359345579,), (1359345585,), (1359345603,), (1359345607,), (1359345725,), (1359345729,), (1359345748,), (1359345775,), (1359345805,), (1359346029,), (1359346032,), (1359346248,), (1359346251,), (1359346255,), (1359346259,), (1359346261,), (1359346283,), (1359346288,), (1359346292,), (1359346298,), (1359346303,), (1359346397,), (1359346401,), (1359346406,), (1359346412,), (1359346416,), (1359346448,), (1359346543,), (1359346571,), (1359346603,), (1359346660,), (1359346664,), (1359346669,), (1359346673,), (1359346676,), (1359346679,), (1359346698,), (1359346700,), (1359346706,), (1359346861,), (1359347085,), (1359347114,), (1359347135,), (1359347156,), (1359347160,), (1359347163,), (1359347518,), (1359347477,), (1359347481,), (1359347485,), (1359347489,), (1359347778,), (1359347793,), (1359347807,), (1359347826,), (1359347834,), (1359347871,), (1359347876,), (1359347881,), (1359347884,), (1359347887,), (1359347890,), (1359347910,), (1359347914,), (1359347917,), (1359347921,), (1359347946,), (1359347959,), (1359348001,), (1359348021,), (1359348033,), (1359348049,), (1359348073,), (1359348078,), (1359348084,), (1359348089,), (1359348181,), (1359348210,), (1359348223,), (1359348238,), (1359348239,), (1359348261,), (1359348320,), (1359348322,), (1359348325,), (1359348344,), (1359348375,), (1359348407,), (1359348458,), (1359348493,), (1359348504,), (1359348587,), (1359348598,), (1359348627,), (1359348652,), (1359348700,), (1359348716,), (1359348720,), (1359348724,), (1359348726,), (1359348728,), (1359348744,), (1359348747,), (1359361613,), (1359361609,), (1359362055,), (1359362105,), (1359362172,), (1359362228,), (1359362261,), (1359362399,), (1359362425,), (1359362467,), (1359362477,), (1359362567,), (1359362573,), (1359362579,), (1359362585,), (1359362913,), (1359362918,), (1359362923,), (1359362966,), (1359362969,), (1359362974,), (1359362979,), (1359362985,), (1359363013,), (1359363103,), (1359363107,), (1359363113,), (1359363118,), (1359363149,), (1359363153,), (1359363202,), (1359363218,), (1359363252,), (1359363725,), (1359363917,), (1359363924,), (1359364128,), (1359364136,), (1359364141,), (1359364147,), (1359364151,), (1359364190,), (1359364186,), (1359364320,), (1359364330,), (1359364352,), (1359364356,), (1359364559,), (1359364582,), (1359364585,), (1359364611,), (1359364615,), (1359364619,), (1359364623,), (1359364627,), (1359364632,), (1359364660,), (1359364665,), (1359364672,), (1359364911,), (1359364971,), (1359364972,), (1359365175,), (1359365181,), (1359365189,), (1359365289,), (1359365298,), (1359365301,), (1359365311,), (1359365473,), (1359365475,), (1359365478,), (1359365481,), (1359365484,), (1359365486,), (1359365571,), (1359365583,), (1359365589,), (1359365737,), (1359365769,), (1359365819,), (1359365861,), (1359365884,), (1359365899,), (1359365934,), (1359365939,), (1359365944,), (1359365949,), (1359365952,), (1359365973,), (1359365978,), (1359366540,), (1359367398,), (1359367073,), (1359367132,), (1359367214,), (1359367293,), (1359368099,), (1359368179,), (1359368249,), (1359368315,), (1359368412,), (1359368494,), (1359368725,), (1359368727,), (1359369124,), (1359369154,), (1359369160,), (1359369300,), (1359369303,), (1359369307,), (1359369310,), (1359369407,), (1359369435,), (1359369456,), (1359369459,), (1359369460,), (1359369584,), (1359369588,), (1359369601,), (1359369718,), (1359369720,), (1359369737,), (1359369768,), (1359369770,), (1359369908,), (1359369911,), (1359369917,), (1359369935,), (1359369956,), (1359369967,), (1359370176,), (1359370217,), (1359370283,), (1359370819,), (1359370870,), (1359370918,), (1359370941,), (1359370971,), (1359370990,), (1359371299,), (1359371352,), (1359371409,), (1359371457,), (1359371511,), (1359371759,), (1359371765,), (1359371771,), (1359371778,), (1359371781,), (1359372114,), (1359372157,), (1359372379,), (1359372383,), (1359372388,), (1359372392,), (1359382336,), (1359382319,), (1359382325,), (1359382329,), (1359382508,), (1359382521,), (1359383337,), (1359383373,), (1359383838,), (1359383873,), (1359384275,), (1359384344,), (1359384393,), (1359385061,), (1359385118,), (1359385175,), (1359385507,), (1359385511,), (1359385516,), (1359385664,), (1359385691,), (1359385948,), (1359385973,), (1359385982,), (1359385986,), (1359385990,), (1359386081,), (1359386084,), (1359386204,), (1359386208,), (1359386211,), (1359386216,), (1359386224,), (1359386255,), (1359386260,), (1359386266,), (1359386279,), (1359386287,), (1359386517,), (1359386522,), (1359386527,), (1359386563,), (1359386842,), (1359386847,), (1359386850,), (1359386964,), (1359386958,), (1359387070,), (1359387086,), (1359387091,), (1359387099,), (1359387129,), (1359387281,), (1359387287,), (1359387291,), (1359387294,), (1359387298,), (1359387302,), (1359387351,), (1359387355,), (1359387359,), (1359387473,), (1359387479,), (1359387511,), (1359387529,), (1359387537,), (1359387558,), (1359387605,), (1359387608,), (1359387613,), (1359387617,), (1359387621,), (1359387624,), (1359387741,), (1359387750,), (1359387754,), (1359387787,), (1359387799,), (1359387800,), (1359387805,), (1359387831,), (1359387837,), (1359387842,), (1359387857,), (1359387889,), (1359387893,), (1359387898,), (1359387975,), (1359388005,), (1359388040,), (1359388070,), (1359388100,), (1359388128,), (1359388494,), (1359388524,), (1359388537,), (1359388726,), (1359388760,), (1359388787,), (1359388815,), (1359388844,), (1359388955,), (1359388980,), (1359389319,), (1359389316,), (1359389439,), (1359389451,), (1359389456,), (1359389563,), (1359389593,), (1359389608,), (1359389620,), (1359389667,), (1359389671,), (1359389764,), (1359389767,), (1359389772,), (1359389776,), (1359389779,), (1359389897,), (1359389908,), (1359389913,), (1359389917,), (1359389921,), (1359389959,), (1359389964,), (1359389969,), (1359389973,), (1359390010,), (1359390018,), (1359390023,), (1359390030,), (1359390095,), (1359390310,), (1359390340,), (1359390380,), (1359390397,), (1359390411,), (1359390604,), (1359390642,), (1359390672,), (1359390702,), (1359390735,), (1359391007,), (1359391121,), (1359391154,), (1359391193,), (1359391273,), (1359391318,), (1359391382,), (1359391463,), (1359391866,), (1359391891,), (1359391938,), (1359391998,), (1359392033,), (1359392125,), (1359392130,), (1359392135,), (1359392140,), (1359392155,), (1359392513,), (1359392570,), (1359392666,), (1359392649,), (1359392653,), (1359392657,), (1359392661,), (1359392782,), (1359392786,), (1359392790,), (1359392812,), (1359393041,), (1359393050,), (1359393079,), (1359393098,), (1359393104,), (1359393197,), (1359393210,), (1359393214,), (1359393243,), (1359393255,), (1359393283,), (1359393289,), (1359393293,), (1359393299,), (1359393374,), (1359393406,), (1359393439,), (1359393471,), (1359393501,), (1359393512,), (1359393699,), (1359393729,), (1359393747,), (1359393767,), (1359393984,), (1359393988,), (1359394059,), (1359394065,), (1359394077,), (1359394083,), (1359394403,), (1359394407,), (1359394425,), (1359394439,), (1359394445,), (1359394691,), (1359394695,), (1359394729,), (1359394746,), (1359394781,), (1359394813,), (1359394854,), (1359394857,), (1359394953,), (1359394991,), (1359394996,), (1359395109,), (1359395120,), (1359395129,), (1359395136,), (1359395143,), (1359395228,), (1359395233,), (1359395259,), (1359395260,), (1359395290,), (1359395292,), (1359395605,), (1359395481,), (1359395550,), (1359396339,), (1359396410,), (1359396485,), (1359396594,), (1359397432,), (1359397513,), (1359397570,), (1359398363,), (1359398370,), (1359398379,), (1359398408,), (1359398439,), (1359399090,), (1359399096,), (1359399113,), (1359399175,), (1359399221,), (1359399643,), (1359399650,), (1359399667,), (1359399939,), (1359399987,), (1359400039,), (1359400064,), (1359400219,), (1359400244,), (1359400371,), (1359400375,), (1359400378,), (1359400420,), (1359400424,), (1359400427,), (1359400840,), (1359400867,), (1359400897,), (1359401033,), (1359401035,), (1359401037,), (1359401538,), (1359401541,), (1359401545,), (1359401563,), (1359401614,), (1359401620,), (1359401899,), (1359401981,), (1359402067,), (1359402149,), (1359402195,), (1359402228,), (1359402578,), (1359402608,), (1359402621,), (1359402893,), (1359402845,), (1359402877,), (1359402887,), (1359403235,), (1359403332,), (1359403425,), (1359403453,), (1359403635,), (1359403651,), (1359403668,), (1359403699,), (1359403962,), (1359404020,), (1359404076,), (1359404350,), (1359404380,), (1359404413,), (1359404449,), (1359404506,), (1359404570,), (1359404998,), (1359405029,), (1359405069,), (1359405120,), (1359405151,), (1359405240,), (1359405244,), (1359405250,), (1359405292,), (1359405297,), (1359405303,), (1359405307,), (1359405765,), (1359405795,), (1359405828,), (1359405883,), (1359405925,), (1359405933,), (1359406086,), (1359406118,), (1359406148,), (1359406178,), (1359406391,), (1359406397,), (1359406403,), (1359406413,), (1359406446,), (1359406477,), (1359406841,), (1359406915,), (1359406920,), (1359406960,), (1359406990,), (1359407121,), (1359407128,), (1359407131,), (1359407137,), (1359407189,), (1359407251,), (1359407378,), (1359407386,), (1359407701,), (1359407578,), (1359407619,), (1359407647,), (1359407659,), (1359408148,), (1359408182,), (1359408217,), (1359408247,), (1359408835,), (1359408892,), (1359408955,), (1359409523,), (1359409553,), (1359409581,), (1359409608,), (1359409635,), (1359409660,), (1359409780,), (1359409805,), (1359409841,), (1359410412,), (1359410436,), (1359410439,), (1359410446,), (1359410474,), (1359410709,), (1359410712,), (1359410715,), (1359410746,), (1359410749,), (1359410770,), (1359410795,), (1359410831,), (1359410858,), (1359411461,), (1359411516,), (1359411693,), (1359411732,), (1359411855,), (1359411860,), (1359411872,), (1359411877,), (1359412218,), (1359412352,), (1359413157,), (1359413237,), (1359413341,), (1359413418,), (1359413482,), (1359414135,), (1359414176,), (1359414228,), (1359414262,), (1359414287,), (1359414294,), (1359414392,), (1359414394,), (1359414400,), (1359415050,), (1359417530,), (1359417661,), (1359417687,), (1359417691,), (1359417694,), (1359417698,), (1359417932,), (1359417963,), (1359417999,), (1359418051,), (1359418103,), (1359418321,), (1359418335,), (1359418356,), (1359418361,), (1359418365,), (1359418814,), (1359418819,), (1359418826,), (1359418912,), (1359418917,), (1359418923,), (1359418927,), (1359418932,), (1359418966,), (1359418971,), (1359418977,), (1359418986,), (1359418990,), (1359418993,), (1359419023,), (1359419027,), (1359419030,), (1359419081,), (1359419090,), (1359419100,), (1359419123,), (1359419157,), (1359419188,), (1359419762,), (1359419795,), (1359419841,), (1359419902,), (1359420020,), (1359420057,), (1359420086,), (1359420616,), (1359420381,), (1359420436,), (1359420494,), (1359420558,), (1359421179,), (1359421224,), (1359421261,), (1359421288,), (1359421602,), (1359421631,), (1359421662,), (1359421674,), (1359421926,), (1359421933,), (1359421957,), (1359421987,), (1359422015,), (1359422024,), (1359422126,), (1359422130,), (1359422136,), (1359422140,), (1359422146,), (1359422167,), (1359422169,), (1359422172,), (1359422175,), (1359422564,), (1359422592,), (1359422625,), (1359422655,), (1359423036,), (1359423065,), (1359423086,), (1359423090,), (1359423094,), (1359423281,), (1359423285,), (1359423296,), (1359423339,), (1359423393,), (1359423426,), (1359423958,), (1359424012,), (1359424069,), (1359424554,), (1359424581,), (1359424626,), (1359424641,), (1359424650,), (1359424664,), (1359424743,), (1359424782,), (1359424815,), (1359424847,), (1359424899,), (1359424952,), (1359425449,), (1359425503,), (1359425543,), (1359425786,), (1359425839,), (1359426380,), (1359426407,), (1359426427,), (1359426431,), (1359426432,), (1359426438,), (1359426838,), (1359426719,), (1359426744,), (1359426781,), (1359426810,), (1359427171,), (1359427217,), (1359427252,), (1359427476,), (1359427487,), (1359427491,), (1359427497,), (1359427709,), (1359427757,), (1359427802,), (1359427839,), (1359427856,), (1359428145,), (1359428172,), (1359428201,), (1359428241,), (1359428425,), (1359428429,), (1359428434,), (1359428439,), (1359428641,), (1359428732,), (1359428815,), (1359428816,), (1359428831,), (1359428862,), (1359428897,), (1359428898,), (1359428900,), (1359429550,), (1359429626,), (1359429704,), (1359429777,), (1359429826,), (1359429875,), (1359430208,), (1359430232,), (1359430236,), (1359430271,), (1359430275,), (1359430281,), (1359430530,), (1359430580,), (1359430616,), (1359430642,), (1359430669,), (1359430970,), (1359430973,), (1359430993,), (1359431023,), (1359431190,), (1359431193,), (1359431198,), (1359431202,), (1359431205,), (1359431237,), (1359431242,), (1359431248,), (1359431368,), (1359431378,), (1359431382,), (1359431385,), (1359431388,), (1359442724,), (1359442654,), (1359442688,), (1359443126,), (1359444218,), (1359444249,), (1359444278,), (1359444310,), (1359444503,), (1359445080,), (1359445131,), (1359445903,), (1359445960,), (1359446021,), (1359446083,), (1359446954,), (1359447026,), (1359447086,), (1359447153,), (1359447564,), (1359447593,), (1359447629,), (1359447661,), (1359447689,), (1359448031,), (1359448196,), (1359449722,), (1359449790,), (1359449848,), (1359449906,), (1359450332,), (1359450359,), (1359450454,), (1359451301,), (1359451354,), (1359452148,), (1359452200,), (1359452229,), (1359452250,), (1359452503,), (1359452476,), (1359452704,), (1359452790,), (1359452817,), (1359452848,), (1359452875,), (1359452903,), (1359453133,), (1359453167,), (1359453412,), (1359453451,), (1359453473,), (1359453497,), (1359453507,), (1359453767,), (1359453795,), (1359453821,), (1359453844,), (1359453884,), (1359453911,), (1359454157,), (1359454184,), (1359454209,), (1359454241,), (1359454697,), (1359454728,), (1359454771,), (1359454825,), (1359455503,), (1359455582,), (1359455654,), (1359455712,), (1359455767,), (1359455820,), (1359456343,), (1359456400,), (1359456458,), (1359456508,), (1359457331,), (1359457379,), (1359457417,), (1359457487,), (1359457519,), (1359457570,), (1359457898,), (1359457961,), (1359457970,), (1359457990,), (1359458027,), (1359458050,), (1359458056,), (1359458061,), (1359458064,), (1359458163,), (1359458166,), (1359458170,), (1359458173,), (1359458176,), (1359458200,), (1359458204,), (1359458207,), (1359458210,), (1359458625,), (1359458708,), (1359458764,), (1359458823,), (1359458874,), (1359458954,), (1359459646,), (1359459558,), (1359459587,), (1359459617,), (1359459921,), (1359459974,), (1359460031,), (1359460095,), (1359460151,), (1359460206,), (1359460811,), (1359460850,), (1359460899,), (1359461425,), (1359461478,), (1359461557,), (1359461623,), (1359461662,), (1359462020,), (1359462049,), (1359462079,), (1359462106,), (1359462107,), (1359462387,), (1359462445,), (1359462481,), (1359462521,), (1359462567,), (1359462620,), (1359463137,), (1359463207,), (1359463248,), (1359463617,), (1359463621,), (1359463625,), (1359463633,), (1359463661,), (1359463688,), (1359463857,), (1359463876,), (1359463884,), (1359463886,), (1359463888,), (1359463993,), (1359463999,), (1359464004,), (1359464074,), (1359464078,), (1359464083,), (1359464087,), (1359464090,), (1359464092,), (1359464175,), (1359465220,), (1359465248,), (1359465376,), (1359465408,), (1359465436,), (1359465550,), (1359465553,), (1359465556,), (1359465558,), (1359465560,), (1359465882,), (1359465768,), (1359465829,), (1359466976,), (1359467071,), (1359467145,), (1359467234,), (1359468086,), (1359468164,), (1359468242,), (1359468328,), (1359468408,), (1359469121,), (1359469178,), (1359469206,), (1359469243,), (1359469867,), (1359469997,), (1359470125,), (1359470228,), (1359471260,), (1359471314,), (1359471366,), (1359471946,), (1359472001,), (1359472037,), (1359472064,), (1359472125,), (1359472544,), (1359472590,), (1359472616,), (1359472624,), (1359472656,), (1359472868,), (1359472871,), (1359472875,), (1359472884,), (1359473195,), (1359473222,), (1359473251,), (1359473277,), (1359473302,), (1359473613,), (1359473642,), (1359473653,), (1359473656,), (1359473657,), (1359473660,), (1359473988,), (1359474033,), (1359474071,), (1359474105,), (1359474159,), (1359474530,), (1359474558,), (1359475846,), (1359475946,), (1359476034,), (1359476132,), (1359476217,), (1359477000,), (1359477676,), (1359477699,), (1359477947,), (1359482665,), (1359482771,), (1359482873,), (1359483014,), (1359483828,), (1359483856,), (1359484406,), (1359484436,), (1359484446,), (1359484540,), (1359484567,), (1359484595,), (1359484955,), (1359484961,), (1359485001,), (1359485021,), (1359485043,), (1359485362,), (1359485381,), (1359485399,), (1359485403,), (1359485880,), (1359485908,), (1359485935,), (1359485960,), (1359486434,), (1359486462,), (1359486504,), (1359486556,), (1359487078,), (1359486964,), (1359486992,), (1359487024,), (1359487055,), (1359487107,), (1359487112,), (1359487116,), (1359487120,), (1359487556,), (1359487611,), (1359487660,), (1359487724,), (1359487774,), (1359488303,), (1359488356,), (1359488429,), (1359488490,), (1359488510,), (1359488842,), (1359488860,), (1359489283,), (1359489302,), (1359489306,), (1359489310,), (1359489604,), (1359489631,), (1359489649,), (1359489651,), (1359490005,), (1359490007,), (1359490048,), (1359490088,), (1359490116,), (1359490156,), (1359490249,), (1359490251,), (1359490255,), (1359490279,), (1359490307,), (1359490311,), (1359490315,), (1359490323,), (1359490352,), (1359490380,), (1359490525,), (1359490529,), (1359490534,), (1359490537,), (1359490541,), (1359490544,), (1359490555,), (1359490558,), (1359490562,), (1359491111,), (1359491164,), (1359491215,), (1359491272,), (1359491346,), (1359491419,), (1359492020,), (1359492152,), (1359492292,), (1359492431,), (1359492543,), (1359492570,), (1359492878,), (1359493033,), (1359493115,), (1359493718,), (1359493677,), (1359493698,), (1359493874,), (1359493877,), (1359493881,), (1359493885,), (1359493888,), (1359493996,), (1359494023,), (1359494050,), (1359494080,), (1359494109,), (1359494135,), (1359494285,), (1359494288,), (1359494763,), (1359494817,), (1359494906,), (1359494985,), (1359495042,), (1359495692,), (1359495795,), (1359495898,), (1359495985,), (1359496846,), (1359496932,), (1359497019,), (1359497121,), (1359497226,), (1359497727,), (1359497732,), (1359497752,), (1359497795,), (1359497901,), (1359498333,), (1359498339,), (1359498343,), (1359498347,), (1359498351,), (1359498354,), (1359498592,), (1359498597,), (1359498602,), (1359498627,), (1359498932,), (1359498966,), (1359498995,), (1359499022,), (1359499053,), (1359499080,), (1359499181,), (1359499207,), (1359499262,), (1359499301,), (1359499328,), (1359499354,), (1359499689,), (1359499739,), (1359499796,), (1359499883,), (1359499976,), (1359500290,), (1359500338,), (1359500361,), (1359500535,), (1359500541,), (1359500571,), (1359500599,), (1359500728,), (1359500707,), (1359500713,), (1359500719,), (1359500724,), (1359500759,), (1359500762,), (1359500768,), (1359500771,), (1359501249,), (1359501289,), (1359501398,), (1359501447,), (1359501503,), (1359501909,), (1359501941,), (1359501969,), (1359502013,), (1359502060,), (1359502091,), (1359502725,), (1359502795,), (1359502868,), (1359503431,), (1359503499,), (1359503560,), (1359503610,), (1359503681,), (1359504189,), (1359504259,), (1359504316,), (1359504412,), (1359505077,), (1359505097,), (1359505142,), (1359505195,), (1359505250,), (1359505280,), (1359505706,), (1359505742,), (1359505778,), (1359506236,), (1359506240,), (1359506243,), (1359506249,), (1359506267,), (1359506309,), (1359506432,), (1359506459,), (1359506479,), (1359506483,), (1359506609,), (1359506650,), (1359506661,), (1359506680,), (1359507019,), (1359507048,), (1359507083,), (1359507117,), (1359507147,), (1359507186,), (1359507597,), (1359507630,), (1359507662,), (1359507784,), (1359507816,), (1359507845,), (1359507873,), (1359507930,), (1359508567,), (1359508482,), (1359508487,), (1359508499,), (1359508531,), (1359509051,), (1359509141,), (1359509201,), (1359509261,), (1359509932,), (1359509967,), (1359510012,), (1359510068,), (1359510333,), (1359510338,), (1359510362,), (1359510376,), (1359510390,), (1359510413,), (1359510441,), (1359510446,), (1359510453,), (1359510459,), (1359510487,), (1359510492,), (1359510499,), (1359510508,), (1359510514,), (1359510554,), (1359510560,), (1359510564,), (1359510593,), (1359510621,), (1359511124,), (1359511183,), (1359511251,), (1359511960,), (1359511999,), (1359512031,), (1359512061,), (1359512082,), (1359512114,), (1359512251,), (1359512269,), (1359512298,), (1359512328,), (1359512356,), (1359512369,), (1359512402,), (1359512406,), (1359512410,), (1359512415,), (1359512444,), (1359512448,), (1359512678,), (1359512705,), (1359512916,), (1359513206,), (1359513226,), (1359513232,), (1359513236,), (1359513281,), (1359513263,), (1359513266,), (1359513270,), (1359513274,), (1359513276,), (1359513396,), (1359513408,), (1359513440,), (1359513464,), (1359513667,), (1359513698,), (1359513710,), (1359513715,), (1359513761,), (1359513821,), (1359513830,), (1359513839,), (1359513843,), (1359513846,), (1359513868,), (1359513873,), (1359513878,), (1359513882,), (1359513885,), (1359513915,), (1359514542,), (1359514759,), (1359514820,), (1359515136,), (1359515142,), (1359515147,), (1359515152,), (1359515157,), (1359515222,), (1359517408,), (1359518931,), (1359518914,), (1359521084,), (1359522272,), (1359522283,), (1359522309,), (1359522583,), (1359522612,), (1359522642,), (1359522650,), (1359522656,), (1359522689,), (1359522927,), (1359522955,), (1359522993,), (1359523020,), (1359523048,), (1359523135,), (1359523165,), (1359523195,), (1359524010,), (1359532034,), (1359532031,), (1359532390,), (1359534867,), (1359536851,), (1359537768,), (1359538186,), (1359538230,), (1359539164,), (1359539794,), (1359539827,), (1359540454,), (1359540450,), (1359540452,), (1359540534,), (1359540782,), (1359540789,), (1359540792,), (1359540843,), (1359540846,), (1359540850,), (1359540884,), (1359540886,), (1359540976,), (1359541004,), (1359541546,), (1359541571,), (1359541604,), (1359541950,), (1359542000,), (1359542914,), (1359542957,), (1359543921,), (1359546013,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'19052025': {'nb_upload': 36, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([23136821]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1359518931, 1359517408, 1359515222, 1359515157, 1359515152, 1359515147, 1359515142, 1359515136, 1359514820, 1359514759, 1359514542, 1359513915, 1359513885, 1359513882, 1359513878, 1359513873, 1359513868, 1359513846, 1359513843, 1359513839, 1359513830, 1359513821, 1359513761, 1359513715, 1359513710, 1359513698, 1359513667, 1359513464, 1359513440, 1359513408, 1359513396, 1359513276, 1359513274, 1359513270, 1359513266, 1359513263] map_info['map_portfolio_photo'] : {23136821: [1359518931, 1359517408, 1359515222, 1359515157, 1359515152, 1359515147, 1359515142, 1359515136, 1359514820, 1359514759, 1359514542, 1359513915, 1359513885, 1359513882, 1359513878, 1359513873, 1359513868, 1359513846, 1359513843, 1359513839, 1359513830, 1359513821, 1359513761, 1359513715, 1359513710, 1359513698, 1359513667, 1359513464, 1359513440, 1359513408, 1359513396, 1359513276, 1359513274, 1359513270, 1359513266, 1359513263]} final : True mtd_id 4302 list_pids : [1359518931, 1359517408, 1359515222, 1359515157, 1359515152, 1359515147, 1359515142, 1359515136, 1359514820, 1359514759, 1359514542, 1359513915, 1359513885, 1359513882, 1359513878, 1359513873, 1359513868, 1359513846, 1359513843, 1359513839, 1359513830, 1359513821, 1359513761, 1359513715, 1359513710, 1359513698, 1359513667, 1359513464, 1359513440, 1359513408, 1359513396, 1359513276, 1359513274, 1359513270, 1359513266, 1359513263] Looping around the photos to save general results len do output : 1 /23136821Didn'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, '2900952') ('4302', '23136821', '1359518931', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359517408', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359515222', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359515157', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359515152', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359515147', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359515142', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359515136', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359514820', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359514759', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359514542', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359513915', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359513885', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359513882', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359513878', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359513873', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359513868', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359513846', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359513843', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359513839', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359513830', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359513821', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359513761', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359513715', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359513710', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359513698', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359513667', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359513464', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359513440', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359513408', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359513396', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359513276', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359513274', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359513270', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359513266', None, None, None, None, None, '2900952') ('4302', None, None, None, None, None, None, None, '2900952') ('4302', '23136821', '1359513263', None, None, None, None, None, '2900952') 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', None, '23136821', 'None', None, None, None, None, '2900952'), ('4302', '23136821', '1359518931', None, None, None, None, None, '2900952'), ('4302', '23136821', '1359517408', None, None, None, None, None, '2900952'), ('4302', '23136821', '1359515222', None, None, None, None, None, '2900952'), ('4302', '23136821', '1359515157', None, None, None, None, None, '2900952'), ('4302', '23136821', '1359515152', None, None, None, None, None, '2900952'), ('4302', '23136821', '1359515147', None, None, None, None, None, '2900952'), ('4302', '23136821', '1359515142', None, None, None, None, None, '2900952'), ('4302', '23136821', '1359515136', None, None, None, None, None, '2900952'), ('4302', '23136821', '1359514820', None, None, None, None, None, '2900952'), ('4302', '23136821', '1359514759', None, None, None, None, None, '2900952'), ('4302', '23136821', '1359514542', None, None, None, None, None, '2900952'), ('4302', '23136821', '1359513915', None, None, None, None, None, '2900952'), ('4302', '23136821', '1359513885', None, None, None, None, None, '2900952'), ('4302', '23136821', '1359513882', None, None, None, None, None, '2900952'), ('4302', '23136821', '1359513878', None, None, None, None, None, '2900952'), ('4302', '23136821', '1359513873', None, None, None, None, None, '2900952'), ('4302', '23136821', '1359513868', None, None, None, None, None, '2900952'), ('4302', '23136821', '1359513846', None, None, None, None, None, '2900952'), ('4302', '23136821', '1359513843', None, None, None, None, None, '2900952'), ('4302', '23136821', '1359513839', None, None, None, None, None, '2900952'), ('4302', '23136821', '1359513830', None, None, None, None, None, '2900952'), ('4302', '23136821', '1359513821', None, None, None, None, None, '2900952'), ('4302', '23136821', '1359513761', None, None, None, None, None, '2900952'), ('4302', '23136821', '1359513715', None, None, None, None, None, '2900952'), ('4302', '23136821', '1359513710', None, None, None, None, None, '2900952'), ('4302', '23136821', '1359513698', None, None, None, None, None, '2900952'), ('4302', '23136821', '1359513667', None, None, None, None, None, '2900952'), ('4302', '23136821', '1359513464', None, None, None, None, None, '2900952'), ('4302', '23136821', '1359513440', None, None, None, None, None, '2900952'), ('4302', '23136821', '1359513408', None, None, None, None, None, '2900952'), ('4302', '23136821', '1359513396', None, None, None, None, None, '2900952'), ('4302', '23136821', '1359513276', None, None, None, None, None, '2900952'), ('4302', '23136821', '1359513274', None, None, None, None, None, '2900952'), ('4302', '23136821', '1359513270', None, None, None, None, None, '2900952'), ('4302', '23136821', '1359513266', None, None, None, None, None, '2900952'), ('4302', '23136821', '1359513263', None, None, None, None, None, '2900952')] time used for this insertion : 0.02475714683532715 save_final save missing photos in datou_result : time spend for datou_step_exec : 19.215844869613647 time spend to save output : 0.025003910064697266 total time spend for step 5 : 19.240848779678345 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 (2900952) 3.14user 2.26system 0:31.92elapsed 16%CPU (0avgtext+0avgdata 161328maxresident)k 600inputs+26768outputs (16major+86900minor)pagefaults 0swaps