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 : 2064955 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 (2561341) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2561341) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20312031 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2561341'] with mtr_portfolio_ids : ['20312031'] and first list_photo_ids : [] new path : /proc/2064955/ Name: python3 Umask: 0002 State: R (running) Tgid: 2064955 Ngid: 0 Pid: 2064955 PPid: 2064950 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 2064955 NSpid: 2064955 NSpgid: 2063957 NSsid: 2063957 VmPeak: 1106664 kB VmSize: 1106664 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 97924 kB VmRSS: 97924 kB RssAnon: 59744 kB RssFile: 38180 kB RssShmem: 0 kB VmData: 865416 kB VmStk: 132 kB VmExe: 2640 kB VmLib: 130468 kB VmPTE: 552 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: 42 nonvoluntary_ctxt_switches: 190 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '2064955', 'Ngid': '0', 'Pid': '2064955', 'PPid': '2064950', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '2064955', 'NSpid': '2064955', 'NSpgid': '2063957', 'NSsid': '2063957', 'VmPeak': '1106664 kB', 'VmSize': '1106664 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '97924 kB', 'VmRSS': '97924 kB', 'RssAnon': '59744 kB', 'RssFile': '38180 kB', 'RssShmem': '0 kB', 'VmData': '865416 kB', 'VmStk': '132 kB', 'VmExe': '2640 kB', 'VmLib': '130468 kB', 'VmPTE': '552 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': '42', 'nonvoluntary_ctxt_switches': '190'} ('datou_batch_current', '2064955', '1106664', '0', '1106664', '865416', '97924', b'', 'marlene', '2561341') 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 (20312031) 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 (2561341 ) ) 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 (20312031) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1335306511, 'portfolio_id': 20312031}, {'photo_id': 1335306454, 'portfolio_id': 20312031}, {'photo_id': 1335306450, 'portfolio_id': 20312031}, {'photo_id': 1335306447, 'portfolio_id': 20312031}, {'photo_id': 1335306379, 'portfolio_id': 20312031}, {'photo_id': 1335306319, 'portfolio_id': 20312031}, {'photo_id': 1335306316, 'portfolio_id': 20312031}, {'photo_id': 1335306313, 'portfolio_id': 20312031}, {'photo_id': 1335306035, 'portfolio_id': 20312031}, {'photo_id': 1335305944, 'portfolio_id': 20312031}, {'photo_id': 1335305861, 'portfolio_id': 20312031}, {'photo_id': 1335305776, 'portfolio_id': 20312031}, {'photo_id': 1335305740, 'portfolio_id': 20312031}, {'photo_id': 1335305738, 'portfolio_id': 20312031}, {'photo_id': 1335305727, 'portfolio_id': 20312031}, {'photo_id': 1335305725, 'portfolio_id': 20312031}, {'photo_id': 1335303799, 'portfolio_id': 20312031}, {'photo_id': 1335303794, 'portfolio_id': 20312031}, {'photo_id': 1335303791, 'portfolio_id': 20312031}, {'photo_id': 1335303785, 'portfolio_id': 20312031}, {'photo_id': 1335303758, 'portfolio_id': 20312031}, {'photo_id': 1335303754, 'portfolio_id': 20312031}, {'photo_id': 1335303751, 'portfolio_id': 20312031}, {'photo_id': 1335303748, 'portfolio_id': 20312031}, {'photo_id': 1335303703, 'portfolio_id': 20312031}, {'photo_id': 1335303699, 'portfolio_id': 20312031}, {'photo_id': 1335303696, 'portfolio_id': 20312031}, {'photo_id': 1335303647, 'portfolio_id': 20312031}, {'photo_id': 1335303644, 'portfolio_id': 20312031}, {'photo_id': 1335303642, 'portfolio_id': 20312031}, {'photo_id': 1335303595, 'portfolio_id': 20312031}, {'photo_id': 1335303561, 'portfolio_id': 20312031}, {'photo_id': 1335303552, 'portfolio_id': 20312031}, {'photo_id': 1335303528, 'portfolio_id': 20312031}, {'photo_id': 1335303262, 'portfolio_id': 20312031}] map_portfolio_id_photo_id: {20312031: [1335306511, 1335306454, 1335306450, 1335306447, 1335306379, 1335306319, 1335306316, 1335306313, 1335306035, 1335305944, 1335305861, 1335305776, 1335305740, 1335305738, 1335305727, 1335305725, 1335303799, 1335303794, 1335303791, 1335303785, 1335303758, 1335303754, 1335303751, 1335303748, 1335303703, 1335303699, 1335303696, 1335303647, 1335303644, 1335303642, 1335303595, 1335303561, 1335303552, 1335303528, 1335303262]} ##### Call download_photos : nb_thread : 1 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos ##### After load_data_input time to download the photos : 0.3665461540222168 #### 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 Fri Feb 7 06:22: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 (20312031) 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 : 20312031 get user id for portfolio 20312031 get sub ptf for main ptf 20312031, type 3726 and hashtags ['papier', 'Teint_Dans_La_Masse', 'Carton_brun', 'mal_croppe', 'kraft', 'environnement', 'flou', 'metal', 'autre_refus', 'Carton_gris', 'plastique', 'cartonnette'] 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`=20312031 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','Teint_Dans_La_Masse','Carton_brun','mal_croppe','kraft','environnement','flou','metal','autre_refus','Carton_gris','plastique','cartonnette')) 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`=20312031 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','Teint_Dans_La_Masse','Carton_brun','mal_croppe','kraft','environnement','flou','metal','autre_refus','Carton_gris','plastique','cartonnette')) AND mptpi.`min_score`=0.5 To do returned map {'plastique': {'main_port_id': 20312031, 'sub_port_id': 20312062, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13000755, 'last_updated_at': datetime.datetime(2025, 2, 6, 22, 46, 30), 'last_updated_at_desc': datetime.datetime(2025, 2, 6, 22, 46, 30), 'last_updated_at_asc': datetime.datetime(2025, 2, 6, 22, 34, 58)}, 'autre_refus': {'main_port_id': 20312031, 'sub_port_id': 20312063, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13000756, 'last_updated_at': datetime.datetime(2025, 2, 6, 22, 46, 30), 'last_updated_at_desc': datetime.datetime(2025, 2, 6, 22, 46, 30), 'last_updated_at_asc': datetime.datetime(2025, 2, 6, 22, 34, 58)}, 'environnement': {'main_port_id': 20312031, 'sub_port_id': 20312064, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13000757, 'last_updated_at': datetime.datetime(2025, 2, 6, 22, 46, 30), 'last_updated_at_desc': datetime.datetime(2025, 2, 6, 22, 46, 30), 'last_updated_at_asc': datetime.datetime(2025, 2, 6, 22, 34, 58)}, 'Carton_brun': {'main_port_id': 20312031, 'sub_port_id': 20312065, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13000758, 'last_updated_at': datetime.datetime(2025, 2, 6, 22, 46, 30), 'last_updated_at_desc': datetime.datetime(2025, 2, 6, 22, 46, 30), 'last_updated_at_asc': datetime.datetime(2025, 2, 6, 22, 34, 58)}, 'papier': {'main_port_id': 20312031, 'sub_port_id': 20312066, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13000759, 'last_updated_at': datetime.datetime(2025, 2, 6, 22, 46, 30), 'last_updated_at_desc': datetime.datetime(2025, 2, 6, 22, 46, 30), 'last_updated_at_asc': datetime.datetime(2025, 2, 6, 22, 34, 58)}, 'metal': {'main_port_id': 20312031, 'sub_port_id': 20312067, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13000760, 'last_updated_at': datetime.datetime(2025, 2, 6, 22, 46, 30), 'last_updated_at_desc': datetime.datetime(2025, 2, 6, 22, 46, 30), 'last_updated_at_asc': datetime.datetime(2025, 2, 6, 22, 34, 58)}, 'flou': {'main_port_id': 20312031, 'sub_port_id': 20312068, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13000761, 'last_updated_at': datetime.datetime(2025, 2, 6, 22, 46, 30), 'last_updated_at_desc': datetime.datetime(2025, 2, 6, 22, 46, 30), 'last_updated_at_asc': datetime.datetime(2025, 2, 6, 22, 34, 58)}, 'cartonnette': {'main_port_id': 20312031, 'sub_port_id': 20312069, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13000762, 'last_updated_at': datetime.datetime(2025, 2, 6, 22, 46, 30), 'last_updated_at_desc': datetime.datetime(2025, 2, 6, 22, 46, 30), 'last_updated_at_asc': datetime.datetime(2025, 2, 6, 22, 34, 58)}, 'Teint_Dans_La_Masse': {'main_port_id': 20312031, 'sub_port_id': 20312070, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13000763, 'last_updated_at': datetime.datetime(2025, 2, 6, 22, 46, 30), 'last_updated_at_desc': datetime.datetime(2025, 2, 6, 22, 46, 30), 'last_updated_at_asc': datetime.datetime(2025, 2, 6, 22, 34, 58)}, 'kraft': {'main_port_id': 20312031, 'sub_port_id': 20312071, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13000764, 'last_updated_at': datetime.datetime(2025, 2, 6, 22, 46, 30), 'last_updated_at_desc': datetime.datetime(2025, 2, 6, 22, 46, 30), 'last_updated_at_asc': datetime.datetime(2025, 2, 6, 22, 34, 58)}, 'mal_croppe': {'main_port_id': 20312031, 'sub_port_id': 20312072, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13000765, 'last_updated_at': datetime.datetime(2025, 2, 6, 22, 46, 30), 'last_updated_at_desc': datetime.datetime(2025, 2, 6, 22, 46, 30), 'last_updated_at_asc': datetime.datetime(2025, 2, 6, 22, 34, 58)}, 'Carton_gris': {'main_port_id': 20312031, 'sub_port_id': 20312073, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13000766, 'last_updated_at': datetime.datetime(2025, 2, 6, 22, 46, 30), 'last_updated_at_desc': datetime.datetime(2025, 2, 6, 22, 46, 30), 'last_updated_at_asc': datetime.datetime(2025, 2, 6, 22, 34, 58)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20312062 , 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=20312031 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 (20312062) result : ((1335303737,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20312031) result : ((1335303262,), (1335303528,), (1335303552,), (1335303561,), (1335303595,), (1335303642,), (1335303644,), (1335303647,), (1335303696,), (1335303699,), (1335303703,), (1335303748,), (1335303751,), (1335303754,), (1335303758,), (1335303785,), (1335303791,), (1335303794,), (1335303799,), (1335305725,), (1335305727,), (1335305738,), (1335305740,), (1335305776,), (1335305861,), (1335305944,), (1335306035,), (1335306313,), (1335306316,), (1335306319,), (1335306379,), (1335306447,), (1335306450,), (1335306454,), (1335306511,)) 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 20312063 , 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=20312031 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 (20312063) result : ((1335303734,), (1335303735,), (1335305734,), (1335305735,), (1335305736,), (1335305745,), (1335306563,), (1335310590,), (1335311057,), (1335311058,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20312031) result : ((1335303262,), (1335303528,), (1335303552,), (1335303561,), (1335303595,), (1335303642,), (1335303644,), (1335303647,), (1335303696,), (1335303699,), (1335303703,), (1335303748,), (1335303751,), (1335303754,), (1335303758,), (1335303785,), (1335303791,), (1335303794,), (1335303799,), (1335305725,), (1335305727,), (1335305738,), (1335305740,), (1335305776,), (1335305861,), (1335305944,), (1335306035,), (1335306313,), (1335306316,), (1335306319,), (1335306379,), (1335306447,), (1335306450,), (1335306454,), (1335306511,)) 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 20312064 , 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=20312031 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 (20312064) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20312031) result : ((1335303262,), (1335303528,), (1335303552,), (1335303561,), (1335303595,), (1335303642,), (1335303644,), (1335303647,), (1335303696,), (1335303699,), (1335303703,), (1335303748,), (1335303751,), (1335303754,), (1335303758,), (1335303785,), (1335303791,), (1335303794,), (1335303799,), (1335305725,), (1335305727,), (1335305738,), (1335305740,), (1335305776,), (1335305861,), (1335305944,), (1335306035,), (1335306313,), (1335306316,), (1335306319,), (1335306379,), (1335306447,), (1335306450,), (1335306454,), (1335306511,)) 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 20312065 , 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=20312031 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 (20312065) result : ((1335305737,), (1335306568,), (1335306569,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20312031) result : ((1335303262,), (1335303528,), (1335303552,), (1335303561,), (1335303595,), (1335303642,), (1335303644,), (1335303647,), (1335303696,), (1335303699,), (1335303703,), (1335303748,), (1335303751,), (1335303754,), (1335303758,), (1335303785,), (1335303791,), (1335303794,), (1335303799,), (1335305725,), (1335305727,), (1335305738,), (1335305740,), (1335305776,), (1335305861,), (1335305944,), (1335306035,), (1335306313,), (1335306316,), (1335306319,), (1335306379,), (1335306447,), (1335306450,), (1335306454,), (1335306511,)) 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 20312066 , 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=20312031 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 (20312066) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20312031) result : ((1335303262,), (1335303528,), (1335303552,), (1335303561,), (1335303595,), (1335303642,), (1335303644,), (1335303647,), (1335303696,), (1335303699,), (1335303703,), (1335303748,), (1335303751,), (1335303754,), (1335303758,), (1335303785,), (1335303791,), (1335303794,), (1335303799,), (1335305725,), (1335305727,), (1335305738,), (1335305740,), (1335305776,), (1335305861,), (1335305944,), (1335306035,), (1335306313,), (1335306316,), (1335306319,), (1335306379,), (1335306447,), (1335306450,), (1335306454,), (1335306511,)) 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 20312067 , 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=20312031 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 (20312067) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20312031) result : ((1335303262,), (1335303528,), (1335303552,), (1335303561,), (1335303595,), (1335303642,), (1335303644,), (1335303647,), (1335303696,), (1335303699,), (1335303703,), (1335303748,), (1335303751,), (1335303754,), (1335303758,), (1335303785,), (1335303791,), (1335303794,), (1335303799,), (1335305725,), (1335305727,), (1335305738,), (1335305740,), (1335305776,), (1335305861,), (1335305944,), (1335306035,), (1335306313,), (1335306316,), (1335306319,), (1335306379,), (1335306447,), (1335306450,), (1335306454,), (1335306511,)) 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 20312068 , 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=20312031 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 (20312068) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20312031) result : ((1335303262,), (1335303528,), (1335303552,), (1335303561,), (1335303595,), (1335303642,), (1335303644,), (1335303647,), (1335303696,), (1335303699,), (1335303703,), (1335303748,), (1335303751,), (1335303754,), (1335303758,), (1335303785,), (1335303791,), (1335303794,), (1335303799,), (1335305725,), (1335305727,), (1335305738,), (1335305740,), (1335305776,), (1335305861,), (1335305944,), (1335306035,), (1335306313,), (1335306316,), (1335306319,), (1335306379,), (1335306447,), (1335306450,), (1335306454,), (1335306511,)) 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 20312069 , 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=20312031 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 (20312069) result : ((1335303805,), (1335305746,), (1335306139,), (1335306566,), (1335306567,), (1335311060,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20312031) result : ((1335303262,), (1335303528,), (1335303552,), (1335303561,), (1335303595,), (1335303642,), (1335303644,), (1335303647,), (1335303696,), (1335303699,), (1335303703,), (1335303748,), (1335303751,), (1335303754,), (1335303758,), (1335303785,), (1335303791,), (1335303794,), (1335303799,), (1335305725,), (1335305727,), (1335305738,), (1335305740,), (1335305776,), (1335305861,), (1335305944,), (1335306035,), (1335306313,), (1335306316,), (1335306319,), (1335306379,), (1335306447,), (1335306450,), (1335306454,), (1335306511,)) 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 20312070 , 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=20312031 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 (20312070) result : ((1335303732,), (1335303733,), (1335303801,), (1335305728,), (1335305729,), (1335305730,), (1335305731,), (1335305732,), (1335305741,), (1335305742,), (1335305743,), (1335305744,), (1335306561,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20312031) result : ((1335303262,), (1335303528,), (1335303552,), (1335303561,), (1335303595,), (1335303642,), (1335303644,), (1335303647,), (1335303696,), (1335303699,), (1335303703,), (1335303748,), (1335303751,), (1335303754,), (1335303758,), (1335303785,), (1335303791,), (1335303794,), (1335303799,), (1335305725,), (1335305727,), (1335305738,), (1335305740,), (1335305776,), (1335305861,), (1335305944,), (1335306035,), (1335306313,), (1335306316,), (1335306319,), (1335306379,), (1335306447,), (1335306450,), (1335306454,), (1335306511,)) 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 20312071 , 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=20312031 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 (20312071) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20312031) result : ((1335303262,), (1335303528,), (1335303552,), (1335303561,), (1335303595,), (1335303642,), (1335303644,), (1335303647,), (1335303696,), (1335303699,), (1335303703,), (1335303748,), (1335303751,), (1335303754,), (1335303758,), (1335303785,), (1335303791,), (1335303794,), (1335303799,), (1335305725,), (1335305727,), (1335305738,), (1335305740,), (1335305776,), (1335305861,), (1335305944,), (1335306035,), (1335306313,), (1335306316,), (1335306319,), (1335306379,), (1335306447,), (1335306450,), (1335306454,), (1335306511,)) 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 20312072 , 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=20312031 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 (20312072) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20312031) result : ((1335303262,), (1335303528,), (1335303552,), (1335303561,), (1335303595,), (1335303642,), (1335303644,), (1335303647,), (1335303696,), (1335303699,), (1335303703,), (1335303748,), (1335303751,), (1335303754,), (1335303758,), (1335303785,), (1335303791,), (1335303794,), (1335303799,), (1335305725,), (1335305727,), (1335305738,), (1335305740,), (1335305776,), (1335305861,), (1335305944,), (1335306035,), (1335306313,), (1335306316,), (1335306319,), (1335306379,), (1335306447,), (1335306450,), (1335306454,), (1335306511,)) 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 20312073 , 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=20312031 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 (20312073) result : ((1335303736,), (1335303804,), (1335306539,), (1335306564,), (1335306565,), (1335311059,), (1335313926,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20312031) result : ((1335303262,), (1335303528,), (1335303552,), (1335303561,), (1335303595,), (1335303642,), (1335303644,), (1335303647,), (1335303696,), (1335303699,), (1335303703,), (1335303748,), (1335303751,), (1335303754,), (1335303758,), (1335303785,), (1335303791,), (1335303794,), (1335303799,), (1335305725,), (1335305727,), (1335305738,), (1335305740,), (1335305776,), (1335305861,), (1335305944,), (1335306035,), (1335306313,), (1335306316,), (1335306319,), (1335306379,), (1335306447,), (1335306450,), (1335306454,), (1335306511,)) 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`=20312031 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','Teint_Dans_La_Masse','Carton_brun','mal_croppe','kraft','environnement','flou','metal','autre_refus','Carton_gris','plastique','cartonnette')) 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`=20312031 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','Teint_Dans_La_Masse','Carton_brun','mal_croppe','kraft','environnement','flou','metal','autre_refus','Carton_gris','plastique','cartonnette')) AND mptpi.`min_score`=0.5 To do returned map {'plastique': {'main_port_id': 20312031, 'sub_port_id': 20312074, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13000767, 'last_updated_at': datetime.datetime(2025, 2, 6, 22, 35), 'last_updated_at_desc': datetime.datetime(2025, 2, 6, 22, 35), 'last_updated_at_asc': datetime.datetime(2025, 2, 6, 22, 35)}, 'autre_refus': {'main_port_id': 20312031, 'sub_port_id': 20312075, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13000768, 'last_updated_at': datetime.datetime(2025, 2, 6, 22, 35), 'last_updated_at_desc': datetime.datetime(2025, 2, 6, 22, 35), 'last_updated_at_asc': datetime.datetime(2025, 2, 6, 22, 35)}, 'environnement': {'main_port_id': 20312031, 'sub_port_id': 20312076, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13000769, 'last_updated_at': datetime.datetime(2025, 2, 6, 22, 35), 'last_updated_at_desc': datetime.datetime(2025, 2, 6, 22, 35), 'last_updated_at_asc': datetime.datetime(2025, 2, 6, 22, 35)}, 'Carton_brun': {'main_port_id': 20312031, 'sub_port_id': 20312077, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13000770, 'last_updated_at': datetime.datetime(2025, 2, 6, 22, 35), 'last_updated_at_desc': datetime.datetime(2025, 2, 6, 22, 35), 'last_updated_at_asc': datetime.datetime(2025, 2, 6, 22, 35)}, 'papier': {'main_port_id': 20312031, 'sub_port_id': 20312078, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13000771, 'last_updated_at': datetime.datetime(2025, 2, 6, 22, 35), 'last_updated_at_desc': datetime.datetime(2025, 2, 6, 22, 35), 'last_updated_at_asc': datetime.datetime(2025, 2, 6, 22, 35)}, 'metal': {'main_port_id': 20312031, 'sub_port_id': 20312079, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13000772, 'last_updated_at': datetime.datetime(2025, 2, 6, 22, 35), 'last_updated_at_desc': datetime.datetime(2025, 2, 6, 22, 35), 'last_updated_at_asc': datetime.datetime(2025, 2, 6, 22, 35)}, 'flou': {'main_port_id': 20312031, 'sub_port_id': 20312080, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13000773, 'last_updated_at': datetime.datetime(2025, 2, 6, 22, 35), 'last_updated_at_desc': datetime.datetime(2025, 2, 6, 22, 35), 'last_updated_at_asc': datetime.datetime(2025, 2, 6, 22, 35)}, 'cartonnette': {'main_port_id': 20312031, 'sub_port_id': 20312081, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13000774, 'last_updated_at': datetime.datetime(2025, 2, 6, 22, 35), 'last_updated_at_desc': datetime.datetime(2025, 2, 6, 22, 35), 'last_updated_at_asc': datetime.datetime(2025, 2, 6, 22, 35)}, 'Teint_Dans_La_Masse': {'main_port_id': 20312031, 'sub_port_id': 20312082, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13000775, 'last_updated_at': datetime.datetime(2025, 2, 6, 22, 35), 'last_updated_at_desc': datetime.datetime(2025, 2, 6, 22, 35), 'last_updated_at_asc': datetime.datetime(2025, 2, 6, 22, 35)}, 'kraft': {'main_port_id': 20312031, 'sub_port_id': 20312083, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13000776, 'last_updated_at': datetime.datetime(2025, 2, 6, 22, 35), 'last_updated_at_desc': datetime.datetime(2025, 2, 6, 22, 35), 'last_updated_at_asc': datetime.datetime(2025, 2, 6, 22, 35)}, 'mal_croppe': {'main_port_id': 20312031, 'sub_port_id': 20312084, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13000777, 'last_updated_at': datetime.datetime(2025, 2, 6, 22, 35), 'last_updated_at_desc': datetime.datetime(2025, 2, 6, 22, 35), 'last_updated_at_asc': datetime.datetime(2025, 2, 6, 22, 35)}, 'Carton_gris': {'main_port_id': 20312031, 'sub_port_id': 20312085, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13000778, 'last_updated_at': datetime.datetime(2025, 2, 6, 22, 46, 30), 'last_updated_at_desc': datetime.datetime(2025, 2, 6, 22, 46, 30), 'last_updated_at_asc': datetime.datetime(2025, 2, 6, 22, 35)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20312074,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20312062 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20312075,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20312063 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20312076,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20312064 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20312077,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20312065 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20312078,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20312066 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20312079,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20312067 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20312080,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20312068 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20312081,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20312069 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20312082,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20312070 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20312083,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20312071 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20312084,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20312072 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20312085,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20312073 lien utilise dans velours : https://www.fotonower.com/velours/20312074,20312075,20312076,20312077,20312078,20312079,20312080,20312081,20312082,20312083,20312084,20312085?tags=plastique,autre_refus,environnement,Carton_brun,papier,metal,flou,cartonnette,Teint_Dans_La_Masse,kraft,mal_croppe,Carton_gris After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20312031]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1335306511, 1335306454, 1335306450, 1335306447, 1335306379, 1335306319, 1335306316, 1335306313, 1335306035, 1335305944, 1335305861, 1335305776, 1335305740, 1335305738, 1335305727, 1335305725, 1335303799, 1335303794, 1335303791, 1335303785, 1335303758, 1335303754, 1335303751, 1335303748, 1335303703, 1335303699, 1335303696, 1335303647, 1335303644, 1335303642, 1335303595, 1335303561, 1335303552, 1335303528, 1335303262] map_info['map_portfolio_photo'] : {20312031: [1335306511, 1335306454, 1335306450, 1335306447, 1335306379, 1335306319, 1335306316, 1335306313, 1335306035, 1335305944, 1335305861, 1335305776, 1335305740, 1335305738, 1335305727, 1335305725, 1335303799, 1335303794, 1335303791, 1335303785, 1335303758, 1335303754, 1335303751, 1335303748, 1335303703, 1335303699, 1335303696, 1335303647, 1335303644, 1335303642, 1335303595, 1335303561, 1335303552, 1335303528, 1335303262]} final : False mtd_id 4302 list_pids : [1335306511, 1335306454, 1335306450, 1335306447, 1335306379, 1335306319, 1335306316, 1335306313, 1335306035, 1335305944, 1335305861, 1335305776, 1335305740, 1335305738, 1335305727, 1335305725, 1335303799, 1335303794, 1335303791, 1335303785, 1335303758, 1335303754, 1335303751, 1335303748, 1335303703, 1335303699, 1335303696, 1335303647, 1335303644, 1335303642, 1335303595, 1335303561, 1335303552, 1335303528, 1335303262] Looping around the photos to save general results len do output : 1 /20312031. 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, '2561341') ('4302', '20312031', '1335306511', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335306454', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335306450', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335306447', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335306379', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335306319', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335306316', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335306313', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335306035', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335305944', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335305861', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335305776', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335305740', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335305738', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335305727', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335305725', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335303799', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335303794', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335303791', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335303785', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335303758', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335303754', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335303751', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335303748', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335303703', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335303699', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335303696', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335303647', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335303644', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335303642', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335303595', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335303561', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335303552', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335303528', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335303262', None, None, None, None, None, '2561341') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 36 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '20312031', "{'plastique': 20312062, 'autre_refus': 20312063, 'environnement': 20312064, 'Carton_brun': 20312065, 'papier': 20312066, 'metal': 20312067, 'flou': 20312068, 'cartonnette': 20312069, 'Teint_Dans_La_Masse': 20312070, 'kraft': 20312071, 'mal_croppe': 20312072, 'Carton_gris': 20312073}", None, None, None, None, '2561341'), ('4302', '20312031', '1335306511', None, None, None, None, None, '2561341'), ('4302', '20312031', '1335306454', None, None, None, None, None, '2561341'), ('4302', '20312031', '1335306450', None, None, None, None, None, '2561341'), ('4302', '20312031', '1335306447', None, None, None, None, None, '2561341'), ('4302', '20312031', '1335306379', None, None, None, None, None, '2561341'), ('4302', '20312031', '1335306319', None, None, None, None, None, '2561341'), ('4302', '20312031', '1335306316', None, None, None, None, None, '2561341'), ('4302', '20312031', '1335306313', None, None, None, None, None, '2561341'), ('4302', '20312031', '1335306035', None, None, None, None, None, '2561341'), ('4302', '20312031', '1335305944', None, None, None, None, None, '2561341'), ('4302', '20312031', '1335305861', None, None, None, None, None, '2561341'), ('4302', '20312031', '1335305776', None, None, None, None, None, '2561341'), ('4302', '20312031', '1335305740', None, None, None, None, None, '2561341'), ('4302', '20312031', '1335305738', None, None, None, None, None, '2561341'), ('4302', '20312031', '1335305727', None, None, None, None, None, '2561341'), ('4302', '20312031', '1335305725', None, None, None, None, None, '2561341'), ('4302', '20312031', '1335303799', None, None, None, None, None, '2561341'), ('4302', '20312031', '1335303794', None, None, None, None, None, '2561341'), ('4302', '20312031', '1335303791', None, None, None, None, None, '2561341'), ('4302', '20312031', '1335303785', None, None, None, None, None, '2561341'), ('4302', '20312031', '1335303758', None, None, None, None, None, '2561341'), ('4302', '20312031', '1335303754', None, None, None, None, None, '2561341'), ('4302', '20312031', '1335303751', None, None, None, None, None, '2561341'), ('4302', '20312031', '1335303748', None, None, None, None, None, '2561341'), ('4302', '20312031', '1335303703', None, None, None, None, None, '2561341'), ('4302', '20312031', '1335303699', None, None, None, None, None, '2561341'), ('4302', '20312031', '1335303696', None, None, None, None, None, '2561341'), ('4302', '20312031', '1335303647', None, None, None, None, None, '2561341'), ('4302', '20312031', '1335303644', None, None, None, None, None, '2561341'), ('4302', '20312031', '1335303642', None, None, None, None, None, '2561341'), ('4302', '20312031', '1335303595', None, None, None, None, None, '2561341'), ('4302', '20312031', '1335303561', None, None, None, None, None, '2561341'), ('4302', '20312031', '1335303552', None, None, None, None, None, '2561341'), ('4302', '20312031', '1335303528', None, None, None, None, None, '2561341'), ('4302', '20312031', '1335303262', None, None, None, None, None, '2561341')] time used for this insertion : 0.3865678310394287 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.6000828742980957 time spend to save output : 0.38707399368286133 total time spend for step 1 : 2.987156867980957 step2:final Fri Feb 7 06:22: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 (20312031) 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 20312031 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1335303262,1335303595,1335303561,1335303552,1335303528,1335303647,1335303644,1335303642,1335303703,1335303699,1335303696,1335303758,1335303754,1335303751,1335303748,1335303799,1335303794,1335303791,1335303785,1335305740,1335305738,1335305727,1335305725,1335306035,1335305944,1335305861,1335305776,1335306379,1335306319,1335306316,1335306313,1335306454,1335306450,1335306447,1335306511); 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([20312031]) Inside saveOutput : final : False verbose : True original output for save of step final : {1335306511: ('0.045476742249313425',), 1335306454: ('0.045476742249313425',), 1335306450: ('0.045476742249313425',), 1335306447: ('0.045476742249313425',), 1335306379: ('0.045476742249313425',), 1335306319: ('0.045476742249313425',), 1335306316: ('0.045476742249313425',), 1335306313: ('0.045476742249313425',), 1335306035: ('0.045476742249313425',), 1335305944: ('0.045476742249313425',), 1335305861: ('0.045476742249313425',), 1335305776: ('0.045476742249313425',), 1335305740: ('0.045476742249313425',), 1335305738: ('0.045476742249313425',), 1335305727: ('0.045476742249313425',), 1335305725: ('0.045476742249313425',), 1335303799: ('0.045476742249313425',), 1335303794: ('0.045476742249313425',), 1335303791: ('0.045476742249313425',), 1335303785: ('0.045476742249313425',), 1335303758: ('0.045476742249313425',), 1335303754: ('0.045476742249313425',), 1335303751: ('0.045476742249313425',), 1335303748: ('0.045476742249313425',), 1335303703: ('0.045476742249313425',), 1335303699: ('0.045476742249313425',), 1335303696: ('0.045476742249313425',), 1335303647: ('0.045476742249313425',), 1335303644: ('0.045476742249313425',), 1335303642: ('0.045476742249313425',), 1335303595: ('0.045476742249313425',), 1335303561: ('0.045476742249313425',), 1335303552: ('0.045476742249313425',), 1335303528: ('0.045476742249313425',), 1335303262: ('0.045476742249313425',)} new output for save of step final : {1335306511: ('0.045476742249313425',), 1335306454: ('0.045476742249313425',), 1335306450: ('0.045476742249313425',), 1335306447: ('0.045476742249313425',), 1335306379: ('0.045476742249313425',), 1335306319: ('0.045476742249313425',), 1335306316: ('0.045476742249313425',), 1335306313: ('0.045476742249313425',), 1335306035: ('0.045476742249313425',), 1335305944: ('0.045476742249313425',), 1335305861: ('0.045476742249313425',), 1335305776: ('0.045476742249313425',), 1335305740: ('0.045476742249313425',), 1335305738: ('0.045476742249313425',), 1335305727: ('0.045476742249313425',), 1335305725: ('0.045476742249313425',), 1335303799: ('0.045476742249313425',), 1335303794: ('0.045476742249313425',), 1335303791: ('0.045476742249313425',), 1335303785: ('0.045476742249313425',), 1335303758: ('0.045476742249313425',), 1335303754: ('0.045476742249313425',), 1335303751: ('0.045476742249313425',), 1335303748: ('0.045476742249313425',), 1335303703: ('0.045476742249313425',), 1335303699: ('0.045476742249313425',), 1335303696: ('0.045476742249313425',), 1335303647: ('0.045476742249313425',), 1335303644: ('0.045476742249313425',), 1335303642: ('0.045476742249313425',), 1335303595: ('0.045476742249313425',), 1335303561: ('0.045476742249313425',), 1335303552: ('0.045476742249313425',), 1335303528: ('0.045476742249313425',), 1335303262: ('0.045476742249313425',)} [1335306511, 1335306454, 1335306450, 1335306447, 1335306379, 1335306319, 1335306316, 1335306313, 1335306035, 1335305944, 1335305861, 1335305776, 1335305740, 1335305738, 1335305727, 1335305725, 1335303799, 1335303794, 1335303791, 1335303785, 1335303758, 1335303754, 1335303751, 1335303748, 1335303703, 1335303699, 1335303696, 1335303647, 1335303644, 1335303642, 1335303595, 1335303561, 1335303552, 1335303528, 1335303262] map_info['map_portfolio_photo'] : {20312031: [1335306511, 1335306454, 1335306450, 1335306447, 1335306379, 1335306319, 1335306316, 1335306313, 1335306035, 1335305944, 1335305861, 1335305776, 1335305740, 1335305738, 1335305727, 1335305725, 1335303799, 1335303794, 1335303791, 1335303785, 1335303758, 1335303754, 1335303751, 1335303748, 1335303703, 1335303699, 1335303696, 1335303647, 1335303644, 1335303642, 1335303595, 1335303561, 1335303552, 1335303528, 1335303262]} final : False mtd_id 4302 list_pids : [1335306511, 1335306454, 1335306450, 1335306447, 1335306379, 1335306319, 1335306316, 1335306313, 1335306035, 1335305944, 1335305861, 1335305776, 1335305740, 1335305738, 1335305727, 1335305725, 1335303799, 1335303794, 1335303791, 1335303785, 1335303758, 1335303754, 1335303751, 1335303748, 1335303703, 1335303699, 1335303696, 1335303647, 1335303644, 1335303642, 1335303595, 1335303561, 1335303552, 1335303528, 1335303262] Looping around the photos to save general results len do output : 35 /1335306511.Didn't retrieve data . /1335306454.Didn't retrieve data . /1335306450.Didn't retrieve data . /1335306447.Didn't retrieve data . /1335306379.Didn't retrieve data . /1335306319.Didn't retrieve data . /1335306316.Didn't retrieve data . /1335306313.Didn't retrieve data . /1335306035.Didn't retrieve data . /1335305944.Didn't retrieve data . /1335305861.Didn't retrieve data . /1335305776.Didn't retrieve data . /1335305740.Didn't retrieve data . /1335305738.Didn't retrieve data . /1335305727.Didn't retrieve data . /1335305725.Didn't retrieve data . /1335303799.Didn't retrieve data . /1335303794.Didn't retrieve data . /1335303791.Didn't retrieve data . /1335303785.Didn't retrieve data . /1335303758.Didn't retrieve data . /1335303754.Didn't retrieve data . /1335303751.Didn't retrieve data . /1335303748.Didn't retrieve data . /1335303703.Didn't retrieve data . /1335303699.Didn't retrieve data . /1335303696.Didn't retrieve data . /1335303647.Didn't retrieve data . /1335303644.Didn't retrieve data . /1335303642.Didn't retrieve data . /1335303595.Didn't retrieve data . /1335303561.Didn't retrieve data . /1335303552.Didn't retrieve data . /1335303528.Didn't retrieve data . /1335303262.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, '2561341') ('4302', '20312031', '1335306511', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335306454', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335306450', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335306447', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335306379', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335306319', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335306316', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335306313', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335306035', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335305944', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335305861', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335305776', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335305740', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335305738', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335305727', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335305725', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335303799', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335303794', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335303791', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335303785', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335303758', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335303754', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335303751', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335303748', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335303703', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335303699', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335303696', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335303647', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335303644', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335303642', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335303595', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335303561', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335303552', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335303528', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335303262', None, None, None, None, None, '2561341') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 105 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', '20312031', '1335306511', '0.045476742249313425', None, None, None, None, '2561341'), ('4302', '20312031', '1335306454', '0.045476742249313425', None, None, None, None, '2561341'), ('4302', '20312031', '1335306450', '0.045476742249313425', None, None, None, None, '2561341'), ('4302', '20312031', '1335306447', '0.045476742249313425', None, None, None, None, '2561341'), ('4302', '20312031', '1335306379', '0.045476742249313425', None, None, None, None, '2561341'), ('4302', '20312031', '1335306319', '0.045476742249313425', None, None, None, None, '2561341'), ('4302', '20312031', '1335306316', '0.045476742249313425', None, None, None, None, '2561341'), ('4302', '20312031', '1335306313', '0.045476742249313425', None, None, None, None, '2561341'), ('4302', '20312031', '1335306035', '0.045476742249313425', None, None, None, None, '2561341'), ('4302', '20312031', '1335305944', '0.045476742249313425', None, None, None, None, '2561341'), ('4302', '20312031', '1335305861', '0.045476742249313425', None, None, None, None, '2561341'), ('4302', '20312031', '1335305776', '0.045476742249313425', None, None, None, None, '2561341'), ('4302', '20312031', '1335305740', '0.045476742249313425', None, None, None, None, '2561341'), ('4302', '20312031', '1335305738', '0.045476742249313425', None, None, None, None, '2561341'), ('4302', '20312031', '1335305727', '0.045476742249313425', None, None, None, None, '2561341'), ('4302', '20312031', '1335305725', '0.045476742249313425', None, None, None, None, '2561341'), ('4302', '20312031', '1335303799', '0.045476742249313425', None, None, None, None, '2561341'), ('4302', '20312031', '1335303794', '0.045476742249313425', None, None, None, None, '2561341'), ('4302', '20312031', '1335303791', '0.045476742249313425', None, None, None, None, '2561341'), ('4302', '20312031', '1335303785', '0.045476742249313425', None, None, None, None, '2561341'), ('4302', '20312031', '1335303758', '0.045476742249313425', None, None, None, None, '2561341'), ('4302', '20312031', '1335303754', '0.045476742249313425', None, None, None, None, '2561341'), ('4302', '20312031', '1335303751', '0.045476742249313425', None, None, None, None, '2561341'), ('4302', '20312031', '1335303748', '0.045476742249313425', None, None, None, None, '2561341'), ('4302', '20312031', '1335303703', '0.045476742249313425', None, None, None, None, '2561341'), ('4302', '20312031', '1335303699', '0.045476742249313425', None, None, None, None, '2561341'), ('4302', '20312031', '1335303696', '0.045476742249313425', None, None, None, None, '2561341'), ('4302', '20312031', '1335303647', '0.045476742249313425', None, None, None, None, '2561341'), ('4302', '20312031', '1335303644', '0.045476742249313425', None, None, None, None, '2561341'), ('4302', '20312031', '1335303642', '0.045476742249313425', None, None, None, None, '2561341'), ('4302', '20312031', '1335303595', '0.045476742249313425', None, None, None, None, '2561341'), ('4302', '20312031', '1335303561', '0.045476742249313425', None, None, None, None, '2561341'), ('4302', '20312031', '1335303552', '0.045476742249313425', None, None, None, None, '2561341'), ('4302', '20312031', '1335303528', '0.045476742249313425', None, None, None, None, '2561341'), ('4302', '20312031', '1335303262', '0.045476742249313425', None, None, None, None, '2561341')] time used for this insertion : 0.2923252582550049 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.07997775077819824 time spend to save output : 0.29381871223449707 total time spend for step 2 : 0.3737964630126953 step3:velours_tree Fri Feb 7 06:22: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 complete output_args for input 0 : {20312031: [{'plastique': 20312062, 'autre_refus': 20312063, 'environnement': 20312064, 'Carton_brun': 20312065, 'papier': 20312066, 'metal': 20312067, 'flou': 20312068, 'cartonnette': 20312069, 'Teint_Dans_La_Masse': 20312070, 'kraft': 20312071, 'mal_croppe': 20312072, 'Carton_gris': 20312073}]} input_args_next_step : {20312031: ()} output_args : {20312031: [{'plastique': 20312062, 'autre_refus': 20312063, 'environnement': 20312064, 'Carton_brun': 20312065, 'papier': 20312066, 'metal': 20312067, 'flou': 20312068, 'cartonnette': 20312069, 'Teint_Dans_La_Masse': 20312070, 'kraft': 20312071, 'mal_croppe': 20312072, 'Carton_gris': 20312073}]} args : 20312031 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 : ({'plastique': 20312062, 'autre_refus': 20312063, 'environnement': 20312064, 'Carton_brun': 20312065, 'papier': 20312066, 'metal': 20312067, 'flou': 20312068, 'cartonnette': 20312069, 'Teint_Dans_La_Masse': 20312070, 'kraft': 20312071, 'mal_croppe': 20312072, 'Carton_gris': 20312073},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20312031) 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([20312031]) 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.3478114604949951 time spend to save output : 4.315376281738281e-05 total time spend for step 3 : 0.3478546142578125 step4:send_mail_cod Fri Feb 7 06:22: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 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 : {1335306511: ('0.045476742249313425',), 1335306454: ('0.045476742249313425',), 1335306450: ('0.045476742249313425',), 1335306447: ('0.045476742249313425',), 1335306379: ('0.045476742249313425',), 1335306319: ('0.045476742249313425',), 1335306316: ('0.045476742249313425',), 1335306313: ('0.045476742249313425',), 1335306035: ('0.045476742249313425',), 1335305944: ('0.045476742249313425',), 1335305861: ('0.045476742249313425',), 1335305776: ('0.045476742249313425',), 1335305740: ('0.045476742249313425',), 1335305738: ('0.045476742249313425',), 1335305727: ('0.045476742249313425',), 1335305725: ('0.045476742249313425',), 1335303799: ('0.045476742249313425',), 1335303794: ('0.045476742249313425',), 1335303791: ('0.045476742249313425',), 1335303785: ('0.045476742249313425',), 1335303758: ('0.045476742249313425',), 1335303754: ('0.045476742249313425',), 1335303751: ('0.045476742249313425',), 1335303748: ('0.045476742249313425',), 1335303703: ('0.045476742249313425',), 1335303699: ('0.045476742249313425',), 1335303696: ('0.045476742249313425',), 1335303647: ('0.045476742249313425',), 1335303644: ('0.045476742249313425',), 1335303642: ('0.045476742249313425',), 1335303595: ('0.045476742249313425',), 1335303561: ('0.045476742249313425',), 1335303552: ('0.045476742249313425',), 1335303528: ('0.045476742249313425',), 1335303262: ('0.045476742249313425',)} input_args_next_step : {1335306511: ()} output_args : {1335306511: ('0.045476742249313425',), 1335306454: ('0.045476742249313425',), 1335306450: ('0.045476742249313425',), 1335306447: ('0.045476742249313425',), 1335306379: ('0.045476742249313425',), 1335306319: ('0.045476742249313425',), 1335306316: ('0.045476742249313425',), 1335306313: ('0.045476742249313425',), 1335306035: ('0.045476742249313425',), 1335305944: ('0.045476742249313425',), 1335305861: ('0.045476742249313425',), 1335305776: ('0.045476742249313425',), 1335305740: ('0.045476742249313425',), 1335305738: ('0.045476742249313425',), 1335305727: ('0.045476742249313425',), 1335305725: ('0.045476742249313425',), 1335303799: ('0.045476742249313425',), 1335303794: ('0.045476742249313425',), 1335303791: ('0.045476742249313425',), 1335303785: ('0.045476742249313425',), 1335303758: ('0.045476742249313425',), 1335303754: ('0.045476742249313425',), 1335303751: ('0.045476742249313425',), 1335303748: ('0.045476742249313425',), 1335303703: ('0.045476742249313425',), 1335303699: ('0.045476742249313425',), 1335303696: ('0.045476742249313425',), 1335303647: ('0.045476742249313425',), 1335303644: ('0.045476742249313425',), 1335303642: ('0.045476742249313425',), 1335303595: ('0.045476742249313425',), 1335303561: ('0.045476742249313425',), 1335303552: ('0.045476742249313425',), 1335303528: ('0.045476742249313425',), 1335303262: ('0.045476742249313425',)} args : 1335306511 depend.output_id : 0 input_args_next_step : {1335306511: ('0.045476742249313425',), 1335306454: ()} output_args : {1335306511: ('0.045476742249313425',), 1335306454: ('0.045476742249313425',), 1335306450: ('0.045476742249313425',), 1335306447: ('0.045476742249313425',), 1335306379: ('0.045476742249313425',), 1335306319: ('0.045476742249313425',), 1335306316: ('0.045476742249313425',), 1335306313: ('0.045476742249313425',), 1335306035: ('0.045476742249313425',), 1335305944: ('0.045476742249313425',), 1335305861: ('0.045476742249313425',), 1335305776: ('0.045476742249313425',), 1335305740: ('0.045476742249313425',), 1335305738: ('0.045476742249313425',), 1335305727: ('0.045476742249313425',), 1335305725: ('0.045476742249313425',), 1335303799: ('0.045476742249313425',), 1335303794: ('0.045476742249313425',), 1335303791: ('0.045476742249313425',), 1335303785: ('0.045476742249313425',), 1335303758: ('0.045476742249313425',), 1335303754: ('0.045476742249313425',), 1335303751: ('0.045476742249313425',), 1335303748: ('0.045476742249313425',), 1335303703: ('0.045476742249313425',), 1335303699: ('0.045476742249313425',), 1335303696: ('0.045476742249313425',), 1335303647: ('0.045476742249313425',), 1335303644: ('0.045476742249313425',), 1335303642: ('0.045476742249313425',), 1335303595: ('0.045476742249313425',), 1335303561: ('0.045476742249313425',), 1335303552: ('0.045476742249313425',), 1335303528: ('0.045476742249313425',), 1335303262: ('0.045476742249313425',)} args : 1335306454 depend.output_id : 0 input_args_next_step : {1335306511: ('0.045476742249313425',), 1335306454: ('0.045476742249313425',), 1335306450: ()} output_args : {1335306511: ('0.045476742249313425',), 1335306454: ('0.045476742249313425',), 1335306450: ('0.045476742249313425',), 1335306447: ('0.045476742249313425',), 1335306379: ('0.045476742249313425',), 1335306319: ('0.045476742249313425',), 1335306316: ('0.045476742249313425',), 1335306313: ('0.045476742249313425',), 1335306035: ('0.045476742249313425',), 1335305944: ('0.045476742249313425',), 1335305861: ('0.045476742249313425',), 1335305776: ('0.045476742249313425',), 1335305740: ('0.045476742249313425',), 1335305738: ('0.045476742249313425',), 1335305727: ('0.045476742249313425',), 1335305725: ('0.045476742249313425',), 1335303799: ('0.045476742249313425',), 1335303794: ('0.045476742249313425',), 1335303791: ('0.045476742249313425',), 1335303785: ('0.045476742249313425',), 1335303758: ('0.045476742249313425',), 1335303754: ('0.045476742249313425',), 1335303751: ('0.045476742249313425',), 1335303748: ('0.045476742249313425',), 1335303703: ('0.045476742249313425',), 1335303699: ('0.045476742249313425',), 1335303696: ('0.045476742249313425',), 1335303647: ('0.045476742249313425',), 1335303644: ('0.045476742249313425',), 1335303642: ('0.045476742249313425',), 1335303595: ('0.045476742249313425',), 1335303561: ('0.045476742249313425',), 1335303552: ('0.045476742249313425',), 1335303528: ('0.045476742249313425',), 1335303262: ('0.045476742249313425',)} args : 1335306450 depend.output_id : 0 input_args_next_step : {1335306511: ('0.045476742249313425',), 1335306454: ('0.045476742249313425',), 1335306450: ('0.045476742249313425',), 1335306447: ()} output_args : {1335306511: ('0.045476742249313425',), 1335306454: ('0.045476742249313425',), 1335306450: ('0.045476742249313425',), 1335306447: ('0.045476742249313425',), 1335306379: ('0.045476742249313425',), 1335306319: ('0.045476742249313425',), 1335306316: ('0.045476742249313425',), 1335306313: ('0.045476742249313425',), 1335306035: ('0.045476742249313425',), 1335305944: ('0.045476742249313425',), 1335305861: ('0.045476742249313425',), 1335305776: ('0.045476742249313425',), 1335305740: ('0.045476742249313425',), 1335305738: ('0.045476742249313425',), 1335305727: ('0.045476742249313425',), 1335305725: ('0.045476742249313425',), 1335303799: ('0.045476742249313425',), 1335303794: ('0.045476742249313425',), 1335303791: ('0.045476742249313425',), 1335303785: ('0.045476742249313425',), 1335303758: ('0.045476742249313425',), 1335303754: ('0.045476742249313425',), 1335303751: ('0.045476742249313425',), 1335303748: ('0.045476742249313425',), 1335303703: ('0.045476742249313425',), 1335303699: ('0.045476742249313425',), 1335303696: ('0.045476742249313425',), 1335303647: ('0.045476742249313425',), 1335303644: ('0.045476742249313425',), 1335303642: ('0.045476742249313425',), 1335303595: ('0.045476742249313425',), 1335303561: ('0.045476742249313425',), 1335303552: ('0.045476742249313425',), 1335303528: ('0.045476742249313425',), 1335303262: ('0.045476742249313425',)} args : 1335306447 depend.output_id : 0 input_args_next_step : {1335306511: ('0.045476742249313425',), 1335306454: ('0.045476742249313425',), 1335306450: ('0.045476742249313425',), 1335306447: ('0.045476742249313425',), 1335306379: ()} output_args : {1335306511: ('0.045476742249313425',), 1335306454: ('0.045476742249313425',), 1335306450: ('0.045476742249313425',), 1335306447: ('0.045476742249313425',), 1335306379: ('0.045476742249313425',), 1335306319: ('0.045476742249313425',), 1335306316: ('0.045476742249313425',), 1335306313: ('0.045476742249313425',), 1335306035: ('0.045476742249313425',), 1335305944: ('0.045476742249313425',), 1335305861: ('0.045476742249313425',), 1335305776: ('0.045476742249313425',), 1335305740: ('0.045476742249313425',), 1335305738: ('0.045476742249313425',), 1335305727: ('0.045476742249313425',), 1335305725: ('0.045476742249313425',), 1335303799: ('0.045476742249313425',), 1335303794: ('0.045476742249313425',), 1335303791: ('0.045476742249313425',), 1335303785: ('0.045476742249313425',), 1335303758: ('0.045476742249313425',), 1335303754: ('0.045476742249313425',), 1335303751: ('0.045476742249313425',), 1335303748: ('0.045476742249313425',), 1335303703: ('0.045476742249313425',), 1335303699: ('0.045476742249313425',), 1335303696: ('0.045476742249313425',), 1335303647: ('0.045476742249313425',), 1335303644: ('0.045476742249313425',), 1335303642: ('0.045476742249313425',), 1335303595: ('0.045476742249313425',), 1335303561: ('0.045476742249313425',), 1335303552: ('0.045476742249313425',), 1335303528: ('0.045476742249313425',), 1335303262: ('0.045476742249313425',)} args : 1335306379 depend.output_id : 0 input_args_next_step : {1335306511: ('0.045476742249313425',), 1335306454: ('0.045476742249313425',), 1335306450: ('0.045476742249313425',), 1335306447: ('0.045476742249313425',), 1335306379: ('0.045476742249313425',), 1335306319: ()} output_args : {1335306511: ('0.045476742249313425',), 1335306454: ('0.045476742249313425',), 1335306450: ('0.045476742249313425',), 1335306447: ('0.045476742249313425',), 1335306379: ('0.045476742249313425',), 1335306319: ('0.045476742249313425',), 1335306316: ('0.045476742249313425',), 1335306313: ('0.045476742249313425',), 1335306035: ('0.045476742249313425',), 1335305944: ('0.045476742249313425',), 1335305861: ('0.045476742249313425',), 1335305776: ('0.045476742249313425',), 1335305740: ('0.045476742249313425',), 1335305738: ('0.045476742249313425',), 1335305727: ('0.045476742249313425',), 1335305725: ('0.045476742249313425',), 1335303799: ('0.045476742249313425',), 1335303794: ('0.045476742249313425',), 1335303791: ('0.045476742249313425',), 1335303785: ('0.045476742249313425',), 1335303758: ('0.045476742249313425',), 1335303754: ('0.045476742249313425',), 1335303751: ('0.045476742249313425',), 1335303748: ('0.045476742249313425',), 1335303703: ('0.045476742249313425',), 1335303699: ('0.045476742249313425',), 1335303696: ('0.045476742249313425',), 1335303647: ('0.045476742249313425',), 1335303644: ('0.045476742249313425',), 1335303642: ('0.045476742249313425',), 1335303595: ('0.045476742249313425',), 1335303561: ('0.045476742249313425',), 1335303552: ('0.045476742249313425',), 1335303528: ('0.045476742249313425',), 1335303262: ('0.045476742249313425',)} args : 1335306319 depend.output_id : 0 input_args_next_step : {1335306511: ('0.045476742249313425',), 1335306454: ('0.045476742249313425',), 1335306450: ('0.045476742249313425',), 1335306447: ('0.045476742249313425',), 1335306379: ('0.045476742249313425',), 1335306319: ('0.045476742249313425',), 1335306316: ()} output_args : {1335306511: ('0.045476742249313425',), 1335306454: ('0.045476742249313425',), 1335306450: ('0.045476742249313425',), 1335306447: ('0.045476742249313425',), 1335306379: ('0.045476742249313425',), 1335306319: ('0.045476742249313425',), 1335306316: ('0.045476742249313425',), 1335306313: ('0.045476742249313425',), 1335306035: ('0.045476742249313425',), 1335305944: ('0.045476742249313425',), 1335305861: ('0.045476742249313425',), 1335305776: ('0.045476742249313425',), 1335305740: ('0.045476742249313425',), 1335305738: ('0.045476742249313425',), 1335305727: ('0.045476742249313425',), 1335305725: ('0.045476742249313425',), 1335303799: ('0.045476742249313425',), 1335303794: ('0.045476742249313425',), 1335303791: ('0.045476742249313425',), 1335303785: ('0.045476742249313425',), 1335303758: ('0.045476742249313425',), 1335303754: ('0.045476742249313425',), 1335303751: ('0.045476742249313425',), 1335303748: ('0.045476742249313425',), 1335303703: ('0.045476742249313425',), 1335303699: ('0.045476742249313425',), 1335303696: ('0.045476742249313425',), 1335303647: ('0.045476742249313425',), 1335303644: ('0.045476742249313425',), 1335303642: ('0.045476742249313425',), 1335303595: ('0.045476742249313425',), 1335303561: ('0.045476742249313425',), 1335303552: ('0.045476742249313425',), 1335303528: ('0.045476742249313425',), 1335303262: ('0.045476742249313425',)} args : 1335306316 depend.output_id : 0 input_args_next_step : {1335306511: ('0.045476742249313425',), 1335306454: ('0.045476742249313425',), 1335306450: ('0.045476742249313425',), 1335306447: ('0.045476742249313425',), 1335306379: ('0.045476742249313425',), 1335306319: ('0.045476742249313425',), 1335306316: ('0.045476742249313425',), 1335306313: ()} output_args : {1335306511: ('0.045476742249313425',), 1335306454: ('0.045476742249313425',), 1335306450: ('0.045476742249313425',), 1335306447: ('0.045476742249313425',), 1335306379: ('0.045476742249313425',), 1335306319: ('0.045476742249313425',), 1335306316: ('0.045476742249313425',), 1335306313: ('0.045476742249313425',), 1335306035: ('0.045476742249313425',), 1335305944: ('0.045476742249313425',), 1335305861: ('0.045476742249313425',), 1335305776: ('0.045476742249313425',), 1335305740: ('0.045476742249313425',), 1335305738: ('0.045476742249313425',), 1335305727: ('0.045476742249313425',), 1335305725: ('0.045476742249313425',), 1335303799: ('0.045476742249313425',), 1335303794: ('0.045476742249313425',), 1335303791: ('0.045476742249313425',), 1335303785: ('0.045476742249313425',), 1335303758: ('0.045476742249313425',), 1335303754: ('0.045476742249313425',), 1335303751: ('0.045476742249313425',), 1335303748: ('0.045476742249313425',), 1335303703: ('0.045476742249313425',), 1335303699: ('0.045476742249313425',), 1335303696: ('0.045476742249313425',), 1335303647: ('0.045476742249313425',), 1335303644: ('0.045476742249313425',), 1335303642: ('0.045476742249313425',), 1335303595: ('0.045476742249313425',), 1335303561: ('0.045476742249313425',), 1335303552: ('0.045476742249313425',), 1335303528: ('0.045476742249313425',), 1335303262: ('0.045476742249313425',)} args : 1335306313 depend.output_id : 0 input_args_next_step : {1335306511: ('0.045476742249313425',), 1335306454: ('0.045476742249313425',), 1335306450: ('0.045476742249313425',), 1335306447: ('0.045476742249313425',), 1335306379: ('0.045476742249313425',), 1335306319: ('0.045476742249313425',), 1335306316: ('0.045476742249313425',), 1335306313: ('0.045476742249313425',), 1335306035: ()} output_args : {1335306511: ('0.045476742249313425',), 1335306454: ('0.045476742249313425',), 1335306450: ('0.045476742249313425',), 1335306447: ('0.045476742249313425',), 1335306379: ('0.045476742249313425',), 1335306319: ('0.045476742249313425',), 1335306316: ('0.045476742249313425',), 1335306313: ('0.045476742249313425',), 1335306035: ('0.045476742249313425',), 1335305944: ('0.045476742249313425',), 1335305861: ('0.045476742249313425',), 1335305776: ('0.045476742249313425',), 1335305740: ('0.045476742249313425',), 1335305738: ('0.045476742249313425',), 1335305727: ('0.045476742249313425',), 1335305725: ('0.045476742249313425',), 1335303799: ('0.045476742249313425',), 1335303794: ('0.045476742249313425',), 1335303791: ('0.045476742249313425',), 1335303785: ('0.045476742249313425',), 1335303758: ('0.045476742249313425',), 1335303754: ('0.045476742249313425',), 1335303751: ('0.045476742249313425',), 1335303748: ('0.045476742249313425',), 1335303703: ('0.045476742249313425',), 1335303699: ('0.045476742249313425',), 1335303696: ('0.045476742249313425',), 1335303647: ('0.045476742249313425',), 1335303644: ('0.045476742249313425',), 1335303642: ('0.045476742249313425',), 1335303595: ('0.045476742249313425',), 1335303561: ('0.045476742249313425',), 1335303552: ('0.045476742249313425',), 1335303528: ('0.045476742249313425',), 1335303262: ('0.045476742249313425',)} args : 1335306035 depend.output_id : 0 input_args_next_step : {1335306511: ('0.045476742249313425',), 1335306454: ('0.045476742249313425',), 1335306450: ('0.045476742249313425',), 1335306447: ('0.045476742249313425',), 1335306379: ('0.045476742249313425',), 1335306319: ('0.045476742249313425',), 1335306316: ('0.045476742249313425',), 1335306313: ('0.045476742249313425',), 1335306035: ('0.045476742249313425',), 1335305944: ()} output_args : {1335306511: ('0.045476742249313425',), 1335306454: ('0.045476742249313425',), 1335306450: ('0.045476742249313425',), 1335306447: ('0.045476742249313425',), 1335306379: ('0.045476742249313425',), 1335306319: ('0.045476742249313425',), 1335306316: ('0.045476742249313425',), 1335306313: ('0.045476742249313425',), 1335306035: ('0.045476742249313425',), 1335305944: ('0.045476742249313425',), 1335305861: ('0.045476742249313425',), 1335305776: ('0.045476742249313425',), 1335305740: ('0.045476742249313425',), 1335305738: ('0.045476742249313425',), 1335305727: ('0.045476742249313425',), 1335305725: ('0.045476742249313425',), 1335303799: ('0.045476742249313425',), 1335303794: ('0.045476742249313425',), 1335303791: ('0.045476742249313425',), 1335303785: ('0.045476742249313425',), 1335303758: ('0.045476742249313425',), 1335303754: ('0.045476742249313425',), 1335303751: ('0.045476742249313425',), 1335303748: ('0.045476742249313425',), 1335303703: ('0.045476742249313425',), 1335303699: ('0.045476742249313425',), 1335303696: ('0.045476742249313425',), 1335303647: ('0.045476742249313425',), 1335303644: ('0.045476742249313425',), 1335303642: ('0.045476742249313425',), 1335303595: ('0.045476742249313425',), 1335303561: ('0.045476742249313425',), 1335303552: ('0.045476742249313425',), 1335303528: ('0.045476742249313425',), 1335303262: ('0.045476742249313425',)} args : 1335305944 depend.output_id : 0 input_args_next_step : {1335306511: ('0.045476742249313425',), 1335306454: ('0.045476742249313425',), 1335306450: ('0.045476742249313425',), 1335306447: ('0.045476742249313425',), 1335306379: ('0.045476742249313425',), 1335306319: ('0.045476742249313425',), 1335306316: ('0.045476742249313425',), 1335306313: ('0.045476742249313425',), 1335306035: ('0.045476742249313425',), 1335305944: ('0.045476742249313425',), 1335305861: ()} output_args : {1335306511: ('0.045476742249313425',), 1335306454: ('0.045476742249313425',), 1335306450: ('0.045476742249313425',), 1335306447: ('0.045476742249313425',), 1335306379: ('0.045476742249313425',), 1335306319: ('0.045476742249313425',), 1335306316: ('0.045476742249313425',), 1335306313: ('0.045476742249313425',), 1335306035: ('0.045476742249313425',), 1335305944: ('0.045476742249313425',), 1335305861: ('0.045476742249313425',), 1335305776: ('0.045476742249313425',), 1335305740: ('0.045476742249313425',), 1335305738: ('0.045476742249313425',), 1335305727: ('0.045476742249313425',), 1335305725: ('0.045476742249313425',), 1335303799: ('0.045476742249313425',), 1335303794: ('0.045476742249313425',), 1335303791: ('0.045476742249313425',), 1335303785: ('0.045476742249313425',), 1335303758: ('0.045476742249313425',), 1335303754: ('0.045476742249313425',), 1335303751: ('0.045476742249313425',), 1335303748: ('0.045476742249313425',), 1335303703: ('0.045476742249313425',), 1335303699: ('0.045476742249313425',), 1335303696: ('0.045476742249313425',), 1335303647: ('0.045476742249313425',), 1335303644: ('0.045476742249313425',), 1335303642: ('0.045476742249313425',), 1335303595: ('0.045476742249313425',), 1335303561: ('0.045476742249313425',), 1335303552: ('0.045476742249313425',), 1335303528: ('0.045476742249313425',), 1335303262: ('0.045476742249313425',)} args : 1335305861 depend.output_id : 0 input_args_next_step : {1335306511: ('0.045476742249313425',), 1335306454: ('0.045476742249313425',), 1335306450: ('0.045476742249313425',), 1335306447: ('0.045476742249313425',), 1335306379: ('0.045476742249313425',), 1335306319: ('0.045476742249313425',), 1335306316: ('0.045476742249313425',), 1335306313: ('0.045476742249313425',), 1335306035: ('0.045476742249313425',), 1335305944: ('0.045476742249313425',), 1335305861: ('0.045476742249313425',), 1335305776: ()} output_args : {1335306511: ('0.045476742249313425',), 1335306454: ('0.045476742249313425',), 1335306450: ('0.045476742249313425',), 1335306447: ('0.045476742249313425',), 1335306379: ('0.045476742249313425',), 1335306319: ('0.045476742249313425',), 1335306316: ('0.045476742249313425',), 1335306313: ('0.045476742249313425',), 1335306035: ('0.045476742249313425',), 1335305944: ('0.045476742249313425',), 1335305861: ('0.045476742249313425',), 1335305776: ('0.045476742249313425',), 1335305740: ('0.045476742249313425',), 1335305738: ('0.045476742249313425',), 1335305727: ('0.045476742249313425',), 1335305725: ('0.045476742249313425',), 1335303799: ('0.045476742249313425',), 1335303794: ('0.045476742249313425',), 1335303791: ('0.045476742249313425',), 1335303785: ('0.045476742249313425',), 1335303758: ('0.045476742249313425',), 1335303754: ('0.045476742249313425',), 1335303751: ('0.045476742249313425',), 1335303748: ('0.045476742249313425',), 1335303703: ('0.045476742249313425',), 1335303699: ('0.045476742249313425',), 1335303696: ('0.045476742249313425',), 1335303647: ('0.045476742249313425',), 1335303644: ('0.045476742249313425',), 1335303642: ('0.045476742249313425',), 1335303595: ('0.045476742249313425',), 1335303561: ('0.045476742249313425',), 1335303552: ('0.045476742249313425',), 1335303528: ('0.045476742249313425',), 1335303262: ('0.045476742249313425',)} args : 1335305776 depend.output_id : 0 input_args_next_step : {1335306511: ('0.045476742249313425',), 1335306454: ('0.045476742249313425',), 1335306450: ('0.045476742249313425',), 1335306447: ('0.045476742249313425',), 1335306379: ('0.045476742249313425',), 1335306319: ('0.045476742249313425',), 1335306316: ('0.045476742249313425',), 1335306313: ('0.045476742249313425',), 1335306035: ('0.045476742249313425',), 1335305944: ('0.045476742249313425',), 1335305861: ('0.045476742249313425',), 1335305776: ('0.045476742249313425',), 1335305740: ()} output_args : {1335306511: ('0.045476742249313425',), 1335306454: ('0.045476742249313425',), 1335306450: ('0.045476742249313425',), 1335306447: ('0.045476742249313425',), 1335306379: ('0.045476742249313425',), 1335306319: ('0.045476742249313425',), 1335306316: ('0.045476742249313425',), 1335306313: ('0.045476742249313425',), 1335306035: ('0.045476742249313425',), 1335305944: ('0.045476742249313425',), 1335305861: ('0.045476742249313425',), 1335305776: ('0.045476742249313425',), 1335305740: ('0.045476742249313425',), 1335305738: ('0.045476742249313425',), 1335305727: ('0.045476742249313425',), 1335305725: ('0.045476742249313425',), 1335303799: ('0.045476742249313425',), 1335303794: ('0.045476742249313425',), 1335303791: ('0.045476742249313425',), 1335303785: ('0.045476742249313425',), 1335303758: ('0.045476742249313425',), 1335303754: ('0.045476742249313425',), 1335303751: ('0.045476742249313425',), 1335303748: ('0.045476742249313425',), 1335303703: ('0.045476742249313425',), 1335303699: ('0.045476742249313425',), 1335303696: ('0.045476742249313425',), 1335303647: ('0.045476742249313425',), 1335303644: ('0.045476742249313425',), 1335303642: ('0.045476742249313425',), 1335303595: ('0.045476742249313425',), 1335303561: ('0.045476742249313425',), 1335303552: ('0.045476742249313425',), 1335303528: ('0.045476742249313425',), 1335303262: ('0.045476742249313425',)} args : 1335305740 depend.output_id : 0 input_args_next_step : {1335306511: ('0.045476742249313425',), 1335306454: ('0.045476742249313425',), 1335306450: ('0.045476742249313425',), 1335306447: ('0.045476742249313425',), 1335306379: ('0.045476742249313425',), 1335306319: ('0.045476742249313425',), 1335306316: ('0.045476742249313425',), 1335306313: ('0.045476742249313425',), 1335306035: ('0.045476742249313425',), 1335305944: ('0.045476742249313425',), 1335305861: ('0.045476742249313425',), 1335305776: ('0.045476742249313425',), 1335305740: ('0.045476742249313425',), 1335305738: ()} output_args : {1335306511: ('0.045476742249313425',), 1335306454: ('0.045476742249313425',), 1335306450: ('0.045476742249313425',), 1335306447: ('0.045476742249313425',), 1335306379: ('0.045476742249313425',), 1335306319: ('0.045476742249313425',), 1335306316: ('0.045476742249313425',), 1335306313: ('0.045476742249313425',), 1335306035: ('0.045476742249313425',), 1335305944: ('0.045476742249313425',), 1335305861: ('0.045476742249313425',), 1335305776: ('0.045476742249313425',), 1335305740: ('0.045476742249313425',), 1335305738: ('0.045476742249313425',), 1335305727: ('0.045476742249313425',), 1335305725: ('0.045476742249313425',), 1335303799: ('0.045476742249313425',), 1335303794: ('0.045476742249313425',), 1335303791: ('0.045476742249313425',), 1335303785: ('0.045476742249313425',), 1335303758: ('0.045476742249313425',), 1335303754: ('0.045476742249313425',), 1335303751: ('0.045476742249313425',), 1335303748: ('0.045476742249313425',), 1335303703: ('0.045476742249313425',), 1335303699: ('0.045476742249313425',), 1335303696: ('0.045476742249313425',), 1335303647: ('0.045476742249313425',), 1335303644: ('0.045476742249313425',), 1335303642: ('0.045476742249313425',), 1335303595: ('0.045476742249313425',), 1335303561: ('0.045476742249313425',), 1335303552: ('0.045476742249313425',), 1335303528: ('0.045476742249313425',), 1335303262: ('0.045476742249313425',)} args : 1335305738 depend.output_id : 0 input_args_next_step : {1335306511: ('0.045476742249313425',), 1335306454: ('0.045476742249313425',), 1335306450: ('0.045476742249313425',), 1335306447: ('0.045476742249313425',), 1335306379: ('0.045476742249313425',), 1335306319: ('0.045476742249313425',), 1335306316: ('0.045476742249313425',), 1335306313: ('0.045476742249313425',), 1335306035: ('0.045476742249313425',), 1335305944: ('0.045476742249313425',), 1335305861: ('0.045476742249313425',), 1335305776: ('0.045476742249313425',), 1335305740: ('0.045476742249313425',), 1335305738: ('0.045476742249313425',), 1335305727: ()} output_args : {1335306511: ('0.045476742249313425',), 1335306454: ('0.045476742249313425',), 1335306450: ('0.045476742249313425',), 1335306447: ('0.045476742249313425',), 1335306379: ('0.045476742249313425',), 1335306319: ('0.045476742249313425',), 1335306316: ('0.045476742249313425',), 1335306313: ('0.045476742249313425',), 1335306035: ('0.045476742249313425',), 1335305944: ('0.045476742249313425',), 1335305861: ('0.045476742249313425',), 1335305776: ('0.045476742249313425',), 1335305740: ('0.045476742249313425',), 1335305738: ('0.045476742249313425',), 1335305727: ('0.045476742249313425',), 1335305725: ('0.045476742249313425',), 1335303799: ('0.045476742249313425',), 1335303794: ('0.045476742249313425',), 1335303791: ('0.045476742249313425',), 1335303785: ('0.045476742249313425',), 1335303758: ('0.045476742249313425',), 1335303754: ('0.045476742249313425',), 1335303751: ('0.045476742249313425',), 1335303748: ('0.045476742249313425',), 1335303703: ('0.045476742249313425',), 1335303699: ('0.045476742249313425',), 1335303696: ('0.045476742249313425',), 1335303647: ('0.045476742249313425',), 1335303644: ('0.045476742249313425',), 1335303642: ('0.045476742249313425',), 1335303595: ('0.045476742249313425',), 1335303561: ('0.045476742249313425',), 1335303552: ('0.045476742249313425',), 1335303528: ('0.045476742249313425',), 1335303262: ('0.045476742249313425',)} args : 1335305727 depend.output_id : 0 input_args_next_step : {1335306511: ('0.045476742249313425',), 1335306454: ('0.045476742249313425',), 1335306450: ('0.045476742249313425',), 1335306447: ('0.045476742249313425',), 1335306379: ('0.045476742249313425',), 1335306319: ('0.045476742249313425',), 1335306316: ('0.045476742249313425',), 1335306313: ('0.045476742249313425',), 1335306035: ('0.045476742249313425',), 1335305944: ('0.045476742249313425',), 1335305861: ('0.045476742249313425',), 1335305776: ('0.045476742249313425',), 1335305740: ('0.045476742249313425',), 1335305738: ('0.045476742249313425',), 1335305727: ('0.045476742249313425',), 1335305725: ()} output_args : {1335306511: ('0.045476742249313425',), 1335306454: ('0.045476742249313425',), 1335306450: ('0.045476742249313425',), 1335306447: ('0.045476742249313425',), 1335306379: ('0.045476742249313425',), 1335306319: ('0.045476742249313425',), 1335306316: ('0.045476742249313425',), 1335306313: ('0.045476742249313425',), 1335306035: ('0.045476742249313425',), 1335305944: ('0.045476742249313425',), 1335305861: ('0.045476742249313425',), 1335305776: ('0.045476742249313425',), 1335305740: ('0.045476742249313425',), 1335305738: ('0.045476742249313425',), 1335305727: ('0.045476742249313425',), 1335305725: ('0.045476742249313425',), 1335303799: ('0.045476742249313425',), 1335303794: ('0.045476742249313425',), 1335303791: ('0.045476742249313425',), 1335303785: ('0.045476742249313425',), 1335303758: ('0.045476742249313425',), 1335303754: ('0.045476742249313425',), 1335303751: ('0.045476742249313425',), 1335303748: ('0.045476742249313425',), 1335303703: ('0.045476742249313425',), 1335303699: ('0.045476742249313425',), 1335303696: ('0.045476742249313425',), 1335303647: ('0.045476742249313425',), 1335303644: ('0.045476742249313425',), 1335303642: ('0.045476742249313425',), 1335303595: ('0.045476742249313425',), 1335303561: ('0.045476742249313425',), 1335303552: ('0.045476742249313425',), 1335303528: ('0.045476742249313425',), 1335303262: ('0.045476742249313425',)} args : 1335305725 depend.output_id : 0 input_args_next_step : {1335306511: ('0.045476742249313425',), 1335306454: ('0.045476742249313425',), 1335306450: ('0.045476742249313425',), 1335306447: ('0.045476742249313425',), 1335306379: ('0.045476742249313425',), 1335306319: ('0.045476742249313425',), 1335306316: ('0.045476742249313425',), 1335306313: ('0.045476742249313425',), 1335306035: ('0.045476742249313425',), 1335305944: ('0.045476742249313425',), 1335305861: ('0.045476742249313425',), 1335305776: ('0.045476742249313425',), 1335305740: ('0.045476742249313425',), 1335305738: ('0.045476742249313425',), 1335305727: ('0.045476742249313425',), 1335305725: ('0.045476742249313425',), 1335303799: ()} output_args : {1335306511: ('0.045476742249313425',), 1335306454: ('0.045476742249313425',), 1335306450: ('0.045476742249313425',), 1335306447: ('0.045476742249313425',), 1335306379: ('0.045476742249313425',), 1335306319: ('0.045476742249313425',), 1335306316: ('0.045476742249313425',), 1335306313: ('0.045476742249313425',), 1335306035: ('0.045476742249313425',), 1335305944: ('0.045476742249313425',), 1335305861: ('0.045476742249313425',), 1335305776: ('0.045476742249313425',), 1335305740: ('0.045476742249313425',), 1335305738: ('0.045476742249313425',), 1335305727: ('0.045476742249313425',), 1335305725: ('0.045476742249313425',), 1335303799: ('0.045476742249313425',), 1335303794: ('0.045476742249313425',), 1335303791: ('0.045476742249313425',), 1335303785: ('0.045476742249313425',), 1335303758: ('0.045476742249313425',), 1335303754: ('0.045476742249313425',), 1335303751: ('0.045476742249313425',), 1335303748: ('0.045476742249313425',), 1335303703: ('0.045476742249313425',), 1335303699: ('0.045476742249313425',), 1335303696: ('0.045476742249313425',), 1335303647: ('0.045476742249313425',), 1335303644: ('0.045476742249313425',), 1335303642: ('0.045476742249313425',), 1335303595: ('0.045476742249313425',), 1335303561: ('0.045476742249313425',), 1335303552: ('0.045476742249313425',), 1335303528: ('0.045476742249313425',), 1335303262: ('0.045476742249313425',)} args : 1335303799 depend.output_id : 0 input_args_next_step : {1335306511: ('0.045476742249313425',), 1335306454: ('0.045476742249313425',), 1335306450: ('0.045476742249313425',), 1335306447: ('0.045476742249313425',), 1335306379: ('0.045476742249313425',), 1335306319: ('0.045476742249313425',), 1335306316: ('0.045476742249313425',), 1335306313: ('0.045476742249313425',), 1335306035: ('0.045476742249313425',), 1335305944: ('0.045476742249313425',), 1335305861: ('0.045476742249313425',), 1335305776: ('0.045476742249313425',), 1335305740: ('0.045476742249313425',), 1335305738: ('0.045476742249313425',), 1335305727: ('0.045476742249313425',), 1335305725: ('0.045476742249313425',), 1335303799: ('0.045476742249313425',), 1335303794: ()} output_args : {1335306511: ('0.045476742249313425',), 1335306454: ('0.045476742249313425',), 1335306450: ('0.045476742249313425',), 1335306447: ('0.045476742249313425',), 1335306379: ('0.045476742249313425',), 1335306319: ('0.045476742249313425',), 1335306316: ('0.045476742249313425',), 1335306313: ('0.045476742249313425',), 1335306035: ('0.045476742249313425',), 1335305944: ('0.045476742249313425',), 1335305861: ('0.045476742249313425',), 1335305776: ('0.045476742249313425',), 1335305740: ('0.045476742249313425',), 1335305738: ('0.045476742249313425',), 1335305727: ('0.045476742249313425',), 1335305725: ('0.045476742249313425',), 1335303799: ('0.045476742249313425',), 1335303794: ('0.045476742249313425',), 1335303791: ('0.045476742249313425',), 1335303785: ('0.045476742249313425',), 1335303758: ('0.045476742249313425',), 1335303754: ('0.045476742249313425',), 1335303751: ('0.045476742249313425',), 1335303748: ('0.045476742249313425',), 1335303703: ('0.045476742249313425',), 1335303699: ('0.045476742249313425',), 1335303696: ('0.045476742249313425',), 1335303647: ('0.045476742249313425',), 1335303644: ('0.045476742249313425',), 1335303642: ('0.045476742249313425',), 1335303595: ('0.045476742249313425',), 1335303561: ('0.045476742249313425',), 1335303552: ('0.045476742249313425',), 1335303528: ('0.045476742249313425',), 1335303262: ('0.045476742249313425',)} args : 1335303794 depend.output_id : 0 input_args_next_step : {1335306511: ('0.045476742249313425',), 1335306454: ('0.045476742249313425',), 1335306450: ('0.045476742249313425',), 1335306447: ('0.045476742249313425',), 1335306379: ('0.045476742249313425',), 1335306319: ('0.045476742249313425',), 1335306316: ('0.045476742249313425',), 1335306313: ('0.045476742249313425',), 1335306035: ('0.045476742249313425',), 1335305944: ('0.045476742249313425',), 1335305861: ('0.045476742249313425',), 1335305776: ('0.045476742249313425',), 1335305740: ('0.045476742249313425',), 1335305738: ('0.045476742249313425',), 1335305727: ('0.045476742249313425',), 1335305725: ('0.045476742249313425',), 1335303799: ('0.045476742249313425',), 1335303794: ('0.045476742249313425',), 1335303791: ()} output_args : {1335306511: ('0.045476742249313425',), 1335306454: ('0.045476742249313425',), 1335306450: ('0.045476742249313425',), 1335306447: ('0.045476742249313425',), 1335306379: ('0.045476742249313425',), 1335306319: ('0.045476742249313425',), 1335306316: ('0.045476742249313425',), 1335306313: ('0.045476742249313425',), 1335306035: ('0.045476742249313425',), 1335305944: ('0.045476742249313425',), 1335305861: ('0.045476742249313425',), 1335305776: ('0.045476742249313425',), 1335305740: ('0.045476742249313425',), 1335305738: ('0.045476742249313425',), 1335305727: ('0.045476742249313425',), 1335305725: ('0.045476742249313425',), 1335303799: ('0.045476742249313425',), 1335303794: ('0.045476742249313425',), 1335303791: ('0.045476742249313425',), 1335303785: ('0.045476742249313425',), 1335303758: ('0.045476742249313425',), 1335303754: ('0.045476742249313425',), 1335303751: ('0.045476742249313425',), 1335303748: ('0.045476742249313425',), 1335303703: ('0.045476742249313425',), 1335303699: ('0.045476742249313425',), 1335303696: ('0.045476742249313425',), 1335303647: ('0.045476742249313425',), 1335303644: ('0.045476742249313425',), 1335303642: ('0.045476742249313425',), 1335303595: ('0.045476742249313425',), 1335303561: ('0.045476742249313425',), 1335303552: ('0.045476742249313425',), 1335303528: ('0.045476742249313425',), 1335303262: ('0.045476742249313425',)} args : 1335303791 depend.output_id : 0 input_args_next_step : {1335306511: ('0.045476742249313425',), 1335306454: ('0.045476742249313425',), 1335306450: ('0.045476742249313425',), 1335306447: ('0.045476742249313425',), 1335306379: ('0.045476742249313425',), 1335306319: ('0.045476742249313425',), 1335306316: ('0.045476742249313425',), 1335306313: ('0.045476742249313425',), 1335306035: ('0.045476742249313425',), 1335305944: ('0.045476742249313425',), 1335305861: ('0.045476742249313425',), 1335305776: ('0.045476742249313425',), 1335305740: ('0.045476742249313425',), 1335305738: ('0.045476742249313425',), 1335305727: ('0.045476742249313425',), 1335305725: ('0.045476742249313425',), 1335303799: ('0.045476742249313425',), 1335303794: ('0.045476742249313425',), 1335303791: ('0.045476742249313425',), 1335303785: ()} output_args : {1335306511: ('0.045476742249313425',), 1335306454: ('0.045476742249313425',), 1335306450: ('0.045476742249313425',), 1335306447: ('0.045476742249313425',), 1335306379: ('0.045476742249313425',), 1335306319: ('0.045476742249313425',), 1335306316: ('0.045476742249313425',), 1335306313: ('0.045476742249313425',), 1335306035: ('0.045476742249313425',), 1335305944: ('0.045476742249313425',), 1335305861: ('0.045476742249313425',), 1335305776: ('0.045476742249313425',), 1335305740: ('0.045476742249313425',), 1335305738: ('0.045476742249313425',), 1335305727: ('0.045476742249313425',), 1335305725: ('0.045476742249313425',), 1335303799: ('0.045476742249313425',), 1335303794: ('0.045476742249313425',), 1335303791: ('0.045476742249313425',), 1335303785: ('0.045476742249313425',), 1335303758: ('0.045476742249313425',), 1335303754: ('0.045476742249313425',), 1335303751: ('0.045476742249313425',), 1335303748: ('0.045476742249313425',), 1335303703: ('0.045476742249313425',), 1335303699: ('0.045476742249313425',), 1335303696: ('0.045476742249313425',), 1335303647: ('0.045476742249313425',), 1335303644: ('0.045476742249313425',), 1335303642: ('0.045476742249313425',), 1335303595: ('0.045476742249313425',), 1335303561: ('0.045476742249313425',), 1335303552: ('0.045476742249313425',), 1335303528: ('0.045476742249313425',), 1335303262: ('0.045476742249313425',)} args : 1335303785 depend.output_id : 0 input_args_next_step : {1335306511: ('0.045476742249313425',), 1335306454: ('0.045476742249313425',), 1335306450: ('0.045476742249313425',), 1335306447: ('0.045476742249313425',), 1335306379: ('0.045476742249313425',), 1335306319: ('0.045476742249313425',), 1335306316: ('0.045476742249313425',), 1335306313: ('0.045476742249313425',), 1335306035: ('0.045476742249313425',), 1335305944: ('0.045476742249313425',), 1335305861: ('0.045476742249313425',), 1335305776: ('0.045476742249313425',), 1335305740: ('0.045476742249313425',), 1335305738: ('0.045476742249313425',), 1335305727: ('0.045476742249313425',), 1335305725: ('0.045476742249313425',), 1335303799: ('0.045476742249313425',), 1335303794: ('0.045476742249313425',), 1335303791: ('0.045476742249313425',), 1335303785: ('0.045476742249313425',), 1335303758: ()} output_args : {1335306511: ('0.045476742249313425',), 1335306454: ('0.045476742249313425',), 1335306450: ('0.045476742249313425',), 1335306447: ('0.045476742249313425',), 1335306379: ('0.045476742249313425',), 1335306319: ('0.045476742249313425',), 1335306316: ('0.045476742249313425',), 1335306313: ('0.045476742249313425',), 1335306035: ('0.045476742249313425',), 1335305944: ('0.045476742249313425',), 1335305861: ('0.045476742249313425',), 1335305776: ('0.045476742249313425',), 1335305740: ('0.045476742249313425',), 1335305738: ('0.045476742249313425',), 1335305727: ('0.045476742249313425',), 1335305725: ('0.045476742249313425',), 1335303799: ('0.045476742249313425',), 1335303794: ('0.045476742249313425',), 1335303791: ('0.045476742249313425',), 1335303785: ('0.045476742249313425',), 1335303758: ('0.045476742249313425',), 1335303754: ('0.045476742249313425',), 1335303751: ('0.045476742249313425',), 1335303748: ('0.045476742249313425',), 1335303703: ('0.045476742249313425',), 1335303699: ('0.045476742249313425',), 1335303696: ('0.045476742249313425',), 1335303647: ('0.045476742249313425',), 1335303644: ('0.045476742249313425',), 1335303642: ('0.045476742249313425',), 1335303595: ('0.045476742249313425',), 1335303561: ('0.045476742249313425',), 1335303552: ('0.045476742249313425',), 1335303528: ('0.045476742249313425',), 1335303262: ('0.045476742249313425',)} args : 1335303758 depend.output_id : 0 input_args_next_step : {1335306511: ('0.045476742249313425',), 1335306454: ('0.045476742249313425',), 1335306450: ('0.045476742249313425',), 1335306447: ('0.045476742249313425',), 1335306379: ('0.045476742249313425',), 1335306319: ('0.045476742249313425',), 1335306316: ('0.045476742249313425',), 1335306313: ('0.045476742249313425',), 1335306035: ('0.045476742249313425',), 1335305944: ('0.045476742249313425',), 1335305861: ('0.045476742249313425',), 1335305776: ('0.045476742249313425',), 1335305740: ('0.045476742249313425',), 1335305738: ('0.045476742249313425',), 1335305727: ('0.045476742249313425',), 1335305725: ('0.045476742249313425',), 1335303799: ('0.045476742249313425',), 1335303794: ('0.045476742249313425',), 1335303791: ('0.045476742249313425',), 1335303785: ('0.045476742249313425',), 1335303758: ('0.045476742249313425',), 1335303754: ()} output_args : {1335306511: ('0.045476742249313425',), 1335306454: ('0.045476742249313425',), 1335306450: ('0.045476742249313425',), 1335306447: ('0.045476742249313425',), 1335306379: ('0.045476742249313425',), 1335306319: ('0.045476742249313425',), 1335306316: ('0.045476742249313425',), 1335306313: ('0.045476742249313425',), 1335306035: ('0.045476742249313425',), 1335305944: ('0.045476742249313425',), 1335305861: ('0.045476742249313425',), 1335305776: ('0.045476742249313425',), 1335305740: ('0.045476742249313425',), 1335305738: ('0.045476742249313425',), 1335305727: ('0.045476742249313425',), 1335305725: ('0.045476742249313425',), 1335303799: ('0.045476742249313425',), 1335303794: ('0.045476742249313425',), 1335303791: ('0.045476742249313425',), 1335303785: ('0.045476742249313425',), 1335303758: ('0.045476742249313425',), 1335303754: ('0.045476742249313425',), 1335303751: ('0.045476742249313425',), 1335303748: ('0.045476742249313425',), 1335303703: ('0.045476742249313425',), 1335303699: ('0.045476742249313425',), 1335303696: ('0.045476742249313425',), 1335303647: ('0.045476742249313425',), 1335303644: ('0.045476742249313425',), 1335303642: ('0.045476742249313425',), 1335303595: ('0.045476742249313425',), 1335303561: ('0.045476742249313425',), 1335303552: ('0.045476742249313425',), 1335303528: ('0.045476742249313425',), 1335303262: ('0.045476742249313425',)} args : 1335303754 depend.output_id : 0 input_args_next_step : {1335306511: ('0.045476742249313425',), 1335306454: ('0.045476742249313425',), 1335306450: ('0.045476742249313425',), 1335306447: ('0.045476742249313425',), 1335306379: ('0.045476742249313425',), 1335306319: ('0.045476742249313425',), 1335306316: ('0.045476742249313425',), 1335306313: ('0.045476742249313425',), 1335306035: ('0.045476742249313425',), 1335305944: ('0.045476742249313425',), 1335305861: ('0.045476742249313425',), 1335305776: ('0.045476742249313425',), 1335305740: ('0.045476742249313425',), 1335305738: ('0.045476742249313425',), 1335305727: ('0.045476742249313425',), 1335305725: ('0.045476742249313425',), 1335303799: ('0.045476742249313425',), 1335303794: ('0.045476742249313425',), 1335303791: ('0.045476742249313425',), 1335303785: ('0.045476742249313425',), 1335303758: ('0.045476742249313425',), 1335303754: ('0.045476742249313425',), 1335303751: ()} output_args : {1335306511: ('0.045476742249313425',), 1335306454: ('0.045476742249313425',), 1335306450: ('0.045476742249313425',), 1335306447: ('0.045476742249313425',), 1335306379: ('0.045476742249313425',), 1335306319: ('0.045476742249313425',), 1335306316: ('0.045476742249313425',), 1335306313: ('0.045476742249313425',), 1335306035: ('0.045476742249313425',), 1335305944: ('0.045476742249313425',), 1335305861: ('0.045476742249313425',), 1335305776: ('0.045476742249313425',), 1335305740: ('0.045476742249313425',), 1335305738: ('0.045476742249313425',), 1335305727: ('0.045476742249313425',), 1335305725: ('0.045476742249313425',), 1335303799: ('0.045476742249313425',), 1335303794: ('0.045476742249313425',), 1335303791: ('0.045476742249313425',), 1335303785: ('0.045476742249313425',), 1335303758: ('0.045476742249313425',), 1335303754: ('0.045476742249313425',), 1335303751: ('0.045476742249313425',), 1335303748: ('0.045476742249313425',), 1335303703: ('0.045476742249313425',), 1335303699: ('0.045476742249313425',), 1335303696: ('0.045476742249313425',), 1335303647: ('0.045476742249313425',), 1335303644: ('0.045476742249313425',), 1335303642: ('0.045476742249313425',), 1335303595: ('0.045476742249313425',), 1335303561: ('0.045476742249313425',), 1335303552: ('0.045476742249313425',), 1335303528: ('0.045476742249313425',), 1335303262: ('0.045476742249313425',)} args : 1335303751 depend.output_id : 0 input_args_next_step : {1335306511: ('0.045476742249313425',), 1335306454: ('0.045476742249313425',), 1335306450: ('0.045476742249313425',), 1335306447: ('0.045476742249313425',), 1335306379: ('0.045476742249313425',), 1335306319: ('0.045476742249313425',), 1335306316: ('0.045476742249313425',), 1335306313: ('0.045476742249313425',), 1335306035: ('0.045476742249313425',), 1335305944: ('0.045476742249313425',), 1335305861: ('0.045476742249313425',), 1335305776: ('0.045476742249313425',), 1335305740: ('0.045476742249313425',), 1335305738: ('0.045476742249313425',), 1335305727: ('0.045476742249313425',), 1335305725: ('0.045476742249313425',), 1335303799: ('0.045476742249313425',), 1335303794: ('0.045476742249313425',), 1335303791: ('0.045476742249313425',), 1335303785: ('0.045476742249313425',), 1335303758: ('0.045476742249313425',), 1335303754: ('0.045476742249313425',), 1335303751: ('0.045476742249313425',), 1335303748: ()} output_args : {1335306511: ('0.045476742249313425',), 1335306454: ('0.045476742249313425',), 1335306450: ('0.045476742249313425',), 1335306447: ('0.045476742249313425',), 1335306379: ('0.045476742249313425',), 1335306319: ('0.045476742249313425',), 1335306316: ('0.045476742249313425',), 1335306313: ('0.045476742249313425',), 1335306035: ('0.045476742249313425',), 1335305944: ('0.045476742249313425',), 1335305861: ('0.045476742249313425',), 1335305776: ('0.045476742249313425',), 1335305740: ('0.045476742249313425',), 1335305738: ('0.045476742249313425',), 1335305727: ('0.045476742249313425',), 1335305725: ('0.045476742249313425',), 1335303799: ('0.045476742249313425',), 1335303794: ('0.045476742249313425',), 1335303791: ('0.045476742249313425',), 1335303785: ('0.045476742249313425',), 1335303758: ('0.045476742249313425',), 1335303754: ('0.045476742249313425',), 1335303751: ('0.045476742249313425',), 1335303748: ('0.045476742249313425',), 1335303703: ('0.045476742249313425',), 1335303699: ('0.045476742249313425',), 1335303696: ('0.045476742249313425',), 1335303647: ('0.045476742249313425',), 1335303644: ('0.045476742249313425',), 1335303642: ('0.045476742249313425',), 1335303595: ('0.045476742249313425',), 1335303561: ('0.045476742249313425',), 1335303552: ('0.045476742249313425',), 1335303528: ('0.045476742249313425',), 1335303262: ('0.045476742249313425',)} args : 1335303748 depend.output_id : 0 input_args_next_step : {1335306511: ('0.045476742249313425',), 1335306454: ('0.045476742249313425',), 1335306450: ('0.045476742249313425',), 1335306447: ('0.045476742249313425',), 1335306379: ('0.045476742249313425',), 1335306319: ('0.045476742249313425',), 1335306316: ('0.045476742249313425',), 1335306313: ('0.045476742249313425',), 1335306035: ('0.045476742249313425',), 1335305944: ('0.045476742249313425',), 1335305861: ('0.045476742249313425',), 1335305776: ('0.045476742249313425',), 1335305740: ('0.045476742249313425',), 1335305738: ('0.045476742249313425',), 1335305727: ('0.045476742249313425',), 1335305725: ('0.045476742249313425',), 1335303799: ('0.045476742249313425',), 1335303794: ('0.045476742249313425',), 1335303791: ('0.045476742249313425',), 1335303785: ('0.045476742249313425',), 1335303758: ('0.045476742249313425',), 1335303754: ('0.045476742249313425',), 1335303751: ('0.045476742249313425',), 1335303748: ('0.045476742249313425',), 1335303703: ()} output_args : {1335306511: ('0.045476742249313425',), 1335306454: ('0.045476742249313425',), 1335306450: ('0.045476742249313425',), 1335306447: ('0.045476742249313425',), 1335306379: ('0.045476742249313425',), 1335306319: ('0.045476742249313425',), 1335306316: ('0.045476742249313425',), 1335306313: ('0.045476742249313425',), 1335306035: ('0.045476742249313425',), 1335305944: ('0.045476742249313425',), 1335305861: ('0.045476742249313425',), 1335305776: ('0.045476742249313425',), 1335305740: ('0.045476742249313425',), 1335305738: ('0.045476742249313425',), 1335305727: ('0.045476742249313425',), 1335305725: ('0.045476742249313425',), 1335303799: ('0.045476742249313425',), 1335303794: ('0.045476742249313425',), 1335303791: ('0.045476742249313425',), 1335303785: ('0.045476742249313425',), 1335303758: ('0.045476742249313425',), 1335303754: ('0.045476742249313425',), 1335303751: ('0.045476742249313425',), 1335303748: ('0.045476742249313425',), 1335303703: ('0.045476742249313425',), 1335303699: ('0.045476742249313425',), 1335303696: ('0.045476742249313425',), 1335303647: ('0.045476742249313425',), 1335303644: ('0.045476742249313425',), 1335303642: ('0.045476742249313425',), 1335303595: ('0.045476742249313425',), 1335303561: ('0.045476742249313425',), 1335303552: ('0.045476742249313425',), 1335303528: ('0.045476742249313425',), 1335303262: ('0.045476742249313425',)} args : 1335303703 depend.output_id : 0 input_args_next_step : {1335306511: ('0.045476742249313425',), 1335306454: ('0.045476742249313425',), 1335306450: ('0.045476742249313425',), 1335306447: ('0.045476742249313425',), 1335306379: ('0.045476742249313425',), 1335306319: ('0.045476742249313425',), 1335306316: ('0.045476742249313425',), 1335306313: ('0.045476742249313425',), 1335306035: ('0.045476742249313425',), 1335305944: ('0.045476742249313425',), 1335305861: ('0.045476742249313425',), 1335305776: ('0.045476742249313425',), 1335305740: ('0.045476742249313425',), 1335305738: ('0.045476742249313425',), 1335305727: ('0.045476742249313425',), 1335305725: ('0.045476742249313425',), 1335303799: ('0.045476742249313425',), 1335303794: ('0.045476742249313425',), 1335303791: ('0.045476742249313425',), 1335303785: ('0.045476742249313425',), 1335303758: ('0.045476742249313425',), 1335303754: ('0.045476742249313425',), 1335303751: ('0.045476742249313425',), 1335303748: ('0.045476742249313425',), 1335303703: ('0.045476742249313425',), 1335303699: ()} output_args : {1335306511: ('0.045476742249313425',), 1335306454: ('0.045476742249313425',), 1335306450: ('0.045476742249313425',), 1335306447: ('0.045476742249313425',), 1335306379: ('0.045476742249313425',), 1335306319: ('0.045476742249313425',), 1335306316: ('0.045476742249313425',), 1335306313: ('0.045476742249313425',), 1335306035: ('0.045476742249313425',), 1335305944: ('0.045476742249313425',), 1335305861: ('0.045476742249313425',), 1335305776: ('0.045476742249313425',), 1335305740: ('0.045476742249313425',), 1335305738: ('0.045476742249313425',), 1335305727: ('0.045476742249313425',), 1335305725: ('0.045476742249313425',), 1335303799: ('0.045476742249313425',), 1335303794: ('0.045476742249313425',), 1335303791: ('0.045476742249313425',), 1335303785: ('0.045476742249313425',), 1335303758: ('0.045476742249313425',), 1335303754: ('0.045476742249313425',), 1335303751: ('0.045476742249313425',), 1335303748: ('0.045476742249313425',), 1335303703: ('0.045476742249313425',), 1335303699: ('0.045476742249313425',), 1335303696: ('0.045476742249313425',), 1335303647: ('0.045476742249313425',), 1335303644: ('0.045476742249313425',), 1335303642: ('0.045476742249313425',), 1335303595: ('0.045476742249313425',), 1335303561: ('0.045476742249313425',), 1335303552: ('0.045476742249313425',), 1335303528: ('0.045476742249313425',), 1335303262: ('0.045476742249313425',)} args : 1335303699 depend.output_id : 0 input_args_next_step : {1335306511: ('0.045476742249313425',), 1335306454: ('0.045476742249313425',), 1335306450: ('0.045476742249313425',), 1335306447: ('0.045476742249313425',), 1335306379: ('0.045476742249313425',), 1335306319: ('0.045476742249313425',), 1335306316: ('0.045476742249313425',), 1335306313: ('0.045476742249313425',), 1335306035: ('0.045476742249313425',), 1335305944: ('0.045476742249313425',), 1335305861: ('0.045476742249313425',), 1335305776: ('0.045476742249313425',), 1335305740: ('0.045476742249313425',), 1335305738: ('0.045476742249313425',), 1335305727: ('0.045476742249313425',), 1335305725: ('0.045476742249313425',), 1335303799: ('0.045476742249313425',), 1335303794: ('0.045476742249313425',), 1335303791: ('0.045476742249313425',), 1335303785: ('0.045476742249313425',), 1335303758: ('0.045476742249313425',), 1335303754: ('0.045476742249313425',), 1335303751: ('0.045476742249313425',), 1335303748: ('0.045476742249313425',), 1335303703: ('0.045476742249313425',), 1335303699: ('0.045476742249313425',), 1335303696: ()} output_args : {1335306511: ('0.045476742249313425',), 1335306454: ('0.045476742249313425',), 1335306450: ('0.045476742249313425',), 1335306447: ('0.045476742249313425',), 1335306379: ('0.045476742249313425',), 1335306319: ('0.045476742249313425',), 1335306316: ('0.045476742249313425',), 1335306313: ('0.045476742249313425',), 1335306035: ('0.045476742249313425',), 1335305944: ('0.045476742249313425',), 1335305861: ('0.045476742249313425',), 1335305776: ('0.045476742249313425',), 1335305740: ('0.045476742249313425',), 1335305738: ('0.045476742249313425',), 1335305727: ('0.045476742249313425',), 1335305725: ('0.045476742249313425',), 1335303799: ('0.045476742249313425',), 1335303794: ('0.045476742249313425',), 1335303791: ('0.045476742249313425',), 1335303785: ('0.045476742249313425',), 1335303758: ('0.045476742249313425',), 1335303754: ('0.045476742249313425',), 1335303751: ('0.045476742249313425',), 1335303748: ('0.045476742249313425',), 1335303703: ('0.045476742249313425',), 1335303699: ('0.045476742249313425',), 1335303696: ('0.045476742249313425',), 1335303647: ('0.045476742249313425',), 1335303644: ('0.045476742249313425',), 1335303642: ('0.045476742249313425',), 1335303595: ('0.045476742249313425',), 1335303561: ('0.045476742249313425',), 1335303552: ('0.045476742249313425',), 1335303528: ('0.045476742249313425',), 1335303262: ('0.045476742249313425',)} args : 1335303696 depend.output_id : 0 input_args_next_step : {1335306511: ('0.045476742249313425',), 1335306454: ('0.045476742249313425',), 1335306450: ('0.045476742249313425',), 1335306447: ('0.045476742249313425',), 1335306379: ('0.045476742249313425',), 1335306319: ('0.045476742249313425',), 1335306316: ('0.045476742249313425',), 1335306313: ('0.045476742249313425',), 1335306035: ('0.045476742249313425',), 1335305944: ('0.045476742249313425',), 1335305861: ('0.045476742249313425',), 1335305776: ('0.045476742249313425',), 1335305740: ('0.045476742249313425',), 1335305738: ('0.045476742249313425',), 1335305727: ('0.045476742249313425',), 1335305725: ('0.045476742249313425',), 1335303799: ('0.045476742249313425',), 1335303794: ('0.045476742249313425',), 1335303791: ('0.045476742249313425',), 1335303785: ('0.045476742249313425',), 1335303758: ('0.045476742249313425',), 1335303754: ('0.045476742249313425',), 1335303751: ('0.045476742249313425',), 1335303748: ('0.045476742249313425',), 1335303703: ('0.045476742249313425',), 1335303699: ('0.045476742249313425',), 1335303696: ('0.045476742249313425',), 1335303647: ()} output_args : {1335306511: ('0.045476742249313425',), 1335306454: ('0.045476742249313425',), 1335306450: ('0.045476742249313425',), 1335306447: ('0.045476742249313425',), 1335306379: ('0.045476742249313425',), 1335306319: ('0.045476742249313425',), 1335306316: ('0.045476742249313425',), 1335306313: ('0.045476742249313425',), 1335306035: ('0.045476742249313425',), 1335305944: ('0.045476742249313425',), 1335305861: ('0.045476742249313425',), 1335305776: ('0.045476742249313425',), 1335305740: ('0.045476742249313425',), 1335305738: ('0.045476742249313425',), 1335305727: ('0.045476742249313425',), 1335305725: ('0.045476742249313425',), 1335303799: ('0.045476742249313425',), 1335303794: ('0.045476742249313425',), 1335303791: ('0.045476742249313425',), 1335303785: ('0.045476742249313425',), 1335303758: ('0.045476742249313425',), 1335303754: ('0.045476742249313425',), 1335303751: ('0.045476742249313425',), 1335303748: ('0.045476742249313425',), 1335303703: ('0.045476742249313425',), 1335303699: ('0.045476742249313425',), 1335303696: ('0.045476742249313425',), 1335303647: ('0.045476742249313425',), 1335303644: ('0.045476742249313425',), 1335303642: ('0.045476742249313425',), 1335303595: ('0.045476742249313425',), 1335303561: ('0.045476742249313425',), 1335303552: ('0.045476742249313425',), 1335303528: ('0.045476742249313425',), 1335303262: ('0.045476742249313425',)} args : 1335303647 depend.output_id : 0 input_args_next_step : {1335306511: ('0.045476742249313425',), 1335306454: ('0.045476742249313425',), 1335306450: ('0.045476742249313425',), 1335306447: ('0.045476742249313425',), 1335306379: ('0.045476742249313425',), 1335306319: ('0.045476742249313425',), 1335306316: ('0.045476742249313425',), 1335306313: ('0.045476742249313425',), 1335306035: ('0.045476742249313425',), 1335305944: ('0.045476742249313425',), 1335305861: ('0.045476742249313425',), 1335305776: ('0.045476742249313425',), 1335305740: ('0.045476742249313425',), 1335305738: ('0.045476742249313425',), 1335305727: ('0.045476742249313425',), 1335305725: ('0.045476742249313425',), 1335303799: ('0.045476742249313425',), 1335303794: ('0.045476742249313425',), 1335303791: ('0.045476742249313425',), 1335303785: ('0.045476742249313425',), 1335303758: ('0.045476742249313425',), 1335303754: ('0.045476742249313425',), 1335303751: ('0.045476742249313425',), 1335303748: ('0.045476742249313425',), 1335303703: ('0.045476742249313425',), 1335303699: ('0.045476742249313425',), 1335303696: ('0.045476742249313425',), 1335303647: ('0.045476742249313425',), 1335303644: ()} output_args : {1335306511: ('0.045476742249313425',), 1335306454: ('0.045476742249313425',), 1335306450: ('0.045476742249313425',), 1335306447: ('0.045476742249313425',), 1335306379: ('0.045476742249313425',), 1335306319: ('0.045476742249313425',), 1335306316: ('0.045476742249313425',), 1335306313: ('0.045476742249313425',), 1335306035: ('0.045476742249313425',), 1335305944: ('0.045476742249313425',), 1335305861: ('0.045476742249313425',), 1335305776: ('0.045476742249313425',), 1335305740: ('0.045476742249313425',), 1335305738: ('0.045476742249313425',), 1335305727: ('0.045476742249313425',), 1335305725: ('0.045476742249313425',), 1335303799: ('0.045476742249313425',), 1335303794: ('0.045476742249313425',), 1335303791: ('0.045476742249313425',), 1335303785: ('0.045476742249313425',), 1335303758: ('0.045476742249313425',), 1335303754: ('0.045476742249313425',), 1335303751: ('0.045476742249313425',), 1335303748: ('0.045476742249313425',), 1335303703: ('0.045476742249313425',), 1335303699: ('0.045476742249313425',), 1335303696: ('0.045476742249313425',), 1335303647: ('0.045476742249313425',), 1335303644: ('0.045476742249313425',), 1335303642: ('0.045476742249313425',), 1335303595: ('0.045476742249313425',), 1335303561: ('0.045476742249313425',), 1335303552: ('0.045476742249313425',), 1335303528: ('0.045476742249313425',), 1335303262: ('0.045476742249313425',)} args : 1335303644 depend.output_id : 0 input_args_next_step : {1335306511: ('0.045476742249313425',), 1335306454: ('0.045476742249313425',), 1335306450: ('0.045476742249313425',), 1335306447: ('0.045476742249313425',), 1335306379: ('0.045476742249313425',), 1335306319: ('0.045476742249313425',), 1335306316: ('0.045476742249313425',), 1335306313: ('0.045476742249313425',), 1335306035: ('0.045476742249313425',), 1335305944: ('0.045476742249313425',), 1335305861: ('0.045476742249313425',), 1335305776: ('0.045476742249313425',), 1335305740: ('0.045476742249313425',), 1335305738: ('0.045476742249313425',), 1335305727: ('0.045476742249313425',), 1335305725: ('0.045476742249313425',), 1335303799: ('0.045476742249313425',), 1335303794: ('0.045476742249313425',), 1335303791: ('0.045476742249313425',), 1335303785: ('0.045476742249313425',), 1335303758: ('0.045476742249313425',), 1335303754: ('0.045476742249313425',), 1335303751: ('0.045476742249313425',), 1335303748: ('0.045476742249313425',), 1335303703: ('0.045476742249313425',), 1335303699: ('0.045476742249313425',), 1335303696: ('0.045476742249313425',), 1335303647: ('0.045476742249313425',), 1335303644: ('0.045476742249313425',), 1335303642: ()} output_args : {1335306511: ('0.045476742249313425',), 1335306454: ('0.045476742249313425',), 1335306450: ('0.045476742249313425',), 1335306447: ('0.045476742249313425',), 1335306379: ('0.045476742249313425',), 1335306319: ('0.045476742249313425',), 1335306316: ('0.045476742249313425',), 1335306313: ('0.045476742249313425',), 1335306035: ('0.045476742249313425',), 1335305944: ('0.045476742249313425',), 1335305861: ('0.045476742249313425',), 1335305776: ('0.045476742249313425',), 1335305740: ('0.045476742249313425',), 1335305738: ('0.045476742249313425',), 1335305727: ('0.045476742249313425',), 1335305725: ('0.045476742249313425',), 1335303799: ('0.045476742249313425',), 1335303794: ('0.045476742249313425',), 1335303791: ('0.045476742249313425',), 1335303785: ('0.045476742249313425',), 1335303758: ('0.045476742249313425',), 1335303754: ('0.045476742249313425',), 1335303751: ('0.045476742249313425',), 1335303748: ('0.045476742249313425',), 1335303703: ('0.045476742249313425',), 1335303699: ('0.045476742249313425',), 1335303696: ('0.045476742249313425',), 1335303647: ('0.045476742249313425',), 1335303644: ('0.045476742249313425',), 1335303642: ('0.045476742249313425',), 1335303595: ('0.045476742249313425',), 1335303561: ('0.045476742249313425',), 1335303552: ('0.045476742249313425',), 1335303528: ('0.045476742249313425',), 1335303262: ('0.045476742249313425',)} args : 1335303642 depend.output_id : 0 input_args_next_step : {1335306511: ('0.045476742249313425',), 1335306454: ('0.045476742249313425',), 1335306450: ('0.045476742249313425',), 1335306447: ('0.045476742249313425',), 1335306379: ('0.045476742249313425',), 1335306319: ('0.045476742249313425',), 1335306316: ('0.045476742249313425',), 1335306313: ('0.045476742249313425',), 1335306035: ('0.045476742249313425',), 1335305944: ('0.045476742249313425',), 1335305861: ('0.045476742249313425',), 1335305776: ('0.045476742249313425',), 1335305740: ('0.045476742249313425',), 1335305738: ('0.045476742249313425',), 1335305727: ('0.045476742249313425',), 1335305725: ('0.045476742249313425',), 1335303799: ('0.045476742249313425',), 1335303794: ('0.045476742249313425',), 1335303791: ('0.045476742249313425',), 1335303785: ('0.045476742249313425',), 1335303758: ('0.045476742249313425',), 1335303754: ('0.045476742249313425',), 1335303751: ('0.045476742249313425',), 1335303748: ('0.045476742249313425',), 1335303703: ('0.045476742249313425',), 1335303699: ('0.045476742249313425',), 1335303696: ('0.045476742249313425',), 1335303647: ('0.045476742249313425',), 1335303644: ('0.045476742249313425',), 1335303642: ('0.045476742249313425',), 1335303595: ()} output_args : {1335306511: ('0.045476742249313425',), 1335306454: ('0.045476742249313425',), 1335306450: ('0.045476742249313425',), 1335306447: ('0.045476742249313425',), 1335306379: ('0.045476742249313425',), 1335306319: ('0.045476742249313425',), 1335306316: ('0.045476742249313425',), 1335306313: ('0.045476742249313425',), 1335306035: ('0.045476742249313425',), 1335305944: ('0.045476742249313425',), 1335305861: ('0.045476742249313425',), 1335305776: ('0.045476742249313425',), 1335305740: ('0.045476742249313425',), 1335305738: ('0.045476742249313425',), 1335305727: ('0.045476742249313425',), 1335305725: ('0.045476742249313425',), 1335303799: ('0.045476742249313425',), 1335303794: ('0.045476742249313425',), 1335303791: ('0.045476742249313425',), 1335303785: ('0.045476742249313425',), 1335303758: ('0.045476742249313425',), 1335303754: ('0.045476742249313425',), 1335303751: ('0.045476742249313425',), 1335303748: ('0.045476742249313425',), 1335303703: ('0.045476742249313425',), 1335303699: ('0.045476742249313425',), 1335303696: ('0.045476742249313425',), 1335303647: ('0.045476742249313425',), 1335303644: ('0.045476742249313425',), 1335303642: ('0.045476742249313425',), 1335303595: ('0.045476742249313425',), 1335303561: ('0.045476742249313425',), 1335303552: ('0.045476742249313425',), 1335303528: ('0.045476742249313425',), 1335303262: ('0.045476742249313425',)} args : 1335303595 depend.output_id : 0 input_args_next_step : {1335306511: ('0.045476742249313425',), 1335306454: ('0.045476742249313425',), 1335306450: ('0.045476742249313425',), 1335306447: ('0.045476742249313425',), 1335306379: ('0.045476742249313425',), 1335306319: ('0.045476742249313425',), 1335306316: ('0.045476742249313425',), 1335306313: ('0.045476742249313425',), 1335306035: ('0.045476742249313425',), 1335305944: ('0.045476742249313425',), 1335305861: ('0.045476742249313425',), 1335305776: ('0.045476742249313425',), 1335305740: ('0.045476742249313425',), 1335305738: ('0.045476742249313425',), 1335305727: ('0.045476742249313425',), 1335305725: ('0.045476742249313425',), 1335303799: ('0.045476742249313425',), 1335303794: ('0.045476742249313425',), 1335303791: ('0.045476742249313425',), 1335303785: ('0.045476742249313425',), 1335303758: ('0.045476742249313425',), 1335303754: ('0.045476742249313425',), 1335303751: ('0.045476742249313425',), 1335303748: ('0.045476742249313425',), 1335303703: ('0.045476742249313425',), 1335303699: ('0.045476742249313425',), 1335303696: ('0.045476742249313425',), 1335303647: ('0.045476742249313425',), 1335303644: ('0.045476742249313425',), 1335303642: ('0.045476742249313425',), 1335303595: ('0.045476742249313425',), 1335303561: ()} output_args : {1335306511: ('0.045476742249313425',), 1335306454: ('0.045476742249313425',), 1335306450: ('0.045476742249313425',), 1335306447: ('0.045476742249313425',), 1335306379: ('0.045476742249313425',), 1335306319: ('0.045476742249313425',), 1335306316: ('0.045476742249313425',), 1335306313: ('0.045476742249313425',), 1335306035: ('0.045476742249313425',), 1335305944: ('0.045476742249313425',), 1335305861: ('0.045476742249313425',), 1335305776: ('0.045476742249313425',), 1335305740: ('0.045476742249313425',), 1335305738: ('0.045476742249313425',), 1335305727: ('0.045476742249313425',), 1335305725: ('0.045476742249313425',), 1335303799: ('0.045476742249313425',), 1335303794: ('0.045476742249313425',), 1335303791: ('0.045476742249313425',), 1335303785: ('0.045476742249313425',), 1335303758: ('0.045476742249313425',), 1335303754: ('0.045476742249313425',), 1335303751: ('0.045476742249313425',), 1335303748: ('0.045476742249313425',), 1335303703: ('0.045476742249313425',), 1335303699: ('0.045476742249313425',), 1335303696: ('0.045476742249313425',), 1335303647: ('0.045476742249313425',), 1335303644: ('0.045476742249313425',), 1335303642: ('0.045476742249313425',), 1335303595: ('0.045476742249313425',), 1335303561: ('0.045476742249313425',), 1335303552: ('0.045476742249313425',), 1335303528: ('0.045476742249313425',), 1335303262: ('0.045476742249313425',)} args : 1335303561 depend.output_id : 0 input_args_next_step : {1335306511: ('0.045476742249313425',), 1335306454: ('0.045476742249313425',), 1335306450: ('0.045476742249313425',), 1335306447: ('0.045476742249313425',), 1335306379: ('0.045476742249313425',), 1335306319: ('0.045476742249313425',), 1335306316: ('0.045476742249313425',), 1335306313: ('0.045476742249313425',), 1335306035: ('0.045476742249313425',), 1335305944: ('0.045476742249313425',), 1335305861: ('0.045476742249313425',), 1335305776: ('0.045476742249313425',), 1335305740: ('0.045476742249313425',), 1335305738: ('0.045476742249313425',), 1335305727: ('0.045476742249313425',), 1335305725: ('0.045476742249313425',), 1335303799: ('0.045476742249313425',), 1335303794: ('0.045476742249313425',), 1335303791: ('0.045476742249313425',), 1335303785: ('0.045476742249313425',), 1335303758: ('0.045476742249313425',), 1335303754: ('0.045476742249313425',), 1335303751: ('0.045476742249313425',), 1335303748: ('0.045476742249313425',), 1335303703: ('0.045476742249313425',), 1335303699: ('0.045476742249313425',), 1335303696: ('0.045476742249313425',), 1335303647: ('0.045476742249313425',), 1335303644: ('0.045476742249313425',), 1335303642: ('0.045476742249313425',), 1335303595: ('0.045476742249313425',), 1335303561: ('0.045476742249313425',), 1335303552: ()} output_args : {1335306511: ('0.045476742249313425',), 1335306454: ('0.045476742249313425',), 1335306450: ('0.045476742249313425',), 1335306447: ('0.045476742249313425',), 1335306379: ('0.045476742249313425',), 1335306319: ('0.045476742249313425',), 1335306316: ('0.045476742249313425',), 1335306313: ('0.045476742249313425',), 1335306035: ('0.045476742249313425',), 1335305944: ('0.045476742249313425',), 1335305861: ('0.045476742249313425',), 1335305776: ('0.045476742249313425',), 1335305740: ('0.045476742249313425',), 1335305738: ('0.045476742249313425',), 1335305727: ('0.045476742249313425',), 1335305725: ('0.045476742249313425',), 1335303799: ('0.045476742249313425',), 1335303794: ('0.045476742249313425',), 1335303791: ('0.045476742249313425',), 1335303785: ('0.045476742249313425',), 1335303758: ('0.045476742249313425',), 1335303754: ('0.045476742249313425',), 1335303751: ('0.045476742249313425',), 1335303748: ('0.045476742249313425',), 1335303703: ('0.045476742249313425',), 1335303699: ('0.045476742249313425',), 1335303696: ('0.045476742249313425',), 1335303647: ('0.045476742249313425',), 1335303644: ('0.045476742249313425',), 1335303642: ('0.045476742249313425',), 1335303595: ('0.045476742249313425',), 1335303561: ('0.045476742249313425',), 1335303552: ('0.045476742249313425',), 1335303528: ('0.045476742249313425',), 1335303262: ('0.045476742249313425',)} args : 1335303552 depend.output_id : 0 input_args_next_step : {1335306511: ('0.045476742249313425',), 1335306454: ('0.045476742249313425',), 1335306450: ('0.045476742249313425',), 1335306447: ('0.045476742249313425',), 1335306379: ('0.045476742249313425',), 1335306319: ('0.045476742249313425',), 1335306316: ('0.045476742249313425',), 1335306313: ('0.045476742249313425',), 1335306035: ('0.045476742249313425',), 1335305944: ('0.045476742249313425',), 1335305861: ('0.045476742249313425',), 1335305776: ('0.045476742249313425',), 1335305740: ('0.045476742249313425',), 1335305738: ('0.045476742249313425',), 1335305727: ('0.045476742249313425',), 1335305725: ('0.045476742249313425',), 1335303799: ('0.045476742249313425',), 1335303794: ('0.045476742249313425',), 1335303791: ('0.045476742249313425',), 1335303785: ('0.045476742249313425',), 1335303758: ('0.045476742249313425',), 1335303754: ('0.045476742249313425',), 1335303751: ('0.045476742249313425',), 1335303748: ('0.045476742249313425',), 1335303703: ('0.045476742249313425',), 1335303699: ('0.045476742249313425',), 1335303696: ('0.045476742249313425',), 1335303647: ('0.045476742249313425',), 1335303644: ('0.045476742249313425',), 1335303642: ('0.045476742249313425',), 1335303595: ('0.045476742249313425',), 1335303561: ('0.045476742249313425',), 1335303552: ('0.045476742249313425',), 1335303528: ()} output_args : {1335306511: ('0.045476742249313425',), 1335306454: ('0.045476742249313425',), 1335306450: ('0.045476742249313425',), 1335306447: ('0.045476742249313425',), 1335306379: ('0.045476742249313425',), 1335306319: ('0.045476742249313425',), 1335306316: ('0.045476742249313425',), 1335306313: ('0.045476742249313425',), 1335306035: ('0.045476742249313425',), 1335305944: ('0.045476742249313425',), 1335305861: ('0.045476742249313425',), 1335305776: ('0.045476742249313425',), 1335305740: ('0.045476742249313425',), 1335305738: ('0.045476742249313425',), 1335305727: ('0.045476742249313425',), 1335305725: ('0.045476742249313425',), 1335303799: ('0.045476742249313425',), 1335303794: ('0.045476742249313425',), 1335303791: ('0.045476742249313425',), 1335303785: ('0.045476742249313425',), 1335303758: ('0.045476742249313425',), 1335303754: ('0.045476742249313425',), 1335303751: ('0.045476742249313425',), 1335303748: ('0.045476742249313425',), 1335303703: ('0.045476742249313425',), 1335303699: ('0.045476742249313425',), 1335303696: ('0.045476742249313425',), 1335303647: ('0.045476742249313425',), 1335303644: ('0.045476742249313425',), 1335303642: ('0.045476742249313425',), 1335303595: ('0.045476742249313425',), 1335303561: ('0.045476742249313425',), 1335303552: ('0.045476742249313425',), 1335303528: ('0.045476742249313425',), 1335303262: ('0.045476742249313425',)} args : 1335303528 depend.output_id : 0 input_args_next_step : {1335306511: ('0.045476742249313425',), 1335306454: ('0.045476742249313425',), 1335306450: ('0.045476742249313425',), 1335306447: ('0.045476742249313425',), 1335306379: ('0.045476742249313425',), 1335306319: ('0.045476742249313425',), 1335306316: ('0.045476742249313425',), 1335306313: ('0.045476742249313425',), 1335306035: ('0.045476742249313425',), 1335305944: ('0.045476742249313425',), 1335305861: ('0.045476742249313425',), 1335305776: ('0.045476742249313425',), 1335305740: ('0.045476742249313425',), 1335305738: ('0.045476742249313425',), 1335305727: ('0.045476742249313425',), 1335305725: ('0.045476742249313425',), 1335303799: ('0.045476742249313425',), 1335303794: ('0.045476742249313425',), 1335303791: ('0.045476742249313425',), 1335303785: ('0.045476742249313425',), 1335303758: ('0.045476742249313425',), 1335303754: ('0.045476742249313425',), 1335303751: ('0.045476742249313425',), 1335303748: ('0.045476742249313425',), 1335303703: ('0.045476742249313425',), 1335303699: ('0.045476742249313425',), 1335303696: ('0.045476742249313425',), 1335303647: ('0.045476742249313425',), 1335303644: ('0.045476742249313425',), 1335303642: ('0.045476742249313425',), 1335303595: ('0.045476742249313425',), 1335303561: ('0.045476742249313425',), 1335303552: ('0.045476742249313425',), 1335303528: ('0.045476742249313425',), 1335303262: ()} output_args : {1335306511: ('0.045476742249313425',), 1335306454: ('0.045476742249313425',), 1335306450: ('0.045476742249313425',), 1335306447: ('0.045476742249313425',), 1335306379: ('0.045476742249313425',), 1335306319: ('0.045476742249313425',), 1335306316: ('0.045476742249313425',), 1335306313: ('0.045476742249313425',), 1335306035: ('0.045476742249313425',), 1335305944: ('0.045476742249313425',), 1335305861: ('0.045476742249313425',), 1335305776: ('0.045476742249313425',), 1335305740: ('0.045476742249313425',), 1335305738: ('0.045476742249313425',), 1335305727: ('0.045476742249313425',), 1335305725: ('0.045476742249313425',), 1335303799: ('0.045476742249313425',), 1335303794: ('0.045476742249313425',), 1335303791: ('0.045476742249313425',), 1335303785: ('0.045476742249313425',), 1335303758: ('0.045476742249313425',), 1335303754: ('0.045476742249313425',), 1335303751: ('0.045476742249313425',), 1335303748: ('0.045476742249313425',), 1335303703: ('0.045476742249313425',), 1335303699: ('0.045476742249313425',), 1335303696: ('0.045476742249313425',), 1335303647: ('0.045476742249313425',), 1335303644: ('0.045476742249313425',), 1335303642: ('0.045476742249313425',), 1335303595: ('0.045476742249313425',), 1335303561: ('0.045476742249313425',), 1335303552: ('0.045476742249313425',), 1335303528: ('0.045476742249313425',), 1335303262: ('0.045476742249313425',)} args : 1335303262 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 : {20312031: [{'plastique': 20312062, 'autre_refus': 20312063, 'environnement': 20312064, 'Carton_brun': 20312065, 'papier': 20312066, 'metal': 20312067, 'flou': 20312068, 'cartonnette': 20312069, 'Teint_Dans_La_Masse': 20312070, 'kraft': 20312071, 'mal_croppe': 20312072, 'Carton_gris': 20312073}]} input_args_next_step : {1335306511: ('0.045476742249313425',), 1335306454: ('0.045476742249313425',), 1335306450: ('0.045476742249313425',), 1335306447: ('0.045476742249313425',), 1335306379: ('0.045476742249313425',), 1335306319: ('0.045476742249313425',), 1335306316: ('0.045476742249313425',), 1335306313: ('0.045476742249313425',), 1335306035: ('0.045476742249313425',), 1335305944: ('0.045476742249313425',), 1335305861: ('0.045476742249313425',), 1335305776: ('0.045476742249313425',), 1335305740: ('0.045476742249313425',), 1335305738: ('0.045476742249313425',), 1335305727: ('0.045476742249313425',), 1335305725: ('0.045476742249313425',), 1335303799: ('0.045476742249313425',), 1335303794: ('0.045476742249313425',), 1335303791: ('0.045476742249313425',), 1335303785: ('0.045476742249313425',), 1335303758: ('0.045476742249313425',), 1335303754: ('0.045476742249313425',), 1335303751: ('0.045476742249313425',), 1335303748: ('0.045476742249313425',), 1335303703: ('0.045476742249313425',), 1335303699: ('0.045476742249313425',), 1335303696: ('0.045476742249313425',), 1335303647: ('0.045476742249313425',), 1335303644: ('0.045476742249313425',), 1335303642: ('0.045476742249313425',), 1335303595: ('0.045476742249313425',), 1335303561: ('0.045476742249313425',), 1335303552: ('0.045476742249313425',), 1335303528: ('0.045476742249313425',), 1335303262: ('0.045476742249313425',), 20312031: ()} output_args : {20312031: [{'plastique': 20312062, 'autre_refus': 20312063, 'environnement': 20312064, 'Carton_brun': 20312065, 'papier': 20312066, 'metal': 20312067, 'flou': 20312068, 'cartonnette': 20312069, 'Teint_Dans_La_Masse': 20312070, 'kraft': 20312071, 'mal_croppe': 20312072, 'Carton_gris': 20312073}]} args : 20312031 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 :36, first value : ('0.045476742249313425',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20312031) 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 (1335306511,1335306454,1335306450,1335306447,1335306379,1335306319,1335306316,1335306313,1335306035,1335305944,1335305861,1335305776,1335305740,1335305738,1335305727,1335305725,1335303799,1335303794,1335303791,1335303785,1335303758,1335303754,1335303751,1335303748,1335303703,1335303699,1335303696,1335303647,1335303644,1335303642,1335303595,1335303561,1335303552,1335303528,1335303262) Found this number of photos: 35 ##### Call download_photos : nb_thread : 5 begin to download photo : 1335303262 begin to download photo : 1335303696 begin to download photo : 1335303791 begin to download photo : 1335305861 begin to download photo : 1335306450 download finish for photo 1335303696 begin to download photo : 1335303699 download finish for photo 1335306450 begin to download photo : 1335306454 download finish for photo 1335303262 begin to download photo : 1335303528 download finish for photo 1335303791 begin to download photo : 1335303794 download finish for photo 1335305861 begin to download photo : 1335305944 download finish for photo 1335306454 begin to download photo : 1335306511 download finish for photo 1335303699 begin to download photo : 1335303703 download finish for photo 1335303528 begin to download photo : 1335303552 download finish for photo 1335305944 begin to download photo : 1335306035 download finish for photo 1335303794 begin to download photo : 1335303799 download finish for photo 1335306511 download finish for photo 1335303703 begin to download photo : 1335303748 download finish for photo 1335303552 begin to download photo : 1335303561 download finish for photo 1335306035 begin to download photo : 1335306313 download finish for photo 1335303799 begin to download photo : 1335305725 download finish for photo 1335303748 begin to download photo : 1335303751 download finish for photo 1335306313 begin to download photo : 1335306316 download finish for photo 1335303561 begin to download photo : 1335303595 download finish for photo 1335305725 begin to download photo : 1335305727 download finish for photo 1335303595 begin to download photo : 1335303642 download finish for photo 1335303751 begin to download photo : 1335303754 download finish for photo 1335306316 begin to download photo : 1335306319 download finish for photo 1335305727 begin to download photo : 1335305738 download finish for photo 1335303642 begin to download photo : 1335303644 download finish for photo 1335303754 begin to download photo : 1335303758 download finish for photo 1335305738 begin to download photo : 1335305740 download finish for photo 1335306319 begin to download photo : 1335306379 download finish for photo 1335303644 begin to download photo : 1335303647 download finish for photo 1335303758 begin to download photo : 1335303785 download finish for photo 1335305740 begin to download photo : 1335305776 download finish for photo 1335306379 begin to download photo : 1335306447 download finish for photo 1335303647 download finish for photo 1335303785 download finish for photo 1335305776 download finish for photo 1335306447 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 : 35 ; length of list_pids : 35 ; length of list_args : 35 results_Auto_P20312031_07-02-2025_06_22_34.pdf 20312062 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=20312062 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1335303737: '1738877612_526901_1335303262_2e22d882cbfa743237a2dbcb0c254086_rle_crop_3658308422_0.png'} change filename to text .imagette203120621738905754/ imagette203120621738905754/1738877612_526901_1335303262_2e22d882cbfa743237a2dbcb0c254086_rle_crop_3658308422_0.png.png wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/d14ad7356988c3f58dcc927f8a038582_53032115.png imagette203120621738905754 20312063 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=20312063 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1335303734: '1738877594_526622_1335303528_b5a1a20ee9341561295797804193bc62_rle_crop_3658308400_0.png', 1335303735: '1738877594_526622_1335303528_b5a1a20ee9341561295797804193bc62_rle_crop_3658308406_0.png', 1335305734: '1738878054_540724_1335303799_3de869089dacd8f0956ccb7233d7fa3b_rle_crop_3658315049_0.png', 1335305735: '1738878054_540724_1335303799_3de869089dacd8f0956ccb7233d7fa3b_rle_crop_3658315055_0.png', 1335305736: '1738878054_540724_1335303751_a8537e3632613389032ba649ceccca5f_rle_crop_3658315214_0.png', 1335305745: '1738878075_540975_1335303785_04cd7f17d1598e605e01e2963c65ed5f_rle_crop_3658312172_0.png', 1335306563: '1738878333_544505_1335305944_50dc32c9fe13344b3b553acf15b8921f_rle_crop_3658319839_0.png', 1335310590: '1738880131_584716_1335303758_5abc63d8a83c22c6c19babe61cd1a14d_rle_crop_3658346984_0.png', 1335311057: '1738880213_586368_1335303528_b5a1a20ee9341561295797804193bc62_rle_crop_3658308400_0.png', 1335311058: '1738880213_586368_1335303528_b5a1a20ee9341561295797804193bc62_rle_crop_3658308406_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/d4b2661b564a328649509718c70b7615_42707879.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/551b2d41a14e41ed5127cea0f3ad96e6_76208992.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/d5431b6cbf2d26239428e8eb8dd1c0f8_52658246.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/91b96ebd1fdf946560fe7850b9bd70d0_28958174.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/9d7e6dfcc1c859355b7dd3c1d3d7d874_52672327.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/525d1a0949a6cf0461d242235acdbf42_22640335.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/2ad06c4384af31aa3e672e0b5503aa03_28615615.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/818e626aa61790da37df097b6d6ff254_24914108.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/d4b2661b564a328649509718c70b7615_61582525.png change filename to text .imagette203120631738905754/ imagette203120631738905754/1738878054_540724_1335303751_a8537e3632613389032ba649ceccca5f_rle_crop_3658315214_0.png.png imagette203120631738905754/1738877594_526622_1335303528_b5a1a20ee9341561295797804193bc62_rle_crop_3658308400_0.png.png imagette203120631738905754/1738877594_526622_1335303528_b5a1a20ee9341561295797804193bc62_rle_crop_3658308406_0.png.png imagette203120631738905754/1738880213_586368_1335303528_b5a1a20ee9341561295797804193bc62_rle_crop_3658308406_0.png.png imagette203120631738905754/1738878054_540724_1335303799_3de869089dacd8f0956ccb7233d7fa3b_rle_crop_3658315049_0.png.png imagette203120631738905754/1738878054_540724_1335303799_3de869089dacd8f0956ccb7233d7fa3b_rle_crop_3658315055_0.png.png imagette203120631738905754/1738880131_584716_1335303758_5abc63d8a83c22c6c19babe61cd1a14d_rle_crop_3658346984_0.png.png imagette203120631738905754/1738878075_540975_1335303785_04cd7f17d1598e605e01e2963c65ed5f_rle_crop_3658312172_0.png.png imagette203120631738905754/1738880213_586368_1335303528_b5a1a20ee9341561295797804193bc62_rle_crop_3658308400_0.png.png imagette203120631738905754/1738878333_544505_1335305944_50dc32c9fe13344b3b553acf15b8921f_rle_crop_3658319839_0.png.png imagette203120671738905755/ imagette203120681738905755/ wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/551b2d41a14e41ed5127cea0f3ad96e6_14434245.png imagette203120631738905754 20312067 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=20312067 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette203120671738905755 20312068 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=20312068 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette203120681738905755 20312069 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=20312069 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1335303805: '1738877734_529608_1335303642_e0548d07de3bdf13677d61e5c6aa4a8f_rle_crop_3658311244_0.png', 1335305746: '1738878075_540975_1335303785_04cd7f17d1598e605e01e2963c65ed5f_rle_crop_3658312161_0.png', 1335306139: '1738878172_542928_1335305725_f0d2466e54153d3d8ae22d82c4a4d327_rle_crop_3658316878_0.png', 1335306566: '1738878333_544505_1335305861_c09d016fb9f0bb0d97888dae253212e7_rle_crop_3658320066_0.png', 1335306567: '1738878333_544505_1335305776_b2ded558352330145c8d37ad396cbfa8_rle_crop_3658320089_0.png', 1335311060: '1738880213_586368_1335303647_e3edd06ee0ed03f9335305e08ee05671_rle_crop_3658351247_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/824f22e94b09088e84082496a299de44_19494498.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/226718d06762dcf839d93a642cbb8b4b_92486190.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/51515749599d0f3ddba4a51be6523597_46667110.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/b89fd129980a7c4ba7bb3743ee1c63d2_85156443.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/6cf36be610e63bce7a5245d695c2069e_38579858.png change filename to text .imagette203120691738905755/ imagette203120691738905755/1738880213_586368_1335303647_e3edd06ee0ed03f9335305e08ee05671_rle_crop_3658351247_0.png.png imagette203120691738905755/1738878333_544505_1335305861_c09d016fb9f0bb0d97888dae253212e7_rle_crop_3658320066_0.png.png imagette203120691738905755/1738878075_540975_1335303785_04cd7f17d1598e605e01e2963c65ed5f_rle_crop_3658312161_0.png.png imagette203120691738905755/1738878172_542928_1335305725_f0d2466e54153d3d8ae22d82c4a4d327_rle_crop_3658316878_0.png.png imagette203120691738905755/1738878333_544505_1335305776_b2ded558352330145c8d37ad396cbfa8_rle_crop_3658320089_0.png.png imagette203120691738905755/1738877734_529608_1335303642_e0548d07de3bdf13677d61e5c6aa4a8f_rle_crop_3658311244_0.png.png imagette203120711738905756/ imagette203120721738905756/ wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/f1b02f4f2ca892c9e44d0467c282adb8_69974495.png imagette203120691738905755 20312071 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=20312071 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette203120711738905756 20312072 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=20312072 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette203120721738905756 20312065 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=20312065 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1335305737: '1738878054_540724_1335303748_a70204b816ad1edfdcaea0a7f9c93c8d_rle_crop_3658315332_0.png', 1335306568: '1738878333_544505_1335305944_50dc32c9fe13344b3b553acf15b8921f_rle_crop_3658319843_0.png', 1335306569: '1738878333_544505_1335305944_50dc32c9fe13344b3b553acf15b8921f_rle_crop_3658319844_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/6c24336a25fdf16ab0f6699999af4c00_52603927.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/c88fb7f324c793b491ddf003e36aa957_78645289.png change filename to text .imagette203120651738905756/ imagette203120651738905756/1738878333_544505_1335305944_50dc32c9fe13344b3b553acf15b8921f_rle_crop_3658319843_0.png.png imagette203120651738905756/1738878333_544505_1335305944_50dc32c9fe13344b3b553acf15b8921f_rle_crop_3658319844_0.png.png imagette203120651738905756/1738878054_540724_1335303748_a70204b816ad1edfdcaea0a7f9c93c8d_rle_crop_3658315332_0.png.png wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/fefeb7a266b04e97c48ab4abf881deeb_18363289.png imagette203120651738905756 20312070 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=20312070 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1335303732: '1738877612_526901_1335303262_2e22d882cbfa743237a2dbcb0c254086_rle_crop_3658308421_0.png', 1335303733: '1738877612_526901_1335303262_2e22d882cbfa743237a2dbcb0c254086_rle_crop_3658308425_0.png', 1335303801: '1738877734_529608_1335303642_e0548d07de3bdf13677d61e5c6aa4a8f_rle_crop_3658311242_0.png', 1335305728: '1738878054_540724_1335303799_3de869089dacd8f0956ccb7233d7fa3b_rle_crop_3658315059_0.png', 1335305729: '1738878054_540724_1335303751_a8537e3632613389032ba649ceccca5f_rle_crop_3658315216_0.png', 1335305730: '1738878054_540724_1335303751_a8537e3632613389032ba649ceccca5f_rle_crop_3658315219_0.png', 1335305731: '1738878054_540724_1335303751_a8537e3632613389032ba649ceccca5f_rle_crop_3658315217_0.png', 1335305732: '1738878054_540724_1335303748_a70204b816ad1edfdcaea0a7f9c93c8d_rle_crop_3658315336_0.png', 1335305741: '1738878075_540975_1335303794_37ed5673ca76f89226644f54f40a9ad7_rle_crop_3658312099_0.png', 1335305742: '1738878075_540975_1335303794_37ed5673ca76f89226644f54f40a9ad7_rle_crop_3658312106_0.png', 1335305743: '1738878075_540975_1335303794_37ed5673ca76f89226644f54f40a9ad7_rle_crop_3658312097_0.png', 1335305744: '1738878075_540975_1335303791_9f7c4f97c12d0a3e89bc3d0f8dd53c01_rle_crop_3658312121_0.png', 1335306561: '1738878333_544505_1335305776_b2ded558352330145c8d37ad396cbfa8_rle_crop_3658320087_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/84b327cb6cce102f719b1a4a36082a7e_38223226.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/ab33844a63a7b81e15ad27c00b239f13_73827784.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/b6f20f2096b8a8fa89a20d52d3908ead_76950902.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/ffb4ec5214ba1769fc49dd588cd096db_7967348.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/a46586126107c8067d57c0b70551df24_61859646.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/460c1aa45eed3cd8e6f937bdf300604e_82493775.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/e121690b371eaa3138c18b347ae924c3_4787652.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/8aac6327a1bd780884ac4ec58805acce_37238570.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/bd17116fad537d6aa51e81d8884f8ff9_31146836.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/42642ef81e1d3eedb419411444f6aa0f_61993291.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/008038be78f1cd1bf6590a8884872675_62860869.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/4be9bd078079d622a2f264c7e1b35e3f_13770092.png change filename to text .imagette203120701738905756/ imagette203120701738905756/1738878075_540975_1335303791_9f7c4f97c12d0a3e89bc3d0f8dd53c01_rle_crop_3658312121_0.png.png imagette203120701738905756/1738878054_540724_1335303751_a8537e3632613389032ba649ceccca5f_rle_crop_3658315219_0.png.png imagette203120701738905756/1738878054_540724_1335303751_a8537e3632613389032ba649ceccca5f_rle_crop_3658315216_0.png.png imagette203120701738905756/1738877612_526901_1335303262_2e22d882cbfa743237a2dbcb0c254086_rle_crop_3658308425_0.png.png imagette203120701738905756/1738878075_540975_1335303794_37ed5673ca76f89226644f54f40a9ad7_rle_crop_3658312099_0.png.png imagette203120701738905756/1738878333_544505_1335305776_b2ded558352330145c8d37ad396cbfa8_rle_crop_3658320087_0.png.png imagette203120701738905756/1738877734_529608_1335303642_e0548d07de3bdf13677d61e5c6aa4a8f_rle_crop_3658311242_0.png.png imagette203120701738905756/1738878054_540724_1335303751_a8537e3632613389032ba649ceccca5f_rle_crop_3658315217_0.png.png imagette203120701738905756/1738878054_540724_1335303799_3de869089dacd8f0956ccb7233d7fa3b_rle_crop_3658315059_0.png.png imagette203120701738905756/1738877612_526901_1335303262_2e22d882cbfa743237a2dbcb0c254086_rle_crop_3658308421_0.png.png imagette203120701738905756/1738878075_540975_1335303794_37ed5673ca76f89226644f54f40a9ad7_rle_crop_3658312097_0.png.png imagette203120701738905756/1738878075_540975_1335303794_37ed5673ca76f89226644f54f40a9ad7_rle_crop_3658312106_0.png.png imagette203120701738905756/1738878054_540724_1335303748_a70204b816ad1edfdcaea0a7f9c93c8d_rle_crop_3658315336_0.png.png wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/0d4137245de801c57b4124a54346b29f_60380940.png imagette203120701738905756 20312073 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=20312073 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1335303736: '1738877594_526622_1335303561_9dc2716f08135c887a5da212c1f5fe28_rle_crop_3658307943_0.png', 1335303804: '1738877734_529608_1335303642_e0548d07de3bdf13677d61e5c6aa4a8f_rle_crop_3658311246_0.png', 1335306539: '1738878314_544192_1335306319_2f6a8dae4bee5933b7d0be2264fdab2b_rle_crop_3658318210_0.png', 1335306564: '1738878333_544505_1335305861_c09d016fb9f0bb0d97888dae253212e7_rle_crop_3658320071_0.png', 1335306565: '1738878333_544505_1335305776_b2ded558352330145c8d37ad396cbfa8_rle_crop_3658320086_0.png', 1335311059: '1738880213_586368_1335303561_9dc2716f08135c887a5da212c1f5fe28_rle_crop_3658307943_0.png', 1335313926: '1738881293_622217_1335306319_2f6a8dae4bee5933b7d0be2264fdab2b_rle_crop_3658318210_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/f6a4900d28889b722c839da6e09c60be_55902501.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/7c84955bd64356e24ff6ccea65009854_89835798.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/cac032179a2768f3518dcca265b8c3b3_86815497.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/c9b3786d14b8804d059375c9a027195f_30235635.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/3e526f0c78ae3ce1e563894fd759f751_24390934.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/f6a4900d28889b722c839da6e09c60be_46496616.png change filename to text .imagette203120731738905757/ imagette203120731738905757/1738878333_544505_1335305861_c09d016fb9f0bb0d97888dae253212e7_rle_crop_3658320071_0.png.png imagette203120731738905757/1738881293_622217_1335306319_2f6a8dae4bee5933b7d0be2264fdab2b_rle_crop_3658318210_0.png.png imagette203120731738905757/1738878314_544192_1335306319_2f6a8dae4bee5933b7d0be2264fdab2b_rle_crop_3658318210_0.png.png imagette203120731738905757/1738877734_529608_1335303642_e0548d07de3bdf13677d61e5c6aa4a8f_rle_crop_3658311246_0.png.png imagette203120731738905757/1738880213_586368_1335303561_9dc2716f08135c887a5da212c1f5fe28_rle_crop_3658307943_0.png.png imagette203120731738905757/1738878333_544505_1335305776_b2ded558352330145c8d37ad396cbfa8_rle_crop_3658320086_0.png.png imagette203120731738905757/1738877594_526622_1335303561_9dc2716f08135c887a5da212c1f5fe28_rle_crop_3658307943_0.png.png wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/cac032179a2768f3518dcca265b8c3b3_59572899.png imagette203120731738905757 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=20312031 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/20312074,20312075,20312076,20312077,20312078,20312079,20312080,20312081,20312082,20312083,20312084,20312085?tags=plastique,autre_refus,environnement,Carton_brun,papier,metal,flou,cartonnette,Teint_Dans_La_Masse,kraft,mal_croppe,Carton_gris your option no_mail is active, we will not send the real mail to your client args[1335306511] : ('0.045476742249313425',) no score found for photo 1335306511 apple ('0.045476742249313425',) We are sending mail with results at report@fotonower.com args[1335306454] : ('0.045476742249313425',) no score found for photo 1335306454 apple ('0.045476742249313425',) We are sending mail with results at report@fotonower.com args[1335306450] : ('0.045476742249313425',) no score found for photo 1335306450 apple ('0.045476742249313425',) We are sending mail with results at report@fotonower.com args[1335306447] : ('0.045476742249313425',) no score found for photo 1335306447 apple ('0.045476742249313425',) We are sending mail with results at report@fotonower.com args[1335306379] : ('0.045476742249313425',) no score found for photo 1335306379 apple ('0.045476742249313425',) We are sending mail with results at report@fotonower.com args[1335306319] : ('0.045476742249313425',) no score found for photo 1335306319 apple ('0.045476742249313425',) We are sending mail with results at report@fotonower.com args[1335306316] : ('0.045476742249313425',) no score found for photo 1335306316 apple ('0.045476742249313425',) We are sending mail with results at report@fotonower.com args[1335306313] : ('0.045476742249313425',) no score found for photo 1335306313 apple ('0.045476742249313425',) We are sending mail with results at report@fotonower.com args[1335306035] : ('0.045476742249313425',) no score found for photo 1335306035 apple ('0.045476742249313425',) We are sending mail with results at report@fotonower.com args[1335305944] : ('0.045476742249313425',) no score found for photo 1335305944 apple ('0.045476742249313425',) We are sending mail with results at report@fotonower.com args[1335305861] : ('0.045476742249313425',) no score found for photo 1335305861 apple ('0.045476742249313425',) We are sending mail with results at report@fotonower.com args[1335305776] : ('0.045476742249313425',) no score found for photo 1335305776 apple ('0.045476742249313425',) We are sending mail with results at report@fotonower.com args[1335305740] : ('0.045476742249313425',) no score found for photo 1335305740 apple ('0.045476742249313425',) We are sending mail with results at report@fotonower.com args[1335305738] : ('0.045476742249313425',) no score found for photo 1335305738 apple ('0.045476742249313425',) We are sending mail with results at report@fotonower.com args[1335305727] : ('0.045476742249313425',) no score found for photo 1335305727 apple ('0.045476742249313425',) We are sending mail with results at report@fotonower.com args[1335305725] : ('0.045476742249313425',) no score found for photo 1335305725 apple ('0.045476742249313425',) We are sending mail with results at report@fotonower.com args[1335303799] : ('0.045476742249313425',) no score found for photo 1335303799 apple ('0.045476742249313425',) We are sending mail with results at report@fotonower.com args[1335303794] : ('0.045476742249313425',) no score found for photo 1335303794 apple ('0.045476742249313425',) We are sending mail with results at report@fotonower.com args[1335303791] : ('0.045476742249313425',) no score found for photo 1335303791 apple ('0.045476742249313425',) We are sending mail with results at report@fotonower.com args[1335303785] : ('0.045476742249313425',) no score found for photo 1335303785 apple ('0.045476742249313425',) We are sending mail with results at report@fotonower.com args[1335303758] : ('0.045476742249313425',) no score found for photo 1335303758 apple ('0.045476742249313425',) We are sending mail with results at report@fotonower.com args[1335303754] : ('0.045476742249313425',) no score found for photo 1335303754 apple ('0.045476742249313425',) We are sending mail with results at report@fotonower.com args[1335303751] : ('0.045476742249313425',) no score found for photo 1335303751 apple ('0.045476742249313425',) We are sending mail with results at report@fotonower.com args[1335303748] : ('0.045476742249313425',) no score found for photo 1335303748 apple ('0.045476742249313425',) We are sending mail with results at report@fotonower.com args[1335303703] : ('0.045476742249313425',) no score found for photo 1335303703 apple ('0.045476742249313425',) We are sending mail with results at report@fotonower.com args[1335303699] : ('0.045476742249313425',) no score found for photo 1335303699 apple ('0.045476742249313425',) We are sending mail with results at report@fotonower.com args[1335303696] : ('0.045476742249313425',) no score found for photo 1335303696 apple ('0.045476742249313425',) We are sending mail with results at report@fotonower.com args[1335303647] : ('0.045476742249313425',) no score found for photo 1335303647 apple ('0.045476742249313425',) We are sending mail with results at report@fotonower.com args[1335303644] : ('0.045476742249313425',) no score found for photo 1335303644 apple ('0.045476742249313425',) We are sending mail with results at report@fotonower.com args[1335303642] : ('0.045476742249313425',) no score found for photo 1335303642 apple ('0.045476742249313425',) We are sending mail with results at report@fotonower.com args[1335303595] : ('0.045476742249313425',) no score found for photo 1335303595 apple ('0.045476742249313425',) We are sending mail with results at report@fotonower.com args[1335303561] : ('0.045476742249313425',) no score found for photo 1335303561 apple ('0.045476742249313425',) We are sending mail with results at report@fotonower.com args[1335303552] : ('0.045476742249313425',) no score found for photo 1335303552 apple ('0.045476742249313425',) We are sending mail with results at report@fotonower.com args[1335303528] : ('0.045476742249313425',) no score found for photo 1335303528 apple ('0.045476742249313425',) We are sending mail with results at report@fotonower.com args[1335303262] : ('0.045476742249313425',) no score found for photo 1335303262 apple ('0.045476742249313425',) We are sending mail with results at report@fotonower.com refus_total : 0.045476742249313425 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=20312031 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_P20312031_07-02-2025_06_22_34.pdf results_Auto_P20312031_07-02-2025_06_22_34.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20312031_07-02-2025_06_22_34.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','20312031','results_Auto_P20312031_07-02-2025_06_22_34.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20312031_07-02-2025_06_22_34.pdf','pdf','','0.36','0.045476742249313425') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20312031]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1335306511, 1335306454, 1335306450, 1335306447, 1335306379, 1335306319, 1335306316, 1335306313, 1335306035, 1335305944, 1335305861, 1335305776, 1335305740, 1335305738, 1335305727, 1335305725, 1335303799, 1335303794, 1335303791, 1335303785, 1335303758, 1335303754, 1335303751, 1335303748, 1335303703, 1335303699, 1335303696, 1335303647, 1335303644, 1335303642, 1335303595, 1335303561, 1335303552, 1335303528, 1335303262] map_info['map_portfolio_photo'] : {20312031: [1335306511, 1335306454, 1335306450, 1335306447, 1335306379, 1335306319, 1335306316, 1335306313, 1335306035, 1335305944, 1335305861, 1335305776, 1335305740, 1335305738, 1335305727, 1335305725, 1335303799, 1335303794, 1335303791, 1335303785, 1335303758, 1335303754, 1335303751, 1335303748, 1335303703, 1335303699, 1335303696, 1335303647, 1335303644, 1335303642, 1335303595, 1335303561, 1335303552, 1335303528, 1335303262]} final : False mtd_id 4302 list_pids : [1335306511, 1335306454, 1335306450, 1335306447, 1335306379, 1335306319, 1335306316, 1335306313, 1335306035, 1335305944, 1335305861, 1335305776, 1335305740, 1335305738, 1335305727, 1335305725, 1335303799, 1335303794, 1335303791, 1335303785, 1335303758, 1335303754, 1335303751, 1335303748, 1335303703, 1335303699, 1335303696, 1335303647, 1335303644, 1335303642, 1335303595, 1335303561, 1335303552, 1335303528, 1335303262] 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, '2561341') ('4302', '20312031', '1335306511', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335306454', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335306450', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335306447', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335306379', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335306319', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335306316', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335306313', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335306035', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335305944', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335305861', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335305776', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335305740', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335305738', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335305727', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335305725', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335303799', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335303794', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335303791', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335303785', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335303758', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335303754', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335303751', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335303748', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335303703', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335303699', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335303696', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335303647', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335303644', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335303642', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335303595', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335303561', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335303552', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335303528', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335303262', None, None, None, None, None, '2561341') 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', '20312031', '1335306511', None, None, None, None, None, '2561341'), ('4302', '20312031', '1335306454', None, None, None, None, None, '2561341'), ('4302', '20312031', '1335306450', None, None, None, None, None, '2561341'), ('4302', '20312031', '1335306447', None, None, None, None, None, '2561341'), ('4302', '20312031', '1335306379', None, None, None, None, None, '2561341'), ('4302', '20312031', '1335306319', None, None, None, None, None, '2561341'), ('4302', '20312031', '1335306316', None, None, None, None, None, '2561341'), ('4302', '20312031', '1335306313', None, None, None, None, None, '2561341'), ('4302', '20312031', '1335306035', None, None, None, None, None, '2561341'), ('4302', '20312031', '1335305944', None, None, None, None, None, '2561341'), ('4302', '20312031', '1335305861', None, None, None, None, None, '2561341'), ('4302', '20312031', '1335305776', None, None, None, None, None, '2561341'), ('4302', '20312031', '1335305740', None, None, None, None, None, '2561341'), ('4302', '20312031', '1335305738', None, None, None, None, None, '2561341'), ('4302', '20312031', '1335305727', None, None, None, None, None, '2561341'), ('4302', '20312031', '1335305725', None, None, None, None, None, '2561341'), ('4302', '20312031', '1335303799', None, None, None, None, None, '2561341'), ('4302', '20312031', '1335303794', None, None, None, None, None, '2561341'), ('4302', '20312031', '1335303791', None, None, None, None, None, '2561341'), ('4302', '20312031', '1335303785', None, None, None, None, None, '2561341'), ('4302', '20312031', '1335303758', None, None, None, None, None, '2561341'), ('4302', '20312031', '1335303754', None, None, None, None, None, '2561341'), ('4302', '20312031', '1335303751', None, None, None, None, None, '2561341'), ('4302', '20312031', '1335303748', None, None, None, None, None, '2561341'), ('4302', '20312031', '1335303703', None, None, None, None, None, '2561341'), ('4302', '20312031', '1335303699', None, None, None, None, None, '2561341'), ('4302', '20312031', '1335303696', None, None, None, None, None, '2561341'), ('4302', '20312031', '1335303647', None, None, None, None, None, '2561341'), ('4302', '20312031', '1335303644', None, None, None, None, None, '2561341'), ('4302', '20312031', '1335303642', None, None, None, None, None, '2561341'), ('4302', '20312031', '1335303595', None, None, None, None, None, '2561341'), ('4302', '20312031', '1335303561', None, None, None, None, None, '2561341'), ('4302', '20312031', '1335303552', None, None, None, None, None, '2561341'), ('4302', '20312031', '1335303528', None, None, None, None, None, '2561341'), ('4302', '20312031', '1335303262', None, None, None, None, None, '2561341')] time used for this insertion : 0.26660585403442383 save_final save missing photos in datou_result : time spend for datou_step_exec : 7.435022354125977 time spend to save output : 0.2670145034790039 total time spend for step 4 : 7.7020368576049805 step5:split_time_score Fri Feb 7 06:22:40 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : ['20312031'] 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 : [('20312031',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20312031) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1335306450: {'path': 'temp/1738905753_2064955_1335306450_f79c904e6afbd712addab9d48d7c97e6.jpg', 'extension': 'jpg'}, 1335306454: {'path': 'temp/1738905753_2064955_1335306454_6035d8221111fdd01888fafdc6ea899f.jpg', 'extension': 'jpg'}, 1335306511: {'path': 'temp/1738905753_2064955_1335306511_5c949a28b5dd55fe60cfaa92bff22b42.jpg', 'extension': 'jpg'}, 1335303262: {'path': 'temp/1738905753_2064955_1335303262_2e22d882cbfa743237a2dbcb0c254086.jpg', 'extension': 'jpg'}, 1335303528: {'path': 'temp/1738905753_2064955_1335303528_b5a1a20ee9341561295797804193bc62.jpg', 'extension': 'jpg'}, 1335303552: {'path': 'temp/1738905753_2064955_1335303552_146ece5b0f967ed93c9d7a565dbe5028.jpg', 'extension': 'jpg'}, 1335303561: {'path': 'temp/1738905753_2064955_1335303561_9dc2716f08135c887a5da212c1f5fe28.jpg', 'extension': 'jpg'}, 1335303595: {'path': 'temp/1738905753_2064955_1335303595_7b12c3b87a815ba5f2ad257d37d1b66a.jpg', 'extension': 'jpg'}, 1335303642: {'path': 'temp/1738905753_2064955_1335303642_e0548d07de3bdf13677d61e5c6aa4a8f.jpg', 'extension': 'jpg'}, 1335303644: {'path': 'temp/1738905753_2064955_1335303644_8842f666b0a34ffc4694ff6ea02fcb83.jpg', 'extension': 'jpg'}, 1335303647: {'path': 'temp/1738905753_2064955_1335303647_e3edd06ee0ed03f9335305e08ee05671.jpg', 'extension': 'jpg'}, 1335303696: {'path': 'temp/1738905753_2064955_1335303696_b81c0c8352257e3c833fd7d5bef3c9e3.jpg', 'extension': 'jpg'}, 1335303699: {'path': 'temp/1738905753_2064955_1335303699_777e8e6660776b8e83d3e12eaea25ed1.jpg', 'extension': 'jpg'}, 1335303703: {'path': 'temp/1738905753_2064955_1335303703_51793f5916263150a9429c44d2b31287.jpg', 'extension': 'jpg'}, 1335303748: {'path': 'temp/1738905753_2064955_1335303748_a70204b816ad1edfdcaea0a7f9c93c8d.jpg', 'extension': 'jpg'}, 1335303751: {'path': 'temp/1738905753_2064955_1335303751_a8537e3632613389032ba649ceccca5f.jpg', 'extension': 'jpg'}, 1335303754: {'path': 'temp/1738905753_2064955_1335303754_8794052fcb6e1505159b41fa43afde0c.jpg', 'extension': 'jpg'}, 1335303758: {'path': 'temp/1738905753_2064955_1335303758_5abc63d8a83c22c6c19babe61cd1a14d.jpg', 'extension': 'jpg'}, 1335303785: {'path': 'temp/1738905753_2064955_1335303785_04cd7f17d1598e605e01e2963c65ed5f.jpg', 'extension': 'jpg'}, 1335303791: {'path': 'temp/1738905753_2064955_1335303791_9f7c4f97c12d0a3e89bc3d0f8dd53c01.jpg', 'extension': 'jpg'}, 1335303794: {'path': 'temp/1738905753_2064955_1335303794_37ed5673ca76f89226644f54f40a9ad7.jpg', 'extension': 'jpg'}, 1335303799: {'path': 'temp/1738905753_2064955_1335303799_3de869089dacd8f0956ccb7233d7fa3b.jpg', 'extension': 'jpg'}, 1335305725: {'path': 'temp/1738905753_2064955_1335305725_f0d2466e54153d3d8ae22d82c4a4d327.jpg', 'extension': 'jpg'}, 1335305727: {'path': 'temp/1738905753_2064955_1335305727_e46735b6d9e7ae33d87f46a23d0c91ee.jpg', 'extension': 'jpg'}, 1335305738: {'path': 'temp/1738905753_2064955_1335305738_e20c1cf0cf4e8b0efdba938eabe54578.jpg', 'extension': 'jpg'}, 1335305740: {'path': 'temp/1738905753_2064955_1335305740_74a5e1eb2e1b96f27ecd60d330b44060.jpg', 'extension': 'jpg'}, 1335305776: {'path': 'temp/1738905753_2064955_1335305776_b2ded558352330145c8d37ad396cbfa8.jpg', 'extension': 'jpg'}, 1335305861: {'path': 'temp/1738905753_2064955_1335305861_c09d016fb9f0bb0d97888dae253212e7.jpg', 'extension': 'jpg'}, 1335305944: {'path': 'temp/1738905753_2064955_1335305944_50dc32c9fe13344b3b553acf15b8921f.jpg', 'extension': 'jpg'}, 1335306035: {'path': 'temp/1738905753_2064955_1335306035_d7a5ed9169d768e15fd1122656362ad4.jpg', 'extension': 'jpg'}, 1335306313: {'path': 'temp/1738905753_2064955_1335306313_afe1ff007619d61498e75f230ef5ceb3.jpg', 'extension': 'jpg'}, 1335306316: {'path': 'temp/1738905753_2064955_1335306316_0af801688a04dce7264bb74c41ecd85e.jpg', 'extension': 'jpg'}, 1335306319: {'path': 'temp/1738905753_2064955_1335306319_2f6a8dae4bee5933b7d0be2264fdab2b.jpg', 'extension': 'jpg'}, 1335306379: {'path': 'temp/1738905753_2064955_1335306379_d1cfb59604490432e9739e06f36133d6.jpg', 'extension': 'jpg'}, 1335306447: {'path': 'temp/1738905753_2064955_1335306447_8c74e0cc5b26b474262a2c45d37fd2d3.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 = 20312031; (('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 = 20312031 group by h (('22', 35),) 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=20312031 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 (20312031) 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 (20312031) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 06022025 20312031 Nombre de photos uploadées : 35 / 23040 (0%) 06022025 20312031 Nombre de photos taguées (types de déchets): 0 / 35 (0%) 06022025 20312031 Nombre de photos taguées (volume) : 0 / 35 (0%) [{'photo_id': 1335303262, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/2e22d882cbfa743237a2dbcb0c254086.jpg', 'username': None, 'uploaded_at': 1738877467, 'text': 'image_06022025_22_30_04_010173m0.jpg 1e-05 for time 1, id_amount 3 this amount prod time diff : 1e-05'}, {'photo_id': 1335303595, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/7b12c3b87a815ba5f2ad257d37d1b66a.jpg', 'username': None, 'uploaded_at': 1738877527, 'text': 'image_06022025_22_30_14_010138m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1335303561, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/9dc2716f08135c887a5da212c1f5fe28.jpg', 'username': None, 'uploaded_at': 1738877527, 'text': 'image_06022025_22_31_04_010276m0.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1335303552, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/146ece5b0f967ed93c9d7a565dbe5028.jpg', 'username': None, 'uploaded_at': 1738877527, 'text': 'image_06022025_22_31_14_010139m0.jpg 4e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 3.814697265625e-06 elapsed_time : order_list_meta_photo_and_scores 1.0251998901367188e-05 ??????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.002942323684692383 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 20312031, '2025-02-06' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1581747,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.02782273292541504 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= 1581747 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592737, 'mtr_portfolio_id': 20316824, 'dashboard_result_id': 8751850, '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_P20316824_07-02-2025_05_34_34.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20317322, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20317323, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20317324, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20317325, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20317326, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20317327, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20317328, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20317329, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20317330, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20317331, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20317332, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20317333, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592737, 'mtr_portfolio_id': 20316825, 'dashboard_result_id': 8751851, '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_P20316825_07-02-2025_05_35_04.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20317346, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20317347, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20317348, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20317349, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20317350, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20317351, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20317352, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20317353, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20317354, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20317355, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20317356, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20317357, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592737, 'mtr_portfolio_id': 20316826, 'dashboard_result_id': 8751852, '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_P20316826_07-02-2025_05_35_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20317406, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20317407, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20317408, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20317409, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20317410, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20317411, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20317412, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20317413, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20317414, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20317415, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20317416, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20317417, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592737, 'mtr_portfolio_id': 20316827, 'dashboard_result_id': 8751853, '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_P20316827_07-02-2025_05_41_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20317298, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20317299, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20317300, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20317301, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20317302, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20317303, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20317304, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20317305, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20317306, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20317307, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20317308, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20317309, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592737, 'mtr_portfolio_id': 20278854, 'dashboard_result_id': 8751854, '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_P20278854_07-02-2025_05_42_04.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20278907, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20278908, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20278909, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20278910, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20278911, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20278912, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20278913, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20278914, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20278915, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20278916, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20278917, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20278918, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592737, 'mtr_portfolio_id': 20278856, 'dashboard_result_id': 8751855, '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_P20278856_07-02-2025_05_43_05.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20278931, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20278932, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20278933, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20278934, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20278935, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20278936, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20278937, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20278938, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20278939, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20278940, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20278941, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20278942, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592737, 'mtr_portfolio_id': 20279015, 'dashboard_result_id': 8751856, '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_P20279015_07-02-2025_05_43_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20279096, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20279097, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20279098, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20279099, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20279100, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20279101, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20279102, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20279103, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20279104, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20279105, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20279106, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20279107, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592737, 'mtr_portfolio_id': 20279159, 'dashboard_result_id': 8751857, '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_P20279159_07-02-2025_05_44_11.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20279216, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20279217, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20279218, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20279219, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20279220, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20279221, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20279222, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20279223, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20279224, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20279225, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20279226, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20279227, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592737, 'mtr_portfolio_id': 20279384, 'dashboard_result_id': 8751858, '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_P20279384_07-02-2025_05_45_08.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20279457, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20279458, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20279459, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20279460, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20279461, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20279462, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20279463, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20279464, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20279465, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20279466, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20279467, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20279468, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592737, 'mtr_portfolio_id': 20280224, 'dashboard_result_id': 8751859, '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_P20280224_07-02-2025_05_45_36.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20280267, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20280268, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20280269, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20280270, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20280271, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20280272, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20280273, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20280274, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20280275, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20280276, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20280277, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20280278, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592737, 'mtr_portfolio_id': 20281066, 'dashboard_result_id': 8751860, '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_P20281066_07-02-2025_05_46_07.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20281122, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20281123, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20281124, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20281125, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20281126, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20281127, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20281128, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20281129, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20281130, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20281131, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20281132, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20281133, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592737, 'mtr_portfolio_id': 20281877, 'dashboard_result_id': 8751861, '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_P20281877_07-02-2025_05_46_46.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20281906, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20281907, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20281908, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20281909, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20281910, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20281911, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20281912, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20281913, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20281914, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20281915, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20281916, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20281917, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592737, 'mtr_portfolio_id': 20282516, 'dashboard_result_id': 8751862, '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_P20282516_07-02-2025_05_47_36.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20282568, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20282569, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20282570, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20282571, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20282572, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20282573, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20282574, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20282575, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20282576, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20282577, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20282578, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20282579, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592737, 'mtr_portfolio_id': 20283028, 'dashboard_result_id': 8751863, '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_P20283028_07-02-2025_05_48_06.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20283035, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20283036, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20283037, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20283038, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20283039, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20283040, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20283041, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20283042, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20283043, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20283044, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20283045, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20283046, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592737, 'mtr_portfolio_id': 20283606, 'dashboard_result_id': 8751864, '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_P20283606_07-02-2025_05_48_37.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20283666, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20283667, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20283668, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20283669, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20283670, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20283671, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20283672, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20283673, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20283674, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20283675, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20283676, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20283677, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592737, 'mtr_portfolio_id': 20284556, 'dashboard_result_id': 8751865, '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_P20284556_07-02-2025_05_49_37.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20284586, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20284587, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20284588, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20284589, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20284590, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20284591, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20284592, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20284593, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20284594, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20284595, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20284596, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20284597, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592737, 'mtr_portfolio_id': 20285219, 'dashboard_result_id': 8751866, '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_P20285219_07-02-2025_05_50_07.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20285227, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20285228, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20285229, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20285230, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20285231, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20285232, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20285233, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20285234, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20285235, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20285236, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20285237, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20285238, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592737, 'mtr_portfolio_id': 20286053, 'dashboard_result_id': 8751867, '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_P20286053_07-02-2025_05_50_44.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20286055, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20286056, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20286057, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20286058, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20286059, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20286060, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20286061, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20286062, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20286063, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20286064, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20286065, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20286066, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592737, 'mtr_portfolio_id': 20286533, 'dashboard_result_id': 8751868, '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_P20286533_07-02-2025_05_51_40.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20286537, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20286538, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20286539, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20286540, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20286541, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20286542, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20286543, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20286544, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20286545, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20286546, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20286547, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20286548, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592737, 'mtr_portfolio_id': 20286862, 'dashboard_result_id': 8751869, '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_P20286862_07-02-2025_05_52_10.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20286868, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20286869, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20286870, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20286871, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20286872, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20286873, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20286874, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20286875, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20286876, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20286877, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20286878, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20286879, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592737, 'mtr_portfolio_id': 20287423, 'dashboard_result_id': 8751870, '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_P20287423_07-02-2025_05_57_35.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20287430, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20287431, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20287432, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20287433, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20287434, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20287435, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20287436, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20287437, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20287438, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20287439, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20287440, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20287441, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592737, 'mtr_portfolio_id': 20288163, 'dashboard_result_id': 8751871, '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_P20288163_07-02-2025_05_58_04.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20288170, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20288171, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20288172, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20288173, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20288174, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20288175, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20288176, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20288177, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20288178, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20288179, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20288180, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20288181, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592737, 'mtr_portfolio_id': 20288603, 'dashboard_result_id': 8751873, '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_P20288603_07-02-2025_05_58_38.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20288632, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20288633, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20288634, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20288635, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20288636, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20288637, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20288638, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20288639, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20288640, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20288641, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20288642, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20288643, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592737, 'mtr_portfolio_id': 20289032, 'dashboard_result_id': 8751874, '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_P20289032_07-02-2025_05_59_37.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20289033, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20289034, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20289035, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20289036, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20289037, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20289038, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20289039, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20289040, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20289041, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20289042, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20289043, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20289044, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592737, 'mtr_portfolio_id': 20289745, 'dashboard_result_id': 8751875, '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_P20289745_07-02-2025_06_00_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20289787, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20289788, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20289789, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20289791, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20289792, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20289793, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20289794, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20289795, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20289796, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20289797, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20289798, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20289799, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592737, 'mtr_portfolio_id': 20290351, 'dashboard_result_id': 8751876, '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_P20290351_07-02-2025_06_00_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20290357, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20290358, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20290359, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20290360, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20290361, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20290362, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20290363, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20290364, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20290365, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20290366, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20290367, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20290368, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592737, 'mtr_portfolio_id': 20290772, 'dashboard_result_id': 8751877, '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_P20290772_07-02-2025_06_01_37.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20290823, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20290824, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20290825, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20290826, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20290827, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20290828, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20290829, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20290830, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20290831, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20290832, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20290833, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20290834, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592737, 'mtr_portfolio_id': 20291438, 'dashboard_result_id': 8751878, '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_P20291438_07-02-2025_06_03_08.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20291490, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20291491, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20291492, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20291493, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20291494, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20291495, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20291496, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20291497, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20291498, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20291499, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20291500, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20291501, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592737, 'mtr_portfolio_id': 20292165, 'dashboard_result_id': 8751879, '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_P20292165_07-02-2025_06_03_34.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20292196, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20292197, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20292198, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20292199, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20292200, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20292201, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20292202, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20292203, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20292204, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20292205, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20292206, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20292207, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592737, 'mtr_portfolio_id': 20292813, 'dashboard_result_id': 8751880, '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_P20292813_07-02-2025_06_04_05.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20292868, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20292869, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20292870, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20292871, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20292872, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20292873, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20292874, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20292875, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20292876, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20292877, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20292878, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20292879, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592737, 'mtr_portfolio_id': 20293389, 'dashboard_result_id': 8751881, '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_P20293389_07-02-2025_06_04_34.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20293418, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20293419, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20293420, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20293421, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20293422, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20293423, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20293424, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20293425, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20293426, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20293427, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20293428, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20293429, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592737, 'mtr_portfolio_id': 20293740, 'dashboard_result_id': 8751883, '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_P20293740_07-02-2025_06_06_07.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20293771, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20293772, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20293773, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20293774, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20293775, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20293776, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20293777, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20293778, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20293779, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20293780, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20293781, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20293782, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592737, 'mtr_portfolio_id': 20294672, 'dashboard_result_id': 8751884, '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_P20294672_07-02-2025_06_06_34.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20294678, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20294679, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20294680, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20294681, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20294682, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20294683, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20294684, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20294685, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20294686, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20294687, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20294688, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20294689, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592737, 'mtr_portfolio_id': 20316828, 'dashboard_result_id': 8751885, '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_P20316828_07-02-2025_06_07_29.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20317274, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20317275, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20317276, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20317277, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20317278, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20317279, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20317280, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20317281, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20317282, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20317283, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20317284, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20317285, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592737, 'mtr_portfolio_id': 20316829, 'dashboard_result_id': 8751886, '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_P20316829_07-02-2025_06_08_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20317214, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20317215, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20317216, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20317217, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20317218, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20317219, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20317220, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20317221, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20317222, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20317223, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20317224, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20317225, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592737, 'mtr_portfolio_id': 20316830, 'dashboard_result_id': 8751887, '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_P20316830_07-02-2025_06_08_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20317158, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20317159, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20317160, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20317161, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20317162, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20317163, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20317164, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20317165, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20317166, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20317167, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20317168, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20317169, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592737, 'mtr_portfolio_id': 20316831, 'dashboard_result_id': 8751888, '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_P20316831_07-02-2025_06_09_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20317053, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20317054, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20317055, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20317056, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20317057, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20317058, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20317059, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20317060, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20317061, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20317062, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20317063, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20317064, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592737, 'mtr_portfolio_id': 20316832, 'dashboard_result_id': 8751889, '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_P20316832_07-02-2025_06_10_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20317110, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20317111, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20317112, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20317113, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20317114, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20317115, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20317116, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20317117, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20317118, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20317119, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20317120, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20317121, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592737, 'mtr_portfolio_id': 20316833, 'dashboard_result_id': 8751891, '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_P20316833_07-02-2025_06_10_30.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20317134, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20317135, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20317136, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20317137, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20317138, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20317139, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20317140, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20317141, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20317142, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20317143, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20317144, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20317145, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592737, 'mtr_portfolio_id': 20316834, 'dashboard_result_id': 8751892, '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_P20316834_07-02-2025_06_11_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20316997, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20316998, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20316999, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20317000, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20317001, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20317002, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20317003, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20317004, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20317005, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20317006, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20317007, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20317008, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592737, 'mtr_portfolio_id': 20316835, 'dashboard_result_id': 8751893, '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_P20316835_07-02-2025_06_11_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20316972, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20316973, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20316974, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20316975, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20316976, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20316977, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20316978, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20316979, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20316980, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20316981, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20316982, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20316983, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592737, 'mtr_portfolio_id': 20299387, 'dashboard_result_id': 8751894, '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_P20299387_07-02-2025_06_12_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20299406, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20299407, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20299408, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20299409, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20299410, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20299411, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20299412, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20299413, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20299414, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20299415, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20299416, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20299417, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592737, 'mtr_portfolio_id': 20299216, 'dashboard_result_id': 8751895, '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_P20299216_07-02-2025_06_12_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20299279, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20299280, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20299281, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20299282, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20299283, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20299284, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20299285, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20299286, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20299287, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20299288, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20299289, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20299290, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592737, 'mtr_portfolio_id': 20298776, 'dashboard_result_id': 8751896, '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_P20298776_07-02-2025_06_13_06.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20298785, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20298786, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20298787, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20298788, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20298789, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20298790, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20298791, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20298792, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20298793, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20298794, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20298795, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20298796, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592737, 'mtr_portfolio_id': 20298550, 'dashboard_result_id': 8751897, '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_P20298550_07-02-2025_06_13_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20298563, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20298564, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20298565, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20298566, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20298567, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20298568, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20298569, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20298570, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20298571, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20298572, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20298573, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20298574, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592737, 'mtr_portfolio_id': 20299457, 'dashboard_result_id': 8751898, '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_P20299457_07-02-2025_06_14_03.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20299490, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20299491, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20299492, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20299493, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20299494, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20299495, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20299497, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20299498, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20299499, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20299500, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20299501, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20299502, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592737, 'mtr_portfolio_id': 20300876, 'dashboard_result_id': 8751900, '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_P20300876_07-02-2025_06_14_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20300881, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20300882, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20300883, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20300884, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20300885, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20300886, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20300887, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20300888, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20300889, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20300890, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20300891, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20300892, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592737, 'mtr_portfolio_id': 20301677, 'dashboard_result_id': 8751901, '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_P20301677_07-02-2025_06_15_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20301720, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20301721, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20301722, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20301723, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20301724, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20301725, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20301726, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20301727, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20301728, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20301729, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20301730, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20301731, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592737, 'mtr_portfolio_id': 20302042, 'dashboard_result_id': 8751902, '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_P20302042_07-02-2025_06_15_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20302050, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20302051, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20302052, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20302053, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20302054, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20302055, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20302056, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20302057, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20302058, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20302059, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20302060, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20302061, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592737, 'mtr_portfolio_id': 20302815, 'dashboard_result_id': 8751903, '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_P20302815_07-02-2025_06_16_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20302818, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20302819, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20302820, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20302821, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20302822, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20302823, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20302824, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20302825, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20302826, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20302827, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20302828, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20302829, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592737, 'mtr_portfolio_id': 20303438, 'dashboard_result_id': 8751904, '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_P20303438_07-02-2025_06_16_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20303453, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20303454, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20303455, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20303456, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20303457, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20303458, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20303459, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20303460, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20303461, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20303462, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20303463, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20303464, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592737, 'mtr_portfolio_id': 20303638, 'dashboard_result_id': 8751905, '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_P20303638_07-02-2025_06_17_06.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20303645, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20303646, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20303647, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20303648, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20303649, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20303650, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20303651, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20303652, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20303653, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20303655, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20303660, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20303666, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592737, 'mtr_portfolio_id': 20304311, 'dashboard_result_id': 8751906, '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_P20304311_07-02-2025_06_17_35.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20304331, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20304332, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20304333, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20304334, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20304335, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20304336, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20304337, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20304338, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20304339, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20304340, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20304341, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20304342, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592737, 'mtr_portfolio_id': 20305090, 'dashboard_result_id': 8751907, '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_P20305090_07-02-2025_06_18_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20305096, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20305097, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20305098, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20305099, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20305100, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20305101, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20305102, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20305103, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20305104, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20305105, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20305106, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20305107, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592737, 'mtr_portfolio_id': 20305947, 'dashboard_result_id': 8751909, '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_P20305947_07-02-2025_06_18_35.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20305976, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20305977, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20305978, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20305979, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20305980, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20305981, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20305982, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20305983, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20305984, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20305985, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20305986, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20305987, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592737, 'mtr_portfolio_id': 20306665, 'dashboard_result_id': 8751910, '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_P20306665_07-02-2025_06_19_03.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20306718, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20306719, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20306720, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20306721, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20306722, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20306723, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20306724, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20306725, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20306726, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20306727, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20306728, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20306729, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592737, 'mtr_portfolio_id': 20307225, 'dashboard_result_id': 8751911, '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_P20307225_07-02-2025_06_19_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20307330, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20307331, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20307332, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20307333, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20307334, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20307335, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20307336, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20307337, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20307338, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20307339, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20307340, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20307341, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592737, 'mtr_portfolio_id': 20308646, 'dashboard_result_id': 8751912, '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_P20308646_07-02-2025_06_20_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20308685, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20308686, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20308687, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20308688, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20308689, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20308690, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20308691, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20308692, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20308693, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20308694, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20308695, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20308696, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592737, 'mtr_portfolio_id': 20309020, 'dashboard_result_id': 8751913, '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_P20309020_07-02-2025_06_20_38.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20309047, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20309048, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20309049, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20309050, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20309051, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20309052, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20309053, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20309054, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20309055, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20309056, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20309057, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20309058, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592737, 'mtr_portfolio_id': 20309611, 'dashboard_result_id': 8751914, '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_P20309611_07-02-2025_06_21_03.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20309615, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20309616, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20309617, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20309618, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20309619, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20309620, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20309621, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20309622, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20309623, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20309624, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20309625, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20309626, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592737, 'mtr_portfolio_id': 20310329, 'dashboard_result_id': 8751915, '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_P20310329_07-02-2025_06_21_38.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20310357, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20310358, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20310359, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20310360, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20310361, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20310362, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20310363, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20310364, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20310365, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20310366, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20310367, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20310368, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592737, 'mtr_portfolio_id': 20311140, 'dashboard_result_id': 8751916, '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_P20311140_07-02-2025_06_22_07.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20311173, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20311174, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20311175, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20311176, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20311178, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20311179, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20311180, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20311181, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20311182, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20311183, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20311184, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20311185, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592737, 'mtr_portfolio_id': 20312031, 'dashboard_result_id': 8751917, '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_P20312031_06-02-2025_22_46_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20312062, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20312063, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20312064, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20312065, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20312066, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20312067, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20312068, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20312069, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20312070, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20312071, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20312072, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20312073, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592737, 'mtr_portfolio_id': 20312714, 'dashboard_result_id': 8751919, '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_P20312714_07-02-2025_03_35_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20312716, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20312717, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20312718, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20312719, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20312720, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20312721, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20312722, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20312723, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20312724, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20312725, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20312726, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20312727, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592737, 'mtr_portfolio_id': 20316836, 'dashboard_result_id': 8751920, '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_P20316836_07-02-2025_03_35_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20316900, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20316901, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20316902, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20316903, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20316904, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20316905, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20316906, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20316907, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20316908, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20316909, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20316910, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20316911, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592737, 'mtr_portfolio_id': 20316837, 'dashboard_result_id': 8751921, '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_P20316837_07-02-2025_03_36_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20316924, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20316925, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20316926, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20316927, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20316928, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20316929, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20316930, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20316931, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20316932, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20316933, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20316934, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20316935, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592737, 'mtr_portfolio_id': 20316838, 'dashboard_result_id': 8751922, '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_P20316838_07-02-2025_03_36_38.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20316948, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20316949, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20316950, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20316951, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20316952, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20316953, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20316954, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20316955, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20316956, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20316957, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20316958, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20316959, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592737, 'mtr_portfolio_id': 20316839, 'dashboard_result_id': 8751923, '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_P20316839_07-02-2025_03_34_30.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20316840, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20316841, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20316842, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20316843, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20316844, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20316845, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20316846, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20316847, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20316848, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20316849, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20316850, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20316851, '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 = 20316824 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20316824 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 20316824 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20316824 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20316824 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20316824 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20316824_07-02-2025_05_34_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20316824 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_P20316824_07-02-2025_05_34_34.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20317322, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20317323, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20317324, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20317325, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20317326, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20317327, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20317328, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20317329, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20317330, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20317331, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20317332, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20317333, 'pht': 3726}}" where mtr_portfolio_id = 20316824 and dashboard_run_id = 1592737 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20316825 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20316825 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 20316825 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20316825 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20316825 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20316825 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20316825_07-02-2025_05_35_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20316825 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_P20316825_07-02-2025_05_35_04.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20317346, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20317347, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20317348, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20317349, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20317350, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20317351, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20317352, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20317353, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20317354, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20317355, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20317356, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20317357, 'pht': 3726}}" where mtr_portfolio_id = 20316825 and dashboard_run_id = 1592737 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20316826 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20316826 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 20316826 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20316826 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20316826 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20316826 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20316826_07-02-2025_05_35_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20316826 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_P20316826_07-02-2025_05_35_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20317406, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20317407, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20317408, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20317409, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20317410, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20317411, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20317412, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20317413, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20317414, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20317415, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20317416, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20317417, 'pht': 3726}}" where mtr_portfolio_id = 20316826 and dashboard_run_id = 1592737 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20316827 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20316827 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 20316827 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20316827 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20316827 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20316827 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20316827_07-02-2025_05_41_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20316827 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_P20316827_07-02-2025_05_41_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20317298, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20317299, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20317300, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20317301, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20317302, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20317303, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20317304, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20317305, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20317306, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20317307, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20317308, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20317309, 'pht': 3726}}" where mtr_portfolio_id = 20316827 and dashboard_run_id = 1592737 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20278854 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': 2561283, 'mtr_portfolio_id': 20278854, 'created_at': datetime.datetime(2025, 2, 7, 5, 42, 1), 'result': '0.03888432239120224', 'result_long': None, 'result_double': None}] Qualite : 0.03888432239120224 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20278854 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20278854_07-02-2025_05_42_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20278854 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_P20278854_07-02-2025_05_42_04.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20278907, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20278908, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20278909, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20278910, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20278911, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20278912, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20278913, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20278914, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20278915, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20278916, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20278917, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20278918, 'pht': 3726}}" where mtr_portfolio_id = 20278854 and dashboard_run_id = 1592737 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`=20278854 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8751854, 0.03888432239120224, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20278854_07-02-2025_05_42_04.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20278907, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20278908, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20278909, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20278910, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20278911, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20278912, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20278913, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20278914, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20278915, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20278916, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20278917, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20278918, '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 = 20278856 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': 2561284, 'mtr_portfolio_id': 20278856, 'created_at': datetime.datetime(2025, 2, 7, 5, 43, 3), 'result': '0.07774493339029574', 'result_long': None, 'result_double': None}] Qualite : 0.07774493339029574 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20278856 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20278856_07-02-2025_05_43_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20278856 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_P20278856_07-02-2025_05_43_05.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20278931, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20278932, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20278933, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20278934, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20278935, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20278936, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20278937, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20278938, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20278939, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20278940, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20278941, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20278942, 'pht': 3726}}" where mtr_portfolio_id = 20278856 and dashboard_run_id = 1592737 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`=20278856 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8751855, 0.07774493339029574, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20278856_07-02-2025_05_43_05.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20278931, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20278932, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20278933, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20278934, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20278935, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20278936, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20278937, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20278938, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20278939, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20278940, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20278941, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20278942, '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 = 20279015 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': 2561285, 'mtr_portfolio_id': 20279015, 'created_at': datetime.datetime(2025, 2, 7, 5, 43, 31), 'result': '0.05089593126139812', 'result_long': None, 'result_double': None}] Qualite : 0.05089593126139812 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20279015 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20279015_07-02-2025_05_43_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20279015 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_P20279015_07-02-2025_05_43_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20279096, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20279097, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20279098, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20279099, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20279100, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20279101, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20279102, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20279103, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20279104, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20279105, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20279106, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20279107, 'pht': 3726}}" where mtr_portfolio_id = 20279015 and dashboard_run_id = 1592737 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`=20279015 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8751856, 0.05089593126139812, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20279015_07-02-2025_05_43_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20279096, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20279097, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20279098, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20279099, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20279100, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20279101, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20279102, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20279103, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20279104, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20279105, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20279106, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20279107, '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 = 20279159 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': 2561286, 'mtr_portfolio_id': 20279159, 'created_at': datetime.datetime(2025, 2, 7, 5, 44, 8), 'result': '0.05282049708518813', 'result_long': None, 'result_double': None}] Qualite : 0.05282049708518813 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20279159 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20279159_07-02-2025_05_44_11.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20279159 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_P20279159_07-02-2025_05_44_11.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20279216, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20279217, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20279218, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20279219, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20279220, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20279221, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20279222, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20279223, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20279224, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20279225, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20279226, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20279227, 'pht': 3726}}" where mtr_portfolio_id = 20279159 and dashboard_run_id = 1592737 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`=20279159 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8751857, 0.05282049708518813, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20279159_07-02-2025_05_44_11.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20279216, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20279217, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20279218, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20279219, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20279220, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20279221, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20279222, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20279223, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20279224, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20279225, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20279226, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20279227, '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 = 20279384 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': 2561287, 'mtr_portfolio_id': 20279384, 'created_at': datetime.datetime(2025, 2, 7, 5, 45, 4), 'result': '0.04649096371835471', 'result_long': None, 'result_double': None}] Qualite : 0.04649096371835471 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20279384 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20279384_07-02-2025_05_45_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20279384 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_P20279384_07-02-2025_05_45_08.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20279457, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20279458, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20279459, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20279460, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20279461, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20279462, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20279463, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20279464, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20279465, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20279466, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20279467, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20279468, 'pht': 3726}}" where mtr_portfolio_id = 20279384 and dashboard_run_id = 1592737 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`=20279384 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8751858, 0.04649096371835471, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20279384_07-02-2025_05_45_08.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20279457, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20279458, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20279459, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20279460, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20279461, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20279462, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20279463, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20279464, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20279465, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20279466, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20279467, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20279468, '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 = 20280224 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': 2561288, 'mtr_portfolio_id': 20280224, 'created_at': datetime.datetime(2025, 2, 7, 5, 45, 33), 'result': '0.04345555278846963', 'result_long': None, 'result_double': None}] Qualite : 0.04345555278846963 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20280224 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20280224_07-02-2025_05_45_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20280224 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_P20280224_07-02-2025_05_45_36.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20280267, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20280268, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20280269, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20280270, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20280271, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20280272, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20280273, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20280274, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20280275, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20280276, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20280277, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20280278, 'pht': 3726}}" where mtr_portfolio_id = 20280224 and dashboard_run_id = 1592737 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`=20280224 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8751859, 0.04345555278846963, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20280224_07-02-2025_05_45_36.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20280267, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20280268, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20280269, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20280270, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20280271, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20280272, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20280273, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20280274, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20280275, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20280276, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20280277, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20280278, '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 = 20281066 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': 2561289, 'mtr_portfolio_id': 20281066, 'created_at': datetime.datetime(2025, 2, 7, 5, 46, 3), 'result': '0.05246176236512903', 'result_long': None, 'result_double': None}] Qualite : 0.05246176236512903 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20281066 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20281066_07-02-2025_05_46_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20281066 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_P20281066_07-02-2025_05_46_07.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20281122, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20281123, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20281124, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20281125, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20281126, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20281127, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20281128, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20281129, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20281130, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20281131, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20281132, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20281133, 'pht': 3726}}" where mtr_portfolio_id = 20281066 and dashboard_run_id = 1592737 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`=20281066 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8751860, 0.05246176236512903, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20281066_07-02-2025_05_46_07.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20281122, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20281123, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20281124, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20281125, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20281126, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20281127, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20281128, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20281129, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20281130, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20281131, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20281132, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20281133, '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 = 20281877 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': 2561290, 'mtr_portfolio_id': 20281877, 'created_at': datetime.datetime(2025, 2, 7, 5, 46, 41), 'result': '0.03761295266286882', 'result_long': None, 'result_double': None}] Qualite : 0.03761295266286882 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20281877 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20281877_07-02-2025_05_46_46.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20281877 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_P20281877_07-02-2025_05_46_46.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20281906, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20281907, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20281908, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20281909, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20281910, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20281911, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20281912, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20281913, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20281914, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20281915, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20281916, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20281917, 'pht': 3726}}" where mtr_portfolio_id = 20281877 and dashboard_run_id = 1592737 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`=20281877 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8751861, 0.03761295266286882, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20281877_07-02-2025_05_46_46.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20281906, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20281907, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20281908, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20281909, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20281910, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20281911, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20281912, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20281913, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20281914, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20281915, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20281916, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20281917, '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 = 20282516 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': 2561291, 'mtr_portfolio_id': 20282516, 'created_at': datetime.datetime(2025, 2, 7, 5, 47, 31), 'result': '0.06936044313439063', 'result_long': None, 'result_double': None}] Qualite : 0.06936044313439063 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20282516 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20282516_07-02-2025_05_47_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20282516 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_P20282516_07-02-2025_05_47_36.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20282568, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20282569, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20282570, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20282571, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20282572, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20282573, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20282574, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20282575, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20282576, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20282577, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20282578, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20282579, 'pht': 3726}}" where mtr_portfolio_id = 20282516 and dashboard_run_id = 1592737 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`=20282516 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8751862, 0.06936044313439063, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20282516_07-02-2025_05_47_36.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20282568, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20282569, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20282570, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20282571, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20282572, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20282573, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20282574, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20282575, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20282576, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20282577, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20282578, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20282579, '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 = 20283028 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': 2561292, 'mtr_portfolio_id': 20283028, 'created_at': datetime.datetime(2025, 2, 7, 5, 48, 3), 'result': '0.03856919395457127', 'result_long': None, 'result_double': None}] Qualite : 0.03856919395457127 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20283028 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20283028_07-02-2025_05_48_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20283028 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_P20283028_07-02-2025_05_48_06.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20283035, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20283036, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20283037, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20283038, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20283039, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20283040, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20283041, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20283042, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20283043, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20283044, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20283045, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20283046, 'pht': 3726}}" where mtr_portfolio_id = 20283028 and dashboard_run_id = 1592737 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`=20283028 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8751863, 0.03856919395457127, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20283028_07-02-2025_05_48_06.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20283035, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20283036, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20283037, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20283038, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20283039, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20283040, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20283041, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20283042, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20283043, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20283044, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20283045, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20283046, '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 = 20283606 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': 2561293, 'mtr_portfolio_id': 20283606, 'created_at': datetime.datetime(2025, 2, 7, 5, 48, 35), 'result': '0.04238544842872937', 'result_long': None, 'result_double': None}] Qualite : 0.04238544842872937 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20283606 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20283606_07-02-2025_05_48_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20283606 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_P20283606_07-02-2025_05_48_37.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20283666, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20283667, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20283668, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20283669, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20283670, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20283671, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20283672, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20283673, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20283674, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20283675, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20283676, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20283677, 'pht': 3726}}" where mtr_portfolio_id = 20283606 and dashboard_run_id = 1592737 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`=20283606 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8751864, 0.04238544842872937, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20283606_07-02-2025_05_48_37.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20283666, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20283667, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20283668, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20283669, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20283670, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20283671, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20283672, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20283673, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20283674, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20283675, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20283676, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20283677, '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 = 20284556 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': 2561294, 'mtr_portfolio_id': 20284556, 'created_at': datetime.datetime(2025, 2, 7, 5, 49, 34), 'result': '0.04837855893682185', 'result_long': None, 'result_double': None}] Qualite : 0.04837855893682185 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20284556 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20284556_07-02-2025_05_49_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20284556 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_P20284556_07-02-2025_05_49_37.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20284586, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20284587, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20284588, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20284589, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20284590, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20284591, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20284592, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20284593, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20284594, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20284595, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20284596, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20284597, 'pht': 3726}}" where mtr_portfolio_id = 20284556 and dashboard_run_id = 1592737 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`=20284556 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8751865, 0.04837855893682185, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20284556_07-02-2025_05_49_37.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20284586, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20284587, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20284588, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20284589, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20284590, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20284591, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20284592, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20284593, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20284594, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20284595, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20284596, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20284597, '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 = 20285219 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': 2561295, 'mtr_portfolio_id': 20285219, 'created_at': datetime.datetime(2025, 2, 7, 5, 50, 4), 'result': '0.04550063060979205', 'result_long': None, 'result_double': None}] Qualite : 0.04550063060979205 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20285219 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20285219_07-02-2025_05_50_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20285219 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_P20285219_07-02-2025_05_50_07.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20285227, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20285228, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20285229, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20285230, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20285231, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20285232, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20285233, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20285234, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20285235, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20285236, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20285237, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20285238, 'pht': 3726}}" where mtr_portfolio_id = 20285219 and dashboard_run_id = 1592737 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`=20285219 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8751866, 0.04550063060979205, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20285219_07-02-2025_05_50_07.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20285227, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20285228, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20285229, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20285230, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20285231, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20285232, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20285233, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20285234, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20285235, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20285236, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20285237, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20285238, '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 = 20286053 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': 2561296, 'mtr_portfolio_id': 20286053, 'created_at': datetime.datetime(2025, 2, 7, 5, 50, 39), 'result': '0.0632931282730785', 'result_long': None, 'result_double': None}] Qualite : 0.0632931282730785 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20286053 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20286053_07-02-2025_05_50_44.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20286053 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_P20286053_07-02-2025_05_50_44.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20286055, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20286056, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20286057, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20286058, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20286059, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20286060, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20286061, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20286062, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20286063, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20286064, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20286065, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20286066, 'pht': 3726}}" where mtr_portfolio_id = 20286053 and dashboard_run_id = 1592737 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`=20286053 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8751867, 0.0632931282730785, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20286053_07-02-2025_05_50_44.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20286055, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20286056, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20286057, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20286058, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20286059, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20286060, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20286061, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20286062, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20286063, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20286064, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20286065, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20286066, '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 = 20286533 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': 2561297, 'mtr_portfolio_id': 20286533, 'created_at': datetime.datetime(2025, 2, 7, 5, 51, 37), 'result': '0.04706495972639552', 'result_long': None, 'result_double': None}] Qualite : 0.04706495972639552 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20286533 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20286533_07-02-2025_05_51_40.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20286533 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_P20286533_07-02-2025_05_51_40.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20286537, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20286538, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20286539, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20286540, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20286541, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20286542, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20286543, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20286544, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20286545, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20286546, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20286547, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20286548, 'pht': 3726}}" where mtr_portfolio_id = 20286533 and dashboard_run_id = 1592737 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`=20286533 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8751868, 0.04706495972639552, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20286533_07-02-2025_05_51_40.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20286537, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20286538, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20286539, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20286540, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20286541, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20286542, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20286543, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20286544, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20286545, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20286546, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20286547, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20286548, '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 = 20286862 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': 2561298, 'mtr_portfolio_id': 20286862, 'created_at': datetime.datetime(2025, 2, 7, 5, 52, 6), 'result': '0.04227434592128079', 'result_long': None, 'result_double': None}] Qualite : 0.04227434592128079 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20286862 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20286862_07-02-2025_05_52_10.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20286862 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_P20286862_07-02-2025_05_52_10.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20286868, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20286869, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20286870, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20286871, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20286872, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20286873, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20286874, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20286875, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20286876, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20286877, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20286878, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20286879, 'pht': 3726}}" where mtr_portfolio_id = 20286862 and dashboard_run_id = 1592737 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`=20286862 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8751869, 0.04227434592128079, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20286862_07-02-2025_05_52_10.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20286868, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20286869, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20286870, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20286871, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20286872, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20286873, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20286874, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20286875, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20286876, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20286877, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20286878, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20286879, '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 = 20287423 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': 2561299, 'mtr_portfolio_id': 20287423, 'created_at': datetime.datetime(2025, 2, 7, 5, 57, 32), 'result': '0.05014163597464928', 'result_long': None, 'result_double': None}] Qualite : 0.05014163597464928 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20287423 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20287423_07-02-2025_05_57_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20287423 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_P20287423_07-02-2025_05_57_35.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20287430, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20287431, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20287432, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20287433, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20287434, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20287435, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20287436, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20287437, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20287438, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20287439, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20287440, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20287441, 'pht': 3726}}" where mtr_portfolio_id = 20287423 and dashboard_run_id = 1592737 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`=20287423 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8751870, 0.05014163597464928, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20287423_07-02-2025_05_57_35.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20287430, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20287431, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20287432, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20287433, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20287434, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20287435, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20287436, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20287437, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20287438, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20287439, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20287440, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20287441, '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 = 20288163 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': 2561300, 'mtr_portfolio_id': 20288163, 'created_at': datetime.datetime(2025, 2, 7, 5, 58, 2), 'result': '0.046767372884596994', 'result_long': None, 'result_double': None}] Qualite : 0.046767372884596994 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20288163 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20288163_07-02-2025_05_58_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20288163 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_P20288163_07-02-2025_05_58_04.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20288170, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20288171, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20288172, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20288173, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20288174, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20288175, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20288176, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20288177, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20288178, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20288179, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20288180, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20288181, 'pht': 3726}}" where mtr_portfolio_id = 20288163 and dashboard_run_id = 1592737 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`=20288163 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8751871, 0.046767372884596994, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20288163_07-02-2025_05_58_04.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20288170, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20288171, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20288172, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20288173, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20288174, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20288175, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20288176, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20288177, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20288178, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20288179, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20288180, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20288181, '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 = 20288603 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': 2561301, 'mtr_portfolio_id': 20288603, 'created_at': datetime.datetime(2025, 2, 7, 5, 58, 34), 'result': '0.058675995415575846', 'result_long': None, 'result_double': None}] Qualite : 0.058675995415575846 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20288603 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20288603_07-02-2025_05_58_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20288603 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_P20288603_07-02-2025_05_58_38.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20288632, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20288633, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20288634, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20288635, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20288636, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20288637, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20288638, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20288639, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20288640, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20288641, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20288642, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20288643, 'pht': 3726}}" where mtr_portfolio_id = 20288603 and dashboard_run_id = 1592737 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`=20288603 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8751873, 0.058675995415575846, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20288603_07-02-2025_05_58_38.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20288632, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20288633, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20288634, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20288635, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20288636, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20288637, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20288638, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20288639, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20288640, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20288641, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20288642, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20288643, '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 = 20289032 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': 2561302, 'mtr_portfolio_id': 20289032, 'created_at': datetime.datetime(2025, 2, 7, 5, 59, 33), 'result': '0.04419145366980731', 'result_long': None, 'result_double': None}] Qualite : 0.04419145366980731 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20289032 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20289032_07-02-2025_05_59_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20289032 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_P20289032_07-02-2025_05_59_37.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20289033, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20289034, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20289035, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20289036, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20289037, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20289038, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20289039, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20289040, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20289041, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20289042, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20289043, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20289044, 'pht': 3726}}" where mtr_portfolio_id = 20289032 and dashboard_run_id = 1592737 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`=20289032 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8751874, 0.04419145366980731, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20289032_07-02-2025_05_59_37.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20289033, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20289034, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20289035, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20289036, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20289037, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20289038, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20289039, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20289040, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20289041, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20289042, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20289043, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20289044, '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 = 20289745 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': 2561303, 'mtr_portfolio_id': 20289745, 'created_at': datetime.datetime(2025, 2, 7, 5, 59, 58), 'result': '0.048459267579643424', 'result_long': None, 'result_double': None}] Qualite : 0.048459267579643424 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20289745 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20289745_07-02-2025_06_00_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20289745 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_P20289745_07-02-2025_06_00_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20289787, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20289788, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20289789, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20289791, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20289792, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20289793, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20289794, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20289795, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20289796, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20289797, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20289798, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20289799, 'pht': 3726}}" where mtr_portfolio_id = 20289745 and dashboard_run_id = 1592737 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`=20289745 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8751875, 0.048459267579643424, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20289745_07-02-2025_06_00_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20289787, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20289788, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20289789, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20289791, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20289792, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20289793, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20289794, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20289795, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20289796, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20289797, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20289798, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20289799, '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 = 20290351 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': 2561304, 'mtr_portfolio_id': 20290351, 'created_at': datetime.datetime(2025, 2, 7, 6, 0, 32), 'result': '0.06569047563469585', 'result_long': None, 'result_double': None}] Qualite : 0.06569047563469585 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20290351 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20290351_07-02-2025_06_00_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20290351 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_P20290351_07-02-2025_06_00_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20290357, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20290358, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20290359, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20290360, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20290361, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20290362, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20290363, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20290364, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20290365, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20290366, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20290367, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20290368, 'pht': 3726}}" where mtr_portfolio_id = 20290351 and dashboard_run_id = 1592737 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`=20290351 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8751876, 0.06569047563469585, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20290351_07-02-2025_06_00_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20290357, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20290358, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20290359, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20290360, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20290361, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20290362, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20290363, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20290364, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20290365, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20290366, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20290367, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20290368, '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 = 20290772 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': 2561305, 'mtr_portfolio_id': 20290772, 'created_at': datetime.datetime(2025, 2, 7, 6, 1, 34), 'result': '0.04462104397531356', 'result_long': None, 'result_double': None}] Qualite : 0.04462104397531356 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20290772 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20290772_07-02-2025_06_01_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20290772 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_P20290772_07-02-2025_06_01_37.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20290823, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20290824, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20290825, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20290826, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20290827, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20290828, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20290829, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20290830, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20290831, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20290832, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20290833, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20290834, 'pht': 3726}}" where mtr_portfolio_id = 20290772 and dashboard_run_id = 1592737 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`=20290772 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8751877, 0.04462104397531356, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20290772_07-02-2025_06_01_37.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20290823, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20290824, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20290825, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20290826, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20290827, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20290828, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20290829, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20290830, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20290831, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20290832, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20290833, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20290834, '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 = 20291438 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': 2561306, 'mtr_portfolio_id': 20291438, 'created_at': datetime.datetime(2025, 2, 7, 6, 3, 5), 'result': '0.051562908958269725', 'result_long': None, 'result_double': None}] Qualite : 0.051562908958269725 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20291438 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20291438_07-02-2025_06_03_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20291438 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_P20291438_07-02-2025_06_03_08.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20291490, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20291491, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20291492, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20291493, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20291494, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20291495, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20291496, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20291497, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20291498, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20291499, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20291500, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20291501, 'pht': 3726}}" where mtr_portfolio_id = 20291438 and dashboard_run_id = 1592737 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`=20291438 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8751878, 0.051562908958269725, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20291438_07-02-2025_06_03_08.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20291490, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20291491, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20291492, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20291493, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20291494, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20291495, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20291496, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20291497, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20291498, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20291499, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20291500, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20291501, '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 = 20292165 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': 2561307, 'mtr_portfolio_id': 20292165, 'created_at': datetime.datetime(2025, 2, 7, 6, 3, 31), 'result': '0.05679833606548725', 'result_long': None, 'result_double': None}] Qualite : 0.05679833606548725 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20292165 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20292165_07-02-2025_06_03_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20292165 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_P20292165_07-02-2025_06_03_34.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20292196, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20292197, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20292198, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20292199, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20292200, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20292201, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20292202, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20292203, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20292204, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20292205, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20292206, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20292207, 'pht': 3726}}" where mtr_portfolio_id = 20292165 and dashboard_run_id = 1592737 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`=20292165 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8751879, 0.05679833606548725, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20292165_07-02-2025_06_03_34.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20292196, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20292197, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20292198, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20292199, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20292200, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20292201, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20292202, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20292203, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20292204, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20292205, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20292206, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20292207, '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 = 20292813 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': 2561308, 'mtr_portfolio_id': 20292813, 'created_at': datetime.datetime(2025, 2, 7, 6, 4, 3), 'result': '0.0524917392759615', 'result_long': None, 'result_double': None}] Qualite : 0.0524917392759615 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20292813 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20292813_07-02-2025_06_04_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20292813 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_P20292813_07-02-2025_06_04_05.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20292868, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20292869, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20292870, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20292871, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20292872, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20292873, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20292874, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20292875, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20292876, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20292877, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20292878, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20292879, 'pht': 3726}}" where mtr_portfolio_id = 20292813 and dashboard_run_id = 1592737 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`=20292813 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8751880, 0.0524917392759615, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20292813_07-02-2025_06_04_05.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20292868, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20292869, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20292870, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20292871, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20292872, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20292873, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20292874, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20292875, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20292876, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20292877, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20292878, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20292879, '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 = 20293389 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': 2561309, 'mtr_portfolio_id': 20293389, 'created_at': datetime.datetime(2025, 2, 7, 6, 4, 31), 'result': '0.05066912850368695', 'result_long': None, 'result_double': None}] Qualite : 0.05066912850368695 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20293389 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20293389_07-02-2025_06_04_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20293389 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_P20293389_07-02-2025_06_04_34.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20293418, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20293419, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20293420, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20293421, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20293422, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20293423, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20293424, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20293425, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20293426, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20293427, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20293428, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20293429, 'pht': 3726}}" where mtr_portfolio_id = 20293389 and dashboard_run_id = 1592737 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`=20293389 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8751881, 0.05066912850368695, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20293389_07-02-2025_06_04_34.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20293418, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20293419, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20293420, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20293421, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20293422, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20293423, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20293424, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20293425, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20293426, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20293427, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20293428, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20293429, '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 = 20293740 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': 2561310, 'mtr_portfolio_id': 20293740, 'created_at': datetime.datetime(2025, 2, 7, 6, 6, 4), 'result': '0.04368067819846714', 'result_long': None, 'result_double': None}] Qualite : 0.04368067819846714 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20293740 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20293740_07-02-2025_06_06_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20293740 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_P20293740_07-02-2025_06_06_07.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20293771, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20293772, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20293773, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20293774, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20293775, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20293776, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20293777, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20293778, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20293779, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20293780, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20293781, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20293782, 'pht': 3726}}" where mtr_portfolio_id = 20293740 and dashboard_run_id = 1592737 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`=20293740 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8751883, 0.04368067819846714, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20293740_07-02-2025_06_06_07.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20293771, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20293772, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20293773, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20293774, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20293775, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20293776, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20293777, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20293778, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20293779, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20293780, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20293781, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20293782, '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 = 20294672 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': 2561311, 'mtr_portfolio_id': 20294672, 'created_at': datetime.datetime(2025, 2, 7, 6, 6, 29), 'result': '0.04150541665178558', 'result_long': None, 'result_double': None}] Qualite : 0.04150541665178558 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20294672 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20294672_07-02-2025_06_06_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20294672 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_P20294672_07-02-2025_06_06_34.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20294678, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20294679, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20294680, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20294681, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20294682, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20294683, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20294684, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20294685, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20294686, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20294687, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20294688, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20294689, 'pht': 3726}}" where mtr_portfolio_id = 20294672 and dashboard_run_id = 1592737 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`=20294672 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8751884, 0.04150541665178558, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20294672_07-02-2025_06_06_34.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20294678, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20294679, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20294680, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20294681, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20294682, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20294683, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20294684, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20294685, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20294686, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20294687, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20294688, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20294689, '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 = 20316828 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20316828 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 20316828 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20316828 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20316828 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20316828 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20316828_07-02-2025_06_07_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20316828 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_P20316828_07-02-2025_06_07_29.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20317274, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20317275, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20317276, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20317277, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20317278, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20317279, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20317280, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20317281, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20317282, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20317283, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20317284, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20317285, 'pht': 3726}}" where mtr_portfolio_id = 20316828 and dashboard_run_id = 1592737 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20316829 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20316829 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 20316829 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20316829 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20316829 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20316829 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20316829_07-02-2025_06_08_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20316829 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_P20316829_07-02-2025_06_08_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20317214, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20317215, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20317216, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20317217, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20317218, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20317219, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20317220, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20317221, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20317222, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20317223, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20317224, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20317225, 'pht': 3726}}" where mtr_portfolio_id = 20316829 and dashboard_run_id = 1592737 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20316830 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20316830 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 20316830 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20316830 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20316830 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20316830 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20316830_07-02-2025_06_08_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20316830 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_P20316830_07-02-2025_06_08_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20317158, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20317159, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20317160, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20317161, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20317162, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20317163, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20317164, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20317165, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20317166, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20317167, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20317168, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20317169, 'pht': 3726}}" where mtr_portfolio_id = 20316830 and dashboard_run_id = 1592737 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20316831 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20316831 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 20316831 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20316831 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20316831 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20316831 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20316831_07-02-2025_06_09_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20316831 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_P20316831_07-02-2025_06_09_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20317053, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20317054, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20317055, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20317056, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20317057, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20317058, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20317059, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20317060, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20317061, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20317062, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20317063, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20317064, 'pht': 3726}}" where mtr_portfolio_id = 20316831 and dashboard_run_id = 1592737 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20316832 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20316832 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 20316832 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20316832 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20316832 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20316832 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20316832_07-02-2025_06_10_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20316832 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_P20316832_07-02-2025_06_10_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20317110, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20317111, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20317112, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20317113, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20317114, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20317115, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20317116, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20317117, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20317118, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20317119, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20317120, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20317121, 'pht': 3726}}" where mtr_portfolio_id = 20316832 and dashboard_run_id = 1592737 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20316833 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20316833 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 20316833 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20316833 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20316833 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20316833 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20316833_07-02-2025_06_10_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20316833 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_P20316833_07-02-2025_06_10_30.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20317134, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20317135, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20317136, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20317137, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20317138, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20317139, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20317140, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20317141, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20317142, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20317143, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20317144, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20317145, 'pht': 3726}}" where mtr_portfolio_id = 20316833 and dashboard_run_id = 1592737 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20316834 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20316834 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 20316834 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20316834 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20316834 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20316834 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20316834_07-02-2025_06_11_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20316834 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_P20316834_07-02-2025_06_11_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20316997, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20316998, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20316999, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20317000, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20317001, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20317002, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20317003, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20317004, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20317005, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20317006, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20317007, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20317008, 'pht': 3726}}" where mtr_portfolio_id = 20316834 and dashboard_run_id = 1592737 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20316835 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20316835 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 20316835 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20316835 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20316835 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20316835 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20316835_07-02-2025_06_11_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20316835 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_P20316835_07-02-2025_06_11_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20316972, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20316973, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20316974, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20316975, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20316976, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20316977, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20316978, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20316979, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20316980, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20316981, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20316982, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20316983, 'pht': 3726}}" where mtr_portfolio_id = 20316835 and dashboard_run_id = 1592737 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20299387 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20299387 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 20299387 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20299387 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20299387 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20299387 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20299387_07-02-2025_06_12_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20299387 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_P20299387_07-02-2025_06_12_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20299406, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20299407, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20299408, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20299409, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20299410, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20299411, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20299412, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20299413, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20299414, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20299415, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20299416, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20299417, 'pht': 3726}}" where mtr_portfolio_id = 20299387 and dashboard_run_id = 1592737 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20299216 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': 2561321, 'mtr_portfolio_id': 20299216, 'created_at': datetime.datetime(2025, 2, 7, 6, 12, 31), 'result': '0.0352595597513906', 'result_long': None, 'result_double': None}] Qualite : 0.0352595597513906 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20299216 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20299216_07-02-2025_06_12_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20299216 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_P20299216_07-02-2025_06_12_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20299279, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20299280, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20299281, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20299282, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20299283, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20299284, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20299285, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20299286, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20299287, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20299288, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20299289, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20299290, 'pht': 3726}}" where mtr_portfolio_id = 20299216 and dashboard_run_id = 1592737 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`=20299216 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8751895, 0.0352595597513906, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20299216_07-02-2025_06_12_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20299279, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20299280, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20299281, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20299282, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20299283, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20299284, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20299285, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20299286, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20299287, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20299288, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20299289, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20299290, '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 = 20298776 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': 2561322, 'mtr_portfolio_id': 20298776, 'created_at': datetime.datetime(2025, 2, 7, 6, 13, 4), 'result': '0.03922107199702222', 'result_long': None, 'result_double': None}] Qualite : 0.03922107199702222 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20298776 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20298776_07-02-2025_06_13_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20298776 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_P20298776_07-02-2025_06_13_06.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20298785, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20298786, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20298787, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20298788, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20298789, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20298790, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20298791, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20298792, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20298793, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20298794, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20298795, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20298796, 'pht': 3726}}" where mtr_portfolio_id = 20298776 and dashboard_run_id = 1592737 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`=20298776 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8751896, 0.03922107199702222, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20298776_07-02-2025_06_13_06.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20298785, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20298786, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20298787, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20298788, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20298789, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20298790, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20298791, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20298792, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20298793, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20298794, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20298795, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20298796, '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 = 20298550 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': 2561323, 'mtr_portfolio_id': 20298550, 'created_at': datetime.datetime(2025, 2, 7, 6, 13, 29), 'result': '0.03733731165102909', 'result_long': None, 'result_double': None}] Qualite : 0.03733731165102909 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20298550 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20298550_07-02-2025_06_13_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20298550 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_P20298550_07-02-2025_06_13_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20298563, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20298564, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20298565, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20298566, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20298567, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20298568, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20298569, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20298570, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20298571, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20298572, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20298573, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20298574, 'pht': 3726}}" where mtr_portfolio_id = 20298550 and dashboard_run_id = 1592737 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`=20298550 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8751897, 0.03733731165102909, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20298550_07-02-2025_06_13_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20298563, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20298564, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20298565, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20298566, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20298567, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20298568, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20298569, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20298570, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20298571, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20298572, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20298573, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20298574, '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 = 20299457 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': 2561324, 'mtr_portfolio_id': 20299457, 'created_at': datetime.datetime(2025, 2, 7, 6, 14), 'result': '0.03131607217961524', 'result_long': None, 'result_double': None}] Qualite : 0.03131607217961524 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20299457 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20299457_07-02-2025_06_14_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20299457 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_P20299457_07-02-2025_06_14_03.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20299490, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20299491, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20299492, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20299493, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20299494, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20299495, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20299497, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20299498, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20299499, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20299500, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20299501, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20299502, 'pht': 3726}}" where mtr_portfolio_id = 20299457 and dashboard_run_id = 1592737 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`=20299457 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8751898, 0.03131607217961524, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20299457_07-02-2025_06_14_03.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20299490, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20299491, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20299492, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20299493, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20299494, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20299495, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20299497, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20299498, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20299499, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20299500, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20299501, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20299502, '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 = 20300876 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': 2561325, 'mtr_portfolio_id': 20300876, 'created_at': datetime.datetime(2025, 2, 7, 6, 14, 30), 'result': '0.048086190982452814', 'result_long': None, 'result_double': None}] Qualite : 0.048086190982452814 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20300876 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20300876_07-02-2025_06_14_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20300876 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_P20300876_07-02-2025_06_14_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20300881, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20300882, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20300883, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20300884, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20300885, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20300886, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20300887, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20300888, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20300889, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20300890, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20300891, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20300892, 'pht': 3726}}" where mtr_portfolio_id = 20300876 and dashboard_run_id = 1592737 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`=20300876 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8751900, 0.048086190982452814, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20300876_07-02-2025_06_14_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20300881, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20300882, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20300883, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20300884, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20300885, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20300886, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20300887, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20300888, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20300889, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20300890, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20300891, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20300892, '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 = 20301677 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': 2561326, 'mtr_portfolio_id': 20301677, 'created_at': datetime.datetime(2025, 2, 7, 6, 15), 'result': '0.04666366736493604', 'result_long': None, 'result_double': None}] Qualite : 0.04666366736493604 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20301677 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20301677_07-02-2025_06_15_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20301677 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_P20301677_07-02-2025_06_15_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20301720, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20301721, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20301722, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20301723, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20301724, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20301725, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20301726, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20301727, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20301728, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20301729, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20301730, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20301731, 'pht': 3726}}" where mtr_portfolio_id = 20301677 and dashboard_run_id = 1592737 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`=20301677 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8751901, 0.04666366736493604, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20301677_07-02-2025_06_15_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20301720, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20301721, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20301722, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20301723, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20301724, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20301725, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20301726, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20301727, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20301728, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20301729, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20301730, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20301731, '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 = 20302042 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': 2561327, 'mtr_portfolio_id': 20302042, 'created_at': datetime.datetime(2025, 2, 7, 6, 15, 30), 'result': '0.04352112726648547', 'result_long': None, 'result_double': None}] Qualite : 0.04352112726648547 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20302042 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20302042_07-02-2025_06_15_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20302042 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_P20302042_07-02-2025_06_15_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20302050, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20302051, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20302052, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20302053, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20302054, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20302055, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20302056, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20302057, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20302058, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20302059, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20302060, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20302061, 'pht': 3726}}" where mtr_portfolio_id = 20302042 and dashboard_run_id = 1592737 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`=20302042 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8751902, 0.04352112726648547, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20302042_07-02-2025_06_15_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20302050, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20302051, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20302052, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20302053, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20302054, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20302055, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20302056, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20302057, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20302058, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20302059, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20302060, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20302061, '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 = 20302815 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': 2561328, 'mtr_portfolio_id': 20302815, 'created_at': datetime.datetime(2025, 2, 7, 6, 15, 59), 'result': '0.05629427192096666', 'result_long': None, 'result_double': None}] Qualite : 0.05629427192096666 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20302815 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20302815_07-02-2025_06_16_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20302815 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_P20302815_07-02-2025_06_16_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20302818, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20302819, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20302820, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20302821, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20302822, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20302823, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20302824, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20302825, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20302826, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20302827, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20302828, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20302829, 'pht': 3726}}" where mtr_portfolio_id = 20302815 and dashboard_run_id = 1592737 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`=20302815 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8751903, 0.05629427192096666, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20302815_07-02-2025_06_16_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20302818, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20302819, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20302820, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20302821, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20302822, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20302823, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20302824, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20302825, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20302826, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20302827, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20302828, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20302829, '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 = 20303438 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': 2561329, 'mtr_portfolio_id': 20303438, 'created_at': datetime.datetime(2025, 2, 7, 6, 16, 31), 'result': '0.08964895806631637', 'result_long': None, 'result_double': None}] Qualite : 0.08964895806631637 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20303438 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20303438_07-02-2025_06_16_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20303438 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_P20303438_07-02-2025_06_16_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20303453, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20303454, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20303455, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20303456, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20303457, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20303458, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20303459, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20303460, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20303461, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20303462, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20303463, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20303464, 'pht': 3726}}" where mtr_portfolio_id = 20303438 and dashboard_run_id = 1592737 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`=20303438 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8751904, 0.08964895806631637, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20303438_07-02-2025_06_16_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20303453, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20303454, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20303455, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20303456, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20303457, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20303458, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20303459, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20303460, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20303461, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20303462, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20303463, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20303464, '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 = 20303638 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': 2561330, 'mtr_portfolio_id': 20303638, 'created_at': datetime.datetime(2025, 2, 7, 6, 17, 4), 'result': '0.06929750799831014', 'result_long': None, 'result_double': None}] Qualite : 0.06929750799831014 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20303638 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20303638_07-02-2025_06_17_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20303638 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_P20303638_07-02-2025_06_17_06.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20303645, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20303646, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20303647, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20303648, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20303649, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20303650, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20303651, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20303652, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20303653, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20303655, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20303660, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20303666, 'pht': 3726}}" where mtr_portfolio_id = 20303638 and dashboard_run_id = 1592737 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`=20303638 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8751905, 0.06929750799831014, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20303638_07-02-2025_06_17_06.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20303645, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20303646, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20303647, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20303648, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20303649, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20303650, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20303651, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20303652, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20303653, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20303655, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20303660, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20303666, '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 = 20304311 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': 2561331, 'mtr_portfolio_id': 20304311, 'created_at': datetime.datetime(2025, 2, 7, 6, 17, 33), 'result': '0.053824484554851', 'result_long': None, 'result_double': None}] Qualite : 0.053824484554851 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20304311 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20304311_07-02-2025_06_17_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20304311 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_P20304311_07-02-2025_06_17_35.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20304331, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20304332, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20304333, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20304334, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20304335, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20304336, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20304337, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20304338, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20304339, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20304340, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20304341, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20304342, 'pht': 3726}}" where mtr_portfolio_id = 20304311 and dashboard_run_id = 1592737 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`=20304311 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8751906, 0.053824484554851, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20304311_07-02-2025_06_17_35.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20304331, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20304332, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20304333, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20304334, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20304335, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20304336, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20304337, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20304338, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20304339, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20304340, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20304341, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20304342, '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 = 20305090 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': 2561332, 'mtr_portfolio_id': 20305090, 'created_at': datetime.datetime(2025, 2, 7, 6, 17, 59), 'result': '0.054166603909586816', 'result_long': None, 'result_double': None}] Qualite : 0.054166603909586816 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20305090 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20305090_07-02-2025_06_18_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20305090 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_P20305090_07-02-2025_06_18_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20305096, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20305097, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20305098, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20305099, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20305100, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20305101, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20305102, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20305103, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20305104, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20305105, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20305106, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20305107, 'pht': 3726}}" where mtr_portfolio_id = 20305090 and dashboard_run_id = 1592737 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`=20305090 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8751907, 0.054166603909586816, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20305090_07-02-2025_06_18_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20305096, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20305097, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20305098, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20305099, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20305100, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20305101, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20305102, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20305103, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20305104, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20305105, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20305106, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20305107, '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 = 20305947 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': 2561333, 'mtr_portfolio_id': 20305947, 'created_at': datetime.datetime(2025, 2, 7, 6, 18, 33), 'result': '0.04680340349746728', 'result_long': None, 'result_double': None}] Qualite : 0.04680340349746728 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20305947 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20305947_07-02-2025_06_18_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20305947 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_P20305947_07-02-2025_06_18_35.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20305976, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20305977, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20305978, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20305979, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20305980, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20305981, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20305982, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20305983, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20305984, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20305985, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20305986, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20305987, 'pht': 3726}}" where mtr_portfolio_id = 20305947 and dashboard_run_id = 1592737 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`=20305947 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8751909, 0.04680340349746728, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20305947_07-02-2025_06_18_35.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20305976, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20305977, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20305978, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20305979, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20305980, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20305981, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20305982, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20305983, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20305984, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20305985, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20305986, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20305987, '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 = 20306665 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': 2561334, 'mtr_portfolio_id': 20306665, 'created_at': datetime.datetime(2025, 2, 7, 6, 19, 1), 'result': '0.0499474011213083', 'result_long': None, 'result_double': None}] Qualite : 0.0499474011213083 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20306665 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20306665_07-02-2025_06_19_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20306665 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_P20306665_07-02-2025_06_19_03.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20306718, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20306719, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20306720, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20306721, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20306722, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20306723, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20306724, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20306725, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20306726, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20306727, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20306728, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20306729, 'pht': 3726}}" where mtr_portfolio_id = 20306665 and dashboard_run_id = 1592737 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`=20306665 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8751910, 0.0499474011213083, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20306665_07-02-2025_06_19_03.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20306718, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20306719, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20306720, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20306721, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20306722, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20306723, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20306724, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20306725, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20306726, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20306727, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20306728, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20306729, '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 = 20307225 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': 2561335, 'mtr_portfolio_id': 20307225, 'created_at': datetime.datetime(2025, 2, 7, 6, 19, 27), 'result': '0.032297323468564634', 'result_long': None, 'result_double': None}] Qualite : 0.032297323468564634 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20307225 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20307225_07-02-2025_06_19_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20307225 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_P20307225_07-02-2025_06_19_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20307330, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20307331, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20307332, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20307333, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20307334, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20307335, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20307336, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20307337, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20307338, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20307339, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20307340, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20307341, 'pht': 3726}}" where mtr_portfolio_id = 20307225 and dashboard_run_id = 1592737 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`=20307225 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8751911, 0.032297323468564634, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20307225_07-02-2025_06_19_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20307330, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20307331, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20307332, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20307333, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20307334, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20307335, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20307336, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20307337, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20307338, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20307339, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20307340, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20307341, '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 = 20308646 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': 2561336, 'mtr_portfolio_id': 20308646, 'created_at': datetime.datetime(2025, 2, 7, 6, 20, 1), 'result': '0.07539889215117791', 'result_long': None, 'result_double': None}] Qualite : 0.07539889215117791 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20308646 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20308646_07-02-2025_06_20_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20308646 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_P20308646_07-02-2025_06_20_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20308685, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20308686, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20308687, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20308688, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20308689, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20308690, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20308691, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20308692, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20308693, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20308694, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20308695, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20308696, 'pht': 3726}}" where mtr_portfolio_id = 20308646 and dashboard_run_id = 1592737 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`=20308646 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8751912, 0.07539889215117791, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20308646_07-02-2025_06_20_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20308685, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20308686, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20308687, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20308688, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20308689, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20308690, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20308691, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20308692, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20308693, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20308694, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20308695, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20308696, '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 = 20309020 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': 2561337, 'mtr_portfolio_id': 20309020, 'created_at': datetime.datetime(2025, 2, 7, 6, 20, 35), 'result': '0.03746188015277038', 'result_long': None, 'result_double': None}] Qualite : 0.03746188015277038 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20309020 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20309020_07-02-2025_06_20_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20309020 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_P20309020_07-02-2025_06_20_38.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20309047, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20309048, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20309049, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20309050, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20309051, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20309052, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20309053, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20309054, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20309055, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20309056, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20309057, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20309058, 'pht': 3726}}" where mtr_portfolio_id = 20309020 and dashboard_run_id = 1592737 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`=20309020 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8751913, 0.03746188015277038, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20309020_07-02-2025_06_20_38.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20309047, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20309048, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20309049, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20309050, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20309051, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20309052, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20309053, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20309054, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20309055, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20309056, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20309057, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20309058, '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 = 20309611 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': 2561338, 'mtr_portfolio_id': 20309611, 'created_at': datetime.datetime(2025, 2, 7, 6, 20, 59), 'result': '0.03290291597412468', 'result_long': None, 'result_double': None}] Qualite : 0.03290291597412468 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20309611 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20309611_07-02-2025_06_21_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20309611 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_P20309611_07-02-2025_06_21_03.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20309615, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20309616, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20309617, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20309618, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20309619, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20309620, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20309621, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20309622, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20309623, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20309624, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20309625, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20309626, 'pht': 3726}}" where mtr_portfolio_id = 20309611 and dashboard_run_id = 1592737 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`=20309611 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8751914, 0.03290291597412468, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20309611_07-02-2025_06_21_03.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20309615, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20309616, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20309617, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20309618, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20309619, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20309620, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20309621, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20309622, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20309623, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20309624, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20309625, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20309626, '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 = 20310329 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': 2561339, 'mtr_portfolio_id': 20310329, 'created_at': datetime.datetime(2025, 2, 7, 6, 21, 35), 'result': '0.05594217719107892', 'result_long': None, 'result_double': None}] Qualite : 0.05594217719107892 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20310329 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20310329_07-02-2025_06_21_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20310329 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_P20310329_07-02-2025_06_21_38.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20310357, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20310358, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20310359, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20310360, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20310361, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20310362, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20310363, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20310364, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20310365, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20310366, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20310367, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20310368, 'pht': 3726}}" where mtr_portfolio_id = 20310329 and dashboard_run_id = 1592737 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`=20310329 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8751915, 0.05594217719107892, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20310329_07-02-2025_06_21_38.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20310357, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20310358, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20310359, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20310360, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20310361, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20310362, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20310363, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20310364, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20310365, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20310366, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20310367, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20310368, '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 = 20311140 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': 2561340, 'mtr_portfolio_id': 20311140, 'created_at': datetime.datetime(2025, 2, 7, 6, 22, 3), 'result': '0.03747908750908567', 'result_long': None, 'result_double': None}] Qualite : 0.03747908750908567 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20311140 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20311140_07-02-2025_06_22_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20311140 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_P20311140_07-02-2025_06_22_07.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20311173, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20311174, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20311175, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20311176, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20311178, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20311179, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20311180, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20311181, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20311182, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20311183, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20311184, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20311185, 'pht': 3726}}" where mtr_portfolio_id = 20311140 and dashboard_run_id = 1592737 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`=20311140 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8751916, 0.03747908750908567, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20311140_07-02-2025_06_22_07.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20311173, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20311174, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20311175, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20311176, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20311178, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20311179, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20311180, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20311181, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20311182, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20311183, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20311184, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20311185, '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 = 20312031 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': 2561341, 'mtr_portfolio_id': 20312031, 'created_at': datetime.datetime(2025, 2, 7, 6, 22, 32), 'result': '0.045476742249313425', 'result_long': None, 'result_double': None}] Qualite : 0.045476742249313425 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20312031 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20312031_07-02-2025_06_22_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20312031 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_P20312031_07-02-2025_06_22_34.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20312062, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20312063, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20312064, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20312065, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20312066, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20312067, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20312068, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20312069, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20312070, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20312071, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20312072, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20312073, 'pht': 3726}}" where mtr_portfolio_id = 20312031 and dashboard_run_id = 1592737 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`=20312031 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8751917, 0.045476742249313425, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20312031_07-02-2025_06_22_34.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20312062, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20312063, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20312064, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20312065, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20312066, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20312067, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20312068, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20312069, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20312070, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20312071, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20312072, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20312073, '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 = 20312714 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': 2560720, 'mtr_portfolio_id': 20312714, 'created_at': datetime.datetime(2025, 2, 7, 3, 35, 1), 'result': '0.046725085590333386', 'result_long': None, 'result_double': None}] Qualite : 0.046725085590333386 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20312714 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20312714_07-02-2025_03_35_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20312714 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_P20312714_07-02-2025_03_35_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20312716, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20312717, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20312718, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20312719, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20312720, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20312721, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20312722, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20312723, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20312724, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20312725, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20312726, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20312727, 'pht': 3726}}" where mtr_portfolio_id = 20312714 and dashboard_run_id = 1592737 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`=20312714 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8751919, 0.046725085590333386, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20312714_07-02-2025_03_35_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20312716, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20312717, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20312718, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20312719, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20312720, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20312721, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20312722, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20312723, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20312724, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20312725, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20312726, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20312727, '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 = 20316836 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20316836 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 20316836 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20316836 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20316836 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20316836 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20316836_07-02-2025_03_35_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20316836 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_P20316836_07-02-2025_03_35_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20316900, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20316901, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20316902, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20316903, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20316904, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20316905, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20316906, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20316907, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20316908, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20316909, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20316910, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20316911, 'pht': 3726}}" where mtr_portfolio_id = 20316836 and dashboard_run_id = 1592737 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20316837 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20316837 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 20316837 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20316837 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20316837 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20316837 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20316837_07-02-2025_03_36_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20316837 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_P20316837_07-02-2025_03_36_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20316924, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20316925, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20316926, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20316927, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20316928, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20316929, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20316930, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20316931, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20316932, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20316933, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20316934, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20316935, 'pht': 3726}}" where mtr_portfolio_id = 20316837 and dashboard_run_id = 1592737 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20316838 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20316838 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 20316838 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20316838 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20316838 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20316838 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20316838_07-02-2025_03_36_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20316838 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_P20316838_07-02-2025_03_36_38.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20316948, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20316949, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20316950, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20316951, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20316952, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20316953, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20316954, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20316955, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20316956, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20316957, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20316958, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20316959, 'pht': 3726}}" where mtr_portfolio_id = 20316838 and dashboard_run_id = 1592737 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20316839 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20316839 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 20316839 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20316839 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20316839 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20316839 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20316839_07-02-2025_03_34_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20316839 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_P20316839_07-02-2025_03_34_30.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20316840, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20316841, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20316842, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20316843, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20316844, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20316845, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20316846, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20316847, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20316848, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20316849, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20316850, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20316851, 'pht': 3726}}" where mtr_portfolio_id = 20316839 and dashboard_run_id = 1592737 SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20316824,20316825,20316826,20316827,20278854,20278856,20279015,20279159,20279384,20280224,20281066,20281877,20282516,20283028,20283606,20284556,20285219,20286053,20286533,20286862,20287423,20288163,20288603,20289032,20289745,20290351,20290772,20291438,20292165,20292813,20293389,20293740,20294672,20316828,20316829,20316830,20316831,20316832,20316833,20316834,20316835,20299387,20299216,20298776,20298550,20299457,20300876,20301677,20302042,20302815,20303438,20303638,20304311,20305090,20305947,20306665,20307225,20308646,20309020,20309611,20310329,20311140,20312031,20312714,20316836,20316837,20316838,20316839) result : ((1335076055,), (1335084306,), (1335084309,), (1335084367,), (1335084370,), (1335084389,), (1335084409,), (1335084428,), (1335084436,), (1335084603,), (1335084607,), (1335084680,), (1335084768,), (1335084941,), (1335085076,), (1335085551,), (1335085689,), (1335085752,), (1335085828,), (1335085840,), (1335085848,), (1335085951,), (1335085954,), (1335086003,), (1335086007,), (1335086073,), (1335086079,), (1335086117,), (1335086118,), (1335086247,), (1335086263,), (1335086275,), (1335086281,), (1335092886,), (1335093029,), (1335093033,), (1335093035,), (1335093038,), (1335093041,), (1335093042,), (1335093044,), (1335093063,), (1335093068,), (1335093071,), (1335093072,), (1335093073,), (1335093077,), (1335093078,), (1335093080,), (1335093976,), (1335093978,), (1335093980,), (1335093981,), (1335093982,), (1335093983,), (1335094045,), (1335094050,), (1335094055,), (1335094057,), (1335094058,), (1335094088,), (1335094102,), (1335094212,), (1335094785,), (1335094872,), (1335094888,), (1335094916,), (1335094917,), (1335094919,), (1335094943,), (1335094954,), (1335094958,), (1335094962,), (1335094973,), (1335086494,), (1335086561,), (1335086565,), (1335086613,), (1335086615,), (1335086708,), (1335087281,), (1335087336,), (1335087366,), (1335087368,), (1335087372,), (1335087373,), (1335087632,), (1335087640,), (1335087648,), (1335087730,), (1335087764,), (1335087780,), (1335087986,), (1335088011,), (1335088012,), (1335088015,), (1335088018,), (1335088021,), (1335092387,), (1335092388,), (1335092389,), (1335092390,), (1335092397,), (1335092456,), (1335092559,), (1335092571,), (1335092705,), (1335092712,), (1335092725,), (1335092748,), (1335092768,), (1335092772,), (1335092790,), (1335092795,), (1335092796,), (1335092797,), (1335092800,), (1335092803,), (1335092804,), (1335092819,), (1335092822,), (1335092823,), (1335092824,), (1335092829,), (1335092834,), (1335092835,), (1335092849,), (1335092851,), (1335092853,), (1335092857,), (1335092858,), (1335092859,), (1335092860,), (1335092867,), (1335077989,), (1335082355,), (1335088092,), (1335088099,), (1335088140,), (1335088156,), (1335088256,), (1335088340,), (1335088375,), (1335088378,), (1335088380,), (1335088396,), (1335088398,), (1335088399,), (1335088401,), (1335088404,), (1335088408,), (1335088416,), (1335088426,), (1335088434,), (1335088450,), (1335088451,), (1335088456,), (1335088459,), (1335088462,), (1335088466,), (1335089740,), (1335089757,), (1335089761,), (1335089784,), (1335089827,), (1335089829,), (1335090048,), (1335090049,), (1335090609,), (1335090717,), (1335090921,), (1335090923,), (1335090925,), (1335090926,), (1335090927,), (1335090928,), (1335090953,), (1335091069,), (1335091071,), (1335091152,), (1335091317,), (1335091452,), (1335091520,), (1335091760,), (1335091762,), (1335091769,), (1335091771,), (1335091808,), (1335091810,), (1335091811,), (1335091816,), (1335092376,), (1335088485,), (1335088486,), (1335088489,), (1335088490,), (1335088493,), (1335088494,), (1335088497,), (1335088498,), (1335088501,), (1335088502,), (1335088505,), (1335088506,), (1335088512,), (1335088513,), (1335088514,), (1335088515,), (1335088518,), (1335088519,), (1335088532,), (1335088534,), (1335088535,), (1335088541,), (1335088542,), (1335088543,), (1335088551,), (1335088598,), (1335088790,), (1335088797,), (1335088839,), (1335088850,), (1335088856,), (1335088887,), (1335088982,), (1335088993,), (1335088996,), (1335088998,), (1335088999,), (1335089000,), (1335089001,), (1335089009,), (1335089013,), (1335089016,), (1335089021,), (1335089023,), (1335089024,), (1335089025,), (1335089026,), (1335089030,), (1335089071,), (1335089072,), (1335089074,), (1335089075,), (1335089091,), (1335089093,), (1335089095,), (1335089097,), (1335089098,), (1335089099,), (1335089123,), (1335089135,), (1335089137,), (1335089154,), (1335089159,), (1335089167,), (1335089169,), (1335089583,), (1335088544,), (1335088545,), (1335088547,), (1335088549,), (1335088932,), (1335088935,), (1335088939,), (1335088953,), (1335088959,), (1335088961,), (1335088968,), (1335088972,), (1335088975,), (1335088977,), (1335088979,), (1335089003,), (1335089004,), (1335089006,), (1335089037,), (1335089043,), (1335089052,), (1335089055,), (1335089065,), (1335089066,), (1335089068,), (1335089069,), (1335089077,), (1335089078,), (1335089079,), (1335089080,), (1335089082,), (1335089083,), (1335089102,), (1335089103,), (1335089109,), (1335089111,), (1335089113,), (1335089409,), (1335089483,), (1335089545,), (1335089550,), (1335089560,), (1335089905,), (1335089915,), (1335089987,), (1335090014,), (1335090037,), (1335090039,), (1335090041,), (1335090042,), (1335090045,), (1335090046,), (1335090051,), (1335090171,), (1335090306,), (1335090459,), (1335090935,), (1335090939,), (1335090942,), (1335090945,), (1335090948,), (1335091576,), (1335091577,), (1335091580,), (1335091582,), (1335091584,), (1335091585,), (1335091588,), (1335091589,), (1335091592,), (1335091593,), (1335091600,), (1335091601,), (1335091750,), (1335091751,), (1335091753,), (1335091757,), (1335091948,), (1335092029,), (1335092066,), (1335092167,), (1335092326,), (1335092478,), (1335092479,), (1335092487,), (1335092489,), (1335092492,), (1335092495,), (1335092522,), (1335092523,), (1335092530,), (1335092531,), (1335092536,), (1335092537,), (1335092545,), (1335092542,), (1335092543,), (1335092544,), (1335092773,), (1335092775,), (1335092781,), (1335092784,), (1335092787,), (1335092806,), (1335092808,), (1335092811,), (1335092814,), (1335092817,), (1335092841,), (1335092843,), (1335092846,), (1335092909,), (1335092910,), (1335092913,), (1335092914,), (1335092917,), (1335092918,), (1335092921,), (1335092922,), (1335092925,), (1335092926,), (1335092928,), (1335092930,), (1335092983,), (1335093016,), (1335093019,), (1335093022,), (1335093026,), (1335093048,), (1335093050,), (1335093053,), (1335093055,), (1335093090,), (1335093091,), (1335093093,), (1335093095,), (1335093097,), (1335093099,), (1335093104,), (1335093105,), (1335093124,), (1335093252,), (1335093409,), (1335093559,), (1335094014,), (1335094024,), (1335094032,), (1335094041,), (1335094521,), (1335094523,), (1335094527,), (1335094574,), (1335094626,), (1335094666,), (1335094975,), (1335094976,), (1335095031,), (1335095153,), (1335095400,), (1335095403,), (1335095405,), (1335095455,), (1335095457,), (1335095459,), (1335095500,), (1335095485,), (1335095488,), (1335095490,), (1335095494,), (1335095756,), (1335095759,), (1335095761,), (1335095763,), (1335095765,), (1335095770,), (1335095790,), (1335095792,), (1335095795,), (1335095834,), (1335095835,), (1335095841,), (1335095842,), (1335095844,), (1335095845,), (1335095846,), (1335095847,), (1335095848,), (1335095849,), (1335095853,), (1335095854,), (1335095855,), (1335095856,), (1335095967,), (1335096124,), (1335096529,), (1335096555,), (1335096584,), (1335096660,), (1335096680,), (1335096721,), (1335097067,), (1335097069,), (1335097072,), (1335097441,), (1335097443,), (1335097444,), (1335097445,), (1335097446,), (1335097447,), (1335097448,), (1335097449,), (1335097450,), (1335097453,), (1335097455,), (1335097488,), (1335097501,), (1335097507,), (1335097509,), (1335097510,), (1335097624,), (1335097653,), (1335097664,), (1335097678,), (1335097679,), (1335097683,), (1335097696,), (1335097698,), (1335097700,), (1335097702,), (1335097727,), (1335097737,), (1335097739,), (1335097744,), (1335097748,), (1335097750,), (1335097770,), (1335097771,), (1335097777,), (1335097779,), (1335097785,), (1335097786,), (1335097788,), (1335097790,), (1335097797,), (1335097808,), (1335097814,), (1335097815,), (1335097936,), (1335097833,), (1335097834,), (1335097846,), (1335097901,), (1335098012,), (1335098015,), (1335098017,), (1335098019,), (1335098025,), (1335098035,), (1335098036,), (1335098096,), (1335098156,), (1335098161,), (1335098164,), (1335098196,), (1335098327,), (1335098460,), (1335098860,), (1335098890,), (1335098908,), (1335098933,), (1335098942,), (1335098943,), (1335098944,), (1335098946,), (1335098948,), (1335098950,), (1335098993,), (1335099019,), (1335099081,), (1335099143,), (1335099209,), (1335099274,), (1335099762,), (1335099789,), (1335099796,), (1335099801,), (1335099968,), (1335099969,), (1335099970,), (1335099972,), (1335099976,), (1335099983,), (1335100003,), (1335100005,), (1335100007,), (1335100010,), (1335100032,), (1335100095,), (1335100130,), (1335100151,), (1335100161,), (1335100179,), (1335100220,), (1335100222,), (1335100224,), (1335100226,), (1335100228,), (1335100230,), (1335100233,), (1335100234,), (1335100295,), (1335100311,), (1335100313,), (1335100362,), (1335100372,), (1335100378,), (1335100457,), (1335100459,), (1335100461,), (1335100490,), (1335100619,), (1335100624,), (1335100660,), (1335100664,), (1335100666,), (1335100699,), (1335100683,), (1335100684,), (1335100686,), (1335100689,), (1335100696,), (1335100933,), (1335100951,), (1335100984,), (1335100988,), (1335101019,), (1335101020,), (1335101031,), (1335101033,), (1335101034,), (1335101035,), (1335101036,), (1335101037,), (1335101038,), (1335101039,), (1335101056,), (1335101063,), (1335101068,), (1335101069,), (1335101070,), (1335101076,), (1335101081,), (1335101083,), (1335101087,), (1335101121,), (1335101159,), (1335101160,), (1335101163,), (1335101166,), (1335101414,), (1335101416,), (1335101466,), (1335101487,), (1335101489,), (1335101523,), (1335101594,), (1335101605,), (1335101613,), (1335101615,), (1335102390,), (1335102392,), (1335102397,), (1335102402,), (1335102404,), (1335102405,), (1335102823,), (1335102835,), (1335102836,), (1335102837,), (1335103094,), (1335103101,), (1335103116,), (1335103260,), (1335103269,), (1335103293,), (1335103322,), (1335103414,), (1335103488,), (1335103545,), (1335103547,), (1335103572,), (1335103575,), (1335103579,), (1335103582,), (1335103585,), (1335103588,), (1335103602,), (1335103605,), (1335103607,), (1335103956,), (1335103958,), (1335103986,), (1335104011,), (1335104031,), (1335104260,), (1335104081,), (1335104090,), (1335104091,), (1335104166,), (1335104436,), (1335104437,), (1335104438,), (1335104509,), (1335104571,), (1335104572,), (1335104574,), (1335104576,), (1335104595,), (1335104597,), (1335104601,), (1335104605,), (1335104612,), (1335104646,), (1335104648,), (1335104653,), (1335104655,), (1335104692,), (1335104693,), (1335104695,), (1335104697,), (1335104699,), (1335104724,), (1335104725,), (1335104728,), (1335104730,), (1335104731,), (1335104733,), (1335104734,), (1335104736,), (1335104737,), (1335104738,), (1335104739,), (1335104740,), (1335104745,), (1335104773,), (1335104844,), (1335105073,), (1335105079,), (1335105083,), (1335105107,), (1335105157,), (1335105158,), (1335105264,), (1335105267,), (1335105269,), (1335105271,), (1335105273,), (1335105377,), (1335105379,), (1335105400,), (1335105507,), (1335105516,), (1335105524,), (1335105530,), (1335105534,), (1335105542,), (1335105588,), (1335105579,), (1335105581,), (1335105584,), (1335105585,), (1335105667,), (1335105818,), (1335105912,), (1335106065,), (1335106235,), (1335106303,), (1335106487,), (1335106652,), (1335106667,), (1335106829,), (1335106832,), (1335106834,), (1335106836,), (1335106840,), (1335106942,), (1335106944,), (1335106946,), (1335106947,), (1335106950,), (1335106968,), (1335106972,), (1335106975,), (1335106983,), (1335107043,), (1335107045,), (1335107047,), (1335107050,), (1335107053,), (1335107056,), (1335107155,), (1335107158,), (1335107160,), (1335107162,), (1335107601,), (1335107603,), (1335107605,), (1335107662,), (1335107723,), (1335107906,), (1335107953,), (1335108172,), (1335108692,), (1335108854,), (1335109127,), (1335109121,), (1335109123,), (1335109125,), (1335109346,), (1335109386,), (1335109388,), (1335109438,), (1335109440,), (1335109442,), (1335109444,), (1335109447,), (1335109449,), (1335110066,), (1335110068,), (1335110070,), (1335110072,), (1335110075,), (1335110077,), (1335110283,), (1335110327,), (1335110329,), (1335110331,), (1335110333,), (1335110335,), (1335110362,), (1335110369,), (1335110422,), (1335110425,), (1335110682,), (1335110745,), (1335110764,), (1335110801,), (1335110842,), (1335110998,), (1335111010,), (1335111013,), (1335111020,), (1335111043,), (1335111046,), (1335111049,), (1335111053,), (1335111055,), (1335111088,), (1335111091,), (1335111092,), (1335111095,), (1335111098,), (1335111100,), (1335111708,), (1335111777,), (1335111849,), (1335111906,), (1335112055,), (1335112091,), (1335112135,), (1335112149,), (1335112152,), (1335112156,), (1335112270,), (1335112272,), (1335112278,), (1335112665,), (1335112670,), (1335112672,), (1335112686,), (1335112690,), (1335112737,), (1335112728,), (1335112731,), (1335112732,), (1335112734,), (1335112924,), (1335112968,), (1335112970,), (1335112987,), (1335112989,), (1335113027,), (1335113048,), (1335113049,), (1335113050,), (1335113051,), (1335113077,), (1335113079,), (1335113081,), (1335113083,), (1335113104,), (1335113106,), (1335113109,), (1335113114,), (1335113121,), (1335113143,), (1335113147,), (1335113150,), (1335113178,), (1335113180,), (1335113181,), (1335113183,), (1335113186,), (1335113189,), (1335113228,), (1335113230,), (1335113232,), (1335113253,), (1335113273,), (1335113279,), (1335113283,), (1335113285,), (1335113289,), (1335113372,), (1335113374,), (1335113421,), (1335113423,), (1335113425,), (1335113427,), (1335113430,), (1335118026,), (1335118609,), (1335118636,), (1335118663,), (1335118821,), (1335119171,), (1335119174,), (1335119176,), (1335119178,), (1335119197,), (1335119200,), (1335119203,), (1335119206,), (1335119210,), (1335119216,), (1335119230,), (1335119232,), (1335119234,), (1335119273,), (1335119406,), (1335120568,), (1335120637,), (1335120699,), (1335120765,), (1335120825,), (1335121135,), (1335121251,), (1335121307,), (1335121385,), (1335121476,), (1335121496,), (1335121639,), (1335121676,), (1335121725,), (1335121778,), (1335121949,), (1335121952,), (1335121955,), (1335121988,), (1335122003,), (1335122127,), (1335122175,), (1335122529,), (1335122526,), (1335122790,), (1335122793,), (1335122796,), (1335122851,), (1335122862,), (1335122965,), (1335122970,), (1335122972,), (1335122974,), (1335122977,), (1335122994,), (1335123001,), (1335123106,), (1335123130,), (1335123150,), (1335123151,), (1335123154,), (1335123157,), (1335123171,), (1335123173,), (1335123175,), (1335123191,), (1335123194,), (1335123197,), (1335123331,), (1335123360,), (1335123363,), (1335123364,), (1335123603,), (1335123605,), (1335123607,), (1335123609,), (1335123692,), (1335123695,), (1335123697,), (1335123699,), (1335123719,), (1335123723,), (1335123755,), (1335123821,), (1335123828,), (1335123830,), (1335123857,), (1335123861,), (1335123868,), (1335123872,), (1335123874,), (1335123877,), (1335123911,), (1335123917,), (1335123919,), (1335123921,), (1335123939,), (1335123941,), (1335123943,), (1335123945,), (1335123949,), (1335123951,), (1335123963,), (1335123965,), (1335123967,), (1335123981,), (1335123996,), (1335123999,), (1335124124,), (1335124126,), (1335124128,), (1335124130,), (1335124226,), (1335124206,), (1335124208,), (1335124210,), (1335124213,), (1335124215,), (1335124273,), (1335124280,), (1335124287,), (1335124290,), (1335124453,), (1335124455,), (1335124456,), (1335124457,), (1335124463,), (1335124465,), (1335124768,), (1335124769,), (1335124774,), (1335124792,), (1335124806,), (1335124808,), (1335125183,), (1335125188,), (1335125300,), (1335125306,), (1335125318,), (1335125333,), (1335125335,), (1335125385,), (1335125386,), (1335125387,), (1335125392,), (1335125396,), (1335125479,), (1335125480,), (1335125481,), (1335125482,), (1335125483,), (1335125501,), (1335125574,), (1335125575,), (1335125576,), (1335125577,), (1335125579,), (1335125738,), (1335125787,), (1335125829,), (1335125830,), (1335125930,), (1335126182,), (1335126184,), (1335126185,), (1335126186,), (1335126188,), (1335126564,), (1335126595,), (1335126651,), (1335127316,), (1335127318,), (1335127323,), (1335127332,), (1335127339,), (1335127369,), (1335127370,), (1335127371,), (1335127380,), (1335127447,), (1335127490,), (1335127802,), (1335127803,), (1335127811,), (1335127822,), (1335127957,), (1335127947,), (1335127951,), (1335127955,), (1335128121,), (1335128138,), (1335128214,), (1335128253,), (1335128280,), (1335128464,), (1335128466,), (1335128485,), (1335128900,), (1335128972,), (1335129036,), (1335129097,), (1335129174,), (1335129239,), (1335129596,), (1335129647,), (1335129648,), (1335129664,), (1335129697,), (1335129772,), (1335130226,), (1335130233,), (1335130270,), (1335130510,), (1335130537,), (1335130555,), (1335130568,), (1335130629,), (1335130696,), (1335130748,), (1335130749,), (1335130750,), (1335130751,), (1335130794,), (1335130795,), (1335130796,), (1335130797,), (1335130798,), (1335130800,), (1335130848,), (1335130850,), (1335130852,), (1335130855,), (1335130858,), (1335130974,), (1335130976,), (1335130978,), (1335131109,), (1335131112,), (1335131116,), (1335131124,), (1335131130,), (1335132202,), (1335132206,), (1335132226,), (1335132379,), (1335132367,), (1335132369,), (1335132372,), (1335132375,), (1335132393,), (1335132396,), (1335132398,), (1335132412,), (1335132416,), (1335132930,), (1335132931,), (1335132933,), (1335132935,), (1335133371,), (1335133399,), (1335133407,), (1335133480,), (1335133482,), (1335133484,), (1335134238,), (1335134240,), (1335134243,), (1335134246,), (1335134255,), (1335134293,), (1335134295,), (1335134297,), (1335134299,), (1335134302,), (1335134305,), (1335134358,), (1335134360,), (1335134364,), (1335134479,), (1335134482,), (1335134487,), (1335134490,), (1335134494,), (1335134496,), (1335134522,), (1335134508,), (1335134510,), (1335134512,), (1335134514,), (1335134518,), (1335134532,), (1335134534,), (1335134536,), (1335134538,), (1335134556,), (1335134558,), (1335134560,), (1335134562,), (1335134568,), (1335134573,), (1335134588,), (1335134590,), (1335134592,), (1335134594,), (1335134630,), (1335134632,), (1335134639,), (1335134641,), (1335134647,), (1335134660,), (1335134718,), (1335134745,), (1335134755,), (1335134767,), (1335134769,), (1335134793,), (1335134795,), (1335134797,), (1335134836,), (1335134838,), (1335134840,), (1335134853,), (1335134856,), (1335134858,), (1335134886,), (1335134889,), (1335134917,), (1335134989,), (1335134991,), (1335135051,), (1335135053,), (1335135055,), (1335135085,), (1335135090,), (1335135167,), (1335135180,), (1335135182,), (1335135184,), (1335135186,), (1335135188,), (1335135191,), (1335135202,), (1335135204,), (1335135206,), (1335135209,), (1335135242,), (1335135243,), (1335135248,), (1335135250,), (1335135253,), (1335135255,), (1335135294,), (1335135298,), (1335135305,), (1335135310,), (1335135347,), (1335135352,), (1335135355,), (1335135357,), (1335135363,), (1335135368,), (1335135387,), (1335135380,), (1335135383,), (1335135385,), (1335135905,), (1335135970,), (1335135976,), (1335135985,), (1335135988,), (1335135991,), (1335136212,), (1335136214,), (1335136241,), (1335136245,), (1335136248,), (1335136620,), (1335136622,), (1335136624,), (1335136626,), (1335136629,), (1335136631,), (1335136730,), (1335136731,), (1335136733,), (1335136749,), (1335136797,), (1335136799,), (1335136801,), (1335136816,), (1335136818,), (1335136874,), (1335136880,), (1335136886,), (1335136905,), (1335136907,), (1335136910,), (1335136964,), (1335136966,), (1335138096,), (1335138162,), (1335138164,), (1335138166,), (1335138168,), (1335138171,), (1335138174,), (1335138252,), (1335138254,), (1335138256,), (1335138265,), (1335138272,), (1335138292,), (1335138296,), (1335138298,), (1335138300,), (1335138304,), (1335138334,), (1335138319,), (1335138321,), (1335138327,), (1335138415,), (1335138421,), (1335138434,), (1335138444,), (1335139187,), (1335139252,), (1335139286,), (1335139327,), (1335139374,), (1335140005,), (1335140067,), (1335140088,), (1335140092,), (1335140094,), (1335140231,), (1335140237,), (1335140661,), (1335140677,), (1335140681,), (1335140683,), (1335140685,), (1335140688,), (1335140853,), (1335140855,), (1335140857,), (1335140859,), (1335140862,), (1335140865,), (1335140891,), (1335140897,), (1335140901,), (1335141333,), (1335141338,), (1335141340,), (1335141345,), (1335141353,), (1335141362,), (1335141387,), (1335141390,), (1335141394,), (1335141400,), (1335141439,), (1335141451,), (1335141453,), (1335141456,), (1335141458,), (1335141461,), (1335141471,), (1335141557,), (1335141559,), (1335141561,), (1335141564,), (1335141567,), (1335141599,), (1335141616,), (1335141618,), (1335141754,), (1335141759,), (1335141764,), (1335141841,), (1335141825,), (1335141830,), (1335141834,), (1335141838,), (1335141861,), (1335141863,), (1335141868,), (1335141903,), (1335141912,), (1335141915,), (1335141917,), (1335141919,), (1335142219,), (1335142221,), (1335142223,), (1335142224,), (1335142277,), (1335142301,), (1335142836,), (1335142838,), (1335142848,), (1335143004,), (1335143017,), (1335143020,), (1335143033,), (1335143096,), (1335143127,), (1335143150,), (1335143152,), (1335143216,), (1335143217,), (1335143219,), (1335144605,), (1335144611,), (1335144621,), (1335144626,), (1335144633,), (1335144639,), (1335144651,), (1335144653,), (1335144655,), (1335144657,), (1335144661,), (1335144670,), (1335144683,), (1335144722,), (1335144709,), (1335144713,), (1335144715,), (1335144718,), (1335144780,), (1335144781,), (1335144783,), (1335144832,), (1335144840,), (1335144850,), (1335144862,), (1335144868,), (1335144911,), (1335144913,), (1335144916,), (1335144917,), (1335144919,), (1335144954,), (1335144956,), (1335144959,), (1335145001,), (1335145004,), (1335145007,), (1335145011,), (1335145020,), (1335145025,), (1335145064,), (1335145066,), (1335145069,), (1335145072,), (1335145103,), (1335145105,), (1335145108,), (1335145110,), (1335145111,), (1335145113,), (1335145153,), (1335145190,), (1335145229,), (1335145289,), (1335145356,), (1335145384,), (1335145787,), (1335145809,), (1335145814,), (1335146032,), (1335146042,), (1335146071,), (1335146092,), (1335146095,), (1335146126,), (1335146128,), (1335146132,), (1335146136,), (1335146140,), (1335146143,), (1335146158,), (1335146161,), (1335146165,), (1335146225,), (1335146230,), (1335146233,), (1335146236,), (1335146251,), (1335146338,), (1335146290,), (1335146293,), (1335146307,), (1335146406,), (1335146413,), (1335146417,), (1335146459,), (1335146462,), (1335146465,), (1335146472,), (1335146474,), (1335146480,), (1335146504,), (1335146507,), (1335146512,), (1335146525,), (1335146538,), (1335146563,), (1335146565,), (1335146626,), (1335146630,), (1335146634,), (1335146690,), (1335146693,), (1335146697,), (1335146701,), (1335146704,), (1335146708,), (1335146730,), (1335146738,), (1335146742,), (1335146748,), (1335146751,), (1335146997,), (1335147107,), (1335147130,), (1335147173,), (1335147737,), (1335147740,), (1335147745,), (1335147772,), (1335147957,), (1335148066,), (1335148183,), (1335148197,), (1335148202,), (1335148345,), (1335148349,), (1335148355,), (1335148359,), (1335148387,), (1335148450,), (1335148454,), (1335148457,), (1335148517,), (1335148520,), (1335148530,), (1335148558,), (1335148561,), (1335148570,), (1335148600,), (1335148602,), (1335148606,), (1335148612,), (1335149542,), (1335149118,), (1335149188,), (1335149266,), (1335149316,), (1335149428,), (1335150047,), (1335150088,), (1335150125,), (1335150202,), (1335150235,), (1335150433,), (1335150481,), (1335150837,), (1335150845,), (1335151390,), (1335151459,), (1335151545,), (1335151548,), (1335151551,), (1335151577,), (1335151624,), (1335151690,), (1335151750,), (1335151822,), (1335151831,), (1335151835,), (1335151854,), (1335151856,), (1335151863,), (1335151879,), (1335152184,), (1335152185,), (1335152189,), (1335152191,), (1335152195,), (1335152199,), (1335152240,), (1335152243,), (1335152245,), (1335152302,), (1335152305,), (1335152308,), (1335152310,), (1335152337,), (1335152341,), (1335152353,), (1335152360,), (1335152504,), (1335152507,), (1335152510,), (1335152544,), (1335152547,), (1335152550,), (1335152553,), (1335152555,), (1335152881,), (1335152886,), (1335152888,), (1335152903,), (1335152915,), (1335153058,), (1335153139,), (1335153174,), (1335153231,), (1335153842,), (1335153844,), (1335153874,), (1335153951,), (1335154046,), (1335154051,), (1335154059,), (1335154065,), (1335154070,), (1335154074,), (1335154118,), (1335154125,), (1335154130,), (1335154175,), (1335154178,), (1335154180,), (1335154203,), (1335154224,), (1335154251,), (1335154596,), (1335154598,), (1335154624,), (1335154657,), (1335154684,), (1335154686,), (1335154689,), (1335154718,), (1335154727,), (1335154745,), (1335154748,), (1335154756,), (1335154764,), (1335154996,), (1335155010,), (1335155015,), (1335155025,), (1335155034,), (1335155040,), (1335155193,), (1335155198,), (1335155231,), (1335155343,), (1335155345,), (1335155349,), (1335155353,), (1335155357,), (1335155362,), (1335155402,), (1335155406,), (1335155409,), (1335155437,), (1335155441,), (1335155445,), (1335155448,), (1335155526,), (1335155512,), (1335155514,), (1335155519,), (1335155522,), (1335155543,), (1335155546,), (1335155550,), (1335155554,), (1335155558,), (1335155571,), (1335155599,), (1335155601,), (1335155670,), (1335155672,), (1335155674,), (1335155676,), (1335155678,), (1335155731,), (1335155734,), (1335155738,), (1335155742,), (1335155771,), (1335155772,), (1335155774,), (1335155776,), (1335155780,), (1335155815,), (1335155820,), (1335155824,), (1335155828,), (1335155832,), (1335155862,), (1335155866,), (1335156181,), (1335156266,), (1335156336,), (1335156413,), (1335156485,), (1335157050,), (1335157092,), (1335157159,), (1335157172,), (1335157200,), (1335157209,), (1335157211,), (1335157215,), (1335157220,), (1335157231,), (1335157693,), (1335157749,), (1335157780,), (1335157829,), (1335157893,), (1335158110,), (1335158112,), (1335158158,), (1335158162,), (1335158173,), (1335158471,), (1335158474,), (1335158478,), (1335158483,), (1335158487,), (1335158491,), (1335158521,), (1335158527,), (1335158531,), (1335158536,), (1335158545,), (1335158584,), (1335158572,), (1335158575,), (1335158578,), (1335158581,), (1335158621,), (1335158624,), (1335158628,), (1335158631,), (1335158829,), (1335158888,), (1335158956,), (1335159014,), (1335159097,), (1335159175,), (1335159716,), (1335159781,), (1335159825,), (1335159889,), (1335160032,), (1335160096,), (1335160166,), (1335160217,), (1335160237,), (1335160288,), (1335160365,), (1335160390,), (1335160450,), (1335160481,), (1335160666,), (1335160707,), (1335160713,), (1335160725,), (1335160749,), (1335161125,), (1335161132,), (1335161151,), (1335161158,), (1335161168,), (1335161969,), (1335162031,), (1335162035,), (1335162092,), (1335162168,), (1335162302,), (1335162315,), (1335162333,), (1335162341,), (1335162438,), (1335162441,), (1335162450,), (1335162460,), (1335162471,), (1335162477,), (1335162527,), (1335162534,), (1335162537,), (1335162585,), (1335162588,), (1335162639,), (1335162646,), (1335162652,), (1335162656,), (1335162680,), (1335162681,), (1335162684,), (1335162691,), (1335162726,), (1335162730,), (1335162732,), (1335162735,), (1335162787,), (1335162780,), (1335162782,), (1335162784,), (1335162847,), (1335162953,), (1335162956,), (1335162999,), (1335163000,), (1335163002,), (1335163009,), (1335163059,), (1335163061,), (1335163064,), (1335163066,), (1335163122,), (1335163125,), (1335163127,), (1335163129,), (1335163132,), (1335163135,), (1335163163,), (1335163165,), (1335163171,), (1335163174,), (1335163176,), (1335163179,), (1335163330,), (1335163449,), (1335163460,), (1335163463,), (1335163514,), (1335163532,), (1335163573,), (1335163577,), (1335163617,), (1335163627,), (1335163696,), (1335163733,), (1335163918,), (1335164031,), (1335164277,), (1335164449,), (1335164765,), (1335164767,), (1335164770,), (1335165118,), (1335165120,), (1335165124,), (1335165169,), (1335165189,), (1335165287,), (1335165762,), (1335165767,), (1335165771,), (1335165779,), (1335165785,), (1335165804,), (1335165805,), (1335165808,), (1335165809,), (1335165812,), (1335165813,), (1335165818,), (1335165820,), (1335165822,), (1335165823,), (1335165846,), (1335235938,), (1335235942,), (1335235945,), (1335235947,), (1335235953,), (1335235956,), (1335235979,), (1335235985,), (1335235988,), (1335235991,), (1335235996,), (1335236002,), (1335236016,), (1335236018,), (1335236023,), (1335236028,), (1335236032,), (1335236035,), (1335236053,), (1335236057,), (1335236063,), (1335236068,), (1335236075,), (1335236081,), (1335236091,), (1335236098,), (1335236139,), (1335236326,), (1335236386,), (1335236398,), (1335236426,), (1335236500,), (1335236504,), (1335236509,), (1335236514,), (1335236569,), (1335236575,), (1335236585,), (1335236588,), (1335236681,), (1335236683,), (1335236689,), (1335236690,), (1335236695,), (1335236697,), (1335236734,), (1335236738,), (1335236744,), (1335236749,), (1335236754,), (1335236835,), (1335236845,), (1335236851,), (1335236868,), (1335237564,), (1335237567,), (1335237581,), (1335237599,), (1335237760,), (1335236200,), (1335236248,), (1335236292,), (1335236432,), (1335236435,), (1335236521,), (1335236527,), (1335236539,), (1335236542,), (1335236545,), (1335236547,), (1335236549,), (1335236554,), (1335236591,), (1335236595,), (1335236635,), (1335236640,), (1335236653,), (1335236659,), (1335236662,), (1335236665,), (1335236701,), (1335236708,), (1335236714,), (1335236721,), (1335236723,), (1335236725,), (1335236774,), (1335236792,), (1335236798,), (1335236805,), (1335236810,), (1335236816,), (1335236820,), (1335236878,), (1335236931,), (1335237132,), (1335237134,), (1335237139,), (1335237144,), (1335237177,), (1335237250,), (1335237318,), (1335237319,), (1335237323,), (1335237324,), (1335237331,), (1335237332,), (1335237410,), (1335237413,), (1335237423,), (1335237428,), (1335237430,), (1335237435,), (1335237445,), (1335237448,), (1335237451,), (1335237454,), (1335237458,), (1335237464,), (1335237497,), (1335237501,), (1335237508,), (1335237514,), (1335237518,), (1335237521,), (1335237609,), (1335237620,), (1335237701,), (1335237720,), (1335237731,), (1335237737,), (1335237740,), (1335237742,), (1335237771,), (1335237830,), (1335237933,), (1335237937,), (1335237965,), (1335237972,), (1335238017,), (1335238023,), (1335238041,), (1335238044,), (1335238049,), (1335238055,), (1335238061,), (1335238094,), (1335238103,), (1335238105,), (1335238107,), (1335238110,), (1335238112,), (1335238149,), (1335238151,), (1335238154,), (1335238155,), (1335238184,), (1335238187,), (1335238204,), (1335238212,), (1335238220,), (1335238230,), (1335238238,), (1335238242,), (1335238258,), (1335238263,), (1335238269,), (1335238304,), (1335238310,), (1335238313,), (1335238328,), (1335238330,), (1335237751,), (1335237753,), (1335237756,), (1335238040,), (1335238123,), (1335238125,), (1335238129,), (1335238131,), (1335238135,), (1335238137,), (1335238143,), (1335238144,), (1335238167,), (1335238170,), (1335238176,), (1335238182,), (1335238249,), (1335238251,), (1335238255,), (1335238343,), (1335238623,), (1335238625,), (1335238630,), (1335238632,), (1335238638,), (1335238639,), (1335238647,), (1335238648,), (1335238705,), (1335238715,), (1335238719,), (1335238722,), (1335238726,), (1335238793,), (1335238796,), (1335238814,), (1335238820,), (1335238825,), (1335238830,), (1335239711,), (1335239778,), (1335239798,), (1335239985,), (1335239989,), (1335240058,), (1335240059,), (1335240133,), (1335240134,), (1335240196,), (1335240204,), (1335240273,), (1335240276,), (1335240419,), (1335240422,), (1335240478,), (1335240552,), (1335240826,), (1335240829,), (1335240833,), (1335240839,), (1335240842,), (1335240870,), (1335241279,), (1335241285,), (1335241377,), (1335241378,), (1335241382,), (1335241384,), (1335241386,), (1335241388,), (1335241392,), (1335241394,), (1335241395,), (1335241446,), (1335241575,), (1335247977,), (1335247981,), (1335247985,), (1335248161,), (1335248164,), (1335248169,), (1335248174,), (1335248179,), (1335248224,), (1335248227,), (1335248274,), (1335248276,), (1335248317,), (1335248319,), (1335248321,), (1335248324,), (1335248366,), (1335248370,), (1335248377,), (1335248412,), (1335248450,), (1335248546,), (1335248548,), (1335248550,), (1335248602,), (1335248606,), (1335248610,), (1335248614,), (1335248987,), (1335249121,), (1335249300,), (1335249459,), (1335249509,), (1335249513,), (1335249518,), (1335249523,), (1335249527,), (1335249931,), (1335249934,), (1335249936,), (1335250188,), (1335250191,), (1335250196,), (1335250205,), (1335250243,), (1335250255,), (1335250266,), (1335250308,), (1335250312,), (1335250317,), (1335250321,), (1335250639,), (1335250644,), (1335250655,), (1335250660,), (1335250830,), (1335250802,), (1335250808,), (1335250820,), (1335250886,), (1335250888,), (1335251459,), (1335251530,), (1335252022,), (1335252025,), (1335252028,), (1335252409,), (1335252411,), (1335252413,), (1335252415,), (1335252418,), (1335252453,), (1335252504,), (1335252507,), (1335252510,), (1335252573,), (1335252577,), (1335252588,), (1335252595,), (1335252778,), (1335252788,), (1335252795,), (1335252908,), (1335252912,), (1335252916,), (1335252920,), (1335252955,), (1335252960,), (1335252965,), (1335252970,), (1335253010,), (1335253018,), (1335253026,), (1335253030,), (1335253082,), (1335253072,), (1335253074,), (1335253078,), (1335253217,), (1335253249,), (1335253258,), (1335253275,), (1335253345,), (1335253348,), (1335253351,), (1335253397,), (1335253399,), (1335253401,), (1335253458,), (1335253461,), (1335253465,), (1335253930,), (1335253939,), (1335253943,), (1335253946,), (1335253948,), (1335254408,), (1335254412,), (1335254576,), (1335254581,), (1335254845,), (1335254858,), (1335254863,), (1335254871,), (1335254874,), (1335255009,), (1335255011,), (1335255210,), (1335255212,), (1335255214,), (1335255217,), (1335255283,), (1335255286,), (1335255291,), (1335255295,), (1335255509,), (1335255514,), (1335255518,), (1335255522,), (1335255777,), (1335255783,), (1335255787,), (1335255791,), (1335255827,), (1335255829,), (1335255833,), (1335255890,), (1335255894,), (1335255900,), (1335255973,), (1335255953,), (1335255957,), (1335255961,), (1335255967,), (1335256024,), (1335256027,), (1335256031,), (1335256318,), (1335256339,), (1335256397,), (1335256845,), (1335256864,), (1335257078,), (1335257096,), (1335257104,), (1335257252,), (1335257299,), (1335257309,), (1335257313,), (1335257316,), (1335257353,), (1335257358,), (1335257364,), (1335257369,), (1335257372,), (1335257429,), (1335257514,), (1335257600,), (1335257690,), (1335257777,), (1335257817,), (1335258028,), (1335258034,), (1335258037,), (1335258039,), (1335258322,), (1335258326,), (1335258641,), (1335258680,), (1335258683,), (1335258747,), (1335258917,), (1335258922,), (1335258927,), (1335258934,), (1335258949,), (1335258950,), (1335258952,), (1335258954,), (1335258992,), (1335258984,), (1335258988,), (1335259048,), (1335260965,), (1335261502,), (1335261507,), (1335261899,), (1335261902,), (1335261906,), (1335261910,), (1335261959,), (1335261963,), (1335261978,), (1335261986,), (1335261990,), (1335262078,), (1335262082,), (1335262086,), (1335262119,), (1335262124,), (1335262128,), (1335262220,), (1335262159,), (1335262161,), (1335263182,), (1335263235,), (1335263266,), (1335263270,), (1335263679,), (1335263680,), (1335263797,), (1335264026,), (1335264030,), (1335264032,), (1335264326,), (1335264328,), (1335264331,), (1335264734,), (1335264735,), (1335264737,), (1335264739,), (1335264797,), (1335265062,), (1335265108,), (1335265112,), (1335265115,), (1335265120,), (1335265146,), (1335265149,), (1335265152,), (1335265155,), (1335265157,), (1335265198,), (1335265202,), (1335265207,), (1335265212,), (1335265251,), (1335265255,), (1335265259,), (1335265264,), (1335265268,), (1335265332,), (1335265334,), (1335265340,), (1335265359,), (1335265385,), (1335265476,), (1335265522,), (1335265524,), (1335265527,), (1335265540,), (1335265548,), (1335265555,), (1335266096,), (1335266186,), (1335266259,), (1335266446,), (1335266451,), (1335266455,), (1335266459,), (1335266921,), (1335266688,), (1335266757,), (1335266839,), (1335266911,), (1335267070,), (1335267078,), (1335267080,), (1335267083,), (1335267423,), (1335267663,), (1335267665,), (1335267667,), (1335267668,), (1335267670,), (1335267672,), (1335267696,), (1335267698,), (1335267701,), (1335267706,), (1335267730,), (1335267748,), (1335267779,), (1335267782,), (1335267785,), (1335267788,), (1335267812,), (1335267816,), (1335267821,), (1335267825,), (1335267867,), (1335267871,), (1335267876,), (1335267881,), (1335267884,), (1335267907,), (1335267909,), (1335267913,), (1335268642,), (1335268646,), (1335268651,), (1335268655,), (1335268658,), (1335268841,), (1335269093,), (1335269140,), (1335269144,), (1335269147,), (1335270447,), (1335270536,), (1335270623,), (1335270835,), (1335270845,), (1335270857,), (1335270863,), (1335271280,), (1335271330,), (1335271367,), (1335271383,), (1335271386,), (1335271583,), (1335271544,), (1335271552,), (1335271563,), (1335271902,), (1335271969,), (1335272041,), (1335272088,), (1335272148,), (1335272152,), (1335272166,), (1335272206,), (1335272209,), (1335272213,), (1335272218,), (1335272221,), (1335272253,), (1335272279,), (1335272282,), (1335272286,), (1335272314,), (1335272318,), (1335272326,), (1335272332,), (1335272447,), (1335272530,), (1335272581,), (1335272584,), (1335272587,), (1335272791,), (1335272793,), (1335272796,), (1335272828,), (1335272833,), (1335272840,), (1335272874,), (1335272877,), (1335272887,), (1335272895,), (1335272898,), (1335273576,), (1335273579,), (1335273637,), (1335273748,), (1335274052,), (1335274058,), (1335274061,), (1335274093,), (1335274136,), (1335274140,), (1335274150,), (1335274228,), (1335274232,), (1335274236,), (1335274243,), (1335274250,), (1335274297,), (1335274288,), (1335274290,), (1335274293,), (1335274340,), (1335274344,), (1335274351,), (1335274361,), (1335274385,), (1335274387,), (1335274530,), (1335274535,), (1335274814,), (1335274903,), (1335274993,), (1335275085,), (1335275134,), (1335275876,), (1335276011,), (1335276017,), (1335276023,), (1335276034,), (1335276464,), (1335276540,), (1335276548,), (1335276586,), (1335276804,), (1335276806,), (1335276809,), (1335276811,), (1335276813,), (1335276849,), (1335276852,), (1335276855,), (1335276859,), (1335276890,), (1335276892,), (1335276900,), (1335276903,), (1335276957,), (1335276962,), (1335277024,), (1335277027,), (1335277030,), (1335277072,), (1335277075,), (1335277079,), (1335277083,), (1335277107,), (1335277113,), (1335277119,), (1335277124,), (1335277127,), (1335277148,), (1335277152,), (1335277207,), (1335277210,), (1335277213,), (1335277216,), (1335277218,), (1335277248,), (1335277245,), (1335277281,), (1335277284,), (1335277307,), (1335277403,), (1335277490,), (1335277553,), (1335277927,), (1335277959,), (1335278069,), (1335278072,), (1335278075,), (1335278397,), (1335278413,), (1335278417,), (1335278518,), (1335278521,), (1335278525,), (1335278528,), (1335278576,), (1335278601,), (1335278661,), (1335278664,), (1335278668,), (1335278818,), (1335278948,), (1335278954,), (1335278961,), (1335278965,), (1335279013,), (1335279015,), (1335279018,), (1335279029,), (1335279148,), (1335279151,), (1335279156,), (1335279162,), (1335279166,), (1335279169,), (1335279204,), (1335279207,), (1335279211,), (1335279215,), (1335279217,), (1335279247,), (1335279251,), (1335279256,), (1335279326,), (1335279332,), (1335279336,), (1335279339,), (1335279651,), (1335279701,), (1335279746,), (1335279749,), (1335279751,), (1335279800,), (1335279908,), (1335279911,), (1335279921,), (1335279932,), (1335279939,), (1335279970,), (1335279972,), (1335279975,), (1335280043,), (1335280017,), (1335280021,), (1335280030,), (1335280039,), (1335280041,), (1335280264,), (1335280284,), (1335280292,), (1335280332,), (1335280385,), (1335280387,), (1335280390,), (1335280392,), (1335280426,), (1335280665,), (1335280736,), (1335281104,), (1335281106,), (1335281108,), (1335281111,), (1335281266,), (1335281269,), (1335281273,), (1335281276,), (1335281315,), (1335281319,), (1335281323,), (1335281334,), (1335281419,), (1335281701,), (1335281734,), (1335281737,), (1335281849,), (1335281850,), (1335281854,), (1335281898,), (1335281900,), (1335281903,), (1335281906,), (1335281908,), (1335282005,), (1335282008,), (1335282011,), (1335284911,), (1335286003,), (1335286006,), (1335286013,), (1335287795,), (1335287799,), (1335287804,), (1335287990,), (1335287995,), (1335288007,), (1335288015,), (1335288044,), (1335289624,), (1335290025,), (1335290022,), (1335290233,), (1335290791,), (1335290795,), (1335290802,), (1335290805,), (1335290839,), (1335290844,), (1335290856,), (1335290890,), (1335290894,), (1335290899,), (1335290903,), (1335290929,), (1335290932,), (1335290936,), (1335290938,), (1335290941,), (1335290978,), (1335290999,), (1335291068,), (1335291353,), (1335291372,), (1335291426,), (1335291436,), (1335291444,), (1335291849,), (1335291914,), (1335292005,), (1335292264,), (1335292267,), (1335292271,), (1335292401,), (1335292405,), (1335292408,), (1335292412,), (1335292416,), (1335292675,), (1335292686,), (1335292692,), (1335292700,), (1335292703,), (1335292766,), (1335292774,), (1335292778,), (1335292783,), (1335292786,), (1335292806,), (1335292809,), (1335292840,), (1335292843,), (1335292853,), (1335292864,), (1335292873,), (1335292918,), (1335292900,), (1335292902,), (1335292905,), (1335292955,), (1335292958,), (1335292963,), (1335292974,), (1335293564,), (1335293566,), (1335293606,), (1335294056,), (1335294088,), (1335294093,), (1335294097,), (1335294131,), (1335294132,), (1335294135,), (1335294139,), (1335294196,), (1335294198,), (1335294202,), (1335294421,), (1335294424,), (1335294452,), (1335294453,), (1335294455,), (1335294458,), (1335294570,), (1335294583,), (1335294585,), (1335294587,), (1335294588,), (1335294616,), (1335294618,), (1335294621,), (1335294624,), (1335294626,), (1335294853,), (1335294854,), (1335294856,), (1335294858,), (1335294908,), (1335294911,), (1335294934,), (1335294970,), (1335294977,), (1335294980,), (1335294983,), (1335294987,), (1335294990,), (1335295034,), (1335295036,), (1335295040,), (1335295048,), (1335295263,), (1335295102,), (1335295196,), (1335295232,), (1335295236,), (1335295673,), (1335295675,), (1335295678,), (1335295768,), (1335295770,), (1335295773,), (1335295776,), (1335295780,), (1335295785,), (1335295814,), (1335295816,), (1335295820,), (1335295823,), (1335295826,), (1335295870,), (1335295871,), (1335295875,), (1335295878,), (1335295914,), (1335295916,), (1335295922,), (1335295948,), (1335295950,), (1335296152,), (1335296154,), (1335296160,), (1335296207,), (1335296209,), (1335296222,), (1335296228,), (1335296231,), (1335296291,), (1335296294,), (1335296297,), (1335296302,), (1335296337,), (1335296339,), (1335296409,), (1335296411,), (1335296414,), (1335296427,), (1335296466,), (1335296469,), (1335296471,), (1335296475,), (1335296807,), (1335296809,), (1335296815,), (1335296818,), (1335296831,), (1335296911,), (1335297193,), (1335297196,), (1335297200,), (1335297217,), (1335297223,), (1335299589,), (1335299771,), (1335299772,), (1335299775,), (1335299865,), (1335299868,), (1335299899,), (1335300258,), (1335300260,), (1335300289,), (1335300367,), (1335300368,), (1335300396,), (1335300399,), (1335300402,), (1335300405,), (1335300407,), (1335300495,), (1335300497,), (1335300500,), (1335300530,), (1335300540,), (1335300543,), (1335301388,), (1335301390,), (1335301466,), (1335301480,), (1335301483,), (1335302009,), (1335302012,), (1335302017,), (1335302022,), (1335302024,), (1335302275,), (1335302276,), (1335302278,), (1335302280,), (1335302306,), (1335302308,), (1335302311,), (1335302314,), (1335302367,), (1335302370,), (1335302379,), (1335302383,), (1335302605,), (1335302692,), (1335302694,), (1335302972,), (1335302974,), (1335302976,), (1335302981,), (1335303179,), (1335303182,), (1335303186,), (1335303190,), (1335303208,), (1335303265,), (1335303262,), (1335303528,), (1335303552,), (1335303561,), (1335303595,), (1335303642,), (1335303644,), (1335303647,), (1335303696,), (1335303699,), (1335303703,), (1335303748,), (1335303751,), (1335303754,), (1335303758,), (1335303785,), (1335303791,), (1335303794,), (1335303799,), (1335305725,), (1335305727,), (1335305738,), (1335305740,), (1335305776,), (1335305861,), (1335305944,), (1335306035,), (1335306313,), (1335306316,), (1335306319,), (1335306379,), (1335306447,), (1335306450,), (1335306454,), (1335306511,), (1335306506,), (1335306508,), (1335306572,), (1335306577,), (1335306586,), (1335306933,), (1335307008,), (1335307011,), (1335307017,), (1335307022,), (1335307046,), (1335307051,), (1335307057,), (1335307063,), (1335307068,), (1335307125,), (1335307127,), (1335307130,), (1335307134,), (1335307155,), (1335307231,), (1335307234,), (1335307238,), (1335307243,), (1335307303,), (1335307306,), (1335307310,), (1335307326,), (1335307330,), (1335307336,), (1335307414,), (1335307416,), (1335307418,), (1335307466,), (1335307469,), (1335307505,), (1335307507,), (1335307512,), (1335307609,), (1335307696,), (1335307699,), (1335307733,), (1335307869,), (1335307872,), (1335351073,), (1335076264,), (1335079988,), (1335079991,), (1335080002,), (1335080007,), (1335080033,), (1335080130,), (1335080352,), (1335080398,), (1335080470,), (1335080515,), (1335080563,), (1335080618,), (1335080674,), (1335080675,), (1335080677,), (1335080686,), (1335080691,), (1335080692,), (1335097795,), (1335097796,), (1335097817,), (1335097820,), (1335097822,), (1335097824,), (1335097826,), (1335097827,), (1335097828,), (1335097829,), (1335097950,), (1335098006,), (1335098007,), (1335098008,), (1335098009,), (1335098010,), (1335098011,), (1335098026,), (1335098029,), (1335098030,), (1335098031,), (1335098032,), (1335098033,), (1335098034,), (1335098097,), (1335098099,), (1335098101,), (1335098110,), (1335098112,), (1335098121,), (1335098122,), (1335098123,), (1335098124,), (1335098671,), (1335098672,), (1335098673,), (1335098674,), (1335098677,), (1335098683,), (1335098940,), (1335098941,), (1335098985,), (1335098987,), (1335098989,), (1335098991,), (1335080734,), (1335080767,), (1335080772,), (1335080777,), (1335080797,), (1335080801,), (1335081146,), (1335081214,), (1335081274,), (1335081339,), (1335081397,), (1335081466,), (1335081691,), (1335081761,), (1335081763,), (1335081829,), (1335081833,), (1335081895,), (1335081914,), (1335081967,), (1335081991,), (1335082034,), (1335082055,), (1335082113,), (1335095801,), (1335095807,), (1335095814,), (1335095819,), (1335095822,), (1335095823,), (1335095824,), (1335095825,), (1335095850,), (1335095851,), (1335096355,), (1335096383,), (1335096405,), (1335096412,), (1335096425,), (1335096455,), (1335096877,), (1335096894,), (1335096897,), (1335096925,), (1335096933,), (1335096934,), (1335097075,), (1335097207,), (1335097317,), (1335097332,), (1335097385,), (1335097386,), (1335097410,), (1335097435,), (1335097437,), (1335097457,), (1335097460,), (1335097461,), (1335097462,), (1335097466,), (1335097471,), (1335097475,), (1335097512,), (1335097519,), (1335097520,), (1335097521,), (1335097522,), (1335097523,), (1335097557,), (1335097704,), (1335097707,), (1335097717,), (1335097718,), (1335097719,), (1335097720,), (1335097721,), (1335097722,), (1335097754,), (1335097756,), (1335097757,), (1335097758,), (1335097763,), (1335097766,), (1335097792,), (1335097794,), (1335082479,), (1335082529,), (1335082596,), (1335082666,), (1335082714,), (1335082761,), (1335082823,), (1335082834,), (1335082835,), (1335082865,), (1335082875,), (1335083023,), (1335083142,), (1335083167,), (1335083171,), (1335083226,), (1335083239,), (1335083384,), (1335083386,), (1335083397,), (1335083424,), (1335083427,), (1335083431,), (1335083516,), (1335083519,), (1335083536,), (1335083539,), (1335083542,), (1335083545,), (1335083546,), (1335083549,), (1335083552,), (1335083555,), (1335083558,), (1335084150,), (1335084186,), (1335084189,), (1335084202,), (1335084211,), (1335084220,), (1335084224,), (1335084227,), (1335084230,), (1335084565,), (1335084567,), (1335094974,), (1335095213,), (1335095253,), (1335095368,), (1335095371,), (1335095373,), (1335095376,), (1335095380,), (1335095383,), (1335095409,), (1335095412,), (1335095423,), (1335095463,), (1335095465,), (1335095468,), (1335095553,), (1335095624,), (1335095627,), (1335095658,), (1335095745,), (1335095750,), (1335095752,), (1335095772,), (1335095773,), (1335095774,), (1335095777,), (1335095779,), (1335095783,), (1335095799,), (1335083491,), (1335083570,), (1335083573,), (1335083575,), (1335083628,), (1335083687,), (1335083689,), (1335083755,), (1335083758,), (1335083767,), (1335083809,), (1335083812,), (1335083816,), (1335083823,), (1335083825,), (1335083827,), (1335083828,), (1335083829,), (1335083830,), (1335083841,), (1335083855,), (1335083860,), (1335083863,), (1335083874,), (1335083879,), (1335083880,), (1335083881,), (1335083884,), (1335083886,), (1335083888,), (1335083896,), (1335083900,), (1335083905,), (1335083907,), (1335083909,), (1335083911,), (1335084038,), (1335084042,), (1335084045,), (1335084049,), (1335084054,), (1335084058,), (1335084077,), (1335084079,), (1335084091,), (1335084098,), (1335084104,), (1335084105,), (1335084124,), (1335084130,), (1335084135,), (1335245529,), (1335245531,), (1335245534,), (1335245537,), (1335245570,), (1335245596,), (1335245662,), (1335245851,), (1335245948,), (1335246080,), (1335246291,), (1335245480,), (1335245488,), (1335245490,), (1335245491,), (1335245493,), (1335245495,), (1335245497,), (1335245501,), (1335245503,), (1335245508,), (1335245509,), (1335245514,), (1335245515,), (1335245524,), (1335245525,), (1335244998,), (1335245002,), (1335245007,), (1335245022,), (1335245027,), (1335245030,), (1335245032,), (1335245035,), (1335245039,), (1335245052,), (1335245056,), (1335245059,), (1335245061,), (1335245065,), (1335245067,), (1335245151,), (1335245155,), (1335245199,), (1335245210,), (1335245243,), (1335245297,), (1335245306,), (1335245311,), (1335245315,), (1335245319,), (1335245329,), (1335245345,), (1335245350,), (1335245365,), (1335245369,), (1335245375,), (1335245380,), (1335245392,), (1335245429,), (1335245432,), (1335245436,), (1335245441,), (1335245446,), (1335245456,), (1335245459,), (1335245464,), (1335245468,), (1335245475,), (1335244380,), (1335244383,), (1335244406,), (1335244413,), (1335244421,), (1335244428,), (1335244438,), (1335244442,), (1335244493,), (1335244534,), (1335244585,), (1335244613,), (1335244619,), (1335244624,), (1335244720,), (1335244722,), (1335244725,), (1335244778,), (1335244781,), (1335244785,), (1335244795,), (1335244801,), (1335244811,), (1335244817,), (1335244823,), (1335244830,), (1335244843,), (1335244844,), (1335244846,), (1335244848,), (1335244850,), (1335244851,), (1335244854,), (1335244856,), (1335244858,), (1335244860,), (1335244862,), (1335244863,), (1335244890,), (1335244901,), (1335244905,), (1335244912,), (1335244916,), (1335244919,), (1335244933,), (1335244991,), (1335244995,), (1335244229,), (1335244232,), (1335244237,), (1335244242,), (1335244253,), (1335244257,), (1335244260,), (1335244265,), (1335244270,), (1335244274,), (1335244288,), (1335244291,), (1335244296,), (1335244300,), (1335244305,), (1335244312,), (1335244329,), (1335244332,), (1335244336,), (1335244338,), (1335244340,), (1335244341,), (1335244357,), (1335244363,), (1335244369,), (1335244375,), (1335243811,), (1335243842,), (1335243896,), (1335243902,), (1335243907,), (1335243910,), (1335243933,), (1335243939,), (1335244092,), (1335244172,), (1335244177,), (1335244196,), (1335244201,), (1335244205,), (1335244209,), (1335244213,), (1335244216,), (1335244221,), (1335241455,), (1335241548,), (1335241578,), (1335241582,), (1335241587,), (1335241597,), (1335241624,), (1335241630,), (1335241637,), (1335241642,), (1335241658,), (1335241663,), (1335241704,), (1335241710,), (1335241719,), (1335241747,), (1335241753,), (1335241758,), (1335241776,), (1335241782,), (1335241788,), (1335241793,), (1335241796,), (1335241800,), (1335241816,), (1335241821,), (1335241825,), (1335241831,), (1335241837,), (1335241843,), (1335241931,), (1335242030,), (1335242077,), (1335242139,), (1335242172,), (1335242227,), (1335242259,), (1335242282,), (1335242300,), (1335242318,), (1335242351,), (1335242385,), (1335242554,), (1335242558,), (1335242579,), (1335242580,), (1335242586,), (1335242588,), (1335242595,), (1335242596,), (1335242751,), (1335242757,), (1335242984,), (1335242992,), (1335243361,), (1335243364,), (1335243367,), (1335243370,), (1335243379,), (1335243477,), (1335238334,), (1335238391,), (1335238400,), (1335238408,), (1335238454,), (1335238474,), (1335238589,), (1335238593,), (1335238599,), (1335238601,), (1335238602,), (1335238606,), (1335238659,), (1335238661,), (1335238674,), (1335238677,), (1335238731,), (1335238747,), (1335238754,), (1335238760,), (1335238766,), (1335238773,), (1335238786,), (1335239003,), (1335239101,), (1335239160,), (1335239251,), (1335239365,), (1335239449,), (1335239828,), (1335239834,), (1335239847,), (1335239866,), (1335239869,), (1335239872,), (1335239877,), (1335239887,), (1335239894,), (1335240281,), (1335240284,), (1335240574,), (1335240626,), (1335240711,), (1335240718,), (1335240731,), (1335240765,), (1335240811,), (1335240814,), (1335241119,), (1335241236,), (1335241243,), (1335241259,), (1335241265,), (1335241269,), (1335241288,), (1335241294,), (1335241299,), (1335241306,), (1335241321,), (1335241325,), (1335241330,), (1335241336,), (1335241346,), (1335241352,), (1335336664,), (1335336765,), (1335337466,), (1335337718,), (1335337960,), (1335338193,), (1335338453,), (1335338577,), (1335350035,), (1335350037,), (1335350523,), (1335350548,), (1335350560,), (1335350562,), (1335350564,), (1335350576,), (1335350604,), (1335350607,), (1335350644,), (1335350647,), (1335350649,), (1335350651,), (1335350672,), (1335350716,), (1335350850,), (1335350922,), (1335350926,), (1335350936,), (1335350959,), (1335350960,), (1335350962,), (1335350966,), (1335350968,), (1335350970,), (1335351011,), (1335351014,), (1335351023,), (1335351030,), (1335351036,), (1335351038,), (1335351042,), (1335351044,), (1335351045,), (1335351046,), (1335351047,), (1335351048,), (1335336578,), (1335338778,), (1335338782,), (1335338785,), (1335338788,), (1335338791,), (1335338794,), (1335338811,), (1335338813,), (1335338838,), (1335338848,), (1335338851,), (1335338860,), (1335338888,), (1335338891,), (1335338893,), (1335338900,), (1335338902,), (1335338927,), (1335339727,), (1335339729,), (1335347325,), (1335347465,), (1335347675,), (1335347677,), (1335347680,), (1335347753,), (1335347769,), (1335347807,), (1335348119,), (1335348121,), (1335348123,), (1335348125,), (1335348137,), (1335348195,), (1335348389,), (1335348402,), (1335348405,), (1335348407,), (1335348409,), (1335348411,), (1335349249,), (1335349251,), (1335349318,), (1335349387,), (1335349395,), (1335349397,), (1335350015,), (1335350018,), (1335350027,), (1335350032,), (1335336470,), (1335336484,), (1335338934,), (1335338937,), (1335338947,), (1335339021,), (1335339186,), (1335339356,), (1335339636,), (1335339654,), (1335339702,), (1335339725,), (1335340167,), (1335340219,), (1335340223,), (1335340231,), (1335340242,), (1335340244,), (1335340257,), (1335340259,), (1335340264,), (1335340267,), (1335340290,), (1335340299,), (1335340308,), (1335340356,), (1335340359,), (1335340403,), (1335340497,), (1335340650,), (1335341002,), (1335341007,), (1335341014,), (1335341017,), (1335341021,), (1335344909,), (1335346035,), (1335346040,), (1335346042,), (1335346044,), (1335346047,), (1335346062,), (1335346075,), (1335346083,), (1335346177,), (1335346192,), (1335346202,), (1335346306,), (1335346750,), (1335346827,), (1335346896,), (1335347088,), (1335336451,), (1335340995,), (1335341097,), (1335341251,), (1335341364,), (1335341401,), (1335341405,), (1335341409,), (1335341475,), (1335341477,), (1335341479,), (1335341481,), (1335341483,), (1335341485,), (1335344627,), (1335344716,), (1335344717,), (1335344718,), (1335344844,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'06022025': {'nb_upload': 35, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20312031]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1335306511, 1335306454, 1335306450, 1335306447, 1335306379, 1335306319, 1335306316, 1335306313, 1335306035, 1335305944, 1335305861, 1335305776, 1335305740, 1335305738, 1335305727, 1335305725, 1335303799, 1335303794, 1335303791, 1335303785, 1335303758, 1335303754, 1335303751, 1335303748, 1335303703, 1335303699, 1335303696, 1335303647, 1335303644, 1335303642, 1335303595, 1335303561, 1335303552, 1335303528, 1335303262] map_info['map_portfolio_photo'] : {20312031: [1335306511, 1335306454, 1335306450, 1335306447, 1335306379, 1335306319, 1335306316, 1335306313, 1335306035, 1335305944, 1335305861, 1335305776, 1335305740, 1335305738, 1335305727, 1335305725, 1335303799, 1335303794, 1335303791, 1335303785, 1335303758, 1335303754, 1335303751, 1335303748, 1335303703, 1335303699, 1335303696, 1335303647, 1335303644, 1335303642, 1335303595, 1335303561, 1335303552, 1335303528, 1335303262]} final : True mtd_id 4302 list_pids : [1335306511, 1335306454, 1335306450, 1335306447, 1335306379, 1335306319, 1335306316, 1335306313, 1335306035, 1335305944, 1335305861, 1335305776, 1335305740, 1335305738, 1335305727, 1335305725, 1335303799, 1335303794, 1335303791, 1335303785, 1335303758, 1335303754, 1335303751, 1335303748, 1335303703, 1335303699, 1335303696, 1335303647, 1335303644, 1335303642, 1335303595, 1335303561, 1335303552, 1335303528, 1335303262] Looping around the photos to save general results len do output : 1 /20312031Didn'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, '2561341') ('4302', '20312031', '1335306511', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335306454', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335306450', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335306447', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335306379', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335306319', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335306316', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335306313', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335306035', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335305944', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335305861', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335305776', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335305740', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335305738', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335305727', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335305725', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335303799', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335303794', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335303791', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335303785', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335303758', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335303754', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335303751', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335303748', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335303703', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335303699', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335303696', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335303647', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335303644', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335303642', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335303595', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335303561', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335303552', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335303528', None, None, None, None, None, '2561341') ('4302', None, None, None, None, None, None, None, '2561341') ('4302', '20312031', '1335303262', None, None, None, None, None, '2561341') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 36 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '20312031', 'None', None, None, None, None, '2561341'), ('4302', '20312031', '1335306511', None, None, None, None, None, '2561341'), ('4302', '20312031', '1335306454', None, None, None, None, None, '2561341'), ('4302', '20312031', '1335306450', None, None, None, None, None, '2561341'), ('4302', '20312031', '1335306447', None, None, None, None, None, '2561341'), ('4302', '20312031', '1335306379', None, None, None, None, None, '2561341'), ('4302', '20312031', '1335306319', None, None, None, None, None, '2561341'), ('4302', '20312031', '1335306316', None, None, None, None, None, '2561341'), ('4302', '20312031', '1335306313', None, None, None, None, None, '2561341'), ('4302', '20312031', '1335306035', None, None, None, None, None, '2561341'), ('4302', '20312031', '1335305944', None, None, None, None, None, '2561341'), ('4302', '20312031', '1335305861', None, None, None, None, None, '2561341'), ('4302', '20312031', '1335305776', None, None, None, None, None, '2561341'), ('4302', '20312031', '1335305740', None, None, None, None, None, '2561341'), ('4302', '20312031', '1335305738', None, None, None, None, None, '2561341'), ('4302', '20312031', '1335305727', None, None, None, None, None, '2561341'), ('4302', '20312031', '1335305725', None, None, None, None, None, '2561341'), ('4302', '20312031', '1335303799', None, None, None, None, None, '2561341'), ('4302', '20312031', '1335303794', None, None, None, None, None, '2561341'), ('4302', '20312031', '1335303791', None, None, None, None, None, '2561341'), ('4302', '20312031', '1335303785', None, None, None, None, None, '2561341'), ('4302', '20312031', '1335303758', None, None, None, None, None, '2561341'), ('4302', '20312031', '1335303754', None, None, None, None, None, '2561341'), ('4302', '20312031', '1335303751', None, None, None, None, None, '2561341'), ('4302', '20312031', '1335303748', None, None, None, None, None, '2561341'), ('4302', '20312031', '1335303703', None, None, None, None, None, '2561341'), ('4302', '20312031', '1335303699', None, None, None, None, None, '2561341'), ('4302', '20312031', '1335303696', None, None, None, None, None, '2561341'), ('4302', '20312031', '1335303647', None, None, None, None, None, '2561341'), ('4302', '20312031', '1335303644', None, None, None, None, None, '2561341'), ('4302', '20312031', '1335303642', None, None, None, None, None, '2561341'), ('4302', '20312031', '1335303595', None, None, None, None, None, '2561341'), ('4302', '20312031', '1335303561', None, None, None, None, None, '2561341'), ('4302', '20312031', '1335303552', None, None, None, None, None, '2561341'), ('4302', '20312031', '1335303528', None, None, None, None, None, '2561341'), ('4302', '20312031', '1335303262', None, None, None, None, None, '2561341')] time used for this insertion : 0.019932270050048828 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.4546446800231934 time spend to save output : 0.020406723022460938 total time spend for step 5 : 3.4750514030456543 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 (2561341) 3.05user 2.06system 0:18.01elapsed 28%CPU (0avgtext+0avgdata 168216maxresident)k 720inputs+26448outputs (0major+88033minor)pagefaults 0swaps