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 : 3933456 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 (2731218) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2731218) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22087245 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2731218'] with mtr_portfolio_ids : ['22087245'] and first list_photo_ids : [] new path : /proc/3933456/ Name: python3 Umask: 0002 State: R (running) Tgid: 3933456 Ngid: 0 Pid: 3933456 PPid: 3933455 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 3933456 NSpid: 3933456 NSpgid: 3932460 NSsid: 3932460 VmPeak: 1106932 kB VmSize: 1106932 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 98976 kB VmRSS: 98976 kB RssAnon: 59756 kB RssFile: 39220 kB RssShmem: 0 kB VmData: 865680 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: 0/63054 SigPnd: 0000000000000000 ShdPnd: 0000000000000000 SigBlk: 0000000000000000 SigIgn: 0000000001001000 SigCgt: 0000000180000002 CapInh: 0000000000000000 CapPrm: 0000000000000000 CapEff: 0000000000000000 CapBnd: 000001ffffffffff CapAmb: 0000000000000000 NoNewPrivs: 0 Seccomp: 0 Seccomp_filters: 0 Speculation_Store_Bypass: thread vulnerable SpeculationIndirectBranch: conditional enabled Cpus_allowed: ffffffff,ffffffff,ffffffff,ffffffff Cpus_allowed_list: 0-127 Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001 Mems_allowed_list: 0 voluntary_ctxt_switches: 47 nonvoluntary_ctxt_switches: 137 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '3933456', 'Ngid': '0', 'Pid': '3933456', 'PPid': '3933455', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '3933456', 'NSpid': '3933456', 'NSpgid': '3932460', 'NSsid': '3932460', 'VmPeak': '1106932 kB', 'VmSize': '1106932 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '98976 kB', 'VmRSS': '98976 kB', 'RssAnon': '59756 kB', 'RssFile': '39220 kB', 'RssShmem': '0 kB', 'VmData': '865680 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': '0/63054', 'SigPnd': '0000000000000000', 'ShdPnd': '0000000000000000', 'SigBlk': '0000000000000000', 'SigIgn': '0000000001001000', 'SigCgt': '0000000180000002', 'CapInh': '0000000000000000', 'CapPrm': '0000000000000000', 'CapEff': '0000000000000000', 'CapBnd': '000001ffffffffff', 'CapAmb': '0000000000000000', 'NoNewPrivs': '0', 'Seccomp': '0', 'Seccomp_filters': '0', 'Speculation_Store_Bypass': 'thread vulnerable', 'SpeculationIndirectBranch': 'conditional enabled', 'Cpus_allowed': 'ffffffff,ffffffff,ffffffff,ffffffff', 'Cpus_allowed_list': '0-127', 'Mems_allowed': '00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001', 'Mems_allowed_list': '0', 'voluntary_ctxt_switches': '47', 'nonvoluntary_ctxt_switches': '137'} ('datou_batch_current', '3933456', '1106932', '0', '1106932', '865680', '98976', b'', 'marlene', '2731218') 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 (22087245) 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 (2731218 ) ) 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 (22087245) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1350235814, 'portfolio_id': 22087245}, {'photo_id': 1350235754, 'portfolio_id': 22087245}, {'photo_id': 1350235579, 'portfolio_id': 22087245}, {'photo_id': 1350235324, 'portfolio_id': 22087245}, {'photo_id': 1350235276, 'portfolio_id': 22087245}, {'photo_id': 1350235079, 'portfolio_id': 22087245}, {'photo_id': 1350234918, 'portfolio_id': 22087245}, {'photo_id': 1350234915, 'portfolio_id': 22087245}, {'photo_id': 1350234862, 'portfolio_id': 22087245}, {'photo_id': 1350234861, 'portfolio_id': 22087245}, {'photo_id': 1350234828, 'portfolio_id': 22087245}, {'photo_id': 1350234825, 'portfolio_id': 22087245}, {'photo_id': 1350234821, 'portfolio_id': 22087245}, {'photo_id': 1350234791, 'portfolio_id': 22087245}, {'photo_id': 1350234780, 'portfolio_id': 22087245}, {'photo_id': 1350234769, 'portfolio_id': 22087245}, {'photo_id': 1350234758, 'portfolio_id': 22087245}, {'photo_id': 1350234754, 'portfolio_id': 22087245}, {'photo_id': 1350234752, 'portfolio_id': 22087245}, {'photo_id': 1350234749, 'portfolio_id': 22087245}, {'photo_id': 1350234748, 'portfolio_id': 22087245}, {'photo_id': 1350234747, 'portfolio_id': 22087245}, {'photo_id': 1350234730, 'portfolio_id': 22087245}, {'photo_id': 1350234728, 'portfolio_id': 22087245}, {'photo_id': 1350234726, 'portfolio_id': 22087245}, {'photo_id': 1350234724, 'portfolio_id': 22087245}, {'photo_id': 1350234622, 'portfolio_id': 22087245}, {'photo_id': 1350234620, 'portfolio_id': 22087245}, {'photo_id': 1350234617, 'portfolio_id': 22087245}, {'photo_id': 1350234614, 'portfolio_id': 22087245}, {'photo_id': 1350234577, 'portfolio_id': 22087245}, {'photo_id': 1350234574, 'portfolio_id': 22087245}, {'photo_id': 1350234570, 'portfolio_id': 22087245}, {'photo_id': 1350234507, 'portfolio_id': 22087245}] map_portfolio_id_photo_id: {22087245: [1350235814, 1350235754, 1350235579, 1350235324, 1350235276, 1350235079, 1350234918, 1350234915, 1350234862, 1350234861, 1350234828, 1350234825, 1350234821, 1350234791, 1350234780, 1350234769, 1350234758, 1350234754, 1350234752, 1350234749, 1350234748, 1350234747, 1350234730, 1350234728, 1350234726, 1350234724, 1350234622, 1350234620, 1350234617, 1350234614, 1350234577, 1350234574, 1350234570, 1350234507]} ##### 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 : 1.1499626636505127 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Tue Apr 8 05:34:29 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 (22087245) 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 : 22087245 get user id for portfolio 22087245 get sub ptf for main ptf 22087245, type 3726 and hashtags ['Carton_gris', 'Teint_Dans_La_Masse', 'kraft', 'papier', 'Carton_brun', 'flou', 'plastique', 'mal_croppe', 'environnement', 'metal', 'cartonnette', 'autre_refus'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22087245 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','Teint_Dans_La_Masse','kraft','papier','Carton_brun','flou','plastique','mal_croppe','environnement','metal','cartonnette','autre_refus')) 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`=22087245 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','Teint_Dans_La_Masse','kraft','papier','Carton_brun','flou','plastique','mal_croppe','environnement','metal','cartonnette','autre_refus')) AND mptpi.`min_score`=0.5 To do returned map {'cartonnette': {'main_port_id': 22087245, 'sub_port_id': 22087246, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14571771, 'last_updated_at': datetime.datetime(2025, 4, 7, 5, 49), 'last_updated_at_desc': datetime.datetime(2025, 4, 7, 5, 49), 'last_updated_at_asc': datetime.datetime(2025, 4, 7, 5, 36, 57)}, 'environnement': {'main_port_id': 22087245, 'sub_port_id': 22087247, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14571772, 'last_updated_at': datetime.datetime(2025, 4, 7, 5, 49), 'last_updated_at_desc': datetime.datetime(2025, 4, 7, 5, 49), 'last_updated_at_asc': datetime.datetime(2025, 4, 7, 5, 36, 57)}, 'flou': {'main_port_id': 22087245, 'sub_port_id': 22087248, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14571773, 'last_updated_at': datetime.datetime(2025, 4, 7, 5, 49), 'last_updated_at_desc': datetime.datetime(2025, 4, 7, 5, 49), 'last_updated_at_asc': datetime.datetime(2025, 4, 7, 5, 36, 57)}, 'kraft': {'main_port_id': 22087245, 'sub_port_id': 22087249, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14571774, 'last_updated_at': datetime.datetime(2025, 4, 7, 5, 49), 'last_updated_at_desc': datetime.datetime(2025, 4, 7, 5, 49), 'last_updated_at_asc': datetime.datetime(2025, 4, 7, 5, 36, 57)}, 'autre_refus': {'main_port_id': 22087245, 'sub_port_id': 22087250, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14571775, 'last_updated_at': datetime.datetime(2025, 4, 7, 5, 49), 'last_updated_at_desc': datetime.datetime(2025, 4, 7, 5, 49), 'last_updated_at_asc': datetime.datetime(2025, 4, 7, 5, 36, 57)}, 'mal_croppe': {'main_port_id': 22087245, 'sub_port_id': 22087251, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14571776, 'last_updated_at': datetime.datetime(2025, 4, 7, 5, 49), 'last_updated_at_desc': datetime.datetime(2025, 4, 7, 5, 49), 'last_updated_at_asc': datetime.datetime(2025, 4, 7, 5, 36, 57)}, 'Teint_Dans_La_Masse': {'main_port_id': 22087245, 'sub_port_id': 22087252, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14571777, 'last_updated_at': datetime.datetime(2025, 4, 7, 5, 49), 'last_updated_at_desc': datetime.datetime(2025, 4, 7, 5, 49), 'last_updated_at_asc': datetime.datetime(2025, 4, 7, 5, 36, 57)}, 'Carton_brun': {'main_port_id': 22087245, 'sub_port_id': 22087253, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14571778, 'last_updated_at': datetime.datetime(2025, 4, 7, 5, 49), 'last_updated_at_desc': datetime.datetime(2025, 4, 7, 5, 49), 'last_updated_at_asc': datetime.datetime(2025, 4, 7, 5, 36, 57)}, 'papier': {'main_port_id': 22087245, 'sub_port_id': 22087254, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14571779, 'last_updated_at': datetime.datetime(2025, 4, 7, 5, 49), 'last_updated_at_desc': datetime.datetime(2025, 4, 7, 5, 49), 'last_updated_at_asc': datetime.datetime(2025, 4, 7, 5, 36, 57)}, 'plastique': {'main_port_id': 22087245, 'sub_port_id': 22087255, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14571780, 'last_updated_at': datetime.datetime(2025, 4, 7, 5, 49), 'last_updated_at_desc': datetime.datetime(2025, 4, 7, 5, 49), 'last_updated_at_asc': datetime.datetime(2025, 4, 7, 5, 36, 57)}, 'Carton_gris': {'main_port_id': 22087245, 'sub_port_id': 22087256, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14571781, 'last_updated_at': datetime.datetime(2025, 4, 7, 5, 49), 'last_updated_at_desc': datetime.datetime(2025, 4, 7, 5, 49), 'last_updated_at_asc': datetime.datetime(2025, 4, 7, 5, 36, 57)}, 'metal': {'main_port_id': 22087245, 'sub_port_id': 22087257, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14571782, 'last_updated_at': datetime.datetime(2025, 4, 7, 5, 49), 'last_updated_at_desc': datetime.datetime(2025, 4, 7, 5, 49), 'last_updated_at_asc': datetime.datetime(2025, 4, 7, 5, 36, 57)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22087246 , 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=22087245 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 (22087246) result : ((1350234788,), (1350234789,), (1350235468,), (1350235624,), (1350235625,), (1350238264,), (1350238265,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22087245) result : ((1350234507,), (1350234570,), (1350234574,), (1350234577,), (1350234614,), (1350234617,), (1350234620,), (1350234622,), (1350234724,), (1350234726,), (1350234728,), (1350234730,), (1350234747,), (1350234748,), (1350234749,), (1350234752,), (1350234754,), (1350234758,), (1350234769,), (1350234780,), (1350234791,), (1350234821,), (1350234825,), (1350234828,), (1350234861,), (1350234862,), (1350234915,), (1350234918,), (1350235079,), (1350235276,), (1350235324,), (1350235579,), (1350235754,), (1350235814,)) 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 22087247 , 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=22087245 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 (22087247) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22087245) result : ((1350234507,), (1350234570,), (1350234574,), (1350234577,), (1350234614,), (1350234617,), (1350234620,), (1350234622,), (1350234724,), (1350234726,), (1350234728,), (1350234730,), (1350234747,), (1350234748,), (1350234749,), (1350234752,), (1350234754,), (1350234758,), (1350234769,), (1350234780,), (1350234791,), (1350234821,), (1350234825,), (1350234828,), (1350234861,), (1350234862,), (1350234915,), (1350234918,), (1350235079,), (1350235276,), (1350235324,), (1350235579,), (1350235754,), (1350235814,)) 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 22087248 , 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=22087245 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 (22087248) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22087245) result : ((1350234507,), (1350234570,), (1350234574,), (1350234577,), (1350234614,), (1350234617,), (1350234620,), (1350234622,), (1350234724,), (1350234726,), (1350234728,), (1350234730,), (1350234747,), (1350234748,), (1350234749,), (1350234752,), (1350234754,), (1350234758,), (1350234769,), (1350234780,), (1350234791,), (1350234821,), (1350234825,), (1350234828,), (1350234861,), (1350234862,), (1350234915,), (1350234918,), (1350235079,), (1350235276,), (1350235324,), (1350235579,), (1350235754,), (1350235814,)) 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 22087249 , 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=22087245 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 (22087249) result : ((1350234792,), (1350238276,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22087245) result : ((1350234507,), (1350234570,), (1350234574,), (1350234577,), (1350234614,), (1350234617,), (1350234620,), (1350234622,), (1350234724,), (1350234726,), (1350234728,), (1350234730,), (1350234747,), (1350234748,), (1350234749,), (1350234752,), (1350234754,), (1350234758,), (1350234769,), (1350234780,), (1350234791,), (1350234821,), (1350234825,), (1350234828,), (1350234861,), (1350234862,), (1350234915,), (1350234918,), (1350235079,), (1350235276,), (1350235324,), (1350235579,), (1350235754,), (1350235814,)) 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 22087250 , 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=22087245 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 (22087250) result : ((1350234642,), (1350234844,), (1350234845,), (1350234878,), (1350234882,), (1350234883,), (1350234884,), (1350234885,), (1350235368,), (1350235369,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22087245) result : ((1350234507,), (1350234570,), (1350234574,), (1350234577,), (1350234614,), (1350234617,), (1350234620,), (1350234622,), (1350234724,), (1350234726,), (1350234728,), (1350234730,), (1350234747,), (1350234748,), (1350234749,), (1350234752,), (1350234754,), (1350234758,), (1350234769,), (1350234780,), (1350234791,), (1350234821,), (1350234825,), (1350234828,), (1350234861,), (1350234862,), (1350234915,), (1350234918,), (1350235079,), (1350235276,), (1350235324,), (1350235579,), (1350235754,), (1350235814,)) 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 22087251 , 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=22087245 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 (22087251) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22087245) result : ((1350234507,), (1350234570,), (1350234574,), (1350234577,), (1350234614,), (1350234617,), (1350234620,), (1350234622,), (1350234724,), (1350234726,), (1350234728,), (1350234730,), (1350234747,), (1350234748,), (1350234749,), (1350234752,), (1350234754,), (1350234758,), (1350234769,), (1350234780,), (1350234791,), (1350234821,), (1350234825,), (1350234828,), (1350234861,), (1350234862,), (1350234915,), (1350234918,), (1350235079,), (1350235276,), (1350235324,), (1350235579,), (1350235754,), (1350235814,)) 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 22087252 , 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=22087245 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 (22087252) result : ((1350234631,), (1350234632,), (1350234633,), (1350234641,), (1350234781,), (1350234842,), (1350234875,), (1350234876,), (1350238261,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22087245) result : ((1350234507,), (1350234570,), (1350234574,), (1350234577,), (1350234614,), (1350234617,), (1350234620,), (1350234622,), (1350234724,), (1350234726,), (1350234728,), (1350234730,), (1350234747,), (1350234748,), (1350234749,), (1350234752,), (1350234754,), (1350234758,), (1350234769,), (1350234780,), (1350234791,), (1350234821,), (1350234825,), (1350234828,), (1350234861,), (1350234862,), (1350234915,), (1350234918,), (1350235079,), (1350235276,), (1350235324,), (1350235579,), (1350235754,), (1350235814,)) 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 22087253 , 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=22087245 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 (22087253) result : ((1350234643,), (1350234645,), (1350234646,), (1350234790,), (1350234892,), (1350234893,), (1350234894,), (1350234895,), (1350234896,), (1350234897,), (1350234898,), (1350234903,), (1350234904,), (1350234905,), (1350234906,), (1350234907,), (1350234908,), (1350234909,), (1350234910,), (1350238268,), (1350238269,), (1350238270,), (1350238271,), (1350238272,), (1350238273,), (1350238274,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22087245) result : ((1350234507,), (1350234570,), (1350234574,), (1350234577,), (1350234614,), (1350234617,), (1350234620,), (1350234622,), (1350234724,), (1350234726,), (1350234728,), (1350234730,), (1350234747,), (1350234748,), (1350234749,), (1350234752,), (1350234754,), (1350234758,), (1350234769,), (1350234780,), (1350234791,), (1350234821,), (1350234825,), (1350234828,), (1350234861,), (1350234862,), (1350234915,), (1350234918,), (1350235079,), (1350235276,), (1350235324,), (1350235579,), (1350235754,), (1350235814,)) 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 22087254 , 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=22087245 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 (22087254) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22087245) result : ((1350234507,), (1350234570,), (1350234574,), (1350234577,), (1350234614,), (1350234617,), (1350234620,), (1350234622,), (1350234724,), (1350234726,), (1350234728,), (1350234730,), (1350234747,), (1350234748,), (1350234749,), (1350234752,), (1350234754,), (1350234758,), (1350234769,), (1350234780,), (1350234791,), (1350234821,), (1350234825,), (1350234828,), (1350234861,), (1350234862,), (1350234915,), (1350234918,), (1350235079,), (1350235276,), (1350235324,), (1350235579,), (1350235754,), (1350235814,)) 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 22087255 , 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=22087245 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 (22087255) result : ((1350234634,), (1350234648,), (1350234649,), (1350234650,), (1350234850,), (1350234851,), (1350234852,), (1350234911,), (1350234912,), (1350235627,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22087245) result : ((1350234507,), (1350234570,), (1350234574,), (1350234577,), (1350234614,), (1350234617,), (1350234620,), (1350234622,), (1350234724,), (1350234726,), (1350234728,), (1350234730,), (1350234747,), (1350234748,), (1350234749,), (1350234752,), (1350234754,), (1350234758,), (1350234769,), (1350234780,), (1350234791,), (1350234821,), (1350234825,), (1350234828,), (1350234861,), (1350234862,), (1350234915,), (1350234918,), (1350235079,), (1350235276,), (1350235324,), (1350235579,), (1350235754,), (1350235814,)) 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 22087256 , 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=22087245 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 (22087256) result : ((1350234786,), (1350234846,), (1350234887,), (1350235620,), (1350235621,), (1350235622,), (1350238263,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22087245) result : ((1350234507,), (1350234570,), (1350234574,), (1350234577,), (1350234614,), (1350234617,), (1350234620,), (1350234622,), (1350234724,), (1350234726,), (1350234728,), (1350234730,), (1350234747,), (1350234748,), (1350234749,), (1350234752,), (1350234754,), (1350234758,), (1350234769,), (1350234780,), (1350234791,), (1350234821,), (1350234825,), (1350234828,), (1350234861,), (1350234862,), (1350234915,), (1350234918,), (1350235079,), (1350235276,), (1350235324,), (1350235579,), (1350235754,), (1350235814,)) 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 22087257 , 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=22087245 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 (22087257) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22087245) result : ((1350234507,), (1350234570,), (1350234574,), (1350234577,), (1350234614,), (1350234617,), (1350234620,), (1350234622,), (1350234724,), (1350234726,), (1350234728,), (1350234730,), (1350234747,), (1350234748,), (1350234749,), (1350234752,), (1350234754,), (1350234758,), (1350234769,), (1350234780,), (1350234791,), (1350234821,), (1350234825,), (1350234828,), (1350234861,), (1350234862,), (1350234915,), (1350234918,), (1350235079,), (1350235276,), (1350235324,), (1350235579,), (1350235754,), (1350235814,)) 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`=22087245 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','Teint_Dans_La_Masse','kraft','papier','Carton_brun','flou','plastique','mal_croppe','environnement','metal','cartonnette','autre_refus')) 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`=22087245 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','Teint_Dans_La_Masse','kraft','papier','Carton_brun','flou','plastique','mal_croppe','environnement','metal','cartonnette','autre_refus')) AND mptpi.`min_score`=0.5 To do returned map {'cartonnette': {'main_port_id': 22087245, 'sub_port_id': 22087258, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14571783, 'last_updated_at': datetime.datetime(2025, 4, 7, 5, 36, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 7, 5, 36, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 7, 5, 36, 59)}, 'environnement': {'main_port_id': 22087245, 'sub_port_id': 22087259, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14571784, 'last_updated_at': datetime.datetime(2025, 4, 7, 5, 36, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 7, 5, 36, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 7, 5, 36, 59)}, 'flou': {'main_port_id': 22087245, 'sub_port_id': 22087260, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14571785, 'last_updated_at': datetime.datetime(2025, 4, 7, 5, 36, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 7, 5, 36, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 7, 5, 36, 59)}, 'kraft': {'main_port_id': 22087245, 'sub_port_id': 22087261, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14571786, 'last_updated_at': datetime.datetime(2025, 4, 7, 5, 36, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 7, 5, 36, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 7, 5, 36, 59)}, 'autre_refus': {'main_port_id': 22087245, 'sub_port_id': 22087262, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14571787, 'last_updated_at': datetime.datetime(2025, 4, 7, 5, 36, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 7, 5, 36, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 7, 5, 36, 59)}, 'mal_croppe': {'main_port_id': 22087245, 'sub_port_id': 22087263, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14571788, 'last_updated_at': datetime.datetime(2025, 4, 7, 5, 36, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 7, 5, 36, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 7, 5, 36, 59)}, 'Teint_Dans_La_Masse': {'main_port_id': 22087245, 'sub_port_id': 22087264, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14571789, 'last_updated_at': datetime.datetime(2025, 4, 7, 5, 36, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 7, 5, 36, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 7, 5, 36, 59)}, 'Carton_brun': {'main_port_id': 22087245, 'sub_port_id': 22087265, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14571790, 'last_updated_at': datetime.datetime(2025, 4, 7, 5, 36, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 7, 5, 36, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 7, 5, 36, 59)}, 'papier': {'main_port_id': 22087245, 'sub_port_id': 22087266, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14571791, 'last_updated_at': datetime.datetime(2025, 4, 7, 5, 36, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 7, 5, 36, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 7, 5, 36, 59)}, 'plastique': {'main_port_id': 22087245, 'sub_port_id': 22087267, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14571792, 'last_updated_at': datetime.datetime(2025, 4, 7, 5, 36, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 7, 5, 36, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 7, 5, 36, 59)}, 'Carton_gris': {'main_port_id': 22087245, 'sub_port_id': 22087268, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14571793, 'last_updated_at': datetime.datetime(2025, 4, 7, 5, 36, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 7, 5, 36, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 7, 5, 36, 59)}, 'metal': {'main_port_id': 22087245, 'sub_port_id': 22087269, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14571794, 'last_updated_at': datetime.datetime(2025, 4, 7, 5, 49), 'last_updated_at_desc': datetime.datetime(2025, 4, 7, 5, 49), 'last_updated_at_asc': datetime.datetime(2025, 4, 7, 5, 36, 59)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22087258,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22087246 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22087259,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22087247 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22087260,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22087248 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22087261,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22087249 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22087262,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22087250 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22087263,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22087251 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22087264,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22087252 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22087265,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22087253 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22087266,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22087254 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22087267,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22087255 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22087268,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22087256 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22087269,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22087257 lien utilise dans velours : https://www.fotonower.com/velours/22087258,22087259,22087260,22087261,22087262,22087263,22087264,22087265,22087266,22087267,22087268,22087269?tags=cartonnette,environnement,flou,kraft,autre_refus,mal_croppe,Teint_Dans_La_Masse,Carton_brun,papier,plastique,Carton_gris,metal After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22087245]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1350235814, 1350235754, 1350235579, 1350235324, 1350235276, 1350235079, 1350234918, 1350234915, 1350234862, 1350234861, 1350234828, 1350234825, 1350234821, 1350234791, 1350234780, 1350234769, 1350234758, 1350234754, 1350234752, 1350234749, 1350234748, 1350234747, 1350234730, 1350234728, 1350234726, 1350234724, 1350234622, 1350234620, 1350234617, 1350234614, 1350234577, 1350234574, 1350234570, 1350234507] map_info['map_portfolio_photo'] : {22087245: [1350235814, 1350235754, 1350235579, 1350235324, 1350235276, 1350235079, 1350234918, 1350234915, 1350234862, 1350234861, 1350234828, 1350234825, 1350234821, 1350234791, 1350234780, 1350234769, 1350234758, 1350234754, 1350234752, 1350234749, 1350234748, 1350234747, 1350234730, 1350234728, 1350234726, 1350234724, 1350234622, 1350234620, 1350234617, 1350234614, 1350234577, 1350234574, 1350234570, 1350234507]} final : False mtd_id 4302 list_pids : [1350235814, 1350235754, 1350235579, 1350235324, 1350235276, 1350235079, 1350234918, 1350234915, 1350234862, 1350234861, 1350234828, 1350234825, 1350234821, 1350234791, 1350234780, 1350234769, 1350234758, 1350234754, 1350234752, 1350234749, 1350234748, 1350234747, 1350234730, 1350234728, 1350234726, 1350234724, 1350234622, 1350234620, 1350234617, 1350234614, 1350234577, 1350234574, 1350234570, 1350234507] Looping around the photos to save general results len do output : 1 /22087245. 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, '2731218') ('4302', '22087245', '1350235814', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350235754', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350235579', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350235324', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350235276', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350235079', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234918', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234915', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234862', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234861', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234828', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234825', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234821', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234791', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234780', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234769', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234758', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234754', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234752', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234749', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234748', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234747', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234730', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234728', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234726', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234724', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234622', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234620', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234617', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234614', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234577', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234574', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234570', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234507', None, None, None, None, None, '2731218') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 35 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, '22087245', "{'cartonnette': 22087246, 'environnement': 22087247, 'flou': 22087248, 'kraft': 22087249, 'autre_refus': 22087250, 'mal_croppe': 22087251, 'Teint_Dans_La_Masse': 22087252, 'Carton_brun': 22087253, 'papier': 22087254, 'plastique': 22087255, 'Carton_gris': 22087256, 'metal': 22087257}", None, None, None, None, '2731218'), ('4302', '22087245', '1350235814', None, None, None, None, None, '2731218'), ('4302', '22087245', '1350235754', None, None, None, None, None, '2731218'), ('4302', '22087245', '1350235579', None, None, None, None, None, '2731218'), ('4302', '22087245', '1350235324', None, None, None, None, None, '2731218'), ('4302', '22087245', '1350235276', None, None, None, None, None, '2731218'), ('4302', '22087245', '1350235079', None, None, None, None, None, '2731218'), ('4302', '22087245', '1350234918', None, None, None, None, None, '2731218'), ('4302', '22087245', '1350234915', None, None, None, None, None, '2731218'), ('4302', '22087245', '1350234862', None, None, None, None, None, '2731218'), ('4302', '22087245', '1350234861', None, None, None, None, None, '2731218'), ('4302', '22087245', '1350234828', None, None, None, None, None, '2731218'), ('4302', '22087245', '1350234825', None, None, None, None, None, '2731218'), ('4302', '22087245', '1350234821', None, None, None, None, None, '2731218'), ('4302', '22087245', '1350234791', None, None, None, None, None, '2731218'), ('4302', '22087245', '1350234780', None, None, None, None, None, '2731218'), ('4302', '22087245', '1350234769', None, None, None, None, None, '2731218'), ('4302', '22087245', '1350234758', None, None, None, None, None, '2731218'), ('4302', '22087245', '1350234754', None, None, None, None, None, '2731218'), ('4302', '22087245', '1350234752', None, None, None, None, None, '2731218'), ('4302', '22087245', '1350234749', None, None, None, None, None, '2731218'), ('4302', '22087245', '1350234748', None, None, None, None, None, '2731218'), ('4302', '22087245', '1350234747', None, None, None, None, None, '2731218'), ('4302', '22087245', '1350234730', None, None, None, None, None, '2731218'), ('4302', '22087245', '1350234728', None, None, None, None, None, '2731218'), ('4302', '22087245', '1350234726', None, None, None, None, None, '2731218'), ('4302', '22087245', '1350234724', None, None, None, None, None, '2731218'), ('4302', '22087245', '1350234622', None, None, None, None, None, '2731218'), ('4302', '22087245', '1350234620', None, None, None, None, None, '2731218'), ('4302', '22087245', '1350234617', None, None, None, None, None, '2731218'), ('4302', '22087245', '1350234614', None, None, None, None, None, '2731218'), ('4302', '22087245', '1350234577', None, None, None, None, None, '2731218'), ('4302', '22087245', '1350234574', None, None, None, None, None, '2731218'), ('4302', '22087245', '1350234570', None, None, None, None, None, '2731218'), ('4302', '22087245', '1350234507', None, None, None, None, None, '2731218')] time used for this insertion : 0.021420717239379883 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.268659830093384 time spend to save output : 0.02186727523803711 total time spend for step 1 : 3.290527105331421 step2:final Tue Apr 8 05:34:32 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 (22087245) 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 22087245 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1350234507,1350234577,1350234574,1350234570,1350234622,1350234620,1350234617,1350234614,1350234769,1350234730,1350234758,1350234728,1350234754,1350234726,1350234752,1350234724,1350234749,1350234748,1350234747,1350234791,1350234780,1350234828,1350234825,1350234821,1350234862,1350234861,1350234918,1350234915,1350235079,1350235324,1350235276,1350235579,1350235814,1350235754); 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([22087245]) Inside saveOutput : final : False verbose : True original output for save of step final : {1350235814: ('0.03873668310530549',), 1350235754: ('0.03873668310530549',), 1350235579: ('0.03873668310530549',), 1350235324: ('0.03873668310530549',), 1350235276: ('0.03873668310530549',), 1350235079: ('0.03873668310530549',), 1350234918: ('0.03873668310530549',), 1350234915: ('0.03873668310530549',), 1350234862: ('0.03873668310530549',), 1350234861: ('0.03873668310530549',), 1350234828: ('0.03873668310530549',), 1350234825: ('0.03873668310530549',), 1350234821: ('0.03873668310530549',), 1350234791: ('0.03873668310530549',), 1350234780: ('0.03873668310530549',), 1350234769: ('0.03873668310530549',), 1350234758: ('0.03873668310530549',), 1350234754: ('0.03873668310530549',), 1350234752: ('0.03873668310530549',), 1350234749: ('0.03873668310530549',), 1350234748: ('0.03873668310530549',), 1350234747: ('0.03873668310530549',), 1350234730: ('0.03873668310530549',), 1350234728: ('0.03873668310530549',), 1350234726: ('0.03873668310530549',), 1350234724: ('0.03873668310530549',), 1350234622: ('0.03873668310530549',), 1350234620: ('0.03873668310530549',), 1350234617: ('0.03873668310530549',), 1350234614: ('0.03873668310530549',), 1350234577: ('0.03873668310530549',), 1350234574: ('0.03873668310530549',), 1350234570: ('0.03873668310530549',), 1350234507: ('0.03873668310530549',)} new output for save of step final : {1350235814: ('0.03873668310530549',), 1350235754: ('0.03873668310530549',), 1350235579: ('0.03873668310530549',), 1350235324: ('0.03873668310530549',), 1350235276: ('0.03873668310530549',), 1350235079: ('0.03873668310530549',), 1350234918: ('0.03873668310530549',), 1350234915: ('0.03873668310530549',), 1350234862: ('0.03873668310530549',), 1350234861: ('0.03873668310530549',), 1350234828: ('0.03873668310530549',), 1350234825: ('0.03873668310530549',), 1350234821: ('0.03873668310530549',), 1350234791: ('0.03873668310530549',), 1350234780: ('0.03873668310530549',), 1350234769: ('0.03873668310530549',), 1350234758: ('0.03873668310530549',), 1350234754: ('0.03873668310530549',), 1350234752: ('0.03873668310530549',), 1350234749: ('0.03873668310530549',), 1350234748: ('0.03873668310530549',), 1350234747: ('0.03873668310530549',), 1350234730: ('0.03873668310530549',), 1350234728: ('0.03873668310530549',), 1350234726: ('0.03873668310530549',), 1350234724: ('0.03873668310530549',), 1350234622: ('0.03873668310530549',), 1350234620: ('0.03873668310530549',), 1350234617: ('0.03873668310530549',), 1350234614: ('0.03873668310530549',), 1350234577: ('0.03873668310530549',), 1350234574: ('0.03873668310530549',), 1350234570: ('0.03873668310530549',), 1350234507: ('0.03873668310530549',)} [1350235814, 1350235754, 1350235579, 1350235324, 1350235276, 1350235079, 1350234918, 1350234915, 1350234862, 1350234861, 1350234828, 1350234825, 1350234821, 1350234791, 1350234780, 1350234769, 1350234758, 1350234754, 1350234752, 1350234749, 1350234748, 1350234747, 1350234730, 1350234728, 1350234726, 1350234724, 1350234622, 1350234620, 1350234617, 1350234614, 1350234577, 1350234574, 1350234570, 1350234507] map_info['map_portfolio_photo'] : {22087245: [1350235814, 1350235754, 1350235579, 1350235324, 1350235276, 1350235079, 1350234918, 1350234915, 1350234862, 1350234861, 1350234828, 1350234825, 1350234821, 1350234791, 1350234780, 1350234769, 1350234758, 1350234754, 1350234752, 1350234749, 1350234748, 1350234747, 1350234730, 1350234728, 1350234726, 1350234724, 1350234622, 1350234620, 1350234617, 1350234614, 1350234577, 1350234574, 1350234570, 1350234507]} final : False mtd_id 4302 list_pids : [1350235814, 1350235754, 1350235579, 1350235324, 1350235276, 1350235079, 1350234918, 1350234915, 1350234862, 1350234861, 1350234828, 1350234825, 1350234821, 1350234791, 1350234780, 1350234769, 1350234758, 1350234754, 1350234752, 1350234749, 1350234748, 1350234747, 1350234730, 1350234728, 1350234726, 1350234724, 1350234622, 1350234620, 1350234617, 1350234614, 1350234577, 1350234574, 1350234570, 1350234507] Looping around the photos to save general results len do output : 34 /1350235814.Didn't retrieve data . /1350235754.Didn't retrieve data . /1350235579.Didn't retrieve data . /1350235324.Didn't retrieve data . /1350235276.Didn't retrieve data . /1350235079.Didn't retrieve data . /1350234918.Didn't retrieve data . /1350234915.Didn't retrieve data . /1350234862.Didn't retrieve data . /1350234861.Didn't retrieve data . /1350234828.Didn't retrieve data . /1350234825.Didn't retrieve data . /1350234821.Didn't retrieve data . /1350234791.Didn't retrieve data . /1350234780.Didn't retrieve data . /1350234769.Didn't retrieve data . /1350234758.Didn't retrieve data . /1350234754.Didn't retrieve data . /1350234752.Didn't retrieve data . /1350234749.Didn't retrieve data . /1350234748.Didn't retrieve data . /1350234747.Didn't retrieve data . /1350234730.Didn't retrieve data . /1350234728.Didn't retrieve data . /1350234726.Didn't retrieve data . /1350234724.Didn't retrieve data . /1350234622.Didn't retrieve data . /1350234620.Didn't retrieve data . /1350234617.Didn't retrieve data . /1350234614.Didn't retrieve data . /1350234577.Didn't retrieve data . /1350234574.Didn't retrieve data . /1350234570.Didn't retrieve data . /1350234507.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, '2731218') ('4302', '22087245', '1350235814', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350235754', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350235579', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350235324', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350235276', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350235079', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234918', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234915', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234862', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234861', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234828', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234825', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234821', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234791', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234780', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234769', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234758', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234754', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234752', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234749', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234748', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234747', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234730', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234728', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234726', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234724', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234622', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234620', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234617', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234614', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234577', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234574', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234570', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234507', None, None, None, None, None, '2731218') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 102 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', '22087245', '1350235814', '0.03873668310530549', None, None, None, None, '2731218'), ('4302', '22087245', '1350235754', '0.03873668310530549', None, None, None, None, '2731218'), ('4302', '22087245', '1350235579', '0.03873668310530549', None, None, None, None, '2731218'), ('4302', '22087245', '1350235324', '0.03873668310530549', None, None, None, None, '2731218'), ('4302', '22087245', '1350235276', '0.03873668310530549', None, None, None, None, '2731218'), ('4302', '22087245', '1350235079', '0.03873668310530549', None, None, None, None, '2731218'), ('4302', '22087245', '1350234918', '0.03873668310530549', None, None, None, None, '2731218'), ('4302', '22087245', '1350234915', '0.03873668310530549', None, None, None, None, '2731218'), ('4302', '22087245', '1350234862', '0.03873668310530549', None, None, None, None, '2731218'), ('4302', '22087245', '1350234861', '0.03873668310530549', None, None, None, None, '2731218'), ('4302', '22087245', '1350234828', '0.03873668310530549', None, None, None, None, '2731218'), ('4302', '22087245', '1350234825', '0.03873668310530549', None, None, None, None, '2731218'), ('4302', '22087245', '1350234821', '0.03873668310530549', None, None, None, None, '2731218'), ('4302', '22087245', '1350234791', '0.03873668310530549', None, None, None, None, '2731218'), ('4302', '22087245', '1350234780', '0.03873668310530549', None, None, None, None, '2731218'), ('4302', '22087245', '1350234769', '0.03873668310530549', None, None, None, None, '2731218'), ('4302', '22087245', '1350234758', '0.03873668310530549', None, None, None, None, '2731218'), ('4302', '22087245', '1350234754', '0.03873668310530549', None, None, None, None, '2731218'), ('4302', '22087245', '1350234752', '0.03873668310530549', None, None, None, None, '2731218'), ('4302', '22087245', '1350234749', '0.03873668310530549', None, None, None, None, '2731218'), ('4302', '22087245', '1350234748', '0.03873668310530549', None, None, None, None, '2731218'), ('4302', '22087245', '1350234747', '0.03873668310530549', None, None, None, None, '2731218'), ('4302', '22087245', '1350234730', '0.03873668310530549', None, None, None, None, '2731218'), ('4302', '22087245', '1350234728', '0.03873668310530549', None, None, None, None, '2731218'), ('4302', '22087245', '1350234726', '0.03873668310530549', None, None, None, None, '2731218'), ('4302', '22087245', '1350234724', '0.03873668310530549', None, None, None, None, '2731218'), ('4302', '22087245', '1350234622', '0.03873668310530549', None, None, None, None, '2731218'), ('4302', '22087245', '1350234620', '0.03873668310530549', None, None, None, None, '2731218'), ('4302', '22087245', '1350234617', '0.03873668310530549', None, None, None, None, '2731218'), ('4302', '22087245', '1350234614', '0.03873668310530549', None, None, None, None, '2731218'), ('4302', '22087245', '1350234577', '0.03873668310530549', None, None, None, None, '2731218'), ('4302', '22087245', '1350234574', '0.03873668310530549', None, None, None, None, '2731218'), ('4302', '22087245', '1350234570', '0.03873668310530549', None, None, None, None, '2731218'), ('4302', '22087245', '1350234507', '0.03873668310530549', None, None, None, None, '2731218')] time used for this insertion : 1.1330270767211914 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.06658411026000977 time spend to save output : 1.1344859600067139 total time spend for step 2 : 1.2010700702667236 step3:velours_tree Tue Apr 8 05:34:33 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 : {22087245: [{'cartonnette': 22087246, 'environnement': 22087247, 'flou': 22087248, 'kraft': 22087249, 'autre_refus': 22087250, 'mal_croppe': 22087251, 'Teint_Dans_La_Masse': 22087252, 'Carton_brun': 22087253, 'papier': 22087254, 'plastique': 22087255, 'Carton_gris': 22087256, 'metal': 22087257}]} input_args_next_step : {22087245: ()} output_args : {22087245: [{'cartonnette': 22087246, 'environnement': 22087247, 'flou': 22087248, 'kraft': 22087249, 'autre_refus': 22087250, 'mal_croppe': 22087251, 'Teint_Dans_La_Masse': 22087252, 'Carton_brun': 22087253, 'papier': 22087254, 'plastique': 22087255, 'Carton_gris': 22087256, 'metal': 22087257}]} args : 22087245 depend.output_id : 0 VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :1, first value : ({'cartonnette': 22087246, 'environnement': 22087247, 'flou': 22087248, 'kraft': 22087249, 'autre_refus': 22087250, 'mal_croppe': 22087251, 'Teint_Dans_La_Masse': 22087252, 'Carton_brun': 22087253, 'papier': 22087254, 'plastique': 22087255, 'Carton_gris': 22087256, 'metal': 22087257},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22087245) 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([22087245]) 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.2989926338195801 time spend to save output : 3.838539123535156e-05 total time spend for step 3 : 0.29903101921081543 step4:send_mail_cod Tue Apr 8 05:34:34 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 : {1350235814: ('0.03873668310530549',), 1350235754: ('0.03873668310530549',), 1350235579: ('0.03873668310530549',), 1350235324: ('0.03873668310530549',), 1350235276: ('0.03873668310530549',), 1350235079: ('0.03873668310530549',), 1350234918: ('0.03873668310530549',), 1350234915: ('0.03873668310530549',), 1350234862: ('0.03873668310530549',), 1350234861: ('0.03873668310530549',), 1350234828: ('0.03873668310530549',), 1350234825: ('0.03873668310530549',), 1350234821: ('0.03873668310530549',), 1350234791: ('0.03873668310530549',), 1350234780: ('0.03873668310530549',), 1350234769: ('0.03873668310530549',), 1350234758: ('0.03873668310530549',), 1350234754: ('0.03873668310530549',), 1350234752: ('0.03873668310530549',), 1350234749: ('0.03873668310530549',), 1350234748: ('0.03873668310530549',), 1350234747: ('0.03873668310530549',), 1350234730: ('0.03873668310530549',), 1350234728: ('0.03873668310530549',), 1350234726: ('0.03873668310530549',), 1350234724: ('0.03873668310530549',), 1350234622: ('0.03873668310530549',), 1350234620: ('0.03873668310530549',), 1350234617: ('0.03873668310530549',), 1350234614: ('0.03873668310530549',), 1350234577: ('0.03873668310530549',), 1350234574: ('0.03873668310530549',), 1350234570: ('0.03873668310530549',), 1350234507: ('0.03873668310530549',)} input_args_next_step : {1350235814: ()} output_args : {1350235814: ('0.03873668310530549',), 1350235754: ('0.03873668310530549',), 1350235579: ('0.03873668310530549',), 1350235324: ('0.03873668310530549',), 1350235276: ('0.03873668310530549',), 1350235079: ('0.03873668310530549',), 1350234918: ('0.03873668310530549',), 1350234915: ('0.03873668310530549',), 1350234862: ('0.03873668310530549',), 1350234861: ('0.03873668310530549',), 1350234828: ('0.03873668310530549',), 1350234825: ('0.03873668310530549',), 1350234821: ('0.03873668310530549',), 1350234791: ('0.03873668310530549',), 1350234780: ('0.03873668310530549',), 1350234769: ('0.03873668310530549',), 1350234758: ('0.03873668310530549',), 1350234754: ('0.03873668310530549',), 1350234752: ('0.03873668310530549',), 1350234749: ('0.03873668310530549',), 1350234748: ('0.03873668310530549',), 1350234747: ('0.03873668310530549',), 1350234730: ('0.03873668310530549',), 1350234728: ('0.03873668310530549',), 1350234726: ('0.03873668310530549',), 1350234724: ('0.03873668310530549',), 1350234622: ('0.03873668310530549',), 1350234620: ('0.03873668310530549',), 1350234617: ('0.03873668310530549',), 1350234614: ('0.03873668310530549',), 1350234577: ('0.03873668310530549',), 1350234574: ('0.03873668310530549',), 1350234570: ('0.03873668310530549',), 1350234507: ('0.03873668310530549',)} args : 1350235814 depend.output_id : 0 input_args_next_step : {1350235814: ('0.03873668310530549',), 1350235754: ()} output_args : {1350235814: ('0.03873668310530549',), 1350235754: ('0.03873668310530549',), 1350235579: ('0.03873668310530549',), 1350235324: ('0.03873668310530549',), 1350235276: ('0.03873668310530549',), 1350235079: ('0.03873668310530549',), 1350234918: ('0.03873668310530549',), 1350234915: ('0.03873668310530549',), 1350234862: ('0.03873668310530549',), 1350234861: ('0.03873668310530549',), 1350234828: ('0.03873668310530549',), 1350234825: ('0.03873668310530549',), 1350234821: ('0.03873668310530549',), 1350234791: ('0.03873668310530549',), 1350234780: ('0.03873668310530549',), 1350234769: ('0.03873668310530549',), 1350234758: ('0.03873668310530549',), 1350234754: ('0.03873668310530549',), 1350234752: ('0.03873668310530549',), 1350234749: ('0.03873668310530549',), 1350234748: ('0.03873668310530549',), 1350234747: ('0.03873668310530549',), 1350234730: ('0.03873668310530549',), 1350234728: ('0.03873668310530549',), 1350234726: ('0.03873668310530549',), 1350234724: ('0.03873668310530549',), 1350234622: ('0.03873668310530549',), 1350234620: ('0.03873668310530549',), 1350234617: ('0.03873668310530549',), 1350234614: ('0.03873668310530549',), 1350234577: ('0.03873668310530549',), 1350234574: ('0.03873668310530549',), 1350234570: ('0.03873668310530549',), 1350234507: ('0.03873668310530549',)} args : 1350235754 depend.output_id : 0 input_args_next_step : {1350235814: ('0.03873668310530549',), 1350235754: ('0.03873668310530549',), 1350235579: ()} output_args : {1350235814: ('0.03873668310530549',), 1350235754: ('0.03873668310530549',), 1350235579: ('0.03873668310530549',), 1350235324: ('0.03873668310530549',), 1350235276: ('0.03873668310530549',), 1350235079: ('0.03873668310530549',), 1350234918: ('0.03873668310530549',), 1350234915: ('0.03873668310530549',), 1350234862: ('0.03873668310530549',), 1350234861: ('0.03873668310530549',), 1350234828: ('0.03873668310530549',), 1350234825: ('0.03873668310530549',), 1350234821: ('0.03873668310530549',), 1350234791: ('0.03873668310530549',), 1350234780: ('0.03873668310530549',), 1350234769: ('0.03873668310530549',), 1350234758: ('0.03873668310530549',), 1350234754: ('0.03873668310530549',), 1350234752: ('0.03873668310530549',), 1350234749: ('0.03873668310530549',), 1350234748: ('0.03873668310530549',), 1350234747: ('0.03873668310530549',), 1350234730: ('0.03873668310530549',), 1350234728: ('0.03873668310530549',), 1350234726: ('0.03873668310530549',), 1350234724: ('0.03873668310530549',), 1350234622: ('0.03873668310530549',), 1350234620: ('0.03873668310530549',), 1350234617: ('0.03873668310530549',), 1350234614: ('0.03873668310530549',), 1350234577: ('0.03873668310530549',), 1350234574: ('0.03873668310530549',), 1350234570: ('0.03873668310530549',), 1350234507: ('0.03873668310530549',)} args : 1350235579 depend.output_id : 0 input_args_next_step : {1350235814: ('0.03873668310530549',), 1350235754: ('0.03873668310530549',), 1350235579: ('0.03873668310530549',), 1350235324: ()} output_args : {1350235814: ('0.03873668310530549',), 1350235754: ('0.03873668310530549',), 1350235579: ('0.03873668310530549',), 1350235324: ('0.03873668310530549',), 1350235276: ('0.03873668310530549',), 1350235079: ('0.03873668310530549',), 1350234918: ('0.03873668310530549',), 1350234915: ('0.03873668310530549',), 1350234862: ('0.03873668310530549',), 1350234861: ('0.03873668310530549',), 1350234828: ('0.03873668310530549',), 1350234825: ('0.03873668310530549',), 1350234821: ('0.03873668310530549',), 1350234791: ('0.03873668310530549',), 1350234780: ('0.03873668310530549',), 1350234769: ('0.03873668310530549',), 1350234758: ('0.03873668310530549',), 1350234754: ('0.03873668310530549',), 1350234752: ('0.03873668310530549',), 1350234749: ('0.03873668310530549',), 1350234748: ('0.03873668310530549',), 1350234747: ('0.03873668310530549',), 1350234730: ('0.03873668310530549',), 1350234728: ('0.03873668310530549',), 1350234726: ('0.03873668310530549',), 1350234724: ('0.03873668310530549',), 1350234622: ('0.03873668310530549',), 1350234620: ('0.03873668310530549',), 1350234617: ('0.03873668310530549',), 1350234614: ('0.03873668310530549',), 1350234577: ('0.03873668310530549',), 1350234574: ('0.03873668310530549',), 1350234570: ('0.03873668310530549',), 1350234507: ('0.03873668310530549',)} args : 1350235324 depend.output_id : 0 input_args_next_step : {1350235814: ('0.03873668310530549',), 1350235754: ('0.03873668310530549',), 1350235579: ('0.03873668310530549',), 1350235324: ('0.03873668310530549',), 1350235276: ()} output_args : {1350235814: ('0.03873668310530549',), 1350235754: ('0.03873668310530549',), 1350235579: ('0.03873668310530549',), 1350235324: ('0.03873668310530549',), 1350235276: ('0.03873668310530549',), 1350235079: ('0.03873668310530549',), 1350234918: ('0.03873668310530549',), 1350234915: ('0.03873668310530549',), 1350234862: ('0.03873668310530549',), 1350234861: ('0.03873668310530549',), 1350234828: ('0.03873668310530549',), 1350234825: ('0.03873668310530549',), 1350234821: ('0.03873668310530549',), 1350234791: ('0.03873668310530549',), 1350234780: ('0.03873668310530549',), 1350234769: ('0.03873668310530549',), 1350234758: ('0.03873668310530549',), 1350234754: ('0.03873668310530549',), 1350234752: ('0.03873668310530549',), 1350234749: ('0.03873668310530549',), 1350234748: ('0.03873668310530549',), 1350234747: ('0.03873668310530549',), 1350234730: ('0.03873668310530549',), 1350234728: ('0.03873668310530549',), 1350234726: ('0.03873668310530549',), 1350234724: ('0.03873668310530549',), 1350234622: ('0.03873668310530549',), 1350234620: ('0.03873668310530549',), 1350234617: ('0.03873668310530549',), 1350234614: ('0.03873668310530549',), 1350234577: ('0.03873668310530549',), 1350234574: ('0.03873668310530549',), 1350234570: ('0.03873668310530549',), 1350234507: ('0.03873668310530549',)} args : 1350235276 depend.output_id : 0 input_args_next_step : {1350235814: ('0.03873668310530549',), 1350235754: ('0.03873668310530549',), 1350235579: ('0.03873668310530549',), 1350235324: ('0.03873668310530549',), 1350235276: ('0.03873668310530549',), 1350235079: ()} output_args : {1350235814: ('0.03873668310530549',), 1350235754: ('0.03873668310530549',), 1350235579: ('0.03873668310530549',), 1350235324: ('0.03873668310530549',), 1350235276: ('0.03873668310530549',), 1350235079: ('0.03873668310530549',), 1350234918: ('0.03873668310530549',), 1350234915: ('0.03873668310530549',), 1350234862: ('0.03873668310530549',), 1350234861: ('0.03873668310530549',), 1350234828: ('0.03873668310530549',), 1350234825: ('0.03873668310530549',), 1350234821: ('0.03873668310530549',), 1350234791: ('0.03873668310530549',), 1350234780: ('0.03873668310530549',), 1350234769: ('0.03873668310530549',), 1350234758: ('0.03873668310530549',), 1350234754: ('0.03873668310530549',), 1350234752: ('0.03873668310530549',), 1350234749: ('0.03873668310530549',), 1350234748: ('0.03873668310530549',), 1350234747: ('0.03873668310530549',), 1350234730: ('0.03873668310530549',), 1350234728: ('0.03873668310530549',), 1350234726: ('0.03873668310530549',), 1350234724: ('0.03873668310530549',), 1350234622: ('0.03873668310530549',), 1350234620: ('0.03873668310530549',), 1350234617: ('0.03873668310530549',), 1350234614: ('0.03873668310530549',), 1350234577: ('0.03873668310530549',), 1350234574: ('0.03873668310530549',), 1350234570: ('0.03873668310530549',), 1350234507: ('0.03873668310530549',)} args : 1350235079 depend.output_id : 0 input_args_next_step : {1350235814: ('0.03873668310530549',), 1350235754: ('0.03873668310530549',), 1350235579: ('0.03873668310530549',), 1350235324: ('0.03873668310530549',), 1350235276: ('0.03873668310530549',), 1350235079: ('0.03873668310530549',), 1350234918: ()} output_args : {1350235814: ('0.03873668310530549',), 1350235754: ('0.03873668310530549',), 1350235579: ('0.03873668310530549',), 1350235324: ('0.03873668310530549',), 1350235276: ('0.03873668310530549',), 1350235079: ('0.03873668310530549',), 1350234918: ('0.03873668310530549',), 1350234915: ('0.03873668310530549',), 1350234862: ('0.03873668310530549',), 1350234861: ('0.03873668310530549',), 1350234828: ('0.03873668310530549',), 1350234825: ('0.03873668310530549',), 1350234821: ('0.03873668310530549',), 1350234791: ('0.03873668310530549',), 1350234780: ('0.03873668310530549',), 1350234769: ('0.03873668310530549',), 1350234758: ('0.03873668310530549',), 1350234754: ('0.03873668310530549',), 1350234752: ('0.03873668310530549',), 1350234749: ('0.03873668310530549',), 1350234748: ('0.03873668310530549',), 1350234747: ('0.03873668310530549',), 1350234730: ('0.03873668310530549',), 1350234728: ('0.03873668310530549',), 1350234726: ('0.03873668310530549',), 1350234724: ('0.03873668310530549',), 1350234622: ('0.03873668310530549',), 1350234620: ('0.03873668310530549',), 1350234617: ('0.03873668310530549',), 1350234614: ('0.03873668310530549',), 1350234577: ('0.03873668310530549',), 1350234574: ('0.03873668310530549',), 1350234570: ('0.03873668310530549',), 1350234507: ('0.03873668310530549',)} args : 1350234918 depend.output_id : 0 input_args_next_step : {1350235814: ('0.03873668310530549',), 1350235754: ('0.03873668310530549',), 1350235579: ('0.03873668310530549',), 1350235324: ('0.03873668310530549',), 1350235276: ('0.03873668310530549',), 1350235079: ('0.03873668310530549',), 1350234918: ('0.03873668310530549',), 1350234915: ()} output_args : {1350235814: ('0.03873668310530549',), 1350235754: ('0.03873668310530549',), 1350235579: ('0.03873668310530549',), 1350235324: ('0.03873668310530549',), 1350235276: ('0.03873668310530549',), 1350235079: ('0.03873668310530549',), 1350234918: ('0.03873668310530549',), 1350234915: ('0.03873668310530549',), 1350234862: ('0.03873668310530549',), 1350234861: ('0.03873668310530549',), 1350234828: ('0.03873668310530549',), 1350234825: ('0.03873668310530549',), 1350234821: ('0.03873668310530549',), 1350234791: ('0.03873668310530549',), 1350234780: ('0.03873668310530549',), 1350234769: ('0.03873668310530549',), 1350234758: ('0.03873668310530549',), 1350234754: ('0.03873668310530549',), 1350234752: ('0.03873668310530549',), 1350234749: ('0.03873668310530549',), 1350234748: ('0.03873668310530549',), 1350234747: ('0.03873668310530549',), 1350234730: ('0.03873668310530549',), 1350234728: ('0.03873668310530549',), 1350234726: ('0.03873668310530549',), 1350234724: ('0.03873668310530549',), 1350234622: ('0.03873668310530549',), 1350234620: ('0.03873668310530549',), 1350234617: ('0.03873668310530549',), 1350234614: ('0.03873668310530549',), 1350234577: ('0.03873668310530549',), 1350234574: ('0.03873668310530549',), 1350234570: ('0.03873668310530549',), 1350234507: ('0.03873668310530549',)} args : 1350234915 depend.output_id : 0 input_args_next_step : {1350235814: ('0.03873668310530549',), 1350235754: ('0.03873668310530549',), 1350235579: ('0.03873668310530549',), 1350235324: ('0.03873668310530549',), 1350235276: ('0.03873668310530549',), 1350235079: ('0.03873668310530549',), 1350234918: ('0.03873668310530549',), 1350234915: ('0.03873668310530549',), 1350234862: ()} output_args : {1350235814: ('0.03873668310530549',), 1350235754: ('0.03873668310530549',), 1350235579: ('0.03873668310530549',), 1350235324: ('0.03873668310530549',), 1350235276: ('0.03873668310530549',), 1350235079: ('0.03873668310530549',), 1350234918: ('0.03873668310530549',), 1350234915: ('0.03873668310530549',), 1350234862: ('0.03873668310530549',), 1350234861: ('0.03873668310530549',), 1350234828: ('0.03873668310530549',), 1350234825: ('0.03873668310530549',), 1350234821: ('0.03873668310530549',), 1350234791: ('0.03873668310530549',), 1350234780: ('0.03873668310530549',), 1350234769: ('0.03873668310530549',), 1350234758: ('0.03873668310530549',), 1350234754: ('0.03873668310530549',), 1350234752: ('0.03873668310530549',), 1350234749: ('0.03873668310530549',), 1350234748: ('0.03873668310530549',), 1350234747: ('0.03873668310530549',), 1350234730: ('0.03873668310530549',), 1350234728: ('0.03873668310530549',), 1350234726: ('0.03873668310530549',), 1350234724: ('0.03873668310530549',), 1350234622: ('0.03873668310530549',), 1350234620: ('0.03873668310530549',), 1350234617: ('0.03873668310530549',), 1350234614: ('0.03873668310530549',), 1350234577: ('0.03873668310530549',), 1350234574: ('0.03873668310530549',), 1350234570: ('0.03873668310530549',), 1350234507: ('0.03873668310530549',)} args : 1350234862 depend.output_id : 0 input_args_next_step : {1350235814: ('0.03873668310530549',), 1350235754: ('0.03873668310530549',), 1350235579: ('0.03873668310530549',), 1350235324: ('0.03873668310530549',), 1350235276: ('0.03873668310530549',), 1350235079: ('0.03873668310530549',), 1350234918: ('0.03873668310530549',), 1350234915: ('0.03873668310530549',), 1350234862: ('0.03873668310530549',), 1350234861: ()} output_args : {1350235814: ('0.03873668310530549',), 1350235754: ('0.03873668310530549',), 1350235579: ('0.03873668310530549',), 1350235324: ('0.03873668310530549',), 1350235276: ('0.03873668310530549',), 1350235079: ('0.03873668310530549',), 1350234918: ('0.03873668310530549',), 1350234915: ('0.03873668310530549',), 1350234862: ('0.03873668310530549',), 1350234861: ('0.03873668310530549',), 1350234828: ('0.03873668310530549',), 1350234825: ('0.03873668310530549',), 1350234821: ('0.03873668310530549',), 1350234791: ('0.03873668310530549',), 1350234780: ('0.03873668310530549',), 1350234769: ('0.03873668310530549',), 1350234758: ('0.03873668310530549',), 1350234754: ('0.03873668310530549',), 1350234752: ('0.03873668310530549',), 1350234749: ('0.03873668310530549',), 1350234748: ('0.03873668310530549',), 1350234747: ('0.03873668310530549',), 1350234730: ('0.03873668310530549',), 1350234728: ('0.03873668310530549',), 1350234726: ('0.03873668310530549',), 1350234724: ('0.03873668310530549',), 1350234622: ('0.03873668310530549',), 1350234620: ('0.03873668310530549',), 1350234617: ('0.03873668310530549',), 1350234614: ('0.03873668310530549',), 1350234577: ('0.03873668310530549',), 1350234574: ('0.03873668310530549',), 1350234570: ('0.03873668310530549',), 1350234507: ('0.03873668310530549',)} args : 1350234861 depend.output_id : 0 input_args_next_step : {1350235814: ('0.03873668310530549',), 1350235754: ('0.03873668310530549',), 1350235579: ('0.03873668310530549',), 1350235324: ('0.03873668310530549',), 1350235276: ('0.03873668310530549',), 1350235079: ('0.03873668310530549',), 1350234918: ('0.03873668310530549',), 1350234915: ('0.03873668310530549',), 1350234862: ('0.03873668310530549',), 1350234861: ('0.03873668310530549',), 1350234828: ()} output_args : {1350235814: ('0.03873668310530549',), 1350235754: ('0.03873668310530549',), 1350235579: ('0.03873668310530549',), 1350235324: ('0.03873668310530549',), 1350235276: ('0.03873668310530549',), 1350235079: ('0.03873668310530549',), 1350234918: ('0.03873668310530549',), 1350234915: ('0.03873668310530549',), 1350234862: ('0.03873668310530549',), 1350234861: ('0.03873668310530549',), 1350234828: ('0.03873668310530549',), 1350234825: ('0.03873668310530549',), 1350234821: ('0.03873668310530549',), 1350234791: ('0.03873668310530549',), 1350234780: ('0.03873668310530549',), 1350234769: ('0.03873668310530549',), 1350234758: ('0.03873668310530549',), 1350234754: ('0.03873668310530549',), 1350234752: ('0.03873668310530549',), 1350234749: ('0.03873668310530549',), 1350234748: ('0.03873668310530549',), 1350234747: ('0.03873668310530549',), 1350234730: ('0.03873668310530549',), 1350234728: ('0.03873668310530549',), 1350234726: ('0.03873668310530549',), 1350234724: ('0.03873668310530549',), 1350234622: ('0.03873668310530549',), 1350234620: ('0.03873668310530549',), 1350234617: ('0.03873668310530549',), 1350234614: ('0.03873668310530549',), 1350234577: ('0.03873668310530549',), 1350234574: ('0.03873668310530549',), 1350234570: ('0.03873668310530549',), 1350234507: ('0.03873668310530549',)} args : 1350234828 depend.output_id : 0 input_args_next_step : {1350235814: ('0.03873668310530549',), 1350235754: ('0.03873668310530549',), 1350235579: ('0.03873668310530549',), 1350235324: ('0.03873668310530549',), 1350235276: ('0.03873668310530549',), 1350235079: ('0.03873668310530549',), 1350234918: ('0.03873668310530549',), 1350234915: ('0.03873668310530549',), 1350234862: ('0.03873668310530549',), 1350234861: ('0.03873668310530549',), 1350234828: ('0.03873668310530549',), 1350234825: ()} output_args : {1350235814: ('0.03873668310530549',), 1350235754: ('0.03873668310530549',), 1350235579: ('0.03873668310530549',), 1350235324: ('0.03873668310530549',), 1350235276: ('0.03873668310530549',), 1350235079: ('0.03873668310530549',), 1350234918: ('0.03873668310530549',), 1350234915: ('0.03873668310530549',), 1350234862: ('0.03873668310530549',), 1350234861: ('0.03873668310530549',), 1350234828: ('0.03873668310530549',), 1350234825: ('0.03873668310530549',), 1350234821: ('0.03873668310530549',), 1350234791: ('0.03873668310530549',), 1350234780: ('0.03873668310530549',), 1350234769: ('0.03873668310530549',), 1350234758: ('0.03873668310530549',), 1350234754: ('0.03873668310530549',), 1350234752: ('0.03873668310530549',), 1350234749: ('0.03873668310530549',), 1350234748: ('0.03873668310530549',), 1350234747: ('0.03873668310530549',), 1350234730: ('0.03873668310530549',), 1350234728: ('0.03873668310530549',), 1350234726: ('0.03873668310530549',), 1350234724: ('0.03873668310530549',), 1350234622: ('0.03873668310530549',), 1350234620: ('0.03873668310530549',), 1350234617: ('0.03873668310530549',), 1350234614: ('0.03873668310530549',), 1350234577: ('0.03873668310530549',), 1350234574: ('0.03873668310530549',), 1350234570: ('0.03873668310530549',), 1350234507: ('0.03873668310530549',)} args : 1350234825 depend.output_id : 0 input_args_next_step : {1350235814: ('0.03873668310530549',), 1350235754: ('0.03873668310530549',), 1350235579: ('0.03873668310530549',), 1350235324: ('0.03873668310530549',), 1350235276: ('0.03873668310530549',), 1350235079: ('0.03873668310530549',), 1350234918: ('0.03873668310530549',), 1350234915: ('0.03873668310530549',), 1350234862: ('0.03873668310530549',), 1350234861: ('0.03873668310530549',), 1350234828: ('0.03873668310530549',), 1350234825: ('0.03873668310530549',), 1350234821: ()} output_args : {1350235814: ('0.03873668310530549',), 1350235754: ('0.03873668310530549',), 1350235579: ('0.03873668310530549',), 1350235324: ('0.03873668310530549',), 1350235276: ('0.03873668310530549',), 1350235079: ('0.03873668310530549',), 1350234918: ('0.03873668310530549',), 1350234915: ('0.03873668310530549',), 1350234862: ('0.03873668310530549',), 1350234861: ('0.03873668310530549',), 1350234828: ('0.03873668310530549',), 1350234825: ('0.03873668310530549',), 1350234821: ('0.03873668310530549',), 1350234791: ('0.03873668310530549',), 1350234780: ('0.03873668310530549',), 1350234769: ('0.03873668310530549',), 1350234758: ('0.03873668310530549',), 1350234754: ('0.03873668310530549',), 1350234752: ('0.03873668310530549',), 1350234749: ('0.03873668310530549',), 1350234748: ('0.03873668310530549',), 1350234747: ('0.03873668310530549',), 1350234730: ('0.03873668310530549',), 1350234728: ('0.03873668310530549',), 1350234726: ('0.03873668310530549',), 1350234724: ('0.03873668310530549',), 1350234622: ('0.03873668310530549',), 1350234620: ('0.03873668310530549',), 1350234617: ('0.03873668310530549',), 1350234614: ('0.03873668310530549',), 1350234577: ('0.03873668310530549',), 1350234574: ('0.03873668310530549',), 1350234570: ('0.03873668310530549',), 1350234507: ('0.03873668310530549',)} args : 1350234821 depend.output_id : 0 input_args_next_step : {1350235814: ('0.03873668310530549',), 1350235754: ('0.03873668310530549',), 1350235579: ('0.03873668310530549',), 1350235324: ('0.03873668310530549',), 1350235276: ('0.03873668310530549',), 1350235079: ('0.03873668310530549',), 1350234918: ('0.03873668310530549',), 1350234915: ('0.03873668310530549',), 1350234862: ('0.03873668310530549',), 1350234861: ('0.03873668310530549',), 1350234828: ('0.03873668310530549',), 1350234825: ('0.03873668310530549',), 1350234821: ('0.03873668310530549',), 1350234791: ()} output_args : {1350235814: ('0.03873668310530549',), 1350235754: ('0.03873668310530549',), 1350235579: ('0.03873668310530549',), 1350235324: ('0.03873668310530549',), 1350235276: ('0.03873668310530549',), 1350235079: ('0.03873668310530549',), 1350234918: ('0.03873668310530549',), 1350234915: ('0.03873668310530549',), 1350234862: ('0.03873668310530549',), 1350234861: ('0.03873668310530549',), 1350234828: ('0.03873668310530549',), 1350234825: ('0.03873668310530549',), 1350234821: ('0.03873668310530549',), 1350234791: ('0.03873668310530549',), 1350234780: ('0.03873668310530549',), 1350234769: ('0.03873668310530549',), 1350234758: ('0.03873668310530549',), 1350234754: ('0.03873668310530549',), 1350234752: ('0.03873668310530549',), 1350234749: ('0.03873668310530549',), 1350234748: ('0.03873668310530549',), 1350234747: ('0.03873668310530549',), 1350234730: ('0.03873668310530549',), 1350234728: ('0.03873668310530549',), 1350234726: ('0.03873668310530549',), 1350234724: ('0.03873668310530549',), 1350234622: ('0.03873668310530549',), 1350234620: ('0.03873668310530549',), 1350234617: ('0.03873668310530549',), 1350234614: ('0.03873668310530549',), 1350234577: ('0.03873668310530549',), 1350234574: ('0.03873668310530549',), 1350234570: ('0.03873668310530549',), 1350234507: ('0.03873668310530549',)} args : 1350234791 depend.output_id : 0 input_args_next_step : {1350235814: ('0.03873668310530549',), 1350235754: ('0.03873668310530549',), 1350235579: ('0.03873668310530549',), 1350235324: ('0.03873668310530549',), 1350235276: ('0.03873668310530549',), 1350235079: ('0.03873668310530549',), 1350234918: ('0.03873668310530549',), 1350234915: ('0.03873668310530549',), 1350234862: ('0.03873668310530549',), 1350234861: ('0.03873668310530549',), 1350234828: ('0.03873668310530549',), 1350234825: ('0.03873668310530549',), 1350234821: ('0.03873668310530549',), 1350234791: ('0.03873668310530549',), 1350234780: ()} output_args : {1350235814: ('0.03873668310530549',), 1350235754: ('0.03873668310530549',), 1350235579: ('0.03873668310530549',), 1350235324: ('0.03873668310530549',), 1350235276: ('0.03873668310530549',), 1350235079: ('0.03873668310530549',), 1350234918: ('0.03873668310530549',), 1350234915: ('0.03873668310530549',), 1350234862: ('0.03873668310530549',), 1350234861: ('0.03873668310530549',), 1350234828: ('0.03873668310530549',), 1350234825: ('0.03873668310530549',), 1350234821: ('0.03873668310530549',), 1350234791: ('0.03873668310530549',), 1350234780: ('0.03873668310530549',), 1350234769: ('0.03873668310530549',), 1350234758: ('0.03873668310530549',), 1350234754: ('0.03873668310530549',), 1350234752: ('0.03873668310530549',), 1350234749: ('0.03873668310530549',), 1350234748: ('0.03873668310530549',), 1350234747: ('0.03873668310530549',), 1350234730: ('0.03873668310530549',), 1350234728: ('0.03873668310530549',), 1350234726: ('0.03873668310530549',), 1350234724: ('0.03873668310530549',), 1350234622: ('0.03873668310530549',), 1350234620: ('0.03873668310530549',), 1350234617: ('0.03873668310530549',), 1350234614: ('0.03873668310530549',), 1350234577: ('0.03873668310530549',), 1350234574: ('0.03873668310530549',), 1350234570: ('0.03873668310530549',), 1350234507: ('0.03873668310530549',)} args : 1350234780 depend.output_id : 0 input_args_next_step : {1350235814: ('0.03873668310530549',), 1350235754: ('0.03873668310530549',), 1350235579: ('0.03873668310530549',), 1350235324: ('0.03873668310530549',), 1350235276: ('0.03873668310530549',), 1350235079: ('0.03873668310530549',), 1350234918: ('0.03873668310530549',), 1350234915: ('0.03873668310530549',), 1350234862: ('0.03873668310530549',), 1350234861: ('0.03873668310530549',), 1350234828: ('0.03873668310530549',), 1350234825: ('0.03873668310530549',), 1350234821: ('0.03873668310530549',), 1350234791: ('0.03873668310530549',), 1350234780: ('0.03873668310530549',), 1350234769: ()} output_args : {1350235814: ('0.03873668310530549',), 1350235754: ('0.03873668310530549',), 1350235579: ('0.03873668310530549',), 1350235324: ('0.03873668310530549',), 1350235276: ('0.03873668310530549',), 1350235079: ('0.03873668310530549',), 1350234918: ('0.03873668310530549',), 1350234915: ('0.03873668310530549',), 1350234862: ('0.03873668310530549',), 1350234861: ('0.03873668310530549',), 1350234828: ('0.03873668310530549',), 1350234825: ('0.03873668310530549',), 1350234821: ('0.03873668310530549',), 1350234791: ('0.03873668310530549',), 1350234780: ('0.03873668310530549',), 1350234769: ('0.03873668310530549',), 1350234758: ('0.03873668310530549',), 1350234754: ('0.03873668310530549',), 1350234752: ('0.03873668310530549',), 1350234749: ('0.03873668310530549',), 1350234748: ('0.03873668310530549',), 1350234747: ('0.03873668310530549',), 1350234730: ('0.03873668310530549',), 1350234728: ('0.03873668310530549',), 1350234726: ('0.03873668310530549',), 1350234724: ('0.03873668310530549',), 1350234622: ('0.03873668310530549',), 1350234620: ('0.03873668310530549',), 1350234617: ('0.03873668310530549',), 1350234614: ('0.03873668310530549',), 1350234577: ('0.03873668310530549',), 1350234574: ('0.03873668310530549',), 1350234570: ('0.03873668310530549',), 1350234507: ('0.03873668310530549',)} args : 1350234769 depend.output_id : 0 input_args_next_step : {1350235814: ('0.03873668310530549',), 1350235754: ('0.03873668310530549',), 1350235579: ('0.03873668310530549',), 1350235324: ('0.03873668310530549',), 1350235276: ('0.03873668310530549',), 1350235079: ('0.03873668310530549',), 1350234918: ('0.03873668310530549',), 1350234915: ('0.03873668310530549',), 1350234862: ('0.03873668310530549',), 1350234861: ('0.03873668310530549',), 1350234828: ('0.03873668310530549',), 1350234825: ('0.03873668310530549',), 1350234821: ('0.03873668310530549',), 1350234791: ('0.03873668310530549',), 1350234780: ('0.03873668310530549',), 1350234769: ('0.03873668310530549',), 1350234758: ()} output_args : {1350235814: ('0.03873668310530549',), 1350235754: ('0.03873668310530549',), 1350235579: ('0.03873668310530549',), 1350235324: ('0.03873668310530549',), 1350235276: ('0.03873668310530549',), 1350235079: ('0.03873668310530549',), 1350234918: ('0.03873668310530549',), 1350234915: ('0.03873668310530549',), 1350234862: ('0.03873668310530549',), 1350234861: ('0.03873668310530549',), 1350234828: ('0.03873668310530549',), 1350234825: ('0.03873668310530549',), 1350234821: ('0.03873668310530549',), 1350234791: ('0.03873668310530549',), 1350234780: ('0.03873668310530549',), 1350234769: ('0.03873668310530549',), 1350234758: ('0.03873668310530549',), 1350234754: ('0.03873668310530549',), 1350234752: ('0.03873668310530549',), 1350234749: ('0.03873668310530549',), 1350234748: ('0.03873668310530549',), 1350234747: ('0.03873668310530549',), 1350234730: ('0.03873668310530549',), 1350234728: ('0.03873668310530549',), 1350234726: ('0.03873668310530549',), 1350234724: ('0.03873668310530549',), 1350234622: ('0.03873668310530549',), 1350234620: ('0.03873668310530549',), 1350234617: ('0.03873668310530549',), 1350234614: ('0.03873668310530549',), 1350234577: ('0.03873668310530549',), 1350234574: ('0.03873668310530549',), 1350234570: ('0.03873668310530549',), 1350234507: ('0.03873668310530549',)} args : 1350234758 depend.output_id : 0 input_args_next_step : {1350235814: ('0.03873668310530549',), 1350235754: ('0.03873668310530549',), 1350235579: ('0.03873668310530549',), 1350235324: ('0.03873668310530549',), 1350235276: ('0.03873668310530549',), 1350235079: ('0.03873668310530549',), 1350234918: ('0.03873668310530549',), 1350234915: ('0.03873668310530549',), 1350234862: ('0.03873668310530549',), 1350234861: ('0.03873668310530549',), 1350234828: ('0.03873668310530549',), 1350234825: ('0.03873668310530549',), 1350234821: ('0.03873668310530549',), 1350234791: ('0.03873668310530549',), 1350234780: ('0.03873668310530549',), 1350234769: ('0.03873668310530549',), 1350234758: ('0.03873668310530549',), 1350234754: ()} output_args : {1350235814: ('0.03873668310530549',), 1350235754: ('0.03873668310530549',), 1350235579: ('0.03873668310530549',), 1350235324: ('0.03873668310530549',), 1350235276: ('0.03873668310530549',), 1350235079: ('0.03873668310530549',), 1350234918: ('0.03873668310530549',), 1350234915: ('0.03873668310530549',), 1350234862: ('0.03873668310530549',), 1350234861: ('0.03873668310530549',), 1350234828: ('0.03873668310530549',), 1350234825: ('0.03873668310530549',), 1350234821: ('0.03873668310530549',), 1350234791: ('0.03873668310530549',), 1350234780: ('0.03873668310530549',), 1350234769: ('0.03873668310530549',), 1350234758: ('0.03873668310530549',), 1350234754: ('0.03873668310530549',), 1350234752: ('0.03873668310530549',), 1350234749: ('0.03873668310530549',), 1350234748: ('0.03873668310530549',), 1350234747: ('0.03873668310530549',), 1350234730: ('0.03873668310530549',), 1350234728: ('0.03873668310530549',), 1350234726: ('0.03873668310530549',), 1350234724: ('0.03873668310530549',), 1350234622: ('0.03873668310530549',), 1350234620: ('0.03873668310530549',), 1350234617: ('0.03873668310530549',), 1350234614: ('0.03873668310530549',), 1350234577: ('0.03873668310530549',), 1350234574: ('0.03873668310530549',), 1350234570: ('0.03873668310530549',), 1350234507: ('0.03873668310530549',)} args : 1350234754 depend.output_id : 0 input_args_next_step : {1350235814: ('0.03873668310530549',), 1350235754: ('0.03873668310530549',), 1350235579: ('0.03873668310530549',), 1350235324: ('0.03873668310530549',), 1350235276: ('0.03873668310530549',), 1350235079: ('0.03873668310530549',), 1350234918: ('0.03873668310530549',), 1350234915: ('0.03873668310530549',), 1350234862: ('0.03873668310530549',), 1350234861: ('0.03873668310530549',), 1350234828: ('0.03873668310530549',), 1350234825: ('0.03873668310530549',), 1350234821: ('0.03873668310530549',), 1350234791: ('0.03873668310530549',), 1350234780: ('0.03873668310530549',), 1350234769: ('0.03873668310530549',), 1350234758: ('0.03873668310530549',), 1350234754: ('0.03873668310530549',), 1350234752: ()} output_args : {1350235814: ('0.03873668310530549',), 1350235754: ('0.03873668310530549',), 1350235579: ('0.03873668310530549',), 1350235324: ('0.03873668310530549',), 1350235276: ('0.03873668310530549',), 1350235079: ('0.03873668310530549',), 1350234918: ('0.03873668310530549',), 1350234915: ('0.03873668310530549',), 1350234862: ('0.03873668310530549',), 1350234861: ('0.03873668310530549',), 1350234828: ('0.03873668310530549',), 1350234825: ('0.03873668310530549',), 1350234821: ('0.03873668310530549',), 1350234791: ('0.03873668310530549',), 1350234780: ('0.03873668310530549',), 1350234769: ('0.03873668310530549',), 1350234758: ('0.03873668310530549',), 1350234754: ('0.03873668310530549',), 1350234752: ('0.03873668310530549',), 1350234749: ('0.03873668310530549',), 1350234748: ('0.03873668310530549',), 1350234747: ('0.03873668310530549',), 1350234730: ('0.03873668310530549',), 1350234728: ('0.03873668310530549',), 1350234726: ('0.03873668310530549',), 1350234724: ('0.03873668310530549',), 1350234622: ('0.03873668310530549',), 1350234620: ('0.03873668310530549',), 1350234617: ('0.03873668310530549',), 1350234614: ('0.03873668310530549',), 1350234577: ('0.03873668310530549',), 1350234574: ('0.03873668310530549',), 1350234570: ('0.03873668310530549',), 1350234507: ('0.03873668310530549',)} args : 1350234752 depend.output_id : 0 input_args_next_step : {1350235814: ('0.03873668310530549',), 1350235754: ('0.03873668310530549',), 1350235579: ('0.03873668310530549',), 1350235324: ('0.03873668310530549',), 1350235276: ('0.03873668310530549',), 1350235079: ('0.03873668310530549',), 1350234918: ('0.03873668310530549',), 1350234915: ('0.03873668310530549',), 1350234862: ('0.03873668310530549',), 1350234861: ('0.03873668310530549',), 1350234828: ('0.03873668310530549',), 1350234825: ('0.03873668310530549',), 1350234821: ('0.03873668310530549',), 1350234791: ('0.03873668310530549',), 1350234780: ('0.03873668310530549',), 1350234769: ('0.03873668310530549',), 1350234758: ('0.03873668310530549',), 1350234754: ('0.03873668310530549',), 1350234752: ('0.03873668310530549',), 1350234749: ()} output_args : {1350235814: ('0.03873668310530549',), 1350235754: ('0.03873668310530549',), 1350235579: ('0.03873668310530549',), 1350235324: ('0.03873668310530549',), 1350235276: ('0.03873668310530549',), 1350235079: ('0.03873668310530549',), 1350234918: ('0.03873668310530549',), 1350234915: ('0.03873668310530549',), 1350234862: ('0.03873668310530549',), 1350234861: ('0.03873668310530549',), 1350234828: ('0.03873668310530549',), 1350234825: ('0.03873668310530549',), 1350234821: ('0.03873668310530549',), 1350234791: ('0.03873668310530549',), 1350234780: ('0.03873668310530549',), 1350234769: ('0.03873668310530549',), 1350234758: ('0.03873668310530549',), 1350234754: ('0.03873668310530549',), 1350234752: ('0.03873668310530549',), 1350234749: ('0.03873668310530549',), 1350234748: ('0.03873668310530549',), 1350234747: ('0.03873668310530549',), 1350234730: ('0.03873668310530549',), 1350234728: ('0.03873668310530549',), 1350234726: ('0.03873668310530549',), 1350234724: ('0.03873668310530549',), 1350234622: ('0.03873668310530549',), 1350234620: ('0.03873668310530549',), 1350234617: ('0.03873668310530549',), 1350234614: ('0.03873668310530549',), 1350234577: ('0.03873668310530549',), 1350234574: ('0.03873668310530549',), 1350234570: ('0.03873668310530549',), 1350234507: ('0.03873668310530549',)} args : 1350234749 depend.output_id : 0 input_args_next_step : {1350235814: ('0.03873668310530549',), 1350235754: ('0.03873668310530549',), 1350235579: ('0.03873668310530549',), 1350235324: ('0.03873668310530549',), 1350235276: ('0.03873668310530549',), 1350235079: ('0.03873668310530549',), 1350234918: ('0.03873668310530549',), 1350234915: ('0.03873668310530549',), 1350234862: ('0.03873668310530549',), 1350234861: ('0.03873668310530549',), 1350234828: ('0.03873668310530549',), 1350234825: ('0.03873668310530549',), 1350234821: ('0.03873668310530549',), 1350234791: ('0.03873668310530549',), 1350234780: ('0.03873668310530549',), 1350234769: ('0.03873668310530549',), 1350234758: ('0.03873668310530549',), 1350234754: ('0.03873668310530549',), 1350234752: ('0.03873668310530549',), 1350234749: ('0.03873668310530549',), 1350234748: ()} output_args : {1350235814: ('0.03873668310530549',), 1350235754: ('0.03873668310530549',), 1350235579: ('0.03873668310530549',), 1350235324: ('0.03873668310530549',), 1350235276: ('0.03873668310530549',), 1350235079: ('0.03873668310530549',), 1350234918: ('0.03873668310530549',), 1350234915: ('0.03873668310530549',), 1350234862: ('0.03873668310530549',), 1350234861: ('0.03873668310530549',), 1350234828: ('0.03873668310530549',), 1350234825: ('0.03873668310530549',), 1350234821: ('0.03873668310530549',), 1350234791: ('0.03873668310530549',), 1350234780: ('0.03873668310530549',), 1350234769: ('0.03873668310530549',), 1350234758: ('0.03873668310530549',), 1350234754: ('0.03873668310530549',), 1350234752: ('0.03873668310530549',), 1350234749: ('0.03873668310530549',), 1350234748: ('0.03873668310530549',), 1350234747: ('0.03873668310530549',), 1350234730: ('0.03873668310530549',), 1350234728: ('0.03873668310530549',), 1350234726: ('0.03873668310530549',), 1350234724: ('0.03873668310530549',), 1350234622: ('0.03873668310530549',), 1350234620: ('0.03873668310530549',), 1350234617: ('0.03873668310530549',), 1350234614: ('0.03873668310530549',), 1350234577: ('0.03873668310530549',), 1350234574: ('0.03873668310530549',), 1350234570: ('0.03873668310530549',), 1350234507: ('0.03873668310530549',)} args : 1350234748 depend.output_id : 0 input_args_next_step : {1350235814: ('0.03873668310530549',), 1350235754: ('0.03873668310530549',), 1350235579: ('0.03873668310530549',), 1350235324: ('0.03873668310530549',), 1350235276: ('0.03873668310530549',), 1350235079: ('0.03873668310530549',), 1350234918: ('0.03873668310530549',), 1350234915: ('0.03873668310530549',), 1350234862: ('0.03873668310530549',), 1350234861: ('0.03873668310530549',), 1350234828: ('0.03873668310530549',), 1350234825: ('0.03873668310530549',), 1350234821: ('0.03873668310530549',), 1350234791: ('0.03873668310530549',), 1350234780: ('0.03873668310530549',), 1350234769: ('0.03873668310530549',), 1350234758: ('0.03873668310530549',), 1350234754: ('0.03873668310530549',), 1350234752: ('0.03873668310530549',), 1350234749: ('0.03873668310530549',), 1350234748: ('0.03873668310530549',), 1350234747: ()} output_args : {1350235814: ('0.03873668310530549',), 1350235754: ('0.03873668310530549',), 1350235579: ('0.03873668310530549',), 1350235324: ('0.03873668310530549',), 1350235276: ('0.03873668310530549',), 1350235079: ('0.03873668310530549',), 1350234918: ('0.03873668310530549',), 1350234915: ('0.03873668310530549',), 1350234862: ('0.03873668310530549',), 1350234861: ('0.03873668310530549',), 1350234828: ('0.03873668310530549',), 1350234825: ('0.03873668310530549',), 1350234821: ('0.03873668310530549',), 1350234791: ('0.03873668310530549',), 1350234780: ('0.03873668310530549',), 1350234769: ('0.03873668310530549',), 1350234758: ('0.03873668310530549',), 1350234754: ('0.03873668310530549',), 1350234752: ('0.03873668310530549',), 1350234749: ('0.03873668310530549',), 1350234748: ('0.03873668310530549',), 1350234747: ('0.03873668310530549',), 1350234730: ('0.03873668310530549',), 1350234728: ('0.03873668310530549',), 1350234726: ('0.03873668310530549',), 1350234724: ('0.03873668310530549',), 1350234622: ('0.03873668310530549',), 1350234620: ('0.03873668310530549',), 1350234617: ('0.03873668310530549',), 1350234614: ('0.03873668310530549',), 1350234577: ('0.03873668310530549',), 1350234574: ('0.03873668310530549',), 1350234570: ('0.03873668310530549',), 1350234507: ('0.03873668310530549',)} args : 1350234747 depend.output_id : 0 input_args_next_step : {1350235814: ('0.03873668310530549',), 1350235754: ('0.03873668310530549',), 1350235579: ('0.03873668310530549',), 1350235324: ('0.03873668310530549',), 1350235276: ('0.03873668310530549',), 1350235079: ('0.03873668310530549',), 1350234918: ('0.03873668310530549',), 1350234915: ('0.03873668310530549',), 1350234862: ('0.03873668310530549',), 1350234861: ('0.03873668310530549',), 1350234828: ('0.03873668310530549',), 1350234825: ('0.03873668310530549',), 1350234821: ('0.03873668310530549',), 1350234791: ('0.03873668310530549',), 1350234780: ('0.03873668310530549',), 1350234769: ('0.03873668310530549',), 1350234758: ('0.03873668310530549',), 1350234754: ('0.03873668310530549',), 1350234752: ('0.03873668310530549',), 1350234749: ('0.03873668310530549',), 1350234748: ('0.03873668310530549',), 1350234747: ('0.03873668310530549',), 1350234730: ()} output_args : {1350235814: ('0.03873668310530549',), 1350235754: ('0.03873668310530549',), 1350235579: ('0.03873668310530549',), 1350235324: ('0.03873668310530549',), 1350235276: ('0.03873668310530549',), 1350235079: ('0.03873668310530549',), 1350234918: ('0.03873668310530549',), 1350234915: ('0.03873668310530549',), 1350234862: ('0.03873668310530549',), 1350234861: ('0.03873668310530549',), 1350234828: ('0.03873668310530549',), 1350234825: ('0.03873668310530549',), 1350234821: ('0.03873668310530549',), 1350234791: ('0.03873668310530549',), 1350234780: ('0.03873668310530549',), 1350234769: ('0.03873668310530549',), 1350234758: ('0.03873668310530549',), 1350234754: ('0.03873668310530549',), 1350234752: ('0.03873668310530549',), 1350234749: ('0.03873668310530549',), 1350234748: ('0.03873668310530549',), 1350234747: ('0.03873668310530549',), 1350234730: ('0.03873668310530549',), 1350234728: ('0.03873668310530549',), 1350234726: ('0.03873668310530549',), 1350234724: ('0.03873668310530549',), 1350234622: ('0.03873668310530549',), 1350234620: ('0.03873668310530549',), 1350234617: ('0.03873668310530549',), 1350234614: ('0.03873668310530549',), 1350234577: ('0.03873668310530549',), 1350234574: ('0.03873668310530549',), 1350234570: ('0.03873668310530549',), 1350234507: ('0.03873668310530549',)} args : 1350234730 depend.output_id : 0 input_args_next_step : {1350235814: ('0.03873668310530549',), 1350235754: ('0.03873668310530549',), 1350235579: ('0.03873668310530549',), 1350235324: ('0.03873668310530549',), 1350235276: ('0.03873668310530549',), 1350235079: ('0.03873668310530549',), 1350234918: ('0.03873668310530549',), 1350234915: ('0.03873668310530549',), 1350234862: ('0.03873668310530549',), 1350234861: ('0.03873668310530549',), 1350234828: ('0.03873668310530549',), 1350234825: ('0.03873668310530549',), 1350234821: ('0.03873668310530549',), 1350234791: ('0.03873668310530549',), 1350234780: ('0.03873668310530549',), 1350234769: ('0.03873668310530549',), 1350234758: ('0.03873668310530549',), 1350234754: ('0.03873668310530549',), 1350234752: ('0.03873668310530549',), 1350234749: ('0.03873668310530549',), 1350234748: ('0.03873668310530549',), 1350234747: ('0.03873668310530549',), 1350234730: ('0.03873668310530549',), 1350234728: ()} output_args : {1350235814: ('0.03873668310530549',), 1350235754: ('0.03873668310530549',), 1350235579: ('0.03873668310530549',), 1350235324: ('0.03873668310530549',), 1350235276: ('0.03873668310530549',), 1350235079: ('0.03873668310530549',), 1350234918: ('0.03873668310530549',), 1350234915: ('0.03873668310530549',), 1350234862: ('0.03873668310530549',), 1350234861: ('0.03873668310530549',), 1350234828: ('0.03873668310530549',), 1350234825: ('0.03873668310530549',), 1350234821: ('0.03873668310530549',), 1350234791: ('0.03873668310530549',), 1350234780: ('0.03873668310530549',), 1350234769: ('0.03873668310530549',), 1350234758: ('0.03873668310530549',), 1350234754: ('0.03873668310530549',), 1350234752: ('0.03873668310530549',), 1350234749: ('0.03873668310530549',), 1350234748: ('0.03873668310530549',), 1350234747: ('0.03873668310530549',), 1350234730: ('0.03873668310530549',), 1350234728: ('0.03873668310530549',), 1350234726: ('0.03873668310530549',), 1350234724: ('0.03873668310530549',), 1350234622: ('0.03873668310530549',), 1350234620: ('0.03873668310530549',), 1350234617: ('0.03873668310530549',), 1350234614: ('0.03873668310530549',), 1350234577: ('0.03873668310530549',), 1350234574: ('0.03873668310530549',), 1350234570: ('0.03873668310530549',), 1350234507: ('0.03873668310530549',)} args : 1350234728 depend.output_id : 0 input_args_next_step : {1350235814: ('0.03873668310530549',), 1350235754: ('0.03873668310530549',), 1350235579: ('0.03873668310530549',), 1350235324: ('0.03873668310530549',), 1350235276: ('0.03873668310530549',), 1350235079: ('0.03873668310530549',), 1350234918: ('0.03873668310530549',), 1350234915: ('0.03873668310530549',), 1350234862: ('0.03873668310530549',), 1350234861: ('0.03873668310530549',), 1350234828: ('0.03873668310530549',), 1350234825: ('0.03873668310530549',), 1350234821: ('0.03873668310530549',), 1350234791: ('0.03873668310530549',), 1350234780: ('0.03873668310530549',), 1350234769: ('0.03873668310530549',), 1350234758: ('0.03873668310530549',), 1350234754: ('0.03873668310530549',), 1350234752: ('0.03873668310530549',), 1350234749: ('0.03873668310530549',), 1350234748: ('0.03873668310530549',), 1350234747: ('0.03873668310530549',), 1350234730: ('0.03873668310530549',), 1350234728: ('0.03873668310530549',), 1350234726: ()} output_args : {1350235814: ('0.03873668310530549',), 1350235754: ('0.03873668310530549',), 1350235579: ('0.03873668310530549',), 1350235324: ('0.03873668310530549',), 1350235276: ('0.03873668310530549',), 1350235079: ('0.03873668310530549',), 1350234918: ('0.03873668310530549',), 1350234915: ('0.03873668310530549',), 1350234862: ('0.03873668310530549',), 1350234861: ('0.03873668310530549',), 1350234828: ('0.03873668310530549',), 1350234825: ('0.03873668310530549',), 1350234821: ('0.03873668310530549',), 1350234791: ('0.03873668310530549',), 1350234780: ('0.03873668310530549',), 1350234769: ('0.03873668310530549',), 1350234758: ('0.03873668310530549',), 1350234754: ('0.03873668310530549',), 1350234752: ('0.03873668310530549',), 1350234749: ('0.03873668310530549',), 1350234748: ('0.03873668310530549',), 1350234747: ('0.03873668310530549',), 1350234730: ('0.03873668310530549',), 1350234728: ('0.03873668310530549',), 1350234726: ('0.03873668310530549',), 1350234724: ('0.03873668310530549',), 1350234622: ('0.03873668310530549',), 1350234620: ('0.03873668310530549',), 1350234617: ('0.03873668310530549',), 1350234614: ('0.03873668310530549',), 1350234577: ('0.03873668310530549',), 1350234574: ('0.03873668310530549',), 1350234570: ('0.03873668310530549',), 1350234507: ('0.03873668310530549',)} args : 1350234726 depend.output_id : 0 input_args_next_step : {1350235814: ('0.03873668310530549',), 1350235754: ('0.03873668310530549',), 1350235579: ('0.03873668310530549',), 1350235324: ('0.03873668310530549',), 1350235276: ('0.03873668310530549',), 1350235079: ('0.03873668310530549',), 1350234918: ('0.03873668310530549',), 1350234915: ('0.03873668310530549',), 1350234862: ('0.03873668310530549',), 1350234861: ('0.03873668310530549',), 1350234828: ('0.03873668310530549',), 1350234825: ('0.03873668310530549',), 1350234821: ('0.03873668310530549',), 1350234791: ('0.03873668310530549',), 1350234780: ('0.03873668310530549',), 1350234769: ('0.03873668310530549',), 1350234758: ('0.03873668310530549',), 1350234754: ('0.03873668310530549',), 1350234752: ('0.03873668310530549',), 1350234749: ('0.03873668310530549',), 1350234748: ('0.03873668310530549',), 1350234747: ('0.03873668310530549',), 1350234730: ('0.03873668310530549',), 1350234728: ('0.03873668310530549',), 1350234726: ('0.03873668310530549',), 1350234724: ()} output_args : {1350235814: ('0.03873668310530549',), 1350235754: ('0.03873668310530549',), 1350235579: ('0.03873668310530549',), 1350235324: ('0.03873668310530549',), 1350235276: ('0.03873668310530549',), 1350235079: ('0.03873668310530549',), 1350234918: ('0.03873668310530549',), 1350234915: ('0.03873668310530549',), 1350234862: ('0.03873668310530549',), 1350234861: ('0.03873668310530549',), 1350234828: ('0.03873668310530549',), 1350234825: ('0.03873668310530549',), 1350234821: ('0.03873668310530549',), 1350234791: ('0.03873668310530549',), 1350234780: ('0.03873668310530549',), 1350234769: ('0.03873668310530549',), 1350234758: ('0.03873668310530549',), 1350234754: ('0.03873668310530549',), 1350234752: ('0.03873668310530549',), 1350234749: ('0.03873668310530549',), 1350234748: ('0.03873668310530549',), 1350234747: ('0.03873668310530549',), 1350234730: ('0.03873668310530549',), 1350234728: ('0.03873668310530549',), 1350234726: ('0.03873668310530549',), 1350234724: ('0.03873668310530549',), 1350234622: ('0.03873668310530549',), 1350234620: ('0.03873668310530549',), 1350234617: ('0.03873668310530549',), 1350234614: ('0.03873668310530549',), 1350234577: ('0.03873668310530549',), 1350234574: ('0.03873668310530549',), 1350234570: ('0.03873668310530549',), 1350234507: ('0.03873668310530549',)} args : 1350234724 depend.output_id : 0 input_args_next_step : {1350235814: ('0.03873668310530549',), 1350235754: ('0.03873668310530549',), 1350235579: ('0.03873668310530549',), 1350235324: ('0.03873668310530549',), 1350235276: ('0.03873668310530549',), 1350235079: ('0.03873668310530549',), 1350234918: ('0.03873668310530549',), 1350234915: ('0.03873668310530549',), 1350234862: ('0.03873668310530549',), 1350234861: ('0.03873668310530549',), 1350234828: ('0.03873668310530549',), 1350234825: ('0.03873668310530549',), 1350234821: ('0.03873668310530549',), 1350234791: ('0.03873668310530549',), 1350234780: ('0.03873668310530549',), 1350234769: ('0.03873668310530549',), 1350234758: ('0.03873668310530549',), 1350234754: ('0.03873668310530549',), 1350234752: ('0.03873668310530549',), 1350234749: ('0.03873668310530549',), 1350234748: ('0.03873668310530549',), 1350234747: ('0.03873668310530549',), 1350234730: ('0.03873668310530549',), 1350234728: ('0.03873668310530549',), 1350234726: ('0.03873668310530549',), 1350234724: ('0.03873668310530549',), 1350234622: ()} output_args : {1350235814: ('0.03873668310530549',), 1350235754: ('0.03873668310530549',), 1350235579: ('0.03873668310530549',), 1350235324: ('0.03873668310530549',), 1350235276: ('0.03873668310530549',), 1350235079: ('0.03873668310530549',), 1350234918: ('0.03873668310530549',), 1350234915: ('0.03873668310530549',), 1350234862: ('0.03873668310530549',), 1350234861: ('0.03873668310530549',), 1350234828: ('0.03873668310530549',), 1350234825: ('0.03873668310530549',), 1350234821: ('0.03873668310530549',), 1350234791: ('0.03873668310530549',), 1350234780: ('0.03873668310530549',), 1350234769: ('0.03873668310530549',), 1350234758: ('0.03873668310530549',), 1350234754: ('0.03873668310530549',), 1350234752: ('0.03873668310530549',), 1350234749: ('0.03873668310530549',), 1350234748: ('0.03873668310530549',), 1350234747: ('0.03873668310530549',), 1350234730: ('0.03873668310530549',), 1350234728: ('0.03873668310530549',), 1350234726: ('0.03873668310530549',), 1350234724: ('0.03873668310530549',), 1350234622: ('0.03873668310530549',), 1350234620: ('0.03873668310530549',), 1350234617: ('0.03873668310530549',), 1350234614: ('0.03873668310530549',), 1350234577: ('0.03873668310530549',), 1350234574: ('0.03873668310530549',), 1350234570: ('0.03873668310530549',), 1350234507: ('0.03873668310530549',)} args : 1350234622 depend.output_id : 0 input_args_next_step : {1350235814: ('0.03873668310530549',), 1350235754: ('0.03873668310530549',), 1350235579: ('0.03873668310530549',), 1350235324: ('0.03873668310530549',), 1350235276: ('0.03873668310530549',), 1350235079: ('0.03873668310530549',), 1350234918: ('0.03873668310530549',), 1350234915: ('0.03873668310530549',), 1350234862: ('0.03873668310530549',), 1350234861: ('0.03873668310530549',), 1350234828: ('0.03873668310530549',), 1350234825: ('0.03873668310530549',), 1350234821: ('0.03873668310530549',), 1350234791: ('0.03873668310530549',), 1350234780: ('0.03873668310530549',), 1350234769: ('0.03873668310530549',), 1350234758: ('0.03873668310530549',), 1350234754: ('0.03873668310530549',), 1350234752: ('0.03873668310530549',), 1350234749: ('0.03873668310530549',), 1350234748: ('0.03873668310530549',), 1350234747: ('0.03873668310530549',), 1350234730: ('0.03873668310530549',), 1350234728: ('0.03873668310530549',), 1350234726: ('0.03873668310530549',), 1350234724: ('0.03873668310530549',), 1350234622: ('0.03873668310530549',), 1350234620: ()} output_args : {1350235814: ('0.03873668310530549',), 1350235754: ('0.03873668310530549',), 1350235579: ('0.03873668310530549',), 1350235324: ('0.03873668310530549',), 1350235276: ('0.03873668310530549',), 1350235079: ('0.03873668310530549',), 1350234918: ('0.03873668310530549',), 1350234915: ('0.03873668310530549',), 1350234862: ('0.03873668310530549',), 1350234861: ('0.03873668310530549',), 1350234828: ('0.03873668310530549',), 1350234825: ('0.03873668310530549',), 1350234821: ('0.03873668310530549',), 1350234791: ('0.03873668310530549',), 1350234780: ('0.03873668310530549',), 1350234769: ('0.03873668310530549',), 1350234758: ('0.03873668310530549',), 1350234754: ('0.03873668310530549',), 1350234752: ('0.03873668310530549',), 1350234749: ('0.03873668310530549',), 1350234748: ('0.03873668310530549',), 1350234747: ('0.03873668310530549',), 1350234730: ('0.03873668310530549',), 1350234728: ('0.03873668310530549',), 1350234726: ('0.03873668310530549',), 1350234724: ('0.03873668310530549',), 1350234622: ('0.03873668310530549',), 1350234620: ('0.03873668310530549',), 1350234617: ('0.03873668310530549',), 1350234614: ('0.03873668310530549',), 1350234577: ('0.03873668310530549',), 1350234574: ('0.03873668310530549',), 1350234570: ('0.03873668310530549',), 1350234507: ('0.03873668310530549',)} args : 1350234620 depend.output_id : 0 input_args_next_step : {1350235814: ('0.03873668310530549',), 1350235754: ('0.03873668310530549',), 1350235579: ('0.03873668310530549',), 1350235324: ('0.03873668310530549',), 1350235276: ('0.03873668310530549',), 1350235079: ('0.03873668310530549',), 1350234918: ('0.03873668310530549',), 1350234915: ('0.03873668310530549',), 1350234862: ('0.03873668310530549',), 1350234861: ('0.03873668310530549',), 1350234828: ('0.03873668310530549',), 1350234825: ('0.03873668310530549',), 1350234821: ('0.03873668310530549',), 1350234791: ('0.03873668310530549',), 1350234780: ('0.03873668310530549',), 1350234769: ('0.03873668310530549',), 1350234758: ('0.03873668310530549',), 1350234754: ('0.03873668310530549',), 1350234752: ('0.03873668310530549',), 1350234749: ('0.03873668310530549',), 1350234748: ('0.03873668310530549',), 1350234747: ('0.03873668310530549',), 1350234730: ('0.03873668310530549',), 1350234728: ('0.03873668310530549',), 1350234726: ('0.03873668310530549',), 1350234724: ('0.03873668310530549',), 1350234622: ('0.03873668310530549',), 1350234620: ('0.03873668310530549',), 1350234617: ()} output_args : {1350235814: ('0.03873668310530549',), 1350235754: ('0.03873668310530549',), 1350235579: ('0.03873668310530549',), 1350235324: ('0.03873668310530549',), 1350235276: ('0.03873668310530549',), 1350235079: ('0.03873668310530549',), 1350234918: ('0.03873668310530549',), 1350234915: ('0.03873668310530549',), 1350234862: ('0.03873668310530549',), 1350234861: ('0.03873668310530549',), 1350234828: ('0.03873668310530549',), 1350234825: ('0.03873668310530549',), 1350234821: ('0.03873668310530549',), 1350234791: ('0.03873668310530549',), 1350234780: ('0.03873668310530549',), 1350234769: ('0.03873668310530549',), 1350234758: ('0.03873668310530549',), 1350234754: ('0.03873668310530549',), 1350234752: ('0.03873668310530549',), 1350234749: ('0.03873668310530549',), 1350234748: ('0.03873668310530549',), 1350234747: ('0.03873668310530549',), 1350234730: ('0.03873668310530549',), 1350234728: ('0.03873668310530549',), 1350234726: ('0.03873668310530549',), 1350234724: ('0.03873668310530549',), 1350234622: ('0.03873668310530549',), 1350234620: ('0.03873668310530549',), 1350234617: ('0.03873668310530549',), 1350234614: ('0.03873668310530549',), 1350234577: ('0.03873668310530549',), 1350234574: ('0.03873668310530549',), 1350234570: ('0.03873668310530549',), 1350234507: ('0.03873668310530549',)} args : 1350234617 depend.output_id : 0 input_args_next_step : {1350235814: ('0.03873668310530549',), 1350235754: ('0.03873668310530549',), 1350235579: ('0.03873668310530549',), 1350235324: ('0.03873668310530549',), 1350235276: ('0.03873668310530549',), 1350235079: ('0.03873668310530549',), 1350234918: ('0.03873668310530549',), 1350234915: ('0.03873668310530549',), 1350234862: ('0.03873668310530549',), 1350234861: ('0.03873668310530549',), 1350234828: ('0.03873668310530549',), 1350234825: ('0.03873668310530549',), 1350234821: ('0.03873668310530549',), 1350234791: ('0.03873668310530549',), 1350234780: ('0.03873668310530549',), 1350234769: ('0.03873668310530549',), 1350234758: ('0.03873668310530549',), 1350234754: ('0.03873668310530549',), 1350234752: ('0.03873668310530549',), 1350234749: ('0.03873668310530549',), 1350234748: ('0.03873668310530549',), 1350234747: ('0.03873668310530549',), 1350234730: ('0.03873668310530549',), 1350234728: ('0.03873668310530549',), 1350234726: ('0.03873668310530549',), 1350234724: ('0.03873668310530549',), 1350234622: ('0.03873668310530549',), 1350234620: ('0.03873668310530549',), 1350234617: ('0.03873668310530549',), 1350234614: ()} output_args : {1350235814: ('0.03873668310530549',), 1350235754: ('0.03873668310530549',), 1350235579: ('0.03873668310530549',), 1350235324: ('0.03873668310530549',), 1350235276: ('0.03873668310530549',), 1350235079: ('0.03873668310530549',), 1350234918: ('0.03873668310530549',), 1350234915: ('0.03873668310530549',), 1350234862: ('0.03873668310530549',), 1350234861: ('0.03873668310530549',), 1350234828: ('0.03873668310530549',), 1350234825: ('0.03873668310530549',), 1350234821: ('0.03873668310530549',), 1350234791: ('0.03873668310530549',), 1350234780: ('0.03873668310530549',), 1350234769: ('0.03873668310530549',), 1350234758: ('0.03873668310530549',), 1350234754: ('0.03873668310530549',), 1350234752: ('0.03873668310530549',), 1350234749: ('0.03873668310530549',), 1350234748: ('0.03873668310530549',), 1350234747: ('0.03873668310530549',), 1350234730: ('0.03873668310530549',), 1350234728: ('0.03873668310530549',), 1350234726: ('0.03873668310530549',), 1350234724: ('0.03873668310530549',), 1350234622: ('0.03873668310530549',), 1350234620: ('0.03873668310530549',), 1350234617: ('0.03873668310530549',), 1350234614: ('0.03873668310530549',), 1350234577: ('0.03873668310530549',), 1350234574: ('0.03873668310530549',), 1350234570: ('0.03873668310530549',), 1350234507: ('0.03873668310530549',)} args : 1350234614 depend.output_id : 0 input_args_next_step : {1350235814: ('0.03873668310530549',), 1350235754: ('0.03873668310530549',), 1350235579: ('0.03873668310530549',), 1350235324: ('0.03873668310530549',), 1350235276: ('0.03873668310530549',), 1350235079: ('0.03873668310530549',), 1350234918: ('0.03873668310530549',), 1350234915: ('0.03873668310530549',), 1350234862: ('0.03873668310530549',), 1350234861: ('0.03873668310530549',), 1350234828: ('0.03873668310530549',), 1350234825: ('0.03873668310530549',), 1350234821: ('0.03873668310530549',), 1350234791: ('0.03873668310530549',), 1350234780: ('0.03873668310530549',), 1350234769: ('0.03873668310530549',), 1350234758: ('0.03873668310530549',), 1350234754: ('0.03873668310530549',), 1350234752: ('0.03873668310530549',), 1350234749: ('0.03873668310530549',), 1350234748: ('0.03873668310530549',), 1350234747: ('0.03873668310530549',), 1350234730: ('0.03873668310530549',), 1350234728: ('0.03873668310530549',), 1350234726: ('0.03873668310530549',), 1350234724: ('0.03873668310530549',), 1350234622: ('0.03873668310530549',), 1350234620: ('0.03873668310530549',), 1350234617: ('0.03873668310530549',), 1350234614: ('0.03873668310530549',), 1350234577: ()} output_args : {1350235814: ('0.03873668310530549',), 1350235754: ('0.03873668310530549',), 1350235579: ('0.03873668310530549',), 1350235324: ('0.03873668310530549',), 1350235276: ('0.03873668310530549',), 1350235079: ('0.03873668310530549',), 1350234918: ('0.03873668310530549',), 1350234915: ('0.03873668310530549',), 1350234862: ('0.03873668310530549',), 1350234861: ('0.03873668310530549',), 1350234828: ('0.03873668310530549',), 1350234825: ('0.03873668310530549',), 1350234821: ('0.03873668310530549',), 1350234791: ('0.03873668310530549',), 1350234780: ('0.03873668310530549',), 1350234769: ('0.03873668310530549',), 1350234758: ('0.03873668310530549',), 1350234754: ('0.03873668310530549',), 1350234752: ('0.03873668310530549',), 1350234749: ('0.03873668310530549',), 1350234748: ('0.03873668310530549',), 1350234747: ('0.03873668310530549',), 1350234730: ('0.03873668310530549',), 1350234728: ('0.03873668310530549',), 1350234726: ('0.03873668310530549',), 1350234724: ('0.03873668310530549',), 1350234622: ('0.03873668310530549',), 1350234620: ('0.03873668310530549',), 1350234617: ('0.03873668310530549',), 1350234614: ('0.03873668310530549',), 1350234577: ('0.03873668310530549',), 1350234574: ('0.03873668310530549',), 1350234570: ('0.03873668310530549',), 1350234507: ('0.03873668310530549',)} args : 1350234577 depend.output_id : 0 input_args_next_step : {1350235814: ('0.03873668310530549',), 1350235754: ('0.03873668310530549',), 1350235579: ('0.03873668310530549',), 1350235324: ('0.03873668310530549',), 1350235276: ('0.03873668310530549',), 1350235079: ('0.03873668310530549',), 1350234918: ('0.03873668310530549',), 1350234915: ('0.03873668310530549',), 1350234862: ('0.03873668310530549',), 1350234861: ('0.03873668310530549',), 1350234828: ('0.03873668310530549',), 1350234825: ('0.03873668310530549',), 1350234821: ('0.03873668310530549',), 1350234791: ('0.03873668310530549',), 1350234780: ('0.03873668310530549',), 1350234769: ('0.03873668310530549',), 1350234758: ('0.03873668310530549',), 1350234754: ('0.03873668310530549',), 1350234752: ('0.03873668310530549',), 1350234749: ('0.03873668310530549',), 1350234748: ('0.03873668310530549',), 1350234747: ('0.03873668310530549',), 1350234730: ('0.03873668310530549',), 1350234728: ('0.03873668310530549',), 1350234726: ('0.03873668310530549',), 1350234724: ('0.03873668310530549',), 1350234622: ('0.03873668310530549',), 1350234620: ('0.03873668310530549',), 1350234617: ('0.03873668310530549',), 1350234614: ('0.03873668310530549',), 1350234577: ('0.03873668310530549',), 1350234574: ()} output_args : {1350235814: ('0.03873668310530549',), 1350235754: ('0.03873668310530549',), 1350235579: ('0.03873668310530549',), 1350235324: ('0.03873668310530549',), 1350235276: ('0.03873668310530549',), 1350235079: ('0.03873668310530549',), 1350234918: ('0.03873668310530549',), 1350234915: ('0.03873668310530549',), 1350234862: ('0.03873668310530549',), 1350234861: ('0.03873668310530549',), 1350234828: ('0.03873668310530549',), 1350234825: ('0.03873668310530549',), 1350234821: ('0.03873668310530549',), 1350234791: ('0.03873668310530549',), 1350234780: ('0.03873668310530549',), 1350234769: ('0.03873668310530549',), 1350234758: ('0.03873668310530549',), 1350234754: ('0.03873668310530549',), 1350234752: ('0.03873668310530549',), 1350234749: ('0.03873668310530549',), 1350234748: ('0.03873668310530549',), 1350234747: ('0.03873668310530549',), 1350234730: ('0.03873668310530549',), 1350234728: ('0.03873668310530549',), 1350234726: ('0.03873668310530549',), 1350234724: ('0.03873668310530549',), 1350234622: ('0.03873668310530549',), 1350234620: ('0.03873668310530549',), 1350234617: ('0.03873668310530549',), 1350234614: ('0.03873668310530549',), 1350234577: ('0.03873668310530549',), 1350234574: ('0.03873668310530549',), 1350234570: ('0.03873668310530549',), 1350234507: ('0.03873668310530549',)} args : 1350234574 depend.output_id : 0 input_args_next_step : {1350235814: ('0.03873668310530549',), 1350235754: ('0.03873668310530549',), 1350235579: ('0.03873668310530549',), 1350235324: ('0.03873668310530549',), 1350235276: ('0.03873668310530549',), 1350235079: ('0.03873668310530549',), 1350234918: ('0.03873668310530549',), 1350234915: ('0.03873668310530549',), 1350234862: ('0.03873668310530549',), 1350234861: ('0.03873668310530549',), 1350234828: ('0.03873668310530549',), 1350234825: ('0.03873668310530549',), 1350234821: ('0.03873668310530549',), 1350234791: ('0.03873668310530549',), 1350234780: ('0.03873668310530549',), 1350234769: ('0.03873668310530549',), 1350234758: ('0.03873668310530549',), 1350234754: ('0.03873668310530549',), 1350234752: ('0.03873668310530549',), 1350234749: ('0.03873668310530549',), 1350234748: ('0.03873668310530549',), 1350234747: ('0.03873668310530549',), 1350234730: ('0.03873668310530549',), 1350234728: ('0.03873668310530549',), 1350234726: ('0.03873668310530549',), 1350234724: ('0.03873668310530549',), 1350234622: ('0.03873668310530549',), 1350234620: ('0.03873668310530549',), 1350234617: ('0.03873668310530549',), 1350234614: ('0.03873668310530549',), 1350234577: ('0.03873668310530549',), 1350234574: ('0.03873668310530549',), 1350234570: ()} output_args : {1350235814: ('0.03873668310530549',), 1350235754: ('0.03873668310530549',), 1350235579: ('0.03873668310530549',), 1350235324: ('0.03873668310530549',), 1350235276: ('0.03873668310530549',), 1350235079: ('0.03873668310530549',), 1350234918: ('0.03873668310530549',), 1350234915: ('0.03873668310530549',), 1350234862: ('0.03873668310530549',), 1350234861: ('0.03873668310530549',), 1350234828: ('0.03873668310530549',), 1350234825: ('0.03873668310530549',), 1350234821: ('0.03873668310530549',), 1350234791: ('0.03873668310530549',), 1350234780: ('0.03873668310530549',), 1350234769: ('0.03873668310530549',), 1350234758: ('0.03873668310530549',), 1350234754: ('0.03873668310530549',), 1350234752: ('0.03873668310530549',), 1350234749: ('0.03873668310530549',), 1350234748: ('0.03873668310530549',), 1350234747: ('0.03873668310530549',), 1350234730: ('0.03873668310530549',), 1350234728: ('0.03873668310530549',), 1350234726: ('0.03873668310530549',), 1350234724: ('0.03873668310530549',), 1350234622: ('0.03873668310530549',), 1350234620: ('0.03873668310530549',), 1350234617: ('0.03873668310530549',), 1350234614: ('0.03873668310530549',), 1350234577: ('0.03873668310530549',), 1350234574: ('0.03873668310530549',), 1350234570: ('0.03873668310530549',), 1350234507: ('0.03873668310530549',)} args : 1350234570 depend.output_id : 0 input_args_next_step : {1350235814: ('0.03873668310530549',), 1350235754: ('0.03873668310530549',), 1350235579: ('0.03873668310530549',), 1350235324: ('0.03873668310530549',), 1350235276: ('0.03873668310530549',), 1350235079: ('0.03873668310530549',), 1350234918: ('0.03873668310530549',), 1350234915: ('0.03873668310530549',), 1350234862: ('0.03873668310530549',), 1350234861: ('0.03873668310530549',), 1350234828: ('0.03873668310530549',), 1350234825: ('0.03873668310530549',), 1350234821: ('0.03873668310530549',), 1350234791: ('0.03873668310530549',), 1350234780: ('0.03873668310530549',), 1350234769: ('0.03873668310530549',), 1350234758: ('0.03873668310530549',), 1350234754: ('0.03873668310530549',), 1350234752: ('0.03873668310530549',), 1350234749: ('0.03873668310530549',), 1350234748: ('0.03873668310530549',), 1350234747: ('0.03873668310530549',), 1350234730: ('0.03873668310530549',), 1350234728: ('0.03873668310530549',), 1350234726: ('0.03873668310530549',), 1350234724: ('0.03873668310530549',), 1350234622: ('0.03873668310530549',), 1350234620: ('0.03873668310530549',), 1350234617: ('0.03873668310530549',), 1350234614: ('0.03873668310530549',), 1350234577: ('0.03873668310530549',), 1350234574: ('0.03873668310530549',), 1350234570: ('0.03873668310530549',), 1350234507: ()} output_args : {1350235814: ('0.03873668310530549',), 1350235754: ('0.03873668310530549',), 1350235579: ('0.03873668310530549',), 1350235324: ('0.03873668310530549',), 1350235276: ('0.03873668310530549',), 1350235079: ('0.03873668310530549',), 1350234918: ('0.03873668310530549',), 1350234915: ('0.03873668310530549',), 1350234862: ('0.03873668310530549',), 1350234861: ('0.03873668310530549',), 1350234828: ('0.03873668310530549',), 1350234825: ('0.03873668310530549',), 1350234821: ('0.03873668310530549',), 1350234791: ('0.03873668310530549',), 1350234780: ('0.03873668310530549',), 1350234769: ('0.03873668310530549',), 1350234758: ('0.03873668310530549',), 1350234754: ('0.03873668310530549',), 1350234752: ('0.03873668310530549',), 1350234749: ('0.03873668310530549',), 1350234748: ('0.03873668310530549',), 1350234747: ('0.03873668310530549',), 1350234730: ('0.03873668310530549',), 1350234728: ('0.03873668310530549',), 1350234726: ('0.03873668310530549',), 1350234724: ('0.03873668310530549',), 1350234622: ('0.03873668310530549',), 1350234620: ('0.03873668310530549',), 1350234617: ('0.03873668310530549',), 1350234614: ('0.03873668310530549',), 1350234577: ('0.03873668310530549',), 1350234574: ('0.03873668310530549',), 1350234570: ('0.03873668310530549',), 1350234507: ('0.03873668310530549',)} args : 1350234507 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 : {22087245: [{'cartonnette': 22087246, 'environnement': 22087247, 'flou': 22087248, 'kraft': 22087249, 'autre_refus': 22087250, 'mal_croppe': 22087251, 'Teint_Dans_La_Masse': 22087252, 'Carton_brun': 22087253, 'papier': 22087254, 'plastique': 22087255, 'Carton_gris': 22087256, 'metal': 22087257}]} input_args_next_step : {1350235814: ('0.03873668310530549',), 1350235754: ('0.03873668310530549',), 1350235579: ('0.03873668310530549',), 1350235324: ('0.03873668310530549',), 1350235276: ('0.03873668310530549',), 1350235079: ('0.03873668310530549',), 1350234918: ('0.03873668310530549',), 1350234915: ('0.03873668310530549',), 1350234862: ('0.03873668310530549',), 1350234861: ('0.03873668310530549',), 1350234828: ('0.03873668310530549',), 1350234825: ('0.03873668310530549',), 1350234821: ('0.03873668310530549',), 1350234791: ('0.03873668310530549',), 1350234780: ('0.03873668310530549',), 1350234769: ('0.03873668310530549',), 1350234758: ('0.03873668310530549',), 1350234754: ('0.03873668310530549',), 1350234752: ('0.03873668310530549',), 1350234749: ('0.03873668310530549',), 1350234748: ('0.03873668310530549',), 1350234747: ('0.03873668310530549',), 1350234730: ('0.03873668310530549',), 1350234728: ('0.03873668310530549',), 1350234726: ('0.03873668310530549',), 1350234724: ('0.03873668310530549',), 1350234622: ('0.03873668310530549',), 1350234620: ('0.03873668310530549',), 1350234617: ('0.03873668310530549',), 1350234614: ('0.03873668310530549',), 1350234577: ('0.03873668310530549',), 1350234574: ('0.03873668310530549',), 1350234570: ('0.03873668310530549',), 1350234507: ('0.03873668310530549',), 22087245: ()} output_args : {22087245: [{'cartonnette': 22087246, 'environnement': 22087247, 'flou': 22087248, 'kraft': 22087249, 'autre_refus': 22087250, 'mal_croppe': 22087251, 'Teint_Dans_La_Masse': 22087252, 'Carton_brun': 22087253, 'papier': 22087254, 'plastique': 22087255, 'Carton_gris': 22087256, 'metal': 22087257}]} args : 22087245 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 :35, first value : ('0.03873668310530549',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22087245) 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 (1350235814,1350235754,1350235579,1350235324,1350235276,1350235079,1350234918,1350234915,1350234862,1350234861,1350234828,1350234825,1350234821,1350234791,1350234780,1350234769,1350234758,1350234754,1350234752,1350234749,1350234748,1350234747,1350234730,1350234728,1350234726,1350234724,1350234622,1350234620,1350234617,1350234614,1350234577,1350234574,1350234570,1350234507) Found this number of photos: 34 ##### Call download_photos : nb_thread : 5 begin to download photo : 1350234507 begin to download photo : 1350234622 begin to download photo : 1350234749 begin to download photo : 1350234821 begin to download photo : 1350235079 download finish for photo 1350235079 begin to download photo : 1350235276 download finish for photo 1350234821 begin to download photo : 1350234825 download finish for photo 1350234622 begin to download photo : 1350234724 download finish for photo 1350234749 begin to download photo : 1350234752 download finish for photo 1350235276 begin to download photo : 1350235324 download finish for photo 1350234825 begin to download photo : 1350234828 download finish for photo 1350234724 begin to download photo : 1350234726 download finish for photo 1350234752 begin to download photo : 1350234754 download finish for photo 1350234507 begin to download photo : 1350234570 download finish for photo 1350234828 begin to download photo : 1350234861 download finish for photo 1350235324 begin to download photo : 1350235579 download finish for photo 1350234726 begin to download photo : 1350234728 download finish for photo 1350234754 begin to download photo : 1350234758 download finish for photo 1350234861 begin to download photo : 1350234862 download finish for photo 1350234570 begin to download photo : 1350234574 download finish for photo 1350234758 begin to download photo : 1350234769 download finish for photo 1350234728 begin to download photo : 1350234730 download finish for photo 1350234862 begin to download photo : 1350234915 download finish for photo 1350235579 begin to download photo : 1350235754 download finish for photo 1350234574 begin to download photo : 1350234577 download finish for photo 1350234730 begin to download photo : 1350234747 download finish for photo 1350234769 begin to download photo : 1350234780 download finish for photo 1350234915 begin to download photo : 1350234918 download finish for photo 1350235754 begin to download photo : 1350235814 download finish for photo 1350234577 begin to download photo : 1350234614 download finish for photo 1350234747 begin to download photo : 1350234748 download finish for photo 1350234780 begin to download photo : 1350234791 download finish for photo 1350234918 download finish for photo 1350235814 download finish for photo 1350234748 download finish for photo 1350234614 begin to download photo : 1350234617 download finish for photo 1350234617 begin to download photo : 1350234620 download finish for photo 1350234791 download finish for photo 1350234620 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 : 34 ; length of list_pids : 34 ; length of list_args : 34 results_Auto_P22087245_08-04-2025_05_34_35.pdf 22087246 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=22087246 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1350234788: '1743996932_563136_1350234620_e8b8ea43f6cbb7c02e7b6b3635600d1b_rle_crop_3748535554_0.png', 1350234789: '1743996932_563136_1350234617_f3ad6f7276dec36631b01d717ecef41d_rle_crop_3748535575_0.png', 1350235468: '1743997262_566425_1350234915_bfe1ad386ccdea62b476ef2815d48987_rle_crop_3748538294_0.png', 1350235624: '1743997371_567507_1350235579_aefc02e886ec6f30362787f055bd5a02_rle_crop_3748538489_0.png', 1350235625: '1743997371_567507_1350235276_abb9d983718e6fa26f56b3901e329bf0_rle_crop_3748538501_0.png', 1350238264: '1743999412_626400_1350234620_e8b8ea43f6cbb7c02e7b6b3635600d1b_rle_crop_3748535554_0.png', 1350238265: '1743999412_626400_1350234617_f3ad6f7276dec36631b01d717ecef41d_rle_crop_3748535575_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/3c64748b547640cb0bbfbc01d8705d67_54391887.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/f37885ef6e408b509376cfebb646540f_27897295.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/3694e6479a3df9e60b36e8555829bd26_70926652.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/80d955820c5789219e03d0c24099d1f7_57358490.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/dc8e18b388f5390c8390e429114ff089_13415414.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/3c64748b547640cb0bbfbc01d8705d67_33759069.png change filename to text .imagette220872461744083275/ imagette220872461744083275/1743999412_626400_1350234620_e8b8ea43f6cbb7c02e7b6b3635600d1b_rle_crop_3748535554_0.png.png imagette220872461744083275/1743997371_567507_1350235579_aefc02e886ec6f30362787f055bd5a02_rle_crop_3748538489_0.png.png imagette220872461744083275/1743996932_563136_1350234620_e8b8ea43f6cbb7c02e7b6b3635600d1b_rle_crop_3748535554_0.png.png imagette220872461744083275/1743997262_566425_1350234915_bfe1ad386ccdea62b476ef2815d48987_rle_crop_3748538294_0.png.png imagette220872461744083275/1743997371_567507_1350235276_abb9d983718e6fa26f56b3901e329bf0_rle_crop_3748538501_0.png.png imagette220872461744083275/1743996932_563136_1350234617_f3ad6f7276dec36631b01d717ecef41d_rle_crop_3748535575_0.png.png imagette220872461744083275/1743999412_626400_1350234617_f3ad6f7276dec36631b01d717ecef41d_rle_crop_3748535575_0.png.png imagette220872481744083276/ wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/f37885ef6e408b509376cfebb646540f_83002076.png imagette220872461744083275 22087248 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=22087248 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette220872481744083276 22087249 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=22087249 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1350234792: '1743996932_563136_1350234617_f3ad6f7276dec36631b01d717ecef41d_rle_crop_3748535567_0.png', 1350238276: '1743999412_626400_1350234617_f3ad6f7276dec36631b01d717ecef41d_rle_crop_3748535567_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/15479e07c28e47bfd343ca0b9ed5fe76_91174237.png change filename to text .imagette220872491744083276/ imagette220872491744083276/1743996932_563136_1350234617_f3ad6f7276dec36631b01d717ecef41d_rle_crop_3748535567_0.png.png imagette220872491744083276/1743999412_626400_1350234617_f3ad6f7276dec36631b01d717ecef41d_rle_crop_3748535567_0.png.png wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/15479e07c28e47bfd343ca0b9ed5fe76_71200096.png imagette220872491744083276 22087250 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=22087250 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1350234642: '1743996781_561735_1350234507_ff2082c42432ef1569d7e85021cd1d8f_rle_crop_3748535396_0.png', 1350234844: '1743997011_563929_1350234748_f2f0d7a9e40591ffe4e148164f622b2d_rle_crop_3748536994_0.png', 1350234845: '1743997011_563929_1350234748_f2f0d7a9e40591ffe4e148164f622b2d_rle_crop_3748536988_0.png', 1350234878: '1743997031_564156_1350234758_d5c728a838e733aeb4e2bbb4c4a4893b_rle_crop_3748537124_0.png', 1350234882: '1743997031_564156_1350234752_71b016061b4f3df27afb6567470d79b9_rle_crop_3748537215_0.png', 1350234883: '1743997031_564156_1350234749_d7307879e040032e34f179bc3efdbb33_rle_crop_3748537250_0.png', 1350234884: '1743997031_564156_1350234728_6e3d36d1dec895c4a173b4cfeb76f0a1_rle_crop_3748537288_0.png', 1350234885: '1743997031_564156_1350234724_8440905940e3a5d7403dd1bae8a5fceb_rle_crop_3748537383_0.png', 1350235368: '1743997251_566268_1350234918_3cfe913368ca32f0c7b38fb80a3433a0_rle_crop_3748537925_0.png', 1350235369: '1743997251_566268_1350234861_cebec1ae43151d28aaaaa296a13c14a5_rle_crop_3748537942_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/c66745e761009e8ead4102a0ffb21ebe_21637654.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/fd0c84feca7dc38952ddc2c7198ad9a6_97736849.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/fa8520256fe80b6077e5a49b43138fdc_87519800.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/319b6703d9490cb804b0f5c8a2f3712d_78832464.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/f213811478c70bfb281a610da6168dc8_41359065.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/c1a4142b2b9f0532b99bb8c43af45395_9511695.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/319b6703d9490cb804b0f5c8a2f3712d_3924543.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/f213811478c70bfb281a610da6168dc8_21608089.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/ffa695113c8eb56ef50b99a6eecb356a_67416260.png change filename to text .imagette220872501744083276/ imagette220872501744083276/1743997031_564156_1350234728_6e3d36d1dec895c4a173b4cfeb76f0a1_rle_crop_3748537288_0.png.png imagette220872501744083276/1743997031_564156_1350234749_d7307879e040032e34f179bc3efdbb33_rle_crop_3748537250_0.png.png imagette220872501744083276/1743997011_563929_1350234748_f2f0d7a9e40591ffe4e148164f622b2d_rle_crop_3748536988_0.png.png imagette220872501744083276/1743997011_563929_1350234748_f2f0d7a9e40591ffe4e148164f622b2d_rle_crop_3748536994_0.png.png imagette220872501744083276/1743997251_566268_1350234918_3cfe913368ca32f0c7b38fb80a3433a0_rle_crop_3748537925_0.png.png imagette220872501744083276/1743997251_566268_1350234861_cebec1ae43151d28aaaaa296a13c14a5_rle_crop_3748537942_0.png.png imagette220872501744083276/1743996781_561735_1350234507_ff2082c42432ef1569d7e85021cd1d8f_rle_crop_3748535396_0.png.png imagette220872501744083276/1743997031_564156_1350234724_8440905940e3a5d7403dd1bae8a5fceb_rle_crop_3748537383_0.png.png imagette220872501744083276/1743997031_564156_1350234752_71b016061b4f3df27afb6567470d79b9_rle_crop_3748537215_0.png.png imagette220872501744083276/1743997031_564156_1350234758_d5c728a838e733aeb4e2bbb4c4a4893b_rle_crop_3748537124_0.png.png imagette220872511744083278/ wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/0a6362d113f0c06bb1f1160499b8d428_6644245.png imagette220872501744083276 22087251 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=22087251 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette220872511744083278 22087255 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=22087255 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1350234634: '1743996773_561622_1350234574_751bafdb5221e3194f5eec5cf21e7ed7_rle_crop_3748535348_0.png', 1350234648: '1743996781_561735_1350234577_b873dfe73f392a5ebde6ddf8e0c6e7fa_rle_crop_3748535385_0.png', 1350234649: '1743996781_561735_1350234577_b873dfe73f392a5ebde6ddf8e0c6e7fa_rle_crop_3748535377_0.png', 1350234650: '1743996781_561735_1350234507_ff2082c42432ef1569d7e85021cd1d8f_rle_crop_3748535407_0.png', 1350234850: '1743997011_563929_1350234748_f2f0d7a9e40591ffe4e148164f622b2d_rle_crop_3748536996_0.png', 1350234851: '1743997011_563929_1350234747_c745b85db66359efd6c4c81a4c3dddeb_rle_crop_3748537034_0.png', 1350234852: '1743997011_563929_1350234747_c745b85db66359efd6c4c81a4c3dddeb_rle_crop_3748537030_0.png', 1350234911: '1743997031_564156_1350234758_d5c728a838e733aeb4e2bbb4c4a4893b_rle_crop_3748537119_0.png', 1350234912: '1743997031_564156_1350234728_6e3d36d1dec895c4a173b4cfeb76f0a1_rle_crop_3748537283_0.png', 1350235627: '1743997371_567507_1350235276_abb9d983718e6fa26f56b3901e329bf0_rle_crop_3748538517_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/5e32a4c1dede24350eb41e88082e1d1a_47843846.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/13a4ce283c78b9dd3169097eaad749ac_3022191.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/c77d2283f5f55f28815c7443483da5b2_14169129.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/a507128ab32ef24660ac3edb38b0c0da_37963598.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/0f7f907c3a935e4e57248514ff7063ba_16983828.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/339cfdc245cb9d4317b9e65cd4414758_58724016.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/883e3f778e101e3ba2ef902b2ff54b61_28097171.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/5337e207a2ec997c03daade770b71e37_77013960.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/5337e207a2ec997c03daade770b71e37_34224423.png change filename to text .imagette220872551744083278/ imagette220872551744083278/1743997011_563929_1350234748_f2f0d7a9e40591ffe4e148164f622b2d_rle_crop_3748536996_0.png.png imagette220872551744083278/1743997011_563929_1350234747_c745b85db66359efd6c4c81a4c3dddeb_rle_crop_3748537034_0.png.png imagette220872551744083278/1743996781_561735_1350234577_b873dfe73f392a5ebde6ddf8e0c6e7fa_rle_crop_3748535377_0.png.png imagette220872551744083278/1743997011_563929_1350234747_c745b85db66359efd6c4c81a4c3dddeb_rle_crop_3748537030_0.png.png imagette220872551744083278/1743996781_561735_1350234577_b873dfe73f392a5ebde6ddf8e0c6e7fa_rle_crop_3748535385_0.png.png imagette220872551744083278/1743997031_564156_1350234728_6e3d36d1dec895c4a173b4cfeb76f0a1_rle_crop_3748537283_0.png.png imagette220872551744083278/1743996781_561735_1350234507_ff2082c42432ef1569d7e85021cd1d8f_rle_crop_3748535407_0.png.png imagette220872551744083278/1743997371_567507_1350235276_abb9d983718e6fa26f56b3901e329bf0_rle_crop_3748538517_0.png.png imagette220872551744083278/1743996773_561622_1350234574_751bafdb5221e3194f5eec5cf21e7ed7_rle_crop_3748535348_0.png.png imagette220872551744083278/1743997031_564156_1350234758_d5c728a838e733aeb4e2bbb4c4a4893b_rle_crop_3748537119_0.png.png imagette220872571744083279/ wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/f68f2a2b69df8e8b10a6c8dc5d32c1ae_7548311.png imagette220872551744083278 22087257 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=22087257 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette220872571744083279 22087252 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=22087252 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1350234631: '1743996773_561622_1350234574_751bafdb5221e3194f5eec5cf21e7ed7_rle_crop_3748535352_0.png', 1350234632: '1743996773_561622_1350234574_751bafdb5221e3194f5eec5cf21e7ed7_rle_crop_3748535353_0.png', 1350234633: '1743996773_561622_1350234570_999453e25e199c6dcb6b454a3a555a92_rle_crop_3748535366_0.png', 1350234641: '1743996781_561735_1350234577_b873dfe73f392a5ebde6ddf8e0c6e7fa_rle_crop_3748535378_0.png', 1350234781: '1743996932_563136_1350234620_e8b8ea43f6cbb7c02e7b6b3635600d1b_rle_crop_3748535556_0.png', 1350234842: '1743997011_563929_1350234747_c745b85db66359efd6c4c81a4c3dddeb_rle_crop_3748537029_0.png', 1350234875: '1743997031_564156_1350234752_71b016061b4f3df27afb6567470d79b9_rle_crop_3748537213_0.png', 1350234876: '1743997031_564156_1350234724_8440905940e3a5d7403dd1bae8a5fceb_rle_crop_3748537381_0.png', 1350238261: '1743999412_626400_1350234620_e8b8ea43f6cbb7c02e7b6b3635600d1b_rle_crop_3748535556_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/4c712942817ef139b0d1072ebe9f44d3_7912883.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/b9ef6961624930bb4deb5303d8c6e8c8_80240384.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/1c573137a00593bd67c266c31d89e4f5_24056251.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/67c387307a06bb533b2ec96a72debe83_34889116.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/67b1f0e8b840bbaea36b4c87b345cd67_19315575.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/2ee7af11983213e3e09397c9cf9bd8a3_80029581.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/e34fdd9e0daec67a5f6e998c33263f64_3421365.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/e34fdd9e0daec67a5f6e998c33263f64_9782425.png change filename to text .imagette220872521744083279/ imagette220872521744083279/1743997031_564156_1350234752_71b016061b4f3df27afb6567470d79b9_rle_crop_3748537213_0.png.png imagette220872521744083279/1743999412_626400_1350234620_e8b8ea43f6cbb7c02e7b6b3635600d1b_rle_crop_3748535556_0.png.png imagette220872521744083279/1743996773_561622_1350234574_751bafdb5221e3194f5eec5cf21e7ed7_rle_crop_3748535352_0.png.png imagette220872521744083279/1743997011_563929_1350234747_c745b85db66359efd6c4c81a4c3dddeb_rle_crop_3748537029_0.png.png imagette220872521744083279/1743996773_561622_1350234574_751bafdb5221e3194f5eec5cf21e7ed7_rle_crop_3748535353_0.png.png imagette220872521744083279/1743996781_561735_1350234577_b873dfe73f392a5ebde6ddf8e0c6e7fa_rle_crop_3748535378_0.png.png imagette220872521744083279/1743996773_561622_1350234570_999453e25e199c6dcb6b454a3a555a92_rle_crop_3748535366_0.png.png imagette220872521744083279/1743997031_564156_1350234724_8440905940e3a5d7403dd1bae8a5fceb_rle_crop_3748537381_0.png.png imagette220872521744083279/1743996932_563136_1350234620_e8b8ea43f6cbb7c02e7b6b3635600d1b_rle_crop_3748535556_0.png.png wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/67b1f0e8b840bbaea36b4c87b345cd67_16492704.png imagette220872521744083279 22087253 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=22087253 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1350234905: '1743997031_564156_1350234728_6e3d36d1dec895c4a173b4cfeb76f0a1_rle_crop_3748537293_0.png', 1350238274: '1743999412_626400_1350234617_f3ad6f7276dec36631b01d717ecef41d_rle_crop_3748535576_0.png', 1350238273: '1743999412_626400_1350234730_e1f060861a285d354d0b46d991d1bec0_rle_crop_3748550781_0.png', 1350238272: '1743999412_626400_1350234730_e1f060861a285d354d0b46d991d1bec0_rle_crop_3748550776_0.png', 1350238271: '1743999412_626400_1350234730_e1f060861a285d354d0b46d991d1bec0_rle_crop_3748550770_0.png', 1350238270: '1743999412_626400_1350234769_c23485b20377d564aec2549a780fadc8_rle_crop_3748550765_0.png', 1350238269: '1743999412_626400_1350234769_c23485b20377d564aec2549a780fadc8_rle_crop_3748550760_0.png', 1350238268: '1743999412_626400_1350234769_c23485b20377d564aec2549a780fadc8_rle_crop_3748550754_0.png', 1350234910: '1743997031_564156_1350234724_8440905940e3a5d7403dd1bae8a5fceb_rle_crop_3748537384_0.png', 1350234909: '1743997031_564156_1350234726_2e74365b09fdf7e0dbf357722a17d90d_rle_crop_3748537369_0.png', 1350234908: '1743997031_564156_1350234726_2e74365b09fdf7e0dbf357722a17d90d_rle_crop_3748537367_0.png', 1350234907: '1743997031_564156_1350234726_2e74365b09fdf7e0dbf357722a17d90d_rle_crop_3748537366_0.png', 1350234906: '1743997031_564156_1350234728_6e3d36d1dec895c4a173b4cfeb76f0a1_rle_crop_3748537291_0.png', 1350234643: '1743996781_561735_1350234577_b873dfe73f392a5ebde6ddf8e0c6e7fa_rle_crop_3748535382_0.png', 1350234904: '1743997031_564156_1350234728_6e3d36d1dec895c4a173b4cfeb76f0a1_rle_crop_3748537292_0.png', 1350234903: '1743997031_564156_1350234749_d7307879e040032e34f179bc3efdbb33_rle_crop_3748537246_0.png', 1350234898: '1743997031_564156_1350234752_71b016061b4f3df27afb6567470d79b9_rle_crop_3748537216_0.png', 1350234897: '1743997031_564156_1350234754_bcacee4cdaf38473fe6cdec09ac463c6_rle_crop_3748537201_0.png', 1350234896: '1743997031_564156_1350234754_bcacee4cdaf38473fe6cdec09ac463c6_rle_crop_3748537199_0.png', 1350234895: '1743997031_564156_1350234754_bcacee4cdaf38473fe6cdec09ac463c6_rle_crop_3748537198_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/894802461a3bc447ca3275feaa30af08_99034367.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/90377e191efa57e5f2adce20111d2189_81944857.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/92d52d7b37dfe549b7d063980c51f55a_57923356.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/1d69d234146d5c79aae975b3f031e433_14399243.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/ff6bfbdbdeb5aea138ef9159b01ab23e_81639143.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/92d52d7b37dfe549b7d063980c51f55a_35480684.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/1d69d234146d5c79aae975b3f031e433_98296682.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/ff6bfbdbdeb5aea138ef9159b01ab23e_43927521.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/19f9527fdb593a0f39541cef43e9793b_71432527.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/97a64444cd98ac124f295920fdd29555_69449826.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/30c93cea79f25ac9f6d082a55fa3e176_11180142.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/eb67590d9bfa3b9eb6f0d170707e7dcb_76601050.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/9c942671ad9c05719fa8bd824670fbb8_73553234.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/31000d9b103fb4890b284985ed160a22_50077330.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/e205b7b8361f75be950b0e6de409ef13_69896726.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/70a4ebfae1f1b0c900010f276f88e252_66865042.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/19f9527fdb593a0f39541cef43e9793b_17636197.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/97a64444cd98ac124f295920fdd29555_94957539.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/30c93cea79f25ac9f6d082a55fa3e176_60229154.png change filename to text .imagette220872531744083280/ imagette220872531744083280/1743997031_564156_1350234754_bcacee4cdaf38473fe6cdec09ac463c6_rle_crop_3748537199_0.png.png imagette220872531744083280/1743997031_564156_1350234752_71b016061b4f3df27afb6567470d79b9_rle_crop_3748537216_0.png.png imagette220872531744083280/1743997031_564156_1350234724_8440905940e3a5d7403dd1bae8a5fceb_rle_crop_3748537384_0.png.png imagette220872531744083280/1743999412_626400_1350234730_e1f060861a285d354d0b46d991d1bec0_rle_crop_3748550770_0.png.png imagette220872531744083280/1743997031_564156_1350234728_6e3d36d1dec895c4a173b4cfeb76f0a1_rle_crop_3748537291_0.png.png imagette220872531744083280/1743999412_626400_1350234730_e1f060861a285d354d0b46d991d1bec0_rle_crop_3748550781_0.png.png imagette220872531744083280/1743997031_564156_1350234754_bcacee4cdaf38473fe6cdec09ac463c6_rle_crop_3748537198_0.png.png imagette220872531744083280/1743997031_564156_1350234749_d7307879e040032e34f179bc3efdbb33_rle_crop_3748537246_0.png.png imagette220872531744083280/1743997031_564156_1350234726_2e74365b09fdf7e0dbf357722a17d90d_rle_crop_3748537369_0.png.png imagette220872531744083280/1743997031_564156_1350234728_6e3d36d1dec895c4a173b4cfeb76f0a1_rle_crop_3748537292_0.png.png imagette220872531744083280/1743999412_626400_1350234617_f3ad6f7276dec36631b01d717ecef41d_rle_crop_3748535576_0.png.png imagette220872531744083280/1743999412_626400_1350234769_c23485b20377d564aec2549a780fadc8_rle_crop_3748550754_0.png.png imagette220872531744083280/1743997031_564156_1350234728_6e3d36d1dec895c4a173b4cfeb76f0a1_rle_crop_3748537293_0.png.png imagette220872531744083280/1743997031_564156_1350234754_bcacee4cdaf38473fe6cdec09ac463c6_rle_crop_3748537201_0.png.png imagette220872531744083280/1743997031_564156_1350234726_2e74365b09fdf7e0dbf357722a17d90d_rle_crop_3748537366_0.png.png imagette220872531744083280/1743999412_626400_1350234769_c23485b20377d564aec2549a780fadc8_rle_crop_3748550760_0.png.png imagette220872531744083280/1743997031_564156_1350234726_2e74365b09fdf7e0dbf357722a17d90d_rle_crop_3748537367_0.png.png imagette220872531744083280/1743999412_626400_1350234769_c23485b20377d564aec2549a780fadc8_rle_crop_3748550765_0.png.png imagette220872531744083280/1743996781_561735_1350234577_b873dfe73f392a5ebde6ddf8e0c6e7fa_rle_crop_3748535382_0.png.png imagette220872531744083280/1743999412_626400_1350234730_e1f060861a285d354d0b46d991d1bec0_rle_crop_3748550776_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/eb67590d9bfa3b9eb6f0d170707e7dcb_94451911.png imagette220872531744083280 22087256 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=22087256 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1350234786: '1743996932_563136_1350234617_f3ad6f7276dec36631b01d717ecef41d_rle_crop_3748535574_0.png', 1350234846: '1743997011_563929_1350234748_f2f0d7a9e40591ffe4e148164f622b2d_rle_crop_3748536997_0.png', 1350234887: '1743997031_564156_1350234749_d7307879e040032e34f179bc3efdbb33_rle_crop_3748537243_0.png', 1350235620: '1743997371_567507_1350235276_abb9d983718e6fa26f56b3901e329bf0_rle_crop_3748538512_0.png', 1350235621: '1743997371_567507_1350235276_abb9d983718e6fa26f56b3901e329bf0_rle_crop_3748538506_0.png', 1350235622: '1743997371_567507_1350235276_abb9d983718e6fa26f56b3901e329bf0_rle_crop_3748538505_0.png', 1350238263: '1743999412_626400_1350234617_f3ad6f7276dec36631b01d717ecef41d_rle_crop_3748535574_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/38863d0f3621d258d25635fe9e5867f4_41937467.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/594ec3739a0503c459085545e9dca5ce_4408282.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/2b2d7f34cb939f3bd94773deb4c64d12_84080562.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/8656ee3c74c5dd1d1f18ef5bea96da7d_42065005.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/bd7555470f17d0b9969248c86f4d0c99_56775761.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/1520ecebd96b799a433172cf4055d56c_68011411.png change filename to text .imagette220872561744083282/ imagette220872561744083282/1743996932_563136_1350234617_f3ad6f7276dec36631b01d717ecef41d_rle_crop_3748535574_0.png.png imagette220872561744083282/1743997011_563929_1350234748_f2f0d7a9e40591ffe4e148164f622b2d_rle_crop_3748536997_0.png.png imagette220872561744083282/1743997371_567507_1350235276_abb9d983718e6fa26f56b3901e329bf0_rle_crop_3748538505_0.png.png imagette220872561744083282/1743997371_567507_1350235276_abb9d983718e6fa26f56b3901e329bf0_rle_crop_3748538512_0.png.png imagette220872561744083282/1743997031_564156_1350234749_d7307879e040032e34f179bc3efdbb33_rle_crop_3748537243_0.png.png imagette220872561744083282/1743999412_626400_1350234617_f3ad6f7276dec36631b01d717ecef41d_rle_crop_3748535574_0.png.png imagette220872561744083282/1743997371_567507_1350235276_abb9d983718e6fa26f56b3901e329bf0_rle_crop_3748538506_0.png.png wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/38863d0f3621d258d25635fe9e5867f4_92813288.png imagette220872561744083282 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=22087245 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/22087258,22087259,22087260,22087261,22087262,22087263,22087264,22087265,22087266,22087267,22087268,22087269?tags=cartonnette,environnement,flou,kraft,autre_refus,mal_croppe,Teint_Dans_La_Masse,Carton_brun,papier,plastique,Carton_gris,metal your option no_mail is active, we will not send the real mail to your client args[1350235814] : ('0.03873668310530549',) no score found for photo 1350235814 We are sending mail with results at report@fotonower.com args[1350235754] : ('0.03873668310530549',) no score found for photo 1350235754 We are sending mail with results at report@fotonower.com args[1350235579] : ('0.03873668310530549',) no score found for photo 1350235579 We are sending mail with results at report@fotonower.com args[1350235324] : ('0.03873668310530549',) no score found for photo 1350235324 We are sending mail with results at report@fotonower.com args[1350235276] : ('0.03873668310530549',) no score found for photo 1350235276 We are sending mail with results at report@fotonower.com args[1350235079] : ('0.03873668310530549',) no score found for photo 1350235079 We are sending mail with results at report@fotonower.com args[1350234918] : ('0.03873668310530549',) no score found for photo 1350234918 We are sending mail with results at report@fotonower.com args[1350234915] : ('0.03873668310530549',) no score found for photo 1350234915 We are sending mail with results at report@fotonower.com args[1350234862] : ('0.03873668310530549',) no score found for photo 1350234862 We are sending mail with results at report@fotonower.com args[1350234861] : ('0.03873668310530549',) no score found for photo 1350234861 We are sending mail with results at report@fotonower.com args[1350234828] : ('0.03873668310530549',) no score found for photo 1350234828 We are sending mail with results at report@fotonower.com args[1350234825] : ('0.03873668310530549',) no score found for photo 1350234825 We are sending mail with results at report@fotonower.com args[1350234821] : ('0.03873668310530549',) no score found for photo 1350234821 We are sending mail with results at report@fotonower.com args[1350234791] : ('0.03873668310530549',) no score found for photo 1350234791 We are sending mail with results at report@fotonower.com args[1350234780] : ('0.03873668310530549',) no score found for photo 1350234780 We are sending mail with results at report@fotonower.com args[1350234769] : ('0.03873668310530549',) no score found for photo 1350234769 We are sending mail with results at report@fotonower.com args[1350234758] : ('0.03873668310530549',) no score found for photo 1350234758 We are sending mail with results at report@fotonower.com args[1350234754] : ('0.03873668310530549',) no score found for photo 1350234754 We are sending mail with results at report@fotonower.com args[1350234752] : ('0.03873668310530549',) no score found for photo 1350234752 We are sending mail with results at report@fotonower.com args[1350234749] : ('0.03873668310530549',) no score found for photo 1350234749 We are sending mail with results at report@fotonower.com args[1350234748] : ('0.03873668310530549',) no score found for photo 1350234748 We are sending mail with results at report@fotonower.com args[1350234747] : ('0.03873668310530549',) no score found for photo 1350234747 We are sending mail with results at report@fotonower.com args[1350234730] : ('0.03873668310530549',) no score found for photo 1350234730 We are sending mail with results at report@fotonower.com args[1350234728] : ('0.03873668310530549',) no score found for photo 1350234728 We are sending mail with results at report@fotonower.com args[1350234726] : ('0.03873668310530549',) no score found for photo 1350234726 We are sending mail with results at report@fotonower.com args[1350234724] : ('0.03873668310530549',) no score found for photo 1350234724 We are sending mail with results at report@fotonower.com args[1350234622] : ('0.03873668310530549',) no score found for photo 1350234622 We are sending mail with results at report@fotonower.com args[1350234620] : ('0.03873668310530549',) no score found for photo 1350234620 We are sending mail with results at report@fotonower.com args[1350234617] : ('0.03873668310530549',) no score found for photo 1350234617 We are sending mail with results at report@fotonower.com args[1350234614] : ('0.03873668310530549',) no score found for photo 1350234614 We are sending mail with results at report@fotonower.com args[1350234577] : ('0.03873668310530549',) no score found for photo 1350234577 We are sending mail with results at report@fotonower.com args[1350234574] : ('0.03873668310530549',) no score found for photo 1350234574 We are sending mail with results at report@fotonower.com args[1350234570] : ('0.03873668310530549',) no score found for photo 1350234570 We are sending mail with results at report@fotonower.com args[1350234507] : ('0.03873668310530549',) no score found for photo 1350234507 We are sending mail with results at report@fotonower.com refus_total : 0.03873668310530549 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=22087245 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_P22087245_08-04-2025_05_34_35.pdf results_Auto_P22087245_08-04-2025_05_34_35.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22087245_08-04-2025_05_34_35.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','22087245','results_Auto_P22087245_08-04-2025_05_34_35.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22087245_08-04-2025_05_34_35.pdf','pdf','','0.39','0.03873668310530549') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22087245]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1350235814, 1350235754, 1350235579, 1350235324, 1350235276, 1350235079, 1350234918, 1350234915, 1350234862, 1350234861, 1350234828, 1350234825, 1350234821, 1350234791, 1350234780, 1350234769, 1350234758, 1350234754, 1350234752, 1350234749, 1350234748, 1350234747, 1350234730, 1350234728, 1350234726, 1350234724, 1350234622, 1350234620, 1350234617, 1350234614, 1350234577, 1350234574, 1350234570, 1350234507] map_info['map_portfolio_photo'] : {22087245: [1350235814, 1350235754, 1350235579, 1350235324, 1350235276, 1350235079, 1350234918, 1350234915, 1350234862, 1350234861, 1350234828, 1350234825, 1350234821, 1350234791, 1350234780, 1350234769, 1350234758, 1350234754, 1350234752, 1350234749, 1350234748, 1350234747, 1350234730, 1350234728, 1350234726, 1350234724, 1350234622, 1350234620, 1350234617, 1350234614, 1350234577, 1350234574, 1350234570, 1350234507]} final : False mtd_id 4302 list_pids : [1350235814, 1350235754, 1350235579, 1350235324, 1350235276, 1350235079, 1350234918, 1350234915, 1350234862, 1350234861, 1350234828, 1350234825, 1350234821, 1350234791, 1350234780, 1350234769, 1350234758, 1350234754, 1350234752, 1350234749, 1350234748, 1350234747, 1350234730, 1350234728, 1350234726, 1350234724, 1350234622, 1350234620, 1350234617, 1350234614, 1350234577, 1350234574, 1350234570, 1350234507] 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, '2731218') ('4302', '22087245', '1350235814', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350235754', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350235579', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350235324', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350235276', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350235079', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234918', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234915', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234862', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234861', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234828', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234825', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234821', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234791', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234780', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234769', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234758', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234754', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234752', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234749', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234748', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234747', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234730', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234728', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234726', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234724', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234622', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234620', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234617', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234614', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234577', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234574', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234570', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234507', None, None, None, None, None, '2731218') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 34 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '22087245', '1350235814', None, None, None, None, None, '2731218'), ('4302', '22087245', '1350235754', None, None, None, None, None, '2731218'), ('4302', '22087245', '1350235579', None, None, None, None, None, '2731218'), ('4302', '22087245', '1350235324', None, None, None, None, None, '2731218'), ('4302', '22087245', '1350235276', None, None, None, None, None, '2731218'), ('4302', '22087245', '1350235079', None, None, None, None, None, '2731218'), ('4302', '22087245', '1350234918', None, None, None, None, None, '2731218'), ('4302', '22087245', '1350234915', None, None, None, None, None, '2731218'), ('4302', '22087245', '1350234862', None, None, None, None, None, '2731218'), ('4302', '22087245', '1350234861', None, None, None, None, None, '2731218'), ('4302', '22087245', '1350234828', None, None, None, None, None, '2731218'), ('4302', '22087245', '1350234825', None, None, None, None, None, '2731218'), ('4302', '22087245', '1350234821', None, None, None, None, None, '2731218'), ('4302', '22087245', '1350234791', None, None, None, None, None, '2731218'), ('4302', '22087245', '1350234780', None, None, None, None, None, '2731218'), ('4302', '22087245', '1350234769', None, None, None, None, None, '2731218'), ('4302', '22087245', '1350234758', None, None, None, None, None, '2731218'), ('4302', '22087245', '1350234754', None, None, None, None, None, '2731218'), ('4302', '22087245', '1350234752', None, None, None, None, None, '2731218'), ('4302', '22087245', '1350234749', None, None, None, None, None, '2731218'), ('4302', '22087245', '1350234748', None, None, None, None, None, '2731218'), ('4302', '22087245', '1350234747', None, None, None, None, None, '2731218'), ('4302', '22087245', '1350234730', None, None, None, None, None, '2731218'), ('4302', '22087245', '1350234728', None, None, None, None, None, '2731218'), ('4302', '22087245', '1350234726', None, None, None, None, None, '2731218'), ('4302', '22087245', '1350234724', None, None, None, None, None, '2731218'), ('4302', '22087245', '1350234622', None, None, None, None, None, '2731218'), ('4302', '22087245', '1350234620', None, None, None, None, None, '2731218'), ('4302', '22087245', '1350234617', None, None, None, None, None, '2731218'), ('4302', '22087245', '1350234614', None, None, None, None, None, '2731218'), ('4302', '22087245', '1350234577', None, None, None, None, None, '2731218'), ('4302', '22087245', '1350234574', None, None, None, None, None, '2731218'), ('4302', '22087245', '1350234570', None, None, None, None, None, '2731218'), ('4302', '22087245', '1350234507', None, None, None, None, None, '2731218')] time used for this insertion : 0.25420546531677246 save_final save missing photos in datou_result : time spend for datou_step_exec : 11.266851663589478 time spend to save output : 0.25464534759521484 total time spend for step 4 : 11.521497011184692 step5:split_time_score Tue Apr 8 05:34:45 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 : ['22087245'] 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 : [('22087245',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22087245) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1350234821: {'path': 'temp/1744083274_3933456_1350234821_2c7bee3831261150aae5a6318595a04d.jpg', 'extension': 'jpg'}, 1350234825: {'path': 'temp/1744083274_3933456_1350234825_53e22e0d3c3e7d0e48f16d0600a1e321.jpg', 'extension': 'jpg'}, 1350234828: {'path': 'temp/1744083274_3933456_1350234828_29bb8748d0d6238233da0455806fd0a6.jpg', 'extension': 'jpg'}, 1350234861: {'path': 'temp/1744083274_3933456_1350234861_cebec1ae43151d28aaaaa296a13c14a5.jpg', 'extension': 'jpg'}, 1350234862: {'path': 'temp/1744083274_3933456_1350234862_1f7eb4751f653c170535ce63a5c33d6c.jpg', 'extension': 'jpg'}, 1350234915: {'path': 'temp/1744083274_3933456_1350234915_bfe1ad386ccdea62b476ef2815d48987.jpg', 'extension': 'jpg'}, 1350234918: {'path': 'temp/1744083274_3933456_1350234918_3cfe913368ca32f0c7b38fb80a3433a0.jpg', 'extension': 'jpg'}, 1350235079: {'path': 'temp/1744083274_3933456_1350235079_ff0de44a53f11c35a0176e8727f49c7c.jpg', 'extension': 'jpg'}, 1350235276: {'path': 'temp/1744083274_3933456_1350235276_abb9d983718e6fa26f56b3901e329bf0.jpg', 'extension': 'jpg'}, 1350235324: {'path': 'temp/1744083274_3933456_1350235324_fba0f7220b5a1f3862420b5357e414cf.jpg', 'extension': 'jpg'}, 1350235579: {'path': 'temp/1744083274_3933456_1350235579_aefc02e886ec6f30362787f055bd5a02.jpg', 'extension': 'jpg'}, 1350235754: {'path': 'temp/1744083274_3933456_1350235754_362022318b4c5c771178ff01f6dfaa25.jpg', 'extension': 'jpg'}, 1350235814: {'path': 'temp/1744083274_3933456_1350235814_58806824a85d8ac54a920c91c8fe6387.jpg', 'extension': 'jpg'}, 1350234622: {'path': 'temp/1744083274_3933456_1350234622_88e03954ab18b036aed0a7ddbb4b83fd.jpg', 'extension': 'jpg'}, 1350234724: {'path': 'temp/1744083274_3933456_1350234724_8440905940e3a5d7403dd1bae8a5fceb.jpg', 'extension': 'jpg'}, 1350234726: {'path': 'temp/1744083274_3933456_1350234726_2e74365b09fdf7e0dbf357722a17d90d.jpg', 'extension': 'jpg'}, 1350234728: {'path': 'temp/1744083274_3933456_1350234728_6e3d36d1dec895c4a173b4cfeb76f0a1.jpg', 'extension': 'jpg'}, 1350234730: {'path': 'temp/1744083274_3933456_1350234730_e1f060861a285d354d0b46d991d1bec0.jpg', 'extension': 'jpg'}, 1350234747: {'path': 'temp/1744083274_3933456_1350234747_c745b85db66359efd6c4c81a4c3dddeb.jpg', 'extension': 'jpg'}, 1350234748: {'path': 'temp/1744083274_3933456_1350234748_f2f0d7a9e40591ffe4e148164f622b2d.jpg', 'extension': 'jpg'}, 1350234749: {'path': 'temp/1744083274_3933456_1350234749_d7307879e040032e34f179bc3efdbb33.jpg', 'extension': 'jpg'}, 1350234752: {'path': 'temp/1744083274_3933456_1350234752_71b016061b4f3df27afb6567470d79b9.jpg', 'extension': 'jpg'}, 1350234754: {'path': 'temp/1744083274_3933456_1350234754_bcacee4cdaf38473fe6cdec09ac463c6.jpg', 'extension': 'jpg'}, 1350234758: {'path': 'temp/1744083274_3933456_1350234758_d5c728a838e733aeb4e2bbb4c4a4893b.jpg', 'extension': 'jpg'}, 1350234769: {'path': 'temp/1744083274_3933456_1350234769_c23485b20377d564aec2549a780fadc8.jpg', 'extension': 'jpg'}, 1350234780: {'path': 'temp/1744083274_3933456_1350234780_dcb55bad0e33d8243cc4b1362c1963e3.jpg', 'extension': 'jpg'}, 1350234791: {'path': 'temp/1744083274_3933456_1350234791_9ad8b57dea98fb906d394a2f5061be19.jpg', 'extension': 'jpg'}, 1350234507: {'path': 'temp/1744083274_3933456_1350234507_ff2082c42432ef1569d7e85021cd1d8f.jpg', 'extension': 'jpg'}, 1350234570: {'path': 'temp/1744083274_3933456_1350234570_999453e25e199c6dcb6b454a3a555a92.jpg', 'extension': 'jpg'}, 1350234574: {'path': 'temp/1744083274_3933456_1350234574_751bafdb5221e3194f5eec5cf21e7ed7.jpg', 'extension': 'jpg'}, 1350234577: {'path': 'temp/1744083274_3933456_1350234577_b873dfe73f392a5ebde6ddf8e0c6e7fa.jpg', 'extension': 'jpg'}, 1350234614: {'path': 'temp/1744083274_3933456_1350234614_f40a0d6ef4965d6ed2931724a7b8bb74.jpg', 'extension': 'jpg'}, 1350234617: {'path': 'temp/1744083274_3933456_1350234617_f3ad6f7276dec36631b01d717ecef41d.jpg', 'extension': 'jpg'}, 1350234620: {'path': 'temp/1744083274_3933456_1350234620_e8b8ea43f6cbb7c02e7b6b3635600d1b.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 = 22087245; (('arc_en_ciel_jrm',),) TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] select SUBSTRING(ph.text,16,2) as h, count(*) from MTRUser.mtr_portfolio_photos mpp inner join MTRBack.photos ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 22087245 group by h (('05', 34),) 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=22087245 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 (22087245) 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 (22087245) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 07042025 22087245 Nombre de photos uploadées : 34 / 23040 (0%) 07042025 22087245 Nombre de photos taguées (types de déchets): 0 / 34 (0%) 07042025 22087245 Nombre de photos taguées (volume) : 0 / 34 (0%) [{'photo_id': 1350234507, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/ff2082c42432ef1569d7e85021cd1d8f.jpg', 'username': None, 'uploaded_at': 1743996667, 'text': 'image_07042025_05_30_34_010143m0.jpg 1e-05 for time 1, id_amount 1 this amount prod time diff : 1e-05'}, {'photo_id': 1350234577, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/b873dfe73f392a5ebde6ddf8e0c6e7fa.jpg', 'username': None, 'uploaded_at': 1743996727, 'text': 'image_07042025_05_30_44_010143m0.jpg 2e-05 for time 1, id_amount 1 this amount prod time diff : 1e-05'}, {'photo_id': 1350234574, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/751bafdb5221e3194f5eec5cf21e7ed7.jpg', 'username': None, 'uploaded_at': 1743996727, 'text': 'image_07042025_05_31_05_010145m0.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1350234570, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/999453e25e199c6dcb6b454a3a555a92.jpg', 'username': None, 'uploaded_at': 1743996727, 'text': 'image_07042025_05_31_34_010140m0.jpg 4e-05 for time 1, id_amount 1 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 1.9073486328125e-06 elapsed_time : order_list_meta_photo_and_scores 6.198883056640625e-06 ?????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0016829967498779297 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 22087245, '2025-04-07' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1719143,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.024491071701049805 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps SELECT dri.dashboard_entry_day, dr.dashboard_run_id, dr.mtr_portfolio_id, dr.id, dr.hashtag, dr.completion_json FROM MTRPhoto.dashboard_results dr, MTRPhoto.dashboard_run_ids dri, MTRPhoto.dashboard_entry_day ded WHERE ded.id= 1719143 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1719143, 'dashboard_run_id': 1730600, 'mtr_portfolio_id': 22087245, 'dashboard_result_id': 9923018, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22087245_07-04-2025_05_49_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22087246, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22087247, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22087248, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22087249, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22087250, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22087251, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22087252, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22087253, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22087254, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22087255, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22087256, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22087257, 'pht': 3726}}"}, {'dashboat_entry_day': 1719143, 'dashboard_run_id': 1730600, 'mtr_portfolio_id': 22087563, 'dashboard_result_id': 9923019, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22087563_07-04-2025_06_02_30.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22087564, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22087565, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22087566, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22087567, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22087568, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22087569, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22087570, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22087571, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22087572, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22087573, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22087574, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22087575, 'pht': 3726}}"}, {'dashboat_entry_day': 1719143, 'dashboard_run_id': 1730600, 'mtr_portfolio_id': 22087885, 'dashboard_result_id': 9923020, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22087885_07-04-2025_06_16_28.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22087926, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22087927, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22087928, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22087929, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22087930, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22087931, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22087932, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22087933, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22087934, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22087935, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22087936, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22087937, 'pht': 3726}}"}, {'dashboat_entry_day': 1719143, 'dashboard_run_id': 1730600, 'mtr_portfolio_id': 22088566, 'dashboard_result_id': 9923021, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22088566_07-04-2025_06_32_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22088569, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22088570, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22088571, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22088572, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22088573, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22088574, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22088575, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22088576, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22088577, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22088578, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22088579, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22088580, 'pht': 3726}}"}, {'dashboat_entry_day': 1719143, 'dashboard_run_id': 1730600, 'mtr_portfolio_id': 22088910, 'dashboard_result_id': 9923022, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22088910_07-04-2025_06_47_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22088930, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22088931, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22088932, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22088933, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22088934, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22088935, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22088936, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22088937, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22088938, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22088939, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22088940, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22088941, 'pht': 3726}}"}, {'dashboat_entry_day': 1719143, 'dashboard_run_id': 1730600, 'mtr_portfolio_id': 22089386, 'dashboard_result_id': 9923023, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22089386_07-04-2025_07_03_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22089389, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22089390, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22089391, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22089392, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22089393, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22089394, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22089395, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22089396, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22089397, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22089398, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22089399, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22089400, 'pht': 3726}}"}, {'dashboat_entry_day': 1719143, 'dashboard_run_id': 1730600, 'mtr_portfolio_id': 22089569, 'dashboard_result_id': 9923024, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22089569_07-04-2025_07_16_29.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22089573, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22089574, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22089575, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22089576, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22089577, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22089578, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22089579, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22089580, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22089581, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22089582, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22089583, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22089584, 'pht': 3726}}"}, {'dashboat_entry_day': 1719143, 'dashboard_run_id': 1730600, 'mtr_portfolio_id': 22089948, 'dashboard_result_id': 9923025, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22089948_07-04-2025_07_32_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22089991, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22089992, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22089993, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22089994, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22089995, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22089996, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22089997, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22089998, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22089999, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22090000, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22090001, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22090002, 'pht': 3726}}"}, {'dashboat_entry_day': 1719143, 'dashboard_run_id': 1730600, 'mtr_portfolio_id': 22090491, 'dashboard_result_id': 9923026, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22090491_07-04-2025_07_46_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22090495, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22090496, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22090497, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22090498, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22090499, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22090500, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22090501, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22090502, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22090503, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22090504, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22090505, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22090506, 'pht': 3726}}"}, {'dashboat_entry_day': 1719143, 'dashboard_run_id': 1730600, 'mtr_portfolio_id': 22091054, 'dashboard_result_id': 9923027, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22091054_07-04-2025_08_02_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22091058, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22091059, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22091060, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22091061, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22091062, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22091063, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22091064, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22091065, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22091066, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22091067, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22091068, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22091069, 'pht': 3726}}"}, {'dashboat_entry_day': 1719143, 'dashboard_run_id': 1730600, 'mtr_portfolio_id': 22091666, 'dashboard_result_id': 9923028, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22091666_07-04-2025_08_17_30.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22091670, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22091671, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22091672, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22091673, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22091674, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22091675, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22091676, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22091677, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22091678, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22091679, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22091680, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22091681, 'pht': 3726}}"}, {'dashboat_entry_day': 1719143, 'dashboard_run_id': 1730600, 'mtr_portfolio_id': 22092221, 'dashboard_result_id': 9923029, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22092221_07-04-2025_08_33_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22092273, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22092274, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22092275, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22092276, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22092277, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22092278, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22092279, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22092280, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22092281, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22092282, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22092283, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22092284, 'pht': 3726}}"}, {'dashboat_entry_day': 1719143, 'dashboard_run_id': 1730600, 'mtr_portfolio_id': 22092677, 'dashboard_result_id': 9923030, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22092677_07-04-2025_08_48_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22092682, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22092683, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22092684, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22092685, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22092686, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22092687, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22092688, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22092689, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22092690, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22092691, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22092692, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22092693, 'pht': 3726}}"}, {'dashboat_entry_day': 1719143, 'dashboard_run_id': 1730600, 'mtr_portfolio_id': 22093430, 'dashboard_result_id': 9923031, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22093430_07-04-2025_09_03_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22093459, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22093460, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22093461, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22093462, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22093463, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22093464, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22093465, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22093466, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22093467, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22093468, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22093469, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22093470, 'pht': 3726}}"}, {'dashboat_entry_day': 1719143, 'dashboard_run_id': 1730600, 'mtr_portfolio_id': 22094762, 'dashboard_result_id': 9923032, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22094762_07-04-2025_09_46_29.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22094766, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22094767, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22094768, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22094769, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22094770, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22094771, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22094772, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22094773, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22094774, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22094775, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22094776, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22094777, 'pht': 3726}}"}, {'dashboat_entry_day': 1719143, 'dashboard_run_id': 1730600, 'mtr_portfolio_id': 22095097, 'dashboard_result_id': 9923033, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22095097_07-04-2025_10_03_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22095098, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22095099, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22095100, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22095101, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22095102, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22095103, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22095104, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22095105, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22095106, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22095107, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22095108, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22095109, 'pht': 3726}}"}, {'dashboat_entry_day': 1719143, 'dashboard_run_id': 1730600, 'mtr_portfolio_id': 22096055, 'dashboard_result_id': 9923034, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22096055_07-04-2025_10_17_07.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22096087, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22096088, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22096089, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22096090, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22096091, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22096092, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22096093, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22096094, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22096095, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22096096, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22096097, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22096098, 'pht': 3726}}"}, {'dashboat_entry_day': 1719143, 'dashboard_run_id': 1730600, 'mtr_portfolio_id': 22096580, 'dashboard_result_id': 9923035, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22096580_07-04-2025_10_32_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22096585, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22096586, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22096587, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22096588, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22096589, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22096590, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22096591, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22096592, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22096593, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22096594, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22096595, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22096596, 'pht': 3726}}"}, {'dashboat_entry_day': 1719143, 'dashboard_run_id': 1730600, 'mtr_portfolio_id': 22097368, 'dashboard_result_id': 9923036, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22097368_07-04-2025_10_49_04.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22097396, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22097397, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22097398, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22097399, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22097400, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22097401, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22097402, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22097403, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22097404, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22097405, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22097406, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22097407, 'pht': 3726}}"}, {'dashboat_entry_day': 1719143, 'dashboard_run_id': 1730600, 'mtr_portfolio_id': 22097995, 'dashboard_result_id': 9923037, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22097995_07-04-2025_11_02_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22097998, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22097999, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22098000, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22098001, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22098002, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22098003, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22098004, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22098005, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22098006, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22098007, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22098008, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22098009, 'pht': 3726}}"}, {'dashboat_entry_day': 1719143, 'dashboard_run_id': 1730600, 'mtr_portfolio_id': 22098735, 'dashboard_result_id': 9923038, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22098735_07-04-2025_11_17_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22098762, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22098763, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22098764, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22098765, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22098766, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22098767, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22098768, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22098769, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22098770, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22098771, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22098772, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22098773, 'pht': 3726}}"}, {'dashboat_entry_day': 1719143, 'dashboard_run_id': 1730600, 'mtr_portfolio_id': 22099363, 'dashboard_result_id': 9923039, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22099363_07-04-2025_11_32_35.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22099392, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22099393, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22099394, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22099395, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22099396, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22099397, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22099398, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22099399, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22099400, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22099401, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22099402, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22099403, 'pht': 3726}}"}, {'dashboat_entry_day': 1719143, 'dashboard_run_id': 1730600, 'mtr_portfolio_id': 22100198, 'dashboard_result_id': 9923040, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22100198_07-04-2025_11_48_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22100227, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22100228, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22100229, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22100230, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22100231, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22100232, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22100233, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22100234, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22100235, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22100236, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22100237, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22100238, 'pht': 3726}}"}, {'dashboat_entry_day': 1719143, 'dashboard_run_id': 1730600, 'mtr_portfolio_id': 22100839, 'dashboard_result_id': 9923041, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22100839_07-04-2025_12_05_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22100892, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22100893, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22100894, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22100895, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22100896, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22100897, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22100898, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22100899, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22100900, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22100901, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22100902, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22100903, 'pht': 3726}}"}, {'dashboat_entry_day': 1719143, 'dashboard_run_id': 1730600, 'mtr_portfolio_id': 22101771, 'dashboard_result_id': 9923042, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22101771_08-04-2025_00_25_34.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22101774, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22101775, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22101776, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22101777, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22101778, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22101779, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22101780, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22101781, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22101782, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22101783, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22101784, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22101785, 'pht': 3726}}"}, {'dashboat_entry_day': 1719143, 'dashboard_run_id': 1730600, 'mtr_portfolio_id': 22103934, 'dashboard_result_id': 9923043, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22103934_07-04-2025_14_03_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22103939, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22103940, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22103941, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22103942, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22103943, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22103944, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22103945, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22103946, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22103947, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22103948, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22103949, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22103950, 'pht': 3726}}"}, {'dashboat_entry_day': 1719143, 'dashboard_run_id': 1730600, 'mtr_portfolio_id': 22104316, 'dashboard_result_id': 9923044, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22104316_07-04-2025_14_18_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22104319, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22104320, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22104321, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22104322, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22104323, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22104324, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22104325, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22104326, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22104327, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22104328, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22104329, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22104330, 'pht': 3726}}"}, {'dashboat_entry_day': 1719143, 'dashboard_run_id': 1730600, 'mtr_portfolio_id': 22104988, 'dashboard_result_id': 9923045, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22104988_07-04-2025_14_32_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22104991, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22104992, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22104993, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22104994, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22104995, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22104996, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22104997, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22104998, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22104999, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22105000, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22105001, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22105002, 'pht': 3726}}"}, {'dashboat_entry_day': 1719143, 'dashboard_run_id': 1730600, 'mtr_portfolio_id': 22105620, 'dashboard_result_id': 9923046, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22105620_07-04-2025_14_48_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22105623, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22105624, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22105625, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22105626, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22105627, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22105628, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22105629, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22105630, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22105631, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22105632, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22105633, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22105634, 'pht': 3726}}"}, {'dashboat_entry_day': 1719143, 'dashboard_run_id': 1730600, 'mtr_portfolio_id': 22106129, 'dashboard_result_id': 9923047, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22106129_07-04-2025_15_03_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22106132, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22106133, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22106134, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22106135, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22106136, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22106137, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22106138, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22106139, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22106140, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22106141, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22106142, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22106143, 'pht': 3726}}"}, {'dashboat_entry_day': 1719143, 'dashboard_run_id': 1730600, 'mtr_portfolio_id': 22106775, 'dashboard_result_id': 9923048, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22106775_07-04-2025_15_18_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22106779, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22106780, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22106781, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22106782, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22106783, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22106784, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22106785, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22106786, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22106787, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22106788, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22106789, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22106790, 'pht': 3726}}"}, {'dashboat_entry_day': 1719143, 'dashboard_run_id': 1730600, 'mtr_portfolio_id': 22107458, 'dashboard_result_id': 9923049, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22107458_07-04-2025_15_32_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22107517, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22107518, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22107519, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22107520, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22107521, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22107522, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22107523, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22107524, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22107525, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22107526, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22107527, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22107528, 'pht': 3726}}"}, {'dashboat_entry_day': 1719143, 'dashboard_run_id': 1730600, 'mtr_portfolio_id': 22108240, 'dashboard_result_id': 9923050, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22108240_07-04-2025_15_46_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22108269, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22108270, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22108271, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22108272, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22108273, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22108274, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22108275, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22108276, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22108277, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22108278, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22108279, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22108280, 'pht': 3726}}"}, {'dashboat_entry_day': 1719143, 'dashboard_run_id': 1730600, 'mtr_portfolio_id': 22109025, 'dashboard_result_id': 9923051, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22109025_07-04-2025_16_02_58.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22109031, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22109032, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22109033, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22109034, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22109035, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22109036, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22109037, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22109038, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22109039, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22109040, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22109041, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22109042, 'pht': 3726}}"}, {'dashboat_entry_day': 1719143, 'dashboard_run_id': 1730600, 'mtr_portfolio_id': 22109683, 'dashboard_result_id': 9923052, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22109683_07-04-2025_16_16_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22109686, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22109687, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22109688, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22109689, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22109690, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22109691, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22109692, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22109693, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22109694, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22109695, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22109696, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22109697, 'pht': 3726}}"}, {'dashboat_entry_day': 1719143, 'dashboard_run_id': 1730600, 'mtr_portfolio_id': 22110375, 'dashboard_result_id': 9923053, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22110375_07-04-2025_16_33_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22110378, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22110379, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22110380, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22110381, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22110382, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22110383, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22110384, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22110385, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22110386, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22110387, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22110388, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22110389, 'pht': 3726}}"}, {'dashboat_entry_day': 1719143, 'dashboard_run_id': 1730600, 'mtr_portfolio_id': 22111028, 'dashboard_result_id': 9923054, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22111028_07-04-2025_16_49_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22111070, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22111071, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22111072, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22111073, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22111074, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22111075, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22111076, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22111077, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22111078, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22111079, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22111080, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22111081, 'pht': 3726}}"}, {'dashboat_entry_day': 1719143, 'dashboard_run_id': 1730600, 'mtr_portfolio_id': 22111576, 'dashboard_result_id': 9923055, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22111576_07-04-2025_17_02_57.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22111598, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22111599, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22111600, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22111601, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22111602, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22111603, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22111604, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22111605, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22111606, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22111607, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22111608, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22111609, 'pht': 3726}}"}, {'dashboat_entry_day': 1719143, 'dashboard_run_id': 1730600, 'mtr_portfolio_id': 22112673, 'dashboard_result_id': 9923056, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22112673_07-04-2025_17_16_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22112676, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22112677, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22112678, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22112679, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22112680, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22112681, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22112682, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22112683, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22112684, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22112685, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22112686, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22112687, 'pht': 3726}}"}, {'dashboat_entry_day': 1719143, 'dashboard_run_id': 1730600, 'mtr_portfolio_id': 22113400, 'dashboard_result_id': 9923057, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22113400_07-04-2025_17_33_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22113402, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22113403, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22113404, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22113405, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22113406, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22113407, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22113408, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22113409, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22113410, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22113411, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22113412, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22113413, 'pht': 3726}}"}, {'dashboat_entry_day': 1719143, 'dashboard_run_id': 1730600, 'mtr_portfolio_id': 22114682, 'dashboard_result_id': 9923058, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22114682_07-04-2025_18_16_29.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22114685, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22114686, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22114687, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22114688, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22114689, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22114690, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22114691, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22114692, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22114693, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22114694, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22114695, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22114696, 'pht': 3726}}"}, {'dashboat_entry_day': 1719143, 'dashboard_run_id': 1730600, 'mtr_portfolio_id': 22115261, 'dashboard_result_id': 9923059, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22115261_07-04-2025_18_33_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22115303, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22115304, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22115305, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22115306, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22115307, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22115308, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22115309, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22115310, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22115311, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22115312, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22115313, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22115314, 'pht': 3726}}"}, {'dashboat_entry_day': 1719143, 'dashboard_run_id': 1730600, 'mtr_portfolio_id': 22115863, 'dashboard_result_id': 9923060, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22115863_07-04-2025_18_46_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22115866, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22115867, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22115868, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22115869, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22115870, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22115871, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22115872, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22115873, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22115874, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22115875, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22115876, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22115877, 'pht': 3726}}"}, {'dashboat_entry_day': 1719143, 'dashboard_run_id': 1730600, 'mtr_portfolio_id': 22116683, 'dashboard_result_id': 9923061, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22116683_07-04-2025_19_03_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22116688, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22116689, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22116690, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22116691, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22116692, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22116693, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22116694, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22116695, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22116696, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22116697, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22116698, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22116699, 'pht': 3726}}"}, {'dashboat_entry_day': 1719143, 'dashboard_run_id': 1730600, 'mtr_portfolio_id': 22117242, 'dashboard_result_id': 9923062, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22117242_07-04-2025_19_18_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22117245, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22117246, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22117247, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22117248, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22117249, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22117250, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22117251, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22117252, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22117253, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22117254, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22117255, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22117256, 'pht': 3726}}"}, {'dashboat_entry_day': 1719143, 'dashboard_run_id': 1730600, 'mtr_portfolio_id': 22117993, 'dashboard_result_id': 9923063, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22117993_07-04-2025_19_33_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22117996, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22117997, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22117998, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22117999, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22118000, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22118001, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22118002, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22118003, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22118004, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22118005, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22118006, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22118007, 'pht': 3726}}"}, {'dashboat_entry_day': 1719143, 'dashboard_run_id': 1730600, 'mtr_portfolio_id': 22118404, 'dashboard_result_id': 9923064, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22118404_07-04-2025_19_48_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22118406, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22118407, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22118408, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22118409, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22118410, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22118411, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22118412, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22118413, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22118414, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22118415, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22118416, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22118417, 'pht': 3726}}"}, {'dashboat_entry_day': 1719143, 'dashboard_run_id': 1730600, 'mtr_portfolio_id': 22118961, 'dashboard_result_id': 9923065, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22118961_07-04-2025_20_04_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22119012, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22119013, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22119014, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22119015, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22119016, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22119017, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22119018, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22119019, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22119020, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22119021, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22119022, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22119023, 'pht': 3726}}"}, {'dashboat_entry_day': 1719143, 'dashboard_run_id': 1730600, 'mtr_portfolio_id': 22119603, 'dashboard_result_id': 9923066, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22119603_07-04-2025_20_19_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22119605, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22119606, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22119607, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22119608, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22119609, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22119610, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22119611, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22119612, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22119613, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22119614, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22119615, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22119616, 'pht': 3726}}"}, {'dashboat_entry_day': 1719143, 'dashboard_run_id': 1730600, 'mtr_portfolio_id': 22120163, 'dashboard_result_id': 9923067, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22120163_07-04-2025_20_33_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22120190, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22120191, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22120192, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22120193, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22120194, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22120195, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22120196, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22120197, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22120198, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22120199, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22120200, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22120201, 'pht': 3726}}"}, {'dashboat_entry_day': 1719143, 'dashboard_run_id': 1730600, 'mtr_portfolio_id': 22120874, 'dashboard_result_id': 9923068, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22120874_07-04-2025_21_04_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22120901, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22120902, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22120903, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22120904, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22120905, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22120906, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22120907, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22120908, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22120909, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22120910, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22120911, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22120912, 'pht': 3726}}"}, {'dashboat_entry_day': 1719143, 'dashboard_run_id': 1730600, 'mtr_portfolio_id': 22122008, 'dashboard_result_id': 9923069, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22122008_07-04-2025_21_21_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22122010, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22122011, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22122012, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22122013, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22122014, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22122015, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22122016, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22122017, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22122018, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22122019, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22122020, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22122021, 'pht': 3726}}"}, {'dashboat_entry_day': 1719143, 'dashboard_run_id': 1730600, 'mtr_portfolio_id': 22122792, 'dashboard_result_id': 9923070, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22122792_07-04-2025_21_53_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22122793, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22122794, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22122795, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22122796, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22122797, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22122798, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22122799, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22122800, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22122801, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22122802, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22122803, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22122804, 'pht': 3726}}"}] SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22087245 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2731218, 'mtr_portfolio_id': 22087245, 'created_at': datetime.datetime(2025, 4, 8, 5, 34, 32), 'result': '0.03873668310530549', 'result_long': None, 'result_double': None}] Qualite : 0.03873668310530549 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22087245 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22087245_08-04-2025_05_34_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22087245 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22087245_08-04-2025_05_34_35.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22087246, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22087247, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22087248, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22087249, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22087250, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22087251, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22087252, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22087253, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22087254, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22087255, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22087256, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22087257, 'pht': 3726}}" where mtr_portfolio_id = 22087245 and dashboard_run_id = 1730600 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22087245 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9923018, 0.03873668310530549, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22087245_08-04-2025_05_34_35.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22087246, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22087247, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22087248, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22087249, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22087250, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22087251, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22087252, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22087253, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22087254, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22087255, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22087256, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22087257, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22087563 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2727504, 'mtr_portfolio_id': 22087563, 'created_at': datetime.datetime(2025, 4, 7, 6, 2, 29), 'result': '0.10703512741841285', 'result_long': None, 'result_double': None}] Qualite : 0.10703512741841285 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22087563 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22087563_07-04-2025_06_02_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22087563 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22087563_07-04-2025_06_02_30.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22087564, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22087565, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22087566, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22087567, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22087568, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22087569, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22087570, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22087571, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22087572, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22087573, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22087574, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22087575, 'pht': 3726}}" where mtr_portfolio_id = 22087563 and dashboard_run_id = 1730600 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22087563 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9923019, 0.10703512741841285, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22087563_07-04-2025_06_02_30.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22087564, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22087565, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22087566, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22087567, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22087568, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22087569, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22087570, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22087571, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22087572, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22087573, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22087574, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22087575, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22087885 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2727546, 'mtr_portfolio_id': 22087885, 'created_at': datetime.datetime(2025, 4, 7, 6, 16, 28), 'result': '0.0626938594760417', 'result_long': None, 'result_double': None}] Qualite : 0.0626938594760417 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22087885 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22087885_07-04-2025_06_16_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22087885 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22087885_07-04-2025_06_16_28.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22087926, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22087927, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22087928, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22087929, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22087930, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22087931, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22087932, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22087933, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22087934, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22087935, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22087936, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22087937, 'pht': 3726}}" where mtr_portfolio_id = 22087885 and dashboard_run_id = 1730600 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22087885 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9923020, 0.0626938594760417, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22087885_07-04-2025_06_16_28.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22087926, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22087927, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22087928, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22087929, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22087930, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22087931, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22087932, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22087933, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22087934, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22087935, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22087936, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22087937, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22088566 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2727572, 'mtr_portfolio_id': 22088566, 'created_at': datetime.datetime(2025, 4, 7, 6, 32, 58), 'result': '0.06329740849802915', 'result_long': None, 'result_double': None}] Qualite : 0.06329740849802915 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22088566 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22088566_07-04-2025_06_32_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22088566 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22088566_07-04-2025_06_32_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22088569, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22088570, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22088571, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22088572, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22088573, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22088574, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22088575, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22088576, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22088577, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22088578, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22088579, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22088580, 'pht': 3726}}" where mtr_portfolio_id = 22088566 and dashboard_run_id = 1730600 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22088566 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9923021, 0.06329740849802915, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22088566_07-04-2025_06_32_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22088569, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22088570, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22088571, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22088572, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22088573, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22088574, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22088575, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22088576, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22088577, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22088578, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22088579, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22088580, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22088910 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2727601, 'mtr_portfolio_id': 22088910, 'created_at': datetime.datetime(2025, 4, 7, 6, 46, 59), 'result': '0.04249066812974258', 'result_long': None, 'result_double': None}] Qualite : 0.04249066812974258 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22088910 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22088910_07-04-2025_06_47_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22088910 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22088910_07-04-2025_06_47_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22088930, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22088931, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22088932, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22088933, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22088934, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22088935, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22088936, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22088937, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22088938, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22088939, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22088940, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22088941, 'pht': 3726}}" where mtr_portfolio_id = 22088910 and dashboard_run_id = 1730600 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22088910 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9923022, 0.04249066812974258, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22088910_07-04-2025_06_47_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22088930, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22088931, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22088932, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22088933, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22088934, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22088935, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22088936, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22088937, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22088938, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22088939, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22088940, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22088941, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22089386 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2727639, 'mtr_portfolio_id': 22089386, 'created_at': datetime.datetime(2025, 4, 7, 7, 2, 59), 'result': '0.09666712088861217', 'result_long': None, 'result_double': None}] Qualite : 0.09666712088861217 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22089386 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22089386_07-04-2025_07_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22089386 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22089386_07-04-2025_07_03_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22089389, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22089390, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22089391, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22089392, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22089393, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22089394, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22089395, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22089396, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22089397, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22089398, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22089399, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22089400, 'pht': 3726}}" where mtr_portfolio_id = 22089386 and dashboard_run_id = 1730600 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22089386 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9923023, 0.09666712088861217, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22089386_07-04-2025_07_03_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22089389, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22089390, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22089391, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22089392, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22089393, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22089394, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22089395, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22089396, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22089397, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22089398, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22089399, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22089400, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22089569 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2727668, 'mtr_portfolio_id': 22089569, 'created_at': datetime.datetime(2025, 4, 7, 7, 16, 29), 'result': '0.03532676429204355', 'result_long': None, 'result_double': None}] Qualite : 0.03532676429204355 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22089569 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22089569_07-04-2025_07_16_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22089569 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22089569_07-04-2025_07_16_29.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22089573, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22089574, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22089575, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22089576, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22089577, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22089578, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22089579, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22089580, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22089581, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22089582, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22089583, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22089584, 'pht': 3726}}" where mtr_portfolio_id = 22089569 and dashboard_run_id = 1730600 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22089569 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9923024, 0.03532676429204355, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22089569_07-04-2025_07_16_29.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22089573, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22089574, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22089575, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22089576, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22089577, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22089578, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22089579, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22089580, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22089581, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22089582, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22089583, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22089584, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22089948 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2727706, 'mtr_portfolio_id': 22089948, 'created_at': datetime.datetime(2025, 4, 7, 7, 32, 58), 'result': '0.06360443093909462', 'result_long': None, 'result_double': None}] Qualite : 0.06360443093909462 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22089948 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22089948_07-04-2025_07_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22089948 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22089948_07-04-2025_07_32_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22089991, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22089992, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22089993, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22089994, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22089995, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22089996, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22089997, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22089998, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22089999, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22090000, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22090001, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22090002, 'pht': 3726}}" where mtr_portfolio_id = 22089948 and dashboard_run_id = 1730600 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22089948 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9923025, 0.06360443093909462, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22089948_07-04-2025_07_32_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22089991, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22089992, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22089993, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22089994, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22089995, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22089996, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22089997, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22089998, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22089999, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22090000, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22090001, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22090002, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22090491 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2727746, 'mtr_portfolio_id': 22090491, 'created_at': datetime.datetime(2025, 4, 7, 7, 46, 59), 'result': '0.04955848190996085', 'result_long': None, 'result_double': None}] Qualite : 0.04955848190996085 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22090491 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22090491_07-04-2025_07_46_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22090491 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22090491_07-04-2025_07_46_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22090495, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22090496, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22090497, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22090498, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22090499, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22090500, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22090501, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22090502, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22090503, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22090504, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22090505, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22090506, 'pht': 3726}}" where mtr_portfolio_id = 22090491 and dashboard_run_id = 1730600 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22090491 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9923026, 0.04955848190996085, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22090491_07-04-2025_07_46_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22090495, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22090496, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22090497, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22090498, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22090499, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22090500, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22090501, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22090502, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22090503, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22090504, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22090505, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22090506, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22091054 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2727783, 'mtr_portfolio_id': 22091054, 'created_at': datetime.datetime(2025, 4, 7, 8, 2, 57), 'result': '0.06374295126359755', 'result_long': None, 'result_double': None}] Qualite : 0.06374295126359755 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22091054 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22091054_07-04-2025_08_02_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22091054 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22091054_07-04-2025_08_02_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22091058, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22091059, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22091060, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22091061, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22091062, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22091063, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22091064, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22091065, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22091066, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22091067, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22091068, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22091069, 'pht': 3726}}" where mtr_portfolio_id = 22091054 and dashboard_run_id = 1730600 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22091054 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9923027, 0.06374295126359755, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22091054_07-04-2025_08_02_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22091058, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22091059, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22091060, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22091061, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22091062, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22091063, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22091064, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22091065, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22091066, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22091067, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22091068, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22091069, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22091666 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2727830, 'mtr_portfolio_id': 22091666, 'created_at': datetime.datetime(2025, 4, 7, 8, 17, 29), 'result': '0.0449185113557412', 'result_long': None, 'result_double': None}] Qualite : 0.0449185113557412 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22091666 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22091666_07-04-2025_08_17_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22091666 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22091666_07-04-2025_08_17_30.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22091670, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22091671, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22091672, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22091673, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22091674, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22091675, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22091676, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22091677, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22091678, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22091679, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22091680, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22091681, 'pht': 3726}}" where mtr_portfolio_id = 22091666 and dashboard_run_id = 1730600 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22091666 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9923028, 0.0449185113557412, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22091666_07-04-2025_08_17_30.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22091670, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22091671, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22091672, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22091673, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22091674, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22091675, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22091676, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22091677, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22091678, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22091679, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22091680, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22091681, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22092221 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2727874, 'mtr_portfolio_id': 22092221, 'created_at': datetime.datetime(2025, 4, 7, 8, 33, 31), 'result': '0.0396199251994178', 'result_long': None, 'result_double': None}] Qualite : 0.0396199251994178 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22092221 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22092221_07-04-2025_08_33_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22092221 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22092221_07-04-2025_08_33_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22092273, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22092274, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22092275, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22092276, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22092277, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22092278, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22092279, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22092280, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22092281, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22092282, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22092283, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22092284, 'pht': 3726}}" where mtr_portfolio_id = 22092221 and dashboard_run_id = 1730600 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22092221 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9923029, 0.0396199251994178, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22092221_07-04-2025_08_33_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22092273, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22092274, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22092275, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22092276, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22092277, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22092278, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22092279, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22092280, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22092281, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22092282, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22092283, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22092284, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22092677 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2727917, 'mtr_portfolio_id': 22092677, 'created_at': datetime.datetime(2025, 4, 7, 8, 48, 58), 'result': '0.04824838488957686', 'result_long': None, 'result_double': None}] Qualite : 0.04824838488957686 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22092677 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22092677_07-04-2025_08_48_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22092677 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22092677_07-04-2025_08_48_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22092682, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22092683, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22092684, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22092685, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22092686, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22092687, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22092688, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22092689, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22092690, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22092691, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22092692, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22092693, 'pht': 3726}}" where mtr_portfolio_id = 22092677 and dashboard_run_id = 1730600 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22092677 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9923030, 0.04824838488957686, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22092677_07-04-2025_08_48_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22092682, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22092683, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22092684, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22092685, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22092686, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22092687, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22092688, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22092689, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22092690, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22092691, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22092692, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22092693, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22093430 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2728027, 'mtr_portfolio_id': 22093430, 'created_at': datetime.datetime(2025, 4, 7, 9, 2, 59), 'result': '0.040531644179794844', 'result_long': None, 'result_double': None}] Qualite : 0.040531644179794844 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22093430 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22093430_07-04-2025_09_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22093430 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22093430_07-04-2025_09_03_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22093459, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22093460, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22093461, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22093462, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22093463, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22093464, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22093465, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22093466, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22093467, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22093468, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22093469, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22093470, 'pht': 3726}}" where mtr_portfolio_id = 22093430 and dashboard_run_id = 1730600 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22093430 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9923031, 0.040531644179794844, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22093430_07-04-2025_09_03_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22093459, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22093460, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22093461, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22093462, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22093463, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22093464, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22093465, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22093466, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22093467, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22093468, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22093469, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22093470, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22094762 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2728194, 'mtr_portfolio_id': 22094762, 'created_at': datetime.datetime(2025, 4, 7, 9, 46, 29), 'result': '0.049474280500163705', 'result_long': None, 'result_double': None}] Qualite : 0.049474280500163705 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22094762 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22094762_07-04-2025_09_46_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22094762 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22094762_07-04-2025_09_46_29.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22094766, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22094767, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22094768, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22094769, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22094770, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22094771, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22094772, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22094773, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22094774, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22094775, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22094776, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22094777, 'pht': 3726}}" where mtr_portfolio_id = 22094762 and dashboard_run_id = 1730600 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22094762 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9923032, 0.049474280500163705, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22094762_07-04-2025_09_46_29.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22094766, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22094767, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22094768, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22094769, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22094770, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22094771, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22094772, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22094773, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22094774, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22094775, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22094776, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22094777, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22095097 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2728212, 'mtr_portfolio_id': 22095097, 'created_at': datetime.datetime(2025, 4, 7, 10, 3, 1), 'result': '0.02667074853988032', 'result_long': None, 'result_double': None}] Qualite : 0.02667074853988032 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22095097 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22095097_07-04-2025_10_03_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22095097 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22095097_07-04-2025_10_03_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22095098, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22095099, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22095100, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22095101, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22095102, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22095103, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22095104, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22095105, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22095106, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22095107, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22095108, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22095109, 'pht': 3726}}" where mtr_portfolio_id = 22095097 and dashboard_run_id = 1730600 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22095097 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9923033, 0.02667074853988032, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22095097_07-04-2025_10_03_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22095098, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22095099, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22095100, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22095101, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22095102, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22095103, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22095104, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22095105, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22095106, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22095107, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22095108, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22095109, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22096055 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2728293, 'mtr_portfolio_id': 22096055, 'created_at': datetime.datetime(2025, 4, 7, 10, 17, 6), 'result': '0.07451960575840277', 'result_long': None, 'result_double': None}] Qualite : 0.07451960575840277 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22096055 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22096055_07-04-2025_10_17_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22096055 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22096055_07-04-2025_10_17_07.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22096087, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22096088, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22096089, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22096090, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22096091, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22096092, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22096093, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22096094, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22096095, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22096096, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22096097, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22096098, 'pht': 3726}}" where mtr_portfolio_id = 22096055 and dashboard_run_id = 1730600 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22096055 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9923034, 0.07451960575840277, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22096055_07-04-2025_10_17_07.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22096087, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22096088, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22096089, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22096090, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22096091, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22096092, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22096093, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22096094, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22096095, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22096096, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22096097, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22096098, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22096580 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2728318, 'mtr_portfolio_id': 22096580, 'created_at': datetime.datetime(2025, 4, 7, 10, 32, 32), 'result': '0.04158433462831996', 'result_long': None, 'result_double': None}] Qualite : 0.04158433462831996 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22096580 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22096580_07-04-2025_10_32_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22096580 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22096580_07-04-2025_10_32_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22096585, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22096586, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22096587, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22096588, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22096589, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22096590, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22096591, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22096592, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22096593, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22096594, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22096595, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22096596, 'pht': 3726}}" where mtr_portfolio_id = 22096580 and dashboard_run_id = 1730600 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22096580 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9923035, 0.04158433462831996, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22096580_07-04-2025_10_32_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22096585, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22096586, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22096587, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22096588, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22096589, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22096590, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22096591, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22096592, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22096593, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22096594, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22096595, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22096596, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22097368 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2728384, 'mtr_portfolio_id': 22097368, 'created_at': datetime.datetime(2025, 4, 7, 10, 49, 2), 'result': '0.04437792218571003', 'result_long': None, 'result_double': None}] Qualite : 0.04437792218571003 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22097368 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22097368_07-04-2025_10_49_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22097368 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22097368_07-04-2025_10_49_04.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22097396, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22097397, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22097398, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22097399, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22097400, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22097401, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22097402, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22097403, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22097404, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22097405, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22097406, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22097407, 'pht': 3726}}" where mtr_portfolio_id = 22097368 and dashboard_run_id = 1730600 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22097368 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9923036, 0.04437792218571003, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22097368_07-04-2025_10_49_04.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22097396, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22097397, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22097398, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22097399, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22097400, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22097401, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22097402, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22097403, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22097404, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22097405, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22097406, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22097407, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22097995 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2728422, 'mtr_portfolio_id': 22097995, 'created_at': datetime.datetime(2025, 4, 7, 11, 2, 31), 'result': '0.04559058438842548', 'result_long': None, 'result_double': None}] Qualite : 0.04559058438842548 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22097995 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22097995_07-04-2025_11_02_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22097995 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22097995_07-04-2025_11_02_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22097998, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22097999, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22098000, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22098001, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22098002, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22098003, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22098004, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22098005, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22098006, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22098007, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22098008, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22098009, 'pht': 3726}}" where mtr_portfolio_id = 22097995 and dashboard_run_id = 1730600 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22097995 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9923037, 0.04559058438842548, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22097995_07-04-2025_11_02_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22097998, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22097999, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22098000, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22098001, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22098002, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22098003, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22098004, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22098005, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22098006, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22098007, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22098008, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22098009, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22098735 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2728493, 'mtr_portfolio_id': 22098735, 'created_at': datetime.datetime(2025, 4, 7, 11, 16, 59), 'result': '0.05181350074261624', 'result_long': None, 'result_double': None}] Qualite : 0.05181350074261624 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22098735 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22098735_07-04-2025_11_17_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22098735 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22098735_07-04-2025_11_17_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22098762, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22098763, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22098764, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22098765, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22098766, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22098767, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22098768, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22098769, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22098770, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22098771, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22098772, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22098773, 'pht': 3726}}" where mtr_portfolio_id = 22098735 and dashboard_run_id = 1730600 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22098735 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9923038, 0.05181350074261624, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22098735_07-04-2025_11_17_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22098762, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22098763, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22098764, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22098765, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22098766, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22098767, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22098768, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22098769, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22098770, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22098771, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22098772, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22098773, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22099363 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2728532, 'mtr_portfolio_id': 22099363, 'created_at': datetime.datetime(2025, 4, 7, 11, 32, 35), 'result': '0.07267822864792925', 'result_long': None, 'result_double': None}] Qualite : 0.07267822864792925 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22099363 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22099363_07-04-2025_11_32_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22099363 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22099363_07-04-2025_11_32_35.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22099392, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22099393, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22099394, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22099395, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22099396, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22099397, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22099398, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22099399, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22099400, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22099401, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22099402, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22099403, 'pht': 3726}}" where mtr_portfolio_id = 22099363 and dashboard_run_id = 1730600 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22099363 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9923039, 0.07267822864792925, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22099363_07-04-2025_11_32_35.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22099392, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22099393, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22099394, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22099395, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22099396, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22099397, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22099398, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22099399, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22099400, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22099401, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22099402, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22099403, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22100198 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2728592, 'mtr_portfolio_id': 22100198, 'created_at': datetime.datetime(2025, 4, 7, 11, 48, 59), 'result': '0.08896608000389293', 'result_long': None, 'result_double': None}] Qualite : 0.08896608000389293 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22100198 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22100198_07-04-2025_11_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22100198 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22100198_07-04-2025_11_48_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22100227, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22100228, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22100229, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22100230, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22100231, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22100232, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22100233, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22100234, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22100235, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22100236, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22100237, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22100238, 'pht': 3726}}" where mtr_portfolio_id = 22100198 and dashboard_run_id = 1730600 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22100198 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9923040, 0.08896608000389293, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22100198_07-04-2025_11_48_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22100227, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22100228, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22100229, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22100230, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22100231, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22100232, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22100233, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22100234, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22100235, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22100236, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22100237, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22100238, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22100839 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2728629, 'mtr_portfolio_id': 22100839, 'created_at': datetime.datetime(2025, 4, 7, 12, 4, 59), 'result': '0.05776291903925126', 'result_long': None, 'result_double': None}] Qualite : 0.05776291903925126 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22100839 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22100839_07-04-2025_12_05_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22100839 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22100839_07-04-2025_12_05_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22100892, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22100893, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22100894, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22100895, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22100896, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22100897, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22100898, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22100899, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22100900, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22100901, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22100902, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22100903, 'pht': 3726}}" where mtr_portfolio_id = 22100839 and dashboard_run_id = 1730600 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22100839 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9923041, 0.05776291903925126, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22100839_07-04-2025_12_05_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22100892, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22100893, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22100894, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22100895, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22100896, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22100897, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22100898, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22100899, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22100900, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22100901, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22100902, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22100903, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22101771 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2728701, 'mtr_portfolio_id': 22101771, 'created_at': datetime.datetime(2025, 4, 8, 0, 25, 33), 'result': '0.03402469608673051', 'result_long': None, 'result_double': None}] Qualite : 0.03402469608673051 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22101771 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22101771_08-04-2025_00_25_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22101771 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22101771_08-04-2025_00_25_34.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22101774, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22101775, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22101776, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22101777, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22101778, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22101779, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22101780, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22101781, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22101782, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22101783, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22101784, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22101785, 'pht': 3726}}" where mtr_portfolio_id = 22101771 and dashboard_run_id = 1730600 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22101771 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9923042, 0.03402469608673051, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22101771_08-04-2025_00_25_34.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22101774, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22101775, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22101776, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22101777, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22101778, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22101779, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22101780, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22101781, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22101782, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22101783, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22101784, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22101785, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22103934 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2729022, 'mtr_portfolio_id': 22103934, 'created_at': datetime.datetime(2025, 4, 7, 14, 2, 59), 'result': '0.06117697663142463', 'result_long': None, 'result_double': None}] Qualite : 0.06117697663142463 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22103934 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22103934_07-04-2025_14_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22103934 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22103934_07-04-2025_14_03_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22103939, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22103940, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22103941, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22103942, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22103943, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22103944, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22103945, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22103946, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22103947, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22103948, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22103949, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22103950, 'pht': 3726}}" where mtr_portfolio_id = 22103934 and dashboard_run_id = 1730600 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22103934 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9923043, 0.06117697663142463, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22103934_07-04-2025_14_03_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22103939, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22103940, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22103941, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22103942, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22103943, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22103944, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22103945, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22103946, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22103947, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22103948, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22103949, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22103950, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22104316 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2729049, 'mtr_portfolio_id': 22104316, 'created_at': datetime.datetime(2025, 4, 7, 14, 18, 29), 'result': '0.0491922554005488', 'result_long': None, 'result_double': None}] Qualite : 0.0491922554005488 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22104316 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22104316_07-04-2025_14_18_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22104316 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22104316_07-04-2025_14_18_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22104319, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22104320, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22104321, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22104322, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22104323, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22104324, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22104325, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22104326, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22104327, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22104328, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22104329, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22104330, 'pht': 3726}}" where mtr_portfolio_id = 22104316 and dashboard_run_id = 1730600 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22104316 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9923044, 0.0491922554005488, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22104316_07-04-2025_14_18_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22104319, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22104320, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22104321, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22104322, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22104323, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22104324, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22104325, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22104326, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22104327, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22104328, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22104329, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22104330, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22104988 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2729095, 'mtr_portfolio_id': 22104988, 'created_at': datetime.datetime(2025, 4, 7, 14, 32, 57), 'result': '0.04974560605100043', 'result_long': None, 'result_double': None}] Qualite : 0.04974560605100043 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22104988 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22104988_07-04-2025_14_32_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22104988 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22104988_07-04-2025_14_32_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22104991, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22104992, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22104993, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22104994, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22104995, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22104996, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22104997, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22104998, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22104999, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22105000, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22105001, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22105002, 'pht': 3726}}" where mtr_portfolio_id = 22104988 and dashboard_run_id = 1730600 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22104988 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9923045, 0.04974560605100043, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22104988_07-04-2025_14_32_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22104991, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22104992, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22104993, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22104994, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22104995, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22104996, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22104997, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22104998, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22104999, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22105000, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22105001, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22105002, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22105620 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2729145, 'mtr_portfolio_id': 22105620, 'created_at': datetime.datetime(2025, 4, 7, 14, 48, 58), 'result': '0.06921743158651834', 'result_long': None, 'result_double': None}] Qualite : 0.06921743158651834 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22105620 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22105620_07-04-2025_14_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22105620 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22105620_07-04-2025_14_48_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22105623, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22105624, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22105625, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22105626, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22105627, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22105628, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22105629, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22105630, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22105631, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22105632, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22105633, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22105634, 'pht': 3726}}" where mtr_portfolio_id = 22105620 and dashboard_run_id = 1730600 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22105620 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9923046, 0.06921743158651834, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22105620_07-04-2025_14_48_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22105623, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22105624, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22105625, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22105626, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22105627, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22105628, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22105629, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22105630, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22105631, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22105632, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22105633, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22105634, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22106129 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2729183, 'mtr_portfolio_id': 22106129, 'created_at': datetime.datetime(2025, 4, 7, 15, 2, 59), 'result': '0.046573715608836566', 'result_long': None, 'result_double': None}] Qualite : 0.046573715608836566 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22106129 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22106129_07-04-2025_15_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22106129 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22106129_07-04-2025_15_03_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22106132, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22106133, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22106134, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22106135, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22106136, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22106137, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22106138, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22106139, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22106140, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22106141, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22106142, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22106143, 'pht': 3726}}" where mtr_portfolio_id = 22106129 and dashboard_run_id = 1730600 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22106129 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9923047, 0.046573715608836566, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22106129_07-04-2025_15_03_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22106132, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22106133, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22106134, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22106135, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22106136, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22106137, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22106138, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22106139, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22106140, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22106141, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22106142, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22106143, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22106775 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2729249, 'mtr_portfolio_id': 22106775, 'created_at': datetime.datetime(2025, 4, 7, 15, 18, 58), 'result': '0.058886222886007346', 'result_long': None, 'result_double': None}] Qualite : 0.058886222886007346 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22106775 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22106775_07-04-2025_15_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22106775 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22106775_07-04-2025_15_18_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22106779, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22106780, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22106781, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22106782, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22106783, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22106784, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22106785, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22106786, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22106787, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22106788, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22106789, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22106790, 'pht': 3726}}" where mtr_portfolio_id = 22106775 and dashboard_run_id = 1730600 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22106775 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9923048, 0.058886222886007346, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22106775_07-04-2025_15_18_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22106779, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22106780, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22106781, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22106782, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22106783, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22106784, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22106785, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22106786, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22106787, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22106788, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22106789, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22106790, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22107458 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2729296, 'mtr_portfolio_id': 22107458, 'created_at': datetime.datetime(2025, 4, 7, 15, 32, 59), 'result': '0.05895099783638643', 'result_long': None, 'result_double': None}] Qualite : 0.05895099783638643 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22107458 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22107458_07-04-2025_15_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22107458 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22107458_07-04-2025_15_32_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22107517, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22107518, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22107519, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22107520, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22107521, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22107522, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22107523, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22107524, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22107525, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22107526, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22107527, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22107528, 'pht': 3726}}" where mtr_portfolio_id = 22107458 and dashboard_run_id = 1730600 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22107458 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9923049, 0.05895099783638643, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22107458_07-04-2025_15_32_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22107517, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22107518, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22107519, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22107520, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22107521, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22107522, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22107523, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22107524, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22107525, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22107526, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22107527, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22107528, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22108240 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2729359, 'mtr_portfolio_id': 22108240, 'created_at': datetime.datetime(2025, 4, 7, 15, 46, 59), 'result': '0.04451422952057321', 'result_long': None, 'result_double': None}] Qualite : 0.04451422952057321 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22108240 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22108240_07-04-2025_15_46_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22108240 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22108240_07-04-2025_15_46_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22108269, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22108270, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22108271, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22108272, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22108273, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22108274, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22108275, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22108276, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22108277, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22108278, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22108279, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22108280, 'pht': 3726}}" where mtr_portfolio_id = 22108240 and dashboard_run_id = 1730600 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22108240 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9923050, 0.04451422952057321, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22108240_07-04-2025_15_46_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22108269, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22108270, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22108271, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22108272, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22108273, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22108274, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22108275, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22108276, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22108277, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22108278, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22108279, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22108280, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22109025 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2729407, 'mtr_portfolio_id': 22109025, 'created_at': datetime.datetime(2025, 4, 7, 16, 2, 57), 'result': '0.08483119642333595', 'result_long': None, 'result_double': None}] Qualite : 0.08483119642333595 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22109025 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22109025_07-04-2025_16_02_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22109025 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22109025_07-04-2025_16_02_58.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22109031, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22109032, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22109033, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22109034, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22109035, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22109036, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22109037, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22109038, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22109039, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22109040, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22109041, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22109042, 'pht': 3726}}" where mtr_portfolio_id = 22109025 and dashboard_run_id = 1730600 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22109025 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9923051, 0.08483119642333595, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22109025_07-04-2025_16_02_58.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22109031, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22109032, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22109033, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22109034, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22109035, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22109036, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22109037, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22109038, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22109039, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22109040, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22109041, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22109042, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22109683 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2729469, 'mtr_portfolio_id': 22109683, 'created_at': datetime.datetime(2025, 4, 7, 16, 16, 57), 'result': '0.052533643540471596', 'result_long': None, 'result_double': None}] Qualite : 0.052533643540471596 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22109683 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22109683_07-04-2025_16_16_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22109683 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22109683_07-04-2025_16_16_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22109686, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22109687, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22109688, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22109689, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22109690, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22109691, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22109692, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22109693, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22109694, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22109695, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22109696, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22109697, 'pht': 3726}}" where mtr_portfolio_id = 22109683 and dashboard_run_id = 1730600 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22109683 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9923052, 0.052533643540471596, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22109683_07-04-2025_16_16_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22109686, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22109687, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22109688, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22109689, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22109690, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22109691, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22109692, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22109693, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22109694, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22109695, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22109696, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22109697, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22110375 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2729511, 'mtr_portfolio_id': 22110375, 'created_at': datetime.datetime(2025, 4, 7, 16, 33), 'result': '0.06027972648338631', 'result_long': None, 'result_double': None}] Qualite : 0.06027972648338631 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22110375 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22110375_07-04-2025_16_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22110375 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22110375_07-04-2025_16_33_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22110378, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22110379, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22110380, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22110381, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22110382, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22110383, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22110384, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22110385, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22110386, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22110387, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22110388, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22110389, 'pht': 3726}}" where mtr_portfolio_id = 22110375 and dashboard_run_id = 1730600 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22110375 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9923053, 0.06027972648338631, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22110375_07-04-2025_16_33_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22110378, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22110379, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22110380, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22110381, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22110382, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22110383, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22110384, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22110385, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22110386, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22110387, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22110388, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22110389, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22111028 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2729567, 'mtr_portfolio_id': 22111028, 'created_at': datetime.datetime(2025, 4, 7, 16, 48, 59), 'result': '0.06934224223004355', 'result_long': None, 'result_double': None}] Qualite : 0.06934224223004355 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22111028 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22111028_07-04-2025_16_49_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22111028 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22111028_07-04-2025_16_49_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22111070, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22111071, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22111072, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22111073, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22111074, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22111075, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22111076, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22111077, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22111078, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22111079, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22111080, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22111081, 'pht': 3726}}" where mtr_portfolio_id = 22111028 and dashboard_run_id = 1730600 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22111028 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9923054, 0.06934224223004355, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22111028_07-04-2025_16_49_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22111070, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22111071, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22111072, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22111073, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22111074, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22111075, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22111076, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22111077, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22111078, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22111079, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22111080, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22111081, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22111576 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2729611, 'mtr_portfolio_id': 22111576, 'created_at': datetime.datetime(2025, 4, 7, 17, 2, 57), 'result': '0.03313230191274701', 'result_long': None, 'result_double': None}] Qualite : 0.03313230191274701 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22111576 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22111576_07-04-2025_17_02_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22111576 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22111576_07-04-2025_17_02_57.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22111598, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22111599, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22111600, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22111601, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22111602, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22111603, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22111604, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22111605, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22111606, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22111607, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22111608, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22111609, 'pht': 3726}}" where mtr_portfolio_id = 22111576 and dashboard_run_id = 1730600 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22111576 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9923055, 0.03313230191274701, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22111576_07-04-2025_17_02_57.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22111598, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22111599, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22111600, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22111601, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22111602, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22111603, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22111604, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22111605, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22111606, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22111607, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22111608, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22111609, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22112673 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2729680, 'mtr_portfolio_id': 22112673, 'created_at': datetime.datetime(2025, 4, 7, 17, 16, 57), 'result': '0.05927717786303368', 'result_long': None, 'result_double': None}] Qualite : 0.05927717786303368 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22112673 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22112673_07-04-2025_17_16_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22112673 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22112673_07-04-2025_17_16_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22112676, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22112677, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22112678, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22112679, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22112680, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22112681, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22112682, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22112683, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22112684, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22112685, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22112686, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22112687, 'pht': 3726}}" where mtr_portfolio_id = 22112673 and dashboard_run_id = 1730600 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22112673 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9923056, 0.05927717786303368, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22112673_07-04-2025_17_16_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22112676, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22112677, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22112678, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22112679, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22112680, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22112681, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22112682, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22112683, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22112684, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22112685, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22112686, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22112687, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22113400 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2729725, 'mtr_portfolio_id': 22113400, 'created_at': datetime.datetime(2025, 4, 7, 17, 33), 'result': '0.05820821448748791', 'result_long': None, 'result_double': None}] Qualite : 0.05820821448748791 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22113400 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22113400_07-04-2025_17_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22113400 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22113400_07-04-2025_17_33_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22113402, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22113403, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22113404, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22113405, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22113406, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22113407, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22113408, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22113409, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22113410, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22113411, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22113412, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22113413, 'pht': 3726}}" where mtr_portfolio_id = 22113400 and dashboard_run_id = 1730600 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22113400 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9923057, 0.05820821448748791, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22113400_07-04-2025_17_33_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22113402, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22113403, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22113404, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22113405, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22113406, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22113407, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22113408, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22113409, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22113410, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22113411, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22113412, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22113413, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22114682 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2729859, 'mtr_portfolio_id': 22114682, 'created_at': datetime.datetime(2025, 4, 7, 18, 16, 28), 'result': '0.0452264832144806', 'result_long': None, 'result_double': None}] Qualite : 0.0452264832144806 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22114682 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22114682_07-04-2025_18_16_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22114682 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22114682_07-04-2025_18_16_29.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22114685, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22114686, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22114687, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22114688, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22114689, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22114690, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22114691, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22114692, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22114693, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22114694, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22114695, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22114696, 'pht': 3726}}" where mtr_portfolio_id = 22114682 and dashboard_run_id = 1730600 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22114682 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9923058, 0.0452264832144806, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22114682_07-04-2025_18_16_29.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22114685, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22114686, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22114687, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22114688, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22114689, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22114690, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22114691, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22114692, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22114693, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22114694, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22114695, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22114696, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22115261 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2729898, 'mtr_portfolio_id': 22115261, 'created_at': datetime.datetime(2025, 4, 7, 18, 33), 'result': '0.07521630136573522', 'result_long': None, 'result_double': None}] Qualite : 0.07521630136573522 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22115261 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22115261_07-04-2025_18_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22115261 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22115261_07-04-2025_18_33_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22115303, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22115304, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22115305, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22115306, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22115307, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22115308, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22115309, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22115310, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22115311, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22115312, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22115313, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22115314, 'pht': 3726}}" where mtr_portfolio_id = 22115261 and dashboard_run_id = 1730600 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22115261 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9923059, 0.07521630136573522, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22115261_07-04-2025_18_33_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22115303, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22115304, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22115305, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22115306, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22115307, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22115308, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22115309, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22115310, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22115311, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22115312, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22115313, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22115314, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22115863 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2729960, 'mtr_portfolio_id': 22115863, 'created_at': datetime.datetime(2025, 4, 7, 18, 46, 57), 'result': '0.051546685918975446', 'result_long': None, 'result_double': None}] Qualite : 0.051546685918975446 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22115863 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22115863_07-04-2025_18_46_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22115863 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22115863_07-04-2025_18_46_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22115866, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22115867, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22115868, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22115869, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22115870, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22115871, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22115872, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22115873, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22115874, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22115875, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22115876, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22115877, 'pht': 3726}}" where mtr_portfolio_id = 22115863 and dashboard_run_id = 1730600 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22115863 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9923060, 0.051546685918975446, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22115863_07-04-2025_18_46_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22115866, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22115867, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22115868, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22115869, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22115870, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22115871, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22115872, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22115873, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22115874, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22115875, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22115876, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22115877, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22116683 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2730007, 'mtr_portfolio_id': 22116683, 'created_at': datetime.datetime(2025, 4, 7, 19, 3), 'result': '0.04850842986034344', 'result_long': None, 'result_double': None}] Qualite : 0.04850842986034344 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22116683 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22116683_07-04-2025_19_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22116683 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22116683_07-04-2025_19_03_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22116688, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22116689, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22116690, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22116691, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22116692, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22116693, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22116694, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22116695, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22116696, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22116697, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22116698, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22116699, 'pht': 3726}}" where mtr_portfolio_id = 22116683 and dashboard_run_id = 1730600 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22116683 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9923061, 0.04850842986034344, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22116683_07-04-2025_19_03_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22116688, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22116689, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22116690, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22116691, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22116692, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22116693, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22116694, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22116695, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22116696, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22116697, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22116698, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22116699, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22117242 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2730057, 'mtr_portfolio_id': 22117242, 'created_at': datetime.datetime(2025, 4, 7, 19, 18, 31), 'result': '0.06002005346110023', 'result_long': None, 'result_double': None}] Qualite : 0.06002005346110023 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22117242 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22117242_07-04-2025_19_18_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22117242 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22117242_07-04-2025_19_18_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22117245, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22117246, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22117247, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22117248, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22117249, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22117250, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22117251, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22117252, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22117253, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22117254, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22117255, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22117256, 'pht': 3726}}" where mtr_portfolio_id = 22117242 and dashboard_run_id = 1730600 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22117242 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9923062, 0.06002005346110023, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22117242_07-04-2025_19_18_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22117245, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22117246, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22117247, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22117248, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22117249, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22117250, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22117251, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22117252, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22117253, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22117254, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22117255, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22117256, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22117993 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2730100, 'mtr_portfolio_id': 22117993, 'created_at': datetime.datetime(2025, 4, 7, 19, 32, 59), 'result': '0.05818949852027168', 'result_long': None, 'result_double': None}] Qualite : 0.05818949852027168 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22117993 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22117993_07-04-2025_19_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22117993 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22117993_07-04-2025_19_33_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22117996, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22117997, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22117998, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22117999, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22118000, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22118001, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22118002, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22118003, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22118004, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22118005, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22118006, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22118007, 'pht': 3726}}" where mtr_portfolio_id = 22117993 and dashboard_run_id = 1730600 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22117993 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9923063, 0.05818949852027168, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22117993_07-04-2025_19_33_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22117996, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22117997, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22117998, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22117999, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22118000, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22118001, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22118002, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22118003, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22118004, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22118005, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22118006, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22118007, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22118404 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2730148, 'mtr_portfolio_id': 22118404, 'created_at': datetime.datetime(2025, 4, 7, 19, 48, 59), 'result': '0.07382460022343797', 'result_long': None, 'result_double': None}] Qualite : 0.07382460022343797 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22118404 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22118404_07-04-2025_19_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22118404 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22118404_07-04-2025_19_48_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22118406, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22118407, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22118408, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22118409, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22118410, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22118411, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22118412, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22118413, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22118414, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22118415, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22118416, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22118417, 'pht': 3726}}" where mtr_portfolio_id = 22118404 and dashboard_run_id = 1730600 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22118404 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9923064, 0.07382460022343797, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22118404_07-04-2025_19_48_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22118406, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22118407, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22118408, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22118409, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22118410, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22118411, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22118412, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22118413, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22118414, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22118415, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22118416, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22118417, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22118961 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2730185, 'mtr_portfolio_id': 22118961, 'created_at': datetime.datetime(2025, 4, 7, 20, 4, 30), 'result': '0.047790102222747016', 'result_long': None, 'result_double': None}] Qualite : 0.047790102222747016 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22118961 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22118961_07-04-2025_20_04_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22118961 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22118961_07-04-2025_20_04_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22119012, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22119013, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22119014, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22119015, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22119016, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22119017, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22119018, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22119019, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22119020, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22119021, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22119022, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22119023, 'pht': 3726}}" where mtr_portfolio_id = 22118961 and dashboard_run_id = 1730600 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22118961 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9923065, 0.047790102222747016, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22118961_07-04-2025_20_04_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22119012, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22119013, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22119014, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22119015, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22119016, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22119017, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22119018, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22119019, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22119020, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22119021, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22119022, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22119023, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22119603 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2730247, 'mtr_portfolio_id': 22119603, 'created_at': datetime.datetime(2025, 4, 7, 20, 19, 1), 'result': '0.041563819891593794', 'result_long': None, 'result_double': None}] Qualite : 0.041563819891593794 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22119603 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22119603_07-04-2025_20_19_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22119603 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22119603_07-04-2025_20_19_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22119605, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22119606, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22119607, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22119608, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22119609, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22119610, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22119611, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22119612, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22119613, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22119614, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22119615, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22119616, 'pht': 3726}}" where mtr_portfolio_id = 22119603 and dashboard_run_id = 1730600 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22119603 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9923066, 0.041563819891593794, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22119603_07-04-2025_20_19_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22119605, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22119606, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22119607, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22119608, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22119609, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22119610, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22119611, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22119612, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22119613, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22119614, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22119615, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22119616, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22120163 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2730281, 'mtr_portfolio_id': 22120163, 'created_at': datetime.datetime(2025, 4, 7, 20, 33, 1), 'result': '0.05074683103433916', 'result_long': None, 'result_double': None}] Qualite : 0.05074683103433916 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22120163 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22120163_07-04-2025_20_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22120163 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22120163_07-04-2025_20_33_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22120190, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22120191, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22120192, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22120193, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22120194, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22120195, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22120196, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22120197, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22120198, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22120199, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22120200, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22120201, 'pht': 3726}}" where mtr_portfolio_id = 22120163 and dashboard_run_id = 1730600 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22120163 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9923067, 0.05074683103433916, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22120163_07-04-2025_20_33_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22120190, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22120191, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22120192, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22120193, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22120194, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22120195, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22120196, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22120197, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22120198, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22120199, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22120200, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22120201, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22120874 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2730349, 'mtr_portfolio_id': 22120874, 'created_at': datetime.datetime(2025, 4, 7, 21, 4, 58), 'result': '0.04545897817085866', 'result_long': None, 'result_double': None}] Qualite : 0.04545897817085866 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22120874 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22120874_07-04-2025_21_04_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22120874 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22120874_07-04-2025_21_04_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22120901, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22120902, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22120903, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22120904, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22120905, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22120906, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22120907, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22120908, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22120909, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22120910, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22120911, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22120912, 'pht': 3726}}" where mtr_portfolio_id = 22120874 and dashboard_run_id = 1730600 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22120874 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9923068, 0.04545897817085866, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22120874_07-04-2025_21_04_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22120901, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22120902, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22120903, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22120904, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22120905, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22120906, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22120907, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22120908, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22120909, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22120910, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22120911, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22120912, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22122008 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2730433, 'mtr_portfolio_id': 22122008, 'created_at': datetime.datetime(2025, 4, 7, 21, 21), 'result': '0.031482606698039', 'result_long': None, 'result_double': None}] Qualite : 0.031482606698039 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22122008 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22122008_07-04-2025_21_21_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22122008 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22122008_07-04-2025_21_21_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22122010, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22122011, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22122012, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22122013, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22122014, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22122015, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22122016, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22122017, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22122018, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22122019, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22122020, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22122021, 'pht': 3726}}" where mtr_portfolio_id = 22122008 and dashboard_run_id = 1730600 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22122008 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9923069, 0.031482606698039, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22122008_07-04-2025_21_21_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22122010, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22122011, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22122012, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22122013, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22122014, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22122015, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22122016, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22122017, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22122018, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22122019, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22122020, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22122021, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22122792 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2730522, 'mtr_portfolio_id': 22122792, 'created_at': datetime.datetime(2025, 4, 7, 21, 53), 'result': '0.018147907977539682', 'result_long': None, 'result_double': None}] Qualite : 0.018147907977539682 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22122792 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22122792_07-04-2025_21_53_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22122792 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22122792_07-04-2025_21_53_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22122793, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22122794, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22122795, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22122796, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22122797, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22122798, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22122799, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22122800, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22122801, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22122802, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22122803, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22122804, 'pht': 3726}}" where mtr_portfolio_id = 22122792 and dashboard_run_id = 1730600 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22122792 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9923070, 0.018147907977539682, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22122792_07-04-2025_21_53_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22122793, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22122794, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22122795, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22122796, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22122797, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22122798, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22122799, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22122800, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22122801, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22122802, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22122803, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22122804, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22087245,22087563,22087885,22088566,22088910,22089386,22089569,22089948,22090491,22091054,22091666,22092221,22092677,22093430,22094762,22095097,22096055,22096580,22097368,22097995,22098735,22099363,22100198,22100839,22101771,22103934,22104316,22104988,22105620,22106129,22106775,22107458,22108240,22109025,22109683,22110375,22111028,22111576,22112673,22113400,22114682,22115261,22115863,22116683,22117242,22117993,22118404,22118961,22119603,22120163,22120874,22122008,22122792) result : ((1350234507,), (1350234570,), (1350234574,), (1350234577,), (1350234614,), (1350234617,), (1350234620,), (1350234622,), (1350234724,), (1350234726,), (1350234728,), (1350234730,), (1350234747,), (1350234748,), (1350234749,), (1350234752,), (1350234754,), (1350234758,), (1350234769,), (1350234780,), (1350234791,), (1350234821,), (1350234825,), (1350234828,), (1350234861,), (1350234862,), (1350234915,), (1350234918,), (1350235079,), (1350235276,), (1350235324,), (1350235579,), (1350235754,), (1350235814,), (1350235811,), (1350235885,), (1350235924,), (1350235929,), (1350235935,), (1350235944,), (1350236046,), (1350236081,), (1350236143,), (1350236173,), (1350236178,), (1350236180,), (1350236205,), (1350236335,), (1350236338,), (1350236341,), (1350236345,), (1350236351,), (1350236774,), (1350236760,), (1350236763,), (1350236770,), (1350236798,), (1350236800,), (1350236803,), (1350236844,), (1350236848,), (1350236853,), (1350236858,), (1350236863,), (1350236868,), (1350236904,), (1350236908,), (1350236914,), (1350236953,), (1350236964,), (1350237392,), (1350237410,), (1350237424,), (1350237608,), (1350237718,), (1350237723,), (1350237725,), (1350237727,), (1350237731,), (1350237734,), (1350237752,), (1350237757,), (1350237761,), (1350237781,), (1350237861,), (1350237864,), (1350237866,), (1350237905,), (1350237907,), (1350237984,), (1350237987,), (1350237989,), (1350238019,), (1350238024,), (1350238027,), (1350238030,), (1350238059,), (1350238095,), (1350238097,), (1350238099,), (1350238101,), (1350238128,), (1350238130,), (1350238162,), (1350238157,), (1350238159,), (1350238200,), (1350238204,), (1350238205,), (1350238207,), (1350238278,), (1350238279,), (1350238280,), (1350238281,), (1350238305,), (1350238308,), (1350238348,), (1350238351,), (1350238354,), (1350238422,), (1350238482,), (1350238486,), (1350238489,), (1350238582,), (1350238585,), (1350238588,), (1350238708,), (1350238710,), (1350238713,), (1350238715,), (1350238718,), (1350238742,), (1350238745,), (1350238747,), (1350238749,), (1350238784,), (1350238792,), (1350238795,), (1350238826,), (1350238828,), (1350238833,), (1350238836,), (1350238888,), (1350238891,), (1350238903,), (1350238905,), (1350238910,), (1350238913,), (1350238969,), (1350238941,), (1350238959,), (1350238964,), (1350239017,), (1350239019,), (1350239021,), (1350239028,), (1350239074,), (1350239076,), (1350239078,), (1350239081,), (1350239088,), (1350239137,), (1350239153,), (1350239166,), (1350239172,), (1350239307,), (1350239310,), (1350239313,), (1350239316,), (1350239320,), (1350239345,), (1350239347,), (1350239353,), (1350239361,), (1350239369,), (1350239396,), (1350239399,), (1350239403,), (1350239408,), (1350239412,), (1350239415,), (1350239437,), (1350239441,), (1350239444,), (1350239447,), (1350239469,), (1350239473,), (1350239498,), (1350239502,), (1350239509,), (1350239516,), (1350239550,), (1350239552,), (1350239600,), (1350239604,), (1350239607,), (1350239610,), (1350239635,), (1350239637,), (1350239664,), (1350239730,), (1350239728,), (1350239829,), (1350239878,), (1350240455,), (1350240458,), (1350240465,), (1350240562,), (1350240573,), (1350240576,), (1350240577,), (1350240710,), (1350240724,), (1350240728,), (1350240790,), (1350240793,), (1350240819,), (1350240821,), (1350240822,), (1350240823,), (1350240853,), (1350240857,), (1350240860,), (1350240908,), (1350240910,), (1350240911,), (1350240912,), (1350240947,), (1350240952,), (1350240958,), (1350240962,), (1350241015,), (1350241002,), (1350241006,), (1350241008,), (1350241011,), (1350241052,), (1350241056,), (1350241060,), (1350241063,), (1350241100,), (1350241104,), (1350241110,), (1350241159,), (1350241165,), (1350241207,), (1350241211,), (1350241213,), (1350241215,), (1350241293,), (1350241302,), (1350241309,), (1350241320,), (1350241363,), (1350241417,), (1350241422,), (1350241463,), (1350241468,), (1350241471,), (1350241478,), (1350241482,), (1350241509,), (1350241513,), (1350241518,), (1350241522,), (1350241526,), (1350241531,), (1350241589,), (1350241593,), (1350241623,), (1350241627,), (1350241629,), (1350241633,), (1350241636,), (1350241676,), (1350241681,), (1350241685,), (1350241687,), (1350241689,), (1350241740,), (1350241726,), (1350241730,), (1350241732,), (1350241775,), (1350241798,), (1350241803,), (1350241810,), (1350241814,), (1350241821,), (1350241852,), (1350241857,), (1350241862,), (1350241867,), (1350242177,), (1350242190,), (1350242196,), (1350242267,), (1350242271,), (1350242273,), (1350242275,), (1350242281,), (1350242286,), (1350242317,), (1350242318,), (1350242327,), (1350242347,), (1350242354,), (1350242381,), (1350242383,), (1350242385,), (1350242387,), (1350242465,), (1350242469,), (1350242473,), (1350242477,), (1350242596,), (1350242640,), (1350242701,), (1350242712,), (1350242716,), (1350242719,), (1350242806,), (1350242812,), (1350242817,), (1350242822,), (1350242862,), (1350242891,), (1350242894,), (1350242954,), (1350242958,), (1350242961,), (1350242996,), (1350243110,), (1350243117,), (1350243122,), (1350243159,), (1350243164,), (1350243173,), (1350243210,), (1350243213,), (1350243260,), (1350243273,), (1350243387,), (1350243372,), (1350243375,), (1350243429,), (1350243431,), (1350243433,), (1350243443,), (1350243451,), (1350243455,), (1350243572,), (1350243577,), (1350243582,), (1350243589,), (1350243597,), (1350243602,), (1350243673,), (1350243685,), (1350243702,), (1350243706,), (1350243866,), (1350243879,), (1350243885,), (1350243891,), (1350243897,), (1350243974,), (1350243983,), (1350243986,), (1350243989,), (1350243997,), (1350244000,), (1350244044,), (1350244049,), (1350244053,), (1350244098,), (1350244102,), (1350244116,), (1350244125,), (1350244191,), (1350244200,), (1350244247,), (1350244256,), (1350244260,), (1350244302,), (1350244305,), (1350244310,), (1350244366,), (1350244372,), (1350244381,), (1350244436,), (1350244448,), (1350244453,), (1350244457,), (1350244461,), (1350244524,), (1350244539,), (1350244543,), (1350244586,), (1350244591,), (1350244598,), (1350244602,), (1350244615,), (1350244618,), (1350244696,), (1350244682,), (1350244689,), (1350244694,), (1350244744,), (1350244747,), (1350244751,), (1350244755,), (1350244812,), (1350244821,), (1350244868,), (1350244872,), (1350244878,), (1350244896,), (1350244929,), (1350244936,), (1350244940,), (1350244946,), (1350244991,), (1350244994,), (1350244997,), (1350245219,), (1350245226,), (1350245232,), (1350245236,), (1350245308,), (1350245313,), (1350245318,), (1350245382,), (1350245388,), (1350245407,), (1350245449,), (1350245451,), (1350245456,), (1350245461,), (1350245506,), (1350245513,), (1350245516,), (1350245521,), (1350245560,), (1350245565,), (1350245568,), (1350245571,), (1350245588,), (1350245704,), (1350245723,), (1350245726,), (1350245892,), (1350245900,), (1350245909,), (1350245956,), (1350245953,), (1350246013,), (1350246134,), (1350246143,), (1350246151,), (1350246212,), (1350246220,), (1350246232,), (1350246444,), (1350246453,), (1350246511,), (1350246515,), (1350246519,), (1350246521,), (1350246584,), (1350246590,), (1350246594,), (1350246755,), (1350246771,), (1350246783,), (1350246787,), (1350246790,), (1350246952,), (1350246963,), (1350246968,), (1350246977,), (1350246985,), (1350247095,), (1350247103,), (1350247115,), (1350247118,), (1350247212,), (1350247221,), (1350247225,), (1350247232,), (1350247298,), (1350247300,), (1350247303,), (1350247304,), (1350247306,), (1350247341,), (1350247355,), (1350247361,), (1350247427,), (1350247429,), (1350247432,), (1350247434,), (1350247439,), (1350247492,), (1350247486,), (1350247488,), (1350247534,), (1350247543,), (1350247547,), (1350247602,), (1350247606,), (1350247651,), (1350247656,), (1350247798,), (1350247805,), (1350247810,), (1350247844,), (1350247863,), (1350247867,), (1350247872,), (1350247909,), (1350247912,), (1350247914,), (1350247916,), (1350247919,), (1350247922,), (1350247963,), (1350247971,), (1350247984,), (1350248002,), (1350248013,), (1350248018,), (1350248114,), (1350248152,), (1350248155,), (1350248162,), (1350248168,), (1350248202,), (1350248206,), (1350248211,), (1350248286,), (1350248290,), (1350248295,), (1350248302,), (1350248335,), (1350248341,), (1350248347,), (1350248353,), (1350248358,), (1350248402,), (1350248848,), (1350248852,), (1350248857,), (1350248971,), (1350249032,), (1350249090,), (1350249075,), (1350249078,), (1350249081,), (1350249085,), (1350249127,), (1350249130,), (1350249135,), (1350249141,), (1350249185,), (1350249189,), (1350249243,), (1350249247,), (1350249254,), (1350249334,), (1350249392,), (1350249720,), (1350249737,), (1350249740,), (1350249744,), (1350249801,), (1350249809,), (1350249821,), (1350249831,), (1350249874,), (1350249879,), (1350249883,), (1350249885,), (1350249932,), (1350249942,), (1350249945,), (1350249949,), (1350249953,), (1350249957,), (1350250081,), (1350250093,), (1350250098,), (1350250105,), (1350250289,), (1350250297,), (1350250305,), (1350250311,), (1350250318,), (1350250327,), (1350250690,), (1350250719,), (1350250723,), (1350250734,), (1350250744,), (1350250749,), (1350250799,), (1350250802,), (1350250844,), (1350250878,), (1350250882,), (1350250885,), (1350250892,), (1350250927,), (1350250931,), (1350250936,), (1350250996,), (1350251000,), (1350251004,), (1350251007,), (1350251011,), (1350251064,), (1350251047,), (1350251052,), (1350251056,), (1350251059,), (1350251062,), (1350251093,), (1350251096,), (1350251117,), (1350251122,), (1350251126,), (1350251161,), (1350251166,), (1350251178,), (1350251241,), (1350251246,), (1350251252,), (1350251255,), (1350251259,), (1350251348,), (1350251418,), (1350251428,), (1350251432,), (1350251468,), (1350251470,), (1350251473,), (1350251499,), (1350251503,), (1350251506,), (1350251510,), (1350251543,), (1350251548,), (1350251550,), (1350251553,), (1350251555,), (1350251875,), (1350251898,), (1350251903,), (1350251906,), (1350251981,), (1350251986,), (1350252096,), (1350252100,), (1350252108,), (1350252113,), (1350252118,), (1350252144,), (1350252147,), (1350252150,), (1350252154,), (1350252204,), (1350252206,), (1350252208,), (1350252210,), (1350252768,), (1350252775,), (1350252782,), (1350252797,), (1350252819,), (1350252893,), (1350256013,), (1350256020,), (1350256025,), (1350256105,), (1350256115,), (1350256119,), (1350256212,), (1350256265,), (1350256280,), (1350256287,), (1350256293,), (1350256301,), (1350256304,), (1350256367,), (1350256379,), (1350256382,), (1350256429,), (1350256460,), (1350256467,), (1350256475,), (1350256564,), (1350256570,), (1350256574,), (1350256578,), (1350256583,), (1350256712,), (1350256720,), (1350256729,), (1350256740,), (1350256746,), (1350256930,), (1350256934,), (1350257158,), (1350257205,), (1350257217,), (1350257223,), (1350257335,), (1350257330,), (1350257423,), (1350257433,), (1350257463,), (1350257496,), (1350257555,), (1350257559,), (1350257562,), (1350257580,), (1350257585,), (1350257611,), (1350257620,), (1350257626,), (1350257696,), (1350257701,), (1350257717,), (1350257721,), (1350257737,), (1350257923,), (1350257928,), (1350257940,), (1350257948,), (1350257987,), (1350257991,), (1350257996,), (1350258000,), (1350258003,), (1350258030,), (1350258079,), (1350258132,), (1350258143,), (1350258148,), (1350258290,), (1350258320,), (1350258343,), (1350258367,), (1350258727,), (1350258740,), (1350258757,), (1350258760,), (1350258764,), (1350258767,), (1350258818,), (1350258889,), (1350258894,), (1350258899,), (1350258902,), (1350258925,), (1350259077,), (1350259133,), (1350259179,), (1350259553,), (1350260072,), (1350260084,), (1350260102,), (1350260116,), (1350260245,), (1350260233,), (1350260238,), (1350260407,), (1350260410,), (1350260416,), (1350260540,), (1350260549,), (1350260560,), (1350260736,), (1350260827,), (1350260838,), (1350261116,), (1350262932,), (1350262961,), (1350263084,), (1350263091,), (1350263110,), (1350263127,), (1350263141,), (1350263250,), (1350263273,), (1350263428,), (1350263440,), (1350263471,), (1350263616,), (1350263640,), (1350263656,), (1350263863,), (1350263889,), (1350263907,), (1350263926,), (1350264079,), (1350264110,), (1350264122,), (1350264203,), (1350264163,), (1350264169,), (1350264179,), (1350264296,), (1350264302,), (1350264321,), (1350264370,), (1350264377,), (1350264427,), (1350264550,), (1350264553,), (1350264560,), (1350264570,), (1350264698,), (1350264722,), (1350264733,), (1350264750,), (1350264755,), (1350264923,), (1350264961,), (1350265007,), (1350265042,), (1350265064,), (1350265106,), (1350265245,), (1350265248,), (1350265251,), (1350265254,), (1350265258,), (1350265319,), (1350265338,), (1350265350,), (1350265354,), (1350265415,), (1350265427,), (1350265431,), (1350265437,), (1350265440,), (1350265539,), (1350265554,), (1350265565,), (1350265633,), (1350265635,), (1350265642,), (1350265646,), (1350265653,), (1350265659,), (1350265718,), (1350265737,), (1350265761,), (1350265799,), (1350266109,), (1350266150,), (1350266202,), (1350266247,), (1350266304,), (1350266679,), (1350266731,), (1350266780,), (1350266835,), (1350266962,), (1350267128,), (1350267148,), (1350267154,), (1350267426,), (1350267466,), (1350267492,), (1350267513,), (1350267542,), (1350267574,), (1350267891,), (1350267789,), (1350267813,), (1350267872,), (1350268331,), (1350268359,), (1350268387,), (1350268501,), (1350268569,), (1350268639,), (1350268694,), (1350268981,), (1350268996,), (1350269004,), (1350269030,), (1350269058,), (1350269250,), (1350269267,), (1350269280,), (1350269307,), (1350269633,), (1350269667,), (1350269704,), (1350269751,), (1350269926,), (1350269931,), (1350269945,), (1350269949,), (1350269952,), (1350270022,), (1350270035,), (1350270042,), (1350270047,), (1350270053,), (1350270188,), (1350270286,), (1350270306,), (1350270352,), (1350270382,), (1350270446,), (1350270450,), (1350270452,), (1350270643,), (1350270648,), (1350270664,), (1350270688,), (1350270702,), (1350270756,), (1350270770,), (1350270785,), (1350270794,), (1350270980,), (1350271007,), (1350271035,), (1350271037,), (1350271115,), (1350271140,), (1350271167,), (1350271196,), (1350271226,), (1350271248,), (1350271314,), (1350271321,), (1350271326,), (1350271346,), (1350271469,), (1350271443,), (1350271447,), (1350271457,), (1350271463,), (1350271675,), (1350271707,), (1350271720,), (1350271747,), (1350271779,), (1350271974,), (1350272003,), (1350272008,), (1350272019,), (1350272379,), (1350272463,), (1350272601,), (1350272629,), (1350273307,), (1350273371,), (1350273421,), (1350273459,), (1350273523,), (1350273606,), (1350273781,), (1350273828,), (1350273879,), (1350273912,), (1350273944,), (1350274019,), (1350274039,), (1350274061,), (1350274330,), (1350274358,), (1350274371,), (1350274377,), (1350274387,), (1350274393,), (1350274433,), (1350274440,), (1350274445,), (1350274448,), (1350274455,), (1350274514,), (1350274519,), (1350274522,), (1350274527,), (1350274674,), (1350274678,), (1350274682,), (1350274687,), (1350274742,), (1350274747,), (1350274751,), (1350274755,), (1350274760,), (1350274766,), (1350274845,), (1350274867,), (1350274885,), (1350275362,), (1350275413,), (1350275462,), (1350275524,), (1350275713,), (1350275781,), (1350275837,), (1350275896,), (1350276520,), (1350276276,), (1350276369,), (1350276440,), (1350277010,), (1350277050,), (1350277082,), (1350277109,), (1350277572,), (1350277597,), (1350277633,), (1350277685,), (1350278157,), (1350278200,), (1350278228,), (1350278329,), (1350278785,), (1350278836,), (1350278913,), (1350278966,), (1350279017,), (1350279200,), (1350279209,), (1350279213,), (1350279275,), (1350279285,), (1350279289,), (1350279294,), (1350279302,), (1350279314,), (1350279503,), (1350279534,), (1350279541,), (1350279560,), (1350279701,), (1350279706,), (1350279717,), (1350279745,), (1350279828,), (1350279833,), (1350279855,), (1350279863,), (1350279869,), (1350279964,), (1350279970,), (1350279975,), (1350279981,), (1350280241,), (1350280258,), (1350280282,), (1350280305,), (1350280334,), (1350280358,), (1350280536,), (1350280545,), (1350280549,), (1350280717,), (1350280743,), (1350280762,), (1350280769,), (1350280777,), (1350280795,), (1350280858,), (1350280861,), (1350280868,), (1350280871,), (1350280932,), (1350280910,), (1350280921,), (1350280928,), (1350281018,), (1350281022,), (1350281039,), (1350281046,), (1350281048,), (1350281153,), (1350281157,), (1350281161,), (1350281170,), (1350281174,), (1350281178,), (1350281292,), (1350281300,), (1350281309,), (1350281315,), (1350281319,), (1350281607,), (1350281617,), (1350281620,), (1350281624,), (1350281631,), (1350281704,), (1350281706,), (1350281710,), (1350281819,), (1350281839,), (1350281872,), (1350281900,), (1350281917,), (1350282001,), (1350282008,), (1350282021,), (1350282248,), (1350282262,), (1350282266,), (1350282270,), (1350282330,), (1350282337,), (1350282339,), (1350282344,), (1350282447,), (1350282453,), (1350282468,), (1350282483,), (1350282498,), (1350282566,), (1350282839,), (1350282914,), (1350282921,), (1350282940,), (1350282947,), (1350283031,), (1350283038,), (1350283078,), (1350283085,), (1350283206,), (1350283234,), (1350283241,), (1350283245,), (1350283314,), (1350283316,), (1350283320,), (1350283332,), (1350283339,), (1350283424,), (1350283408,), (1350283411,), (1350283413,), (1350283720,), (1350283721,), (1350283727,), (1350283889,), (1350283892,), (1350283897,), (1350283954,), (1350283963,), (1350283997,), (1350284155,), (1350284283,), (1350284291,), (1350284312,), (1350284452,), (1350284575,), (1350284589,), (1350284609,), (1350284622,), (1350284683,), (1350284688,), (1350284697,), (1350284703,), (1350284744,), (1350284746,), (1350284750,), (1350284814,), (1350284818,), (1350284960,), (1350284978,), (1350285075,), (1350285084,), (1350285094,), (1350285103,), (1350285411,), (1350285480,), (1350285511,), (1350285551,), (1350285628,), (1350285636,), (1350285641,), (1350285646,), (1350285717,), (1350285707,), (1350285712,), (1350285714,), (1350286014,), (1350286060,), (1350286342,), (1350286355,), (1350286358,), (1350286417,), (1350286421,), (1350286427,), (1350286446,), (1350286449,), (1350286486,), (1350286491,), (1350286495,), (1350286499,), (1350286555,), (1350286560,), (1350286564,), (1350286567,), (1350286585,), (1350286630,), (1350286691,), (1350286695,), (1350286713,), (1350286738,), (1350286804,), (1350286896,), (1350286899,), (1350286903,), (1350286907,), (1350286910,), (1350286959,), (1350286963,), (1350287030,), (1350287039,), (1350287044,), (1350287054,), (1350287167,), (1350287205,), (1350287233,), (1350287245,), (1350287341,), (1350287362,), (1350287384,), (1350287412,), (1350287561,), (1350287594,), (1350287616,), (1350288053,), (1350288066,), (1350288083,), (1350288099,), (1350288106,), (1350288253,), (1350288165,), (1350288235,), (1350288246,), (1350288350,), (1350288401,), (1350288462,), (1350288525,), (1350288711,), (1350288755,), (1350288771,), (1350288817,), (1350289722,), (1350290223,), (1350292294,), (1350292857,), (1350292927,), (1350313776,), (1350315577,), (1350315591,), (1350315601,), (1350315931,), (1350316474,), (1350316498,), (1350316724,), (1350316752,), (1350316755,), (1350316787,), (1350316794,), (1350316800,), (1350316848,), (1350316850,), (1350316853,), (1350317018,), (1350317047,), (1350317110,), (1350317186,), (1350317273,), (1350317361,), (1350318398,), (1350318437,), (1350319142,), (1350319050,), (1350319076,), (1350319474,), (1350319545,), (1350319581,), (1350319606,), (1350319788,), (1350319824,), (1350319867,), (1350319890,), (1350320104,), (1350320132,), (1350320251,), (1350320277,), (1350320304,), (1350320333,), (1350320362,), (1350320492,), (1350320495,), (1350320501,), (1350320625,), (1350320631,), (1350320636,), (1350320640,), (1350320646,), (1350320791,), (1350320816,), (1350320840,), (1350320998,), (1350321006,), (1350321012,), (1350321019,), (1350321254,), (1350321279,), (1350321287,), (1350321293,), (1350321300,), (1350321526,), (1350321540,), (1350321544,), (1350321599,), (1350321604,), (1350321609,), (1350321615,), (1350321674,), (1350321676,), (1350321749,), (1350321773,), (1350321804,), (1350321836,), (1350321867,), (1350321898,), (1350321983,), (1350321986,), (1350321990,), (1350321995,), (1350322001,), (1350322007,), (1350322088,), (1350322072,), (1350322077,), (1350322082,), (1350322260,), (1350322263,), (1350322308,), (1350322353,), (1350322596,), (1350322608,), (1350322612,), (1350322741,), (1350322848,), (1350323309,), (1350323314,), (1350323317,), (1350323320,), (1350323340,), (1350323525,), (1350323530,), (1350323533,), (1350323606,), (1350323612,), (1350323614,), (1350323616,), (1350323622,), (1350323696,), (1350323721,), (1350323737,), (1350323758,), (1350323778,), (1350323818,), (1350323873,), (1350323878,), (1350323907,), (1350323912,), (1350324071,), (1350324086,), (1350324224,), (1350324229,), (1350324233,), (1350324237,), (1350324242,), (1350324248,), (1350324300,), (1350324302,), (1350324307,), (1350324337,), (1350324484,), (1350324538,), (1350324591,), (1350324633,), (1350324638,), (1350324646,), (1350324663,), (1350324706,), (1350324719,), (1350324983,), (1350325011,), (1350325016,), (1350325018,), (1350325022,), (1350325053,), (1350325057,), (1350325063,), (1350325083,), (1350325175,), (1350325132,), (1350325137,), (1350325144,), (1350325169,), (1350325208,), (1350325237,), (1350325480,), (1350325500,), (1350325511,), (1350325523,), (1350325674,), (1350325708,), (1350325746,), (1350325759,), (1350325766,), (1350325893,), (1350325898,), (1350326124,), (1350326129,), (1350326136,), (1350326142,), (1350326147,), (1350326149,), (1350326198,), (1350326201,), (1350326205,), (1350326208,), (1350326384,), (1350326390,), (1350326396,), (1350326402,), (1350326526,), (1350326530,), (1350326535,), (1350326539,), (1350326544,), (1350326557,), (1350326601,), (1350326606,), (1350326625,), (1350326654,), (1350326680,), (1350326804,), (1350326815,), (1350326819,), (1350326926,), (1350326930,), (1350326935,), (1350326941,), (1350327004,), (1350327007,), (1350327014,), (1350327018,), (1350327135,), (1350327154,), (1350327172,), (1350327231,), (1350327235,), (1350327242,), (1350327247,), (1350327361,), (1350327299,), (1350327307,), (1350327316,), (1350327324,), (1350327338,), (1350327501,), (1350327536,), (1350327540,), (1350327544,), (1350327549,), (1350327583,), (1350327587,), (1350327590,), (1350327594,), (1350327682,), (1350327690,), (1350327693,), (1350327739,), (1350327855,), (1350327863,), (1350327869,), (1350327875,), (1350327879,), (1350327883,), (1350327962,), (1350327964,), (1350327968,), (1350327972,), (1350327977,), (1350328039,), (1350328044,), (1350328053,), (1350328126,), (1350328178,), (1350328235,), (1350328256,), (1350328295,), (1350328318,), (1350328399,), (1350328447,), (1350328478,), (1350328501,), (1350328516,), (1350328535,), (1350328706,), (1350328795,), (1350328803,), (1350328809,), (1350328897,), (1350328925,), (1350328955,), (1350328971,), (1350328997,), (1350329065,), (1350329071,), (1350329076,), (1350329078,), (1350329192,), (1350329196,), (1350329199,), (1350329203,), (1350329208,), (1350329297,), (1350330227,), (1350330292,), (1350330323,), (1350330371,), (1350330408,), (1350330461,), (1350330575,), (1350330649,), (1350330700,), (1350330800,), (1350331092,), (1350330963,), (1350331038,), (1350331679,), (1350331766,), (1350331923,), (1350331986,), (1350332051,), (1350332110,), (1350332542,), (1350332610,), (1350332673,), (1350332756,), (1350332832,), (1350332897,), (1350333250,), (1350333307,), (1350333344,), (1350333385,), (1350333997,), (1350334040,), (1350334103,), (1350334162,), (1350334194,), (1350334441,), (1350334462,), (1350334470,), (1350334511,), (1350334533,), (1350334639,), (1350334644,), (1350334648,), (1350334653,), (1350334658,), (1350334703,), (1350334731,), (1350334750,), (1350334777,), (1350334800,), (1350334901,), (1350334904,), (1350334907,), (1350334910,), (1350334914,), (1350335120,), (1350335128,), (1350335133,), (1350335137,), (1350335201,), (1350335205,), (1350335207,), (1350335211,), (1350335217,), (1350335269,), (1350335279,), (1350335287,), (1350335291,), (1350335361,), (1350335364,), (1350335369,), (1350335631,), (1350335663,), (1350335691,), (1350335728,), (1350335742,), (1350335962,), (1350335980,), (1350335998,), (1350336026,), (1350336420,), (1350336310,), (1350336328,), (1350336351,), (1350336393,), (1350336540,), (1350336567,), (1350336601,), (1350336622,), (1350336659,), (1350337060,), (1350337069,), (1350337075,), (1350337237,), (1350337240,), (1350337247,), (1350337251,), (1350337256,), (1350337297,), (1350337477,), (1350337509,), (1350337517,), (1350337521,), (1350337575,), (1350337581,), (1350337591,), (1350337855,), (1350337898,), (1350337901,), (1350337913,), (1350338034,), (1350338040,), (1350338114,), (1350338130,), (1350338173,), (1350338222,), (1350338262,), (1350338396,), (1350338486,), (1350338497,), (1350338520,), (1350338571,), (1350338577,), (1350338583,), (1350338588,), (1350338593,), (1350338614,), (1350338617,), (1350338621,), (1350338625,), (1350338633,), (1350338640,), (1350338715,), (1350338721,), (1350338725,), (1350338746,), (1350338813,), (1350338822,), (1350338949,), (1350338965,), (1350338969,), (1350338972,), (1350339233,), (1350339256,), (1350339262,), (1350339268,), (1350339273,), (1350339360,), (1350339476,), (1350339451,), (1350339454,), (1350339615,), (1350339643,), (1350339677,), (1350339701,), (1350339841,), (1350339852,), (1350339873,), (1350339896,), (1350339912,), (1350339933,), (1350339979,), (1350339982,), (1350339987,), (1350340162,), (1350340171,), (1350340205,), (1350340215,), (1350340222,), (1350340283,), (1350340393,), (1350340402,), (1350340407,), (1350340410,), (1350340413,), (1350340463,), (1350340476,), (1350340484,), (1350340528,), (1350340539,), (1350340559,), (1350340568,), (1350340585,), (1350340694,), (1350340704,), (1350340720,), (1350340739,), (1350340748,), (1350340751,), (1350340886,), (1350340889,), (1350340915,), (1350340921,), (1350340967,), (1350340979,), (1350341007,), (1350341037,), (1350341070,), (1350341205,), (1350341221,), (1350341234,), (1350341243,), (1350341250,), (1350341334,), (1350341363,), (1350341396,), (1350341566,), (1350341569,), (1350341573,), (1350341575,), (1350341577,), (1350341616,), (1350341620,), (1350341623,), (1350341626,), (1350341629,), (1350341631,), (1350341699,), (1350341686,), (1350341691,), (1350341697,), (1350341933,), (1350341935,), (1350342079,), (1350342094,), (1350342098,), (1350342102,), (1350342107,), (1350342208,), (1350342217,), (1350342221,), (1350342227,), (1350342281,), (1350342383,), (1350342386,), (1350342389,), (1350342392,), (1350342396,), (1350342469,), (1350342472,), (1350342474,), (1350342546,), (1350342550,), (1350342554,), (1350342578,), (1350342605,), (1350342789,), (1350342791,), (1350342794,), (1350342797,), (1350342928,), (1350342933,), (1350342935,), (1350342940,), (1350342944,), (1350342947,), (1350343140,), (1350343144,), (1350343155,), (1350343174,), (1350343331,), (1350343343,), (1350343347,), (1350343352,), (1350343357,), (1350343373,), (1350343429,), (1350343459,), (1350343471,), (1350343479,), (1350343486,), (1350343684,), (1350343709,), (1350343731,), (1350343821,), (1350344467,), (1350344497,), (1350344520,), (1350344544,), (1350344586,), (1350344631,), (1350345111,), (1350345053,), (1350345698,), (1350345732,), (1350345750,), (1350345787,), (1350346296,), (1350346384,), (1350346565,), (1350346622,), (1350346669,), (1350346698,), (1350346930,), (1350346968,), (1350347021,), (1350347610,), (1350347621,), (1350347662,), (1350347669,), (1350347681,), (1350347791,), (1350347800,), (1350347809,), (1350347820,), (1350347831,), (1350347932,), (1350347937,), (1350347942,), (1350347947,), (1350347951,), (1350348015,), (1350348018,), (1350348023,), (1350348169,), (1350348193,), (1350348241,), (1350348281,), (1350348332,), (1350348363,), (1350348475,), (1350348485,), (1350348510,), (1350348530,), (1350348542,), (1350348619,), (1350348625,), (1350348631,), (1350348746,), (1350348831,), (1350348885,), (1350348911,), (1350349186,), (1350349217,), (1350349234,), (1350349604,), (1350349609,), (1350349619,), (1350349623,), (1350349627,), (1350349660,), (1350349664,), (1350349668,), (1350349670,), (1350349675,), (1350349726,), (1350349713,), (1350349717,), (1350349721,), (1350349844,), (1350349868,), (1350349943,), (1350349952,), (1350349974,), (1350350070,), (1350350072,), (1350350075,), (1350350078,), (1350350082,), (1350350086,), (1350350142,), (1350350145,), (1350350154,), (1350350167,), (1350350423,), (1350350451,), (1350350457,), (1350350461,), (1350350476,), (1350350487,), (1350350647,), (1350350680,), (1350350685,), (1350350690,), (1350350694,), (1350350698,), (1350350799,), (1350350816,), (1350350821,), (1350350937,), (1350350943,), (1350350948,), (1350350955,), (1350350966,), (1350350972,), (1350351029,), (1350351032,), (1350351038,), (1350351049,), (1350351062,), (1350351070,), (1350351358,), (1350352087,), (1350352104,), (1350352269,), (1350352273,), (1350352276,), (1350352279,), (1350352281,), (1350352287,), (1350352376,), (1350352631,), (1350352643,), (1350352653,), (1350352744,), (1350352747,), (1350352753,), (1350352756,), (1350352760,), (1350352764,), (1350352860,), (1350352864,), (1350352878,), (1350352892,), (1350352928,), (1350353181,), (1350353234,), (1350353238,), (1350353241,), (1350353280,), (1350353313,), (1350353320,), (1350353328,), (1350353331,), (1350353361,), (1350353367,), (1350353388,), (1350353394,), (1350353398,), (1350353402,), (1350353590,), (1350353596,), (1350353600,), (1350353605,), (1350353635,), (1350353641,), (1350353646,), (1350353650,), (1350353654,), (1350353658,), (1350353716,), (1350353719,), (1350353727,), (1350353732,), (1350353746,), (1350353756,), (1350354043,), (1350354084,), (1350354131,), (1350354173,), (1350354345,), (1350354348,), (1350354353,), (1350354356,), (1350354366,), (1350354375,), (1350354419,), (1350354422,), (1350354428,), (1350354433,), (1350354542,), (1350354567,), (1350354589,), (1350354679,), (1350354684,), (1350354686,), (1350354702,), (1350354707,), (1350354712,), (1350354823,), (1350354800,), (1350354803,), (1350354807,), (1350354812,), (1350354999,), (1350355015,), (1350355018,), (1350355023,), (1350355208,), (1350355212,), (1350355216,), (1350355219,), (1350355225,), (1350355426,), (1350355462,), (1350355497,), (1350355541,), (1350355581,), (1350355865,), (1350355881,), (1350355885,), (1350355963,), (1350355973,), (1350355983,), (1350356250,), (1350356257,), (1350356267,), (1350356281,), (1350356290,), (1350356337,), (1350356343,), (1350356360,), (1350356404,), (1350356668,), (1350356995,), (1350357025,), (1350357040,), (1350357057,), (1350357060,), (1350357279,), (1350357295,), (1350357323,), (1350357326,), (1350357331,), (1350357337,), (1350357379,), (1350357397,), (1350357400,), (1350357514,), (1350357532,), (1350357539,), (1350357545,), (1350357551,), (1350357595,), (1350357948,), (1350358023,), (1350358099,), (1350358930,), (1350358936,), (1350358943,), (1350358964,), (1350358972,), (1350358978,), (1350358982,), (1350358990,), (1350359135,), (1350359067,), (1350359096,), (1350359102,), (1350359105,), (1350359379,), (1350359430,), (1350359492,), (1350359545,), (1350359625,), (1350359669,), (1350359848,), (1350359966,), (1350359993,), (1350360030,), (1350360190,), (1350360218,), (1350360248,), (1350360274,), (1350360276,), (1350360299,), (1350360396,), (1350360400,), (1350360403,), (1350360407,), (1350360411,), (1350360634,), (1350360649,), (1350360657,), (1350360663,), (1350360725,), (1350360729,), (1350360742,), (1350361015,), (1350361020,), (1350361023,), (1350361031,), (1350361095,), (1350361099,), (1350361103,), (1350361107,), (1350361116,), (1350361252,), (1350361270,), (1350361283,), (1350361307,), (1350361561,), (1350361570,), (1350361573,), (1350361625,), (1350361678,), (1350361700,), (1350361739,), (1350361769,), (1350361792,), (1350361798,), (1350361821,), (1350361827,), (1350361831,), (1350361838,), (1350361845,), (1350361901,), (1350361904,), (1350361909,), (1350361922,), (1350362016,), (1350362022,), (1350362027,), (1350362033,), (1350362082,), (1350362076,), (1350362192,), (1350362204,), (1350362216,), (1350362289,), (1350362308,), (1350362332,), (1350362496,), (1350362516,), (1350362549,), (1350362554,), (1350362588,), (1350362690,), (1350362717,), (1350362745,), (1350362780,), (1350362814,), (1350362823,), (1350362894,), (1350362898,), (1350362909,), (1350362914,), (1350362920,), (1350362979,), (1350362987,), (1350363243,), (1350363251,), (1350363259,), (1350363346,), (1350363542,), (1350363546,), (1350363552,), (1350363556,), (1350363562,), (1350363567,), (1350363580,), (1350363587,), (1350363594,), (1350363601,), (1350363607,), (1350363640,), (1350363648,), (1350363653,), (1350363664,), (1350363674,), (1350363677,), (1350363696,), (1350363704,), (1350363739,), (1350363744,), (1350363776,), (1350363913,), (1350363970,), (1350363986,), (1350363994,), (1350364042,), (1350364126,), (1350364534,), (1350364540,), (1350364544,), (1350364804,), (1350364821,), (1350364833,), (1350364837,), (1350364842,), (1350364847,), (1350364934,), (1350372603,), (1350372622,), (1350372650,), (1350372857,), (1350372880,), (1350372898,), (1350372905,), (1350372943,), (1350373025,), (1350373037,), (1350373204,), (1350373268,), (1350373273,), (1350373278,), (1350373284,), (1350373326,), (1350373330,), (1350373335,), (1350373341,), (1350373347,), (1350373352,), (1350373434,), (1350373447,), (1350373454,), (1350373600,), (1350373618,), (1350373693,), (1350373729,), (1350373737,), (1350373747,), (1350373869,), (1350373880,), (1350373891,), (1350373902,), (1350373906,), (1350373911,), (1350374210,), (1350374235,), (1350374265,), (1350374511,), (1350374516,), (1350374521,), (1350374525,), (1350374536,), (1350374553,), (1350374683,), (1350374713,), (1350374744,), (1350374784,), (1350374851,), (1350375108,), (1350375113,), (1350375125,), (1350375140,), (1350375319,), (1350375323,), (1350375329,), (1350375334,), (1350375341,), (1350375347,), (1350375400,), (1350375393,), (1350375395,), (1350375585,), (1350375613,), (1350375618,), (1350375644,), (1350375650,), (1350375678,), (1350375768,), (1350375798,), (1350375838,), (1350375849,), (1350375856,), (1350375995,), (1350376001,), (1350376006,), (1350376300,), (1350376309,), (1350376312,), (1350376315,), (1350376344,), (1350376349,), (1350376450,), (1350376455,), (1350376460,), (1350376465,), (1350376472,), (1350376485,), (1350376555,), (1350376559,), (1350376742,), (1350376747,), (1350376751,), (1350376776,), (1350376797,), (1350376903,), (1350376912,), (1350376926,), (1350376928,), (1350376939,), (1350377042,), (1350377048,), (1350377071,), (1350377081,), (1350377185,), (1350377231,), (1350377262,), (1350377267,), (1350377270,), (1350377273,), (1350377292,), (1350377305,), (1350377310,), (1350377358,), (1350377375,), (1350377396,), (1350377404,), (1350377415,), (1350377425,), (1350377548,), (1350377571,), (1350377598,), (1350377600,), (1350377605,), (1350377665,), (1350377674,), (1350377678,), (1350377683,), (1350377836,), (1350377742,), (1350377748,), (1350377760,), (1350377787,), (1350377811,), (1350377944,), (1350377950,), (1350377954,), (1350377959,), (1350378023,), (1350378326,), (1350378659,), (1350378699,), (1350378703,), (1350378715,), (1350378721,), (1350378724,), (1350378789,), (1350378793,), (1350378796,), (1350378810,), (1350378814,), (1350378970,), (1350379000,), (1350379035,), (1350379354,), (1350379389,), (1350379432,), (1350379461,), (1350379474,), (1350379488,), (1350379592,), (1350379621,), (1350379631,), (1350379653,), (1350379664,), (1350379719,), (1350379733,), (1350379746,), (1350379963,), (1350379984,), (1350379988,), (1350379996,), (1350380106,), (1350380256,), (1350380294,), (1350380298,), (1350380302,), (1350380648,), (1350380709,), (1350380738,), (1350380887,), (1350381083,), (1350381086,), (1350381224,), (1350381228,), (1350381232,), (1350381250,), (1350381268,), (1350381562,), (1350381641,), (1350381671,), (1350381705,), (1350381734,), (1350382020,), (1350382027,), (1350382037,), (1350382044,), (1350382147,), (1350382151,), (1350382155,), (1350382186,), (1350382192,), (1350382207,), (1350382212,), (1350382221,), (1350382231,), (1350382282,), (1350382303,), (1350382309,), (1350382314,), (1350382318,), (1350382324,), (1350382368,), (1350382370,), (1350382374,), (1350382409,), (1350382412,), (1350382414,), (1350382416,), (1350382418,), (1350382421,), (1350382456,), (1350382461,), (1350382469,), (1350382646,), (1350382670,), (1350382698,), (1350382724,), (1350382750,), (1350383084,), (1350383087,), (1350383107,), (1350383138,), (1350383167,), (1350383398,), (1350383411,), (1350383419,), (1350384177,), (1350383922,), (1350384164,), (1350384167,), (1350384172,), (1350384707,), (1350384804,), (1350384827,), (1350384889,), (1350384916,), (1350385172,), (1350385207,), (1350385235,), (1350385268,), (1350385298,), (1350385597,), (1350385646,), (1350385677,), (1350385711,), (1350385792,), (1350385812,), (1350385978,), (1350386003,), (1350386030,), (1350386057,), (1350386252,), (1350386257,), (1350386285,), (1350386316,), (1350386331,), (1350386339,), (1350386365,), (1350386370,), (1350386373,), (1350386378,), (1350386439,), (1350386450,), (1350386454,), (1350386469,), (1350386473,), (1350386478,), (1350386500,), (1350386506,), (1350386513,), (1350386515,), (1350386579,), (1350386583,), (1350386587,), (1350386592,), (1350386598,), (1350386611,), (1350387014,), (1350387029,), (1350387058,), (1350387067,), (1350387075,), (1350387161,), (1350387642,), (1350387662,), (1350387729,), (1350387736,), (1350387991,), (1350388011,), (1350388022,), (1350388034,), (1350388040,), (1350388051,), (1350388101,), (1350388132,), (1350388159,), (1350388184,), (1350388218,), (1350388237,), (1350388341,), (1350388323,), (1350388332,), (1350388335,), (1350388530,), (1350388572,), (1350388581,), (1350388762,), (1350388768,), (1350388779,), (1350388791,), (1350388794,), (1350388934,), (1350388956,), (1350388973,), (1350389059,), (1350389093,), (1350389108,), (1350389251,), (1350389252,), (1350389254,), (1350389257,), (1350389314,), (1350389320,), (1350389826,), (1350389842,), (1350390060,), (1350390086,), (1350390276,), (1350390427,), (1350390470,), (1350390473,), (1350390696,), (1350390699,), (1350390701,), (1350390703,), (1350390715,), (1350390721,), (1350390751,), (1350390768,), (1350390786,), (1350390793,), (1350391000,), (1350390925,), (1350390955,), (1350390982,), (1350390993,), (1350390997,), (1350391033,), (1350391044,), (1350391054,), (1350391068,), (1350391084,), (1350391144,), (1350391146,), (1350391148,), (1350391151,), (1350391155,), (1350391237,), (1350391289,), (1350391327,), (1350391358,), (1350391381,), (1350391542,), (1350391547,), (1350391552,), (1350391556,), (1350391623,), (1350391626,), (1350391631,), (1350391635,), (1350391638,), (1350391641,), (1350391685,), (1350391688,), (1350391692,), (1350391865,), (1350391909,), (1350391917,), (1350391920,), (1350391925,), (1350391930,), (1350392052,), (1350392056,), (1350392059,), (1350392068,), (1350392151,), (1350392276,), (1350392290,), (1350392313,), (1350392343,), (1350392372,), (1350392457,), (1350392459,), (1350392464,), (1350392468,), (1350392472,), (1350392849,), (1350392900,), (1350392946,), (1350393094,), (1350393130,), (1350393314,), (1350393323,), (1350393328,), (1350393382,), (1350393386,), (1350393390,), (1350393395,), (1350393398,), (1350393544,), (1350393495,), (1350393529,), (1350393535,), (1350393709,), (1350393712,), (1350393715,), (1350393751,), (1350393796,), (1350393809,), (1350393887,), (1350393890,), (1350393894,), (1350393899,), (1350394031,), (1350394038,), (1350394056,), (1350394342,), (1350394347,), (1350394350,), (1350394397,), (1350394402,), (1350394405,), (1350394408,), (1350394412,), (1350394418,), (1350394571,), (1350394576,), (1350394582,), (1350394592,), (1350394655,), (1350394746,), (1350394800,), (1350394805,), (1350394811,), (1350394887,), (1350394892,), (1350394895,), (1350394898,), (1350394942,), (1350395015,), (1350395061,), (1350395064,), (1350395078,), (1350395107,), (1350395227,), (1350395230,), (1350395233,), (1350395236,), (1350395299,), (1350395304,), (1350395707,), (1350395731,), (1350395737,), (1350395760,), (1350395782,), (1350396406,), (1350396457,), (1350399294,), (1350399254,), (1350399258,), (1350399267,), (1350399633,), (1350399651,), (1350399694,), (1350399707,), (1350399781,), (1350399793,), (1350399866,), (1350399870,), (1350399894,), (1350399905,), (1350399970,), (1350400082,), (1350400109,), (1350400135,), (1350400194,), (1350400318,), (1350400440,), (1350400462,), (1350400488,), (1350400513,), (1350400630,), (1350400648,), (1350400668,), (1350400678,), (1350400684,), (1350400688,), (1350400741,), (1350400747,), (1350400750,), (1350400752,), (1350400862,), (1350400865,), (1350400871,), (1350400883,), (1350400887,), (1350400891,), (1350400914,), (1350400916,), (1350400918,), (1350400922,), (1350400926,), (1350400935,), (1350400968,), (1350400981,), (1350401052,), (1350401157,), (1350401161,), (1350401165,), (1350401169,), (1350401177,), (1350401180,), (1350401364,), (1350401236,), (1350401239,), (1350401242,), (1350401248,), (1350401254,), (1350401534,), (1350401548,), (1350401559,), (1350401643,), (1350401647,), (1350401650,), (1350401652,), (1350401655,), (1350401725,), (1350401732,), (1350401735,), (1350401744,), (1350401750,), (1350401929,), (1350401933,), (1350401936,), (1350401940,), (1350401997,), (1350402001,), (1350402013,), (1350402023,), (1350402051,), (1350402174,), (1350402179,), (1350402190,), (1350402341,), (1350403174,), (1350403205,), (1350403206,), (1350403209,), (1350403211,), (1350403351,), (1350403353,), (1350403432,), (1350403441,), (1350403449,), (1350403569,), (1350403588,), (1350403615,), (1350403642,), (1350403687,), (1350403758,), (1350403761,), (1350403764,), (1350403766,), (1350403768,), (1350403770,), (1350403816,), (1350403819,), (1350403822,), (1350403824,), (1350403827,), (1350404034,), (1350403968,), (1350403975,), (1350403980,), (1350404005,), (1350404201,), (1350404203,), (1350404205,), (1350404336,), (1350404339,), (1350404342,), (1350404345,), (1350404348,), (1350404353,), (1350404373,), (1350404377,), (1350404378,), (1350404390,), (1350404396,), (1350404400,), (1350404463,), (1350404465,), (1350404467,), (1350404521,), (1350404522,), (1350404526,), (1350404528,), (1350404530,), (1350404532,), (1350404576,), (1350404588,), (1350404604,), (1350404629,), (1350404644,), (1350404651,), (1350404811,), (1350404836,), (1350404848,), (1350404947,), (1350404949,), (1350404953,), (1350404956,), (1350404959,), (1350404962,), (1350405034,), (1350405062,), (1350405097,), (1350405131,), (1350405158,), (1350405161,), (1350405210,), (1350405213,), (1350405216,), (1350405589,), (1350411449,), (1350410865,), (1350411379,), (1350411806,), (1350411820,), (1350411837,), (1350413203,), (1350413204,), (1350413231,), (1350413397,), (1350413467,), (1350414077,), (1350414083,), (1350414794,), (1350415898,), (1350415969,), (1350416484,), (1350416499,), (1350416504,), (1350416511,), (1350416911,), (1350418897,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'07042025': {'nb_upload': 34, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22087245]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1350235814, 1350235754, 1350235579, 1350235324, 1350235276, 1350235079, 1350234918, 1350234915, 1350234862, 1350234861, 1350234828, 1350234825, 1350234821, 1350234791, 1350234780, 1350234769, 1350234758, 1350234754, 1350234752, 1350234749, 1350234748, 1350234747, 1350234730, 1350234728, 1350234726, 1350234724, 1350234622, 1350234620, 1350234617, 1350234614, 1350234577, 1350234574, 1350234570, 1350234507] map_info['map_portfolio_photo'] : {22087245: [1350235814, 1350235754, 1350235579, 1350235324, 1350235276, 1350235079, 1350234918, 1350234915, 1350234862, 1350234861, 1350234828, 1350234825, 1350234821, 1350234791, 1350234780, 1350234769, 1350234758, 1350234754, 1350234752, 1350234749, 1350234748, 1350234747, 1350234730, 1350234728, 1350234726, 1350234724, 1350234622, 1350234620, 1350234617, 1350234614, 1350234577, 1350234574, 1350234570, 1350234507]} final : True mtd_id 4302 list_pids : [1350235814, 1350235754, 1350235579, 1350235324, 1350235276, 1350235079, 1350234918, 1350234915, 1350234862, 1350234861, 1350234828, 1350234825, 1350234821, 1350234791, 1350234780, 1350234769, 1350234758, 1350234754, 1350234752, 1350234749, 1350234748, 1350234747, 1350234730, 1350234728, 1350234726, 1350234724, 1350234622, 1350234620, 1350234617, 1350234614, 1350234577, 1350234574, 1350234570, 1350234507] Looping around the photos to save general results len do output : 1 /22087245Didn'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, '2731218') ('4302', '22087245', '1350235814', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350235754', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350235579', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350235324', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350235276', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350235079', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234918', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234915', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234862', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234861', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234828', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234825', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234821', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234791', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234780', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234769', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234758', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234754', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234752', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234749', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234748', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234747', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234730', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234728', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234726', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234724', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234622', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234620', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234617', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234614', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234577', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234574', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234570', None, None, None, None, None, '2731218') ('4302', None, None, None, None, None, None, None, '2731218') ('4302', '22087245', '1350234507', None, None, None, None, None, '2731218') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 35 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, '22087245', 'None', None, None, None, None, '2731218'), ('4302', '22087245', '1350235814', None, None, None, None, None, '2731218'), ('4302', '22087245', '1350235754', None, None, None, None, None, '2731218'), ('4302', '22087245', '1350235579', None, None, None, None, None, '2731218'), ('4302', '22087245', '1350235324', None, None, None, None, None, '2731218'), ('4302', '22087245', '1350235276', None, None, None, None, None, '2731218'), ('4302', '22087245', '1350235079', None, None, None, None, None, '2731218'), ('4302', '22087245', '1350234918', None, None, None, None, None, '2731218'), ('4302', '22087245', '1350234915', None, None, None, None, None, '2731218'), ('4302', '22087245', '1350234862', None, None, None, None, None, '2731218'), ('4302', '22087245', '1350234861', None, None, None, None, None, '2731218'), ('4302', '22087245', '1350234828', None, None, None, None, None, '2731218'), ('4302', '22087245', '1350234825', None, None, None, None, None, '2731218'), ('4302', '22087245', '1350234821', None, None, None, None, None, '2731218'), ('4302', '22087245', '1350234791', None, None, None, None, None, '2731218'), ('4302', '22087245', '1350234780', None, None, None, None, None, '2731218'), ('4302', '22087245', '1350234769', None, None, None, None, None, '2731218'), ('4302', '22087245', '1350234758', None, None, None, None, None, '2731218'), ('4302', '22087245', '1350234754', None, None, None, None, None, '2731218'), ('4302', '22087245', '1350234752', None, None, None, None, None, '2731218'), ('4302', '22087245', '1350234749', None, None, None, None, None, '2731218'), ('4302', '22087245', '1350234748', None, None, None, None, None, '2731218'), ('4302', '22087245', '1350234747', None, None, None, None, None, '2731218'), ('4302', '22087245', '1350234730', None, None, None, None, None, '2731218'), ('4302', '22087245', '1350234728', None, None, None, None, None, '2731218'), ('4302', '22087245', '1350234726', None, None, None, None, None, '2731218'), ('4302', '22087245', '1350234724', None, None, None, None, None, '2731218'), ('4302', '22087245', '1350234622', None, None, None, None, None, '2731218'), ('4302', '22087245', '1350234620', None, None, None, None, None, '2731218'), ('4302', '22087245', '1350234617', None, None, None, None, None, '2731218'), ('4302', '22087245', '1350234614', None, None, None, None, None, '2731218'), ('4302', '22087245', '1350234577', None, None, None, None, None, '2731218'), ('4302', '22087245', '1350234574', None, None, None, None, None, '2731218'), ('4302', '22087245', '1350234570', None, None, None, None, None, '2731218'), ('4302', '22087245', '1350234507', None, None, None, None, None, '2731218')] time used for this insertion : 0.019428253173828125 save_final save missing photos in datou_result : time spend for datou_step_exec : 46.5469765663147 time spend to save output : 0.01985454559326172 total time spend for step 5 : 46.56683111190796 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 (2731218) 2.91user 1.57system 1:07.69elapsed 6%CPU (0avgtext+0avgdata 168276maxresident)k 384inputs+28792outputs (7major+80331minor)pagefaults 0swaps